Patches from lvaro Lopes <alvieboy@alvie.com> to fix usage
[zpugcc.git] / toolchain / gcc / libstdc++-v3 / configure
blob32670849c452acf21e6512c72739d52f15d5a34c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for package-unused version-unused.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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 as_mkdir_p=false
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
237 IFS=" $as_nl"
239 # CDPATH.
240 $as_unset CDPATH
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 exec 6>&1
251 # Initializations.
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='package-unused'
268 PACKAGE_TARNAME='libstdc++'
269 PACKAGE_VERSION='version-unused'
270 PACKAGE_STRING='package-unused version-unused'
271 PACKAGE_BUGREPORT=''
273 ac_unique_file="src/ios.cc"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
311 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 ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
760 ac_env_CPP_set=${CPP+set}
761 ac_env_CPP_value=$CPP
762 ac_cv_env_CPP_set=${CPP+set}
763 ac_cv_env_CPP_value=$CPP
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
771 cat <<_ACEOF
772 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
781 Configuration:
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792 _ACEOF
794 cat <<_ACEOF
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
797 [$ac_default_prefix]
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
799 [PREFIX]
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
821 _ACEOF
823 cat <<\_ACEOF
825 Program names:
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
830 System types:
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
833 --target=TARGET configure for building compilers for TARGET [HOST]
834 _ACEOF
837 if test -n "$ac_init_help"; then
838 case $ac_init_help in
839 short | recursive ) echo "Configuration of package-unused version-unused:";;
840 esac
841 cat <<\_ACEOF
843 Optional Features:
844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
846 --enable-multilib build many library versions (default)
847 --enable-maintainer-mode enable make rules and dependencies not useful
848 (and sometimes confusing) to the casual installer
849 --enable-shared=PKGS build shared libraries default=yes
850 --enable-static=PKGS build static libraries default=yes
851 --enable-fast-install=PKGS optimize for fast installation default=yes
852 --disable-libtool-lock avoid locking (might break parallel builds)
853 --disable-hosted-libstdcxx
854 only build freestanding C++ runtime support
855 --enable-sjlj-exceptions
856 force use of builtin_setjmp for exceptions
857 [default=auto]
858 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
859 [default=$is_hosted]
860 --enable-cstdio=PACKAGE use target-specific I/O package
861 [default=stdio]
862 --enable-clocale[=MODEL]
863 use MODEL for target locale package
864 [default=auto]
865 --enable-nls use Native Language Support (default)
866 --enable-libstdcxx-allocator=KIND
867 use KIND for target std::allocator base
868 [default=auto]
869 --enable-cheaders=KIND construct "C" headers for g++
870 [default=$c_model]
871 --enable-c-mbchar enable multibyte (wide) characters
872 [default=yes]
873 --enable-c99 turns on ISO/IEC 9899:1999 support
874 [default=yes]
875 --enable-long-long enables I/O support for 'long long'
876 [default=yes]
877 --enable-concept-checks use Boost-derived template checks [default=no]
878 --enable-libstdcxx-debug-flags=FLAGS
879 pass compiler FLAGS when building debug library
880 [default="-g3 -O0"]
881 --enable-libstdcxx-debug
882 build extra debug library [default=no]
883 --enable-cxx-flags=FLAGS
884 pass compiler FLAGS when building library
885 [default=]
886 --enable-symvers=STYLE enables symbol versioning of the shared library
887 [default=yes]
888 --enable-version-specific-runtime-libs
889 Specify that runtime libraries should be installed
890 in a compiler-specific directory
892 Optional Packages:
893 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
894 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
895 --with-target-subdir=SUBDIR
896 configuring in a subdirectory
897 --with-cross-host=HOST configuring with a cross compiler
898 --with-newlib assume newlib as a system C library
899 --with-gnu-ld assume the C compiler uses GNU ld default=no
900 --with-pic try to use only PIC/non-PIC objects default=use both
901 --with-gxx-include-dir=DIR
902 installation directory for include files
904 Some influential environment variables:
905 CC C compiler command
906 CFLAGS C compiler flags
907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
908 nonstandard directory <lib dir>
909 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
910 headers in a nonstandard directory <include dir>
911 CXX C++ compiler command
912 CXXFLAGS C++ compiler flags
913 CXXCPP C++ preprocessor
914 CPP C preprocessor
916 Use these variables to override the choices made by `configure' or to help
917 it to find libraries and programs with nonstandard names/locations.
919 _ACEOF
922 if test "$ac_init_help" = "recursive"; then
923 # If there are subdirs, report their specific --help.
924 ac_popdir=`pwd`
925 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926 test -d $ac_dir || continue
927 ac_builddir=.
929 if test "$ac_dir" != .; then
930 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931 # A "../" for each directory in $ac_dir_suffix.
932 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 else
934 ac_dir_suffix= ac_top_builddir=
937 case $srcdir in
938 .) # No --srcdir option. We are building in place.
939 ac_srcdir=.
940 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir=.
942 else
943 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944 fi ;;
945 [\\/]* | ?:[\\/]* ) # Absolute path.
946 ac_srcdir=$srcdir$ac_dir_suffix;
947 ac_top_srcdir=$srcdir ;;
948 *) # Relative path.
949 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950 ac_top_srcdir=$ac_top_builddir$srcdir ;;
951 esac
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953 # absolute.
954 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
959 cd $ac_dir
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
962 echo
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
965 echo
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
969 echo
970 $ac_configure --help
971 else
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 cd $ac_popdir
975 done
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
980 cat <<\_ACEOF
981 package-unused configure version-unused
982 generated by GNU Autoconf 2.57
984 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
988 _ACEOF
989 exit 0
991 exec 5>config.log
992 cat >&5 <<_ACEOF
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by package-unused $as_me version-unused, which was
997 generated by GNU Autoconf 2.57. Invocation command line was
999 $ $0 $@
1001 _ACEOF
1003 cat <<_ASUNAME
1004 ## --------- ##
1005 ## Platform. ##
1006 ## --------- ##
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 _ASUNAME
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 for as_dir in $PATH
1030 IFS=$as_save_IFS
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1033 done
1035 } >&5
1037 cat >&5 <<_ACEOF
1040 ## ----------- ##
1041 ## Core tests. ##
1042 ## ----------- ##
1044 _ACEOF
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_configure_args=
1053 ac_configure_args0=
1054 ac_configure_args1=
1055 ac_sep=
1056 ac_must_keep_next=false
1057 for ac_pass in 1 2
1059 for ac_arg
1061 case $ac_arg in
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 continue ;;
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 esac
1069 case $ac_pass in
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1075 else
1076 case $ac_arg in
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 esac
1085 -* ) ac_must_keep_next=true ;;
1086 esac
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1090 ac_sep=" "
1092 esac
1093 done
1094 done
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1106 echo
1108 cat <<\_ASBOX
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1112 _ASBOX
1113 echo
1114 # The following way of writing the cache mishandles newlines in values,
1116 (set) 2>&1 |
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 *ac_space=\ *)
1119 sed -n \
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 sed -n \
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 esac;
1129 echo
1131 cat <<\_ASBOX
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1135 _ASBOX
1136 echo
1137 for ac_var in $ac_subst_vars
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1141 done | sort
1142 echo
1144 if test -n "$ac_subst_files"; then
1145 cat <<\_ASBOX
1146 ## ------------- ##
1147 ## Output files. ##
1148 ## ------------- ##
1149 _ASBOX
1150 echo
1151 for ac_var in $ac_subst_files
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1155 done | sort
1156 echo
1159 if test -s confdefs.h; then
1160 cat <<\_ASBOX
1161 ## ----------- ##
1162 ## confdefs.h. ##
1163 ## ----------- ##
1164 _ASBOX
1165 echo
1166 sed "/^$/d" confdefs.h | sort
1167 echo
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1172 } >&5
1173 rm -f core core.* *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 exit $exit_status
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 done
1180 ac_signal=0
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 echo >confdefs.h
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 _ACEOF
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 _ACEOF
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 _ACEOF
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 _ACEOF
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 _ACEOF
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 else
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1228 . "$ac_site_file"
1230 done
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1238 case $cache_file in
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1241 esac
1243 else
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1246 >$cache_file
1249 # Check that the precious variables saved in the cache have kept the same
1250 # value.
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1259 set,)
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1263 ,set)
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1267 ,);;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1277 fi;;
1278 esac
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1281 case $ac_new_val in
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1285 esac
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 esac
1291 done
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1300 ac_ext=c
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 ac_config_headers="$ac_config_headers config.h"
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1339 # exported. Only used at the end of this file.
1340 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1342 # For libtool versioning info, format is CURRENT:REVISION:AGE
1343 libtool_VERSION=6:2:0
1346 # Find the rest of the source tree framework.
1348 # Sets up multi_basedir, which is srcdir/.. plus the usual
1349 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1350 # Default to --enable-multilib
1351 # Check whether --enable-multilib or --disable-multilib was given.
1352 if test "${enable_multilib+set}" = set; then
1353 enableval="$enable_multilib"
1354 case "$enableval" in
1355 yes) multilib=yes ;;
1356 no) multilib=no ;;
1357 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1358 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1359 { (exit 1); exit 1; }; } ;;
1360 esac
1361 else
1362 multilib=yes
1365 # We may get other options which we leave undocumented:
1366 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1367 # See config-ml.in if you want the gory details.
1369 if test "$srcdir" = "."; then
1370 if test "$with_target_subdir" != "."; then
1371 multi_basedir="$srcdir/$with_multisrctop../.."
1372 else
1373 multi_basedir="$srcdir/$with_multisrctop.."
1375 else
1376 multi_basedir="$srcdir/.."
1380 ac_config_commands="$ac_config_commands default-1"
1383 # The generated code is exactly the same, except that automake's looks in
1384 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1385 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1386 # know what they are or what the other differences might be (and they keep
1387 # changing anyhow).
1389 # Looking in multi_basedir seems smarter, so actually execute that branch.
1390 if false; then
1391 # this is for automake
1392 ac_aux_dir=
1393 for ac_dir in .. $srcdir/..; do
1394 if test -f $ac_dir/install-sh; then
1395 ac_aux_dir=$ac_dir
1396 ac_install_sh="$ac_aux_dir/install-sh -c"
1397 break
1398 elif test -f $ac_dir/install.sh; then
1399 ac_aux_dir=$ac_dir
1400 ac_install_sh="$ac_aux_dir/install.sh -c"
1401 break
1402 elif test -f $ac_dir/shtool; then
1403 ac_aux_dir=$ac_dir
1404 ac_install_sh="$ac_aux_dir/shtool install -c"
1405 break
1407 done
1408 if test -z "$ac_aux_dir"; then
1409 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1411 { (exit 1); exit 1; }; }
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1417 else
1418 # this is for autoconf
1419 ac_aux_dir=
1420 for ac_dir in ${multi_basedir}; do
1421 if test -f $ac_dir/install-sh; then
1422 ac_aux_dir=$ac_dir
1423 ac_install_sh="$ac_aux_dir/install-sh -c"
1424 break
1425 elif test -f $ac_dir/install.sh; then
1426 ac_aux_dir=$ac_dir
1427 ac_install_sh="$ac_aux_dir/install.sh -c"
1428 break
1429 elif test -f $ac_dir/shtool; then
1430 ac_aux_dir=$ac_dir
1431 ac_install_sh="$ac_aux_dir/shtool install -c"
1432 break
1434 done
1435 if test -z "$ac_aux_dir"; then
1436 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1437 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1438 { (exit 1); exit 1; }; }
1440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1442 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1448 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1450 # You will slowly go insane if you do not grok the following fact: when
1451 # building v3 as part of the compiler, the top-level /target/ becomes the
1452 # library's /host/. configure then causes --target to default to --host,
1453 # exactly like any other package using autoconf. Therefore, 'target' and
1454 # 'host' will always be the same. This makes sense both for native and
1455 # cross compilers, just think about it for a little while. :-)
1457 # Also, if v3 is being configured as part of a cross compiler, the top-level
1458 # configure script will pass the "real" host as $with_cross_host.
1460 # Do not delete or change the following two lines. For why, see
1461 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1462 # Make sure we can run config.sub.
1463 $ac_config_sub sun4 >/dev/null 2>&1 ||
1464 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1465 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1466 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: checking build system type" >&5
1469 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1470 if test "${ac_cv_build+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1472 else
1473 ac_cv_build_alias=$build_alias
1474 test -z "$ac_cv_build_alias" &&
1475 ac_cv_build_alias=`$ac_config_guess`
1476 test -z "$ac_cv_build_alias" &&
1477 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1478 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1479 { (exit 1); exit 1; }; }
1480 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1481 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1483 { (exit 1); exit 1; }; }
1486 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1487 echo "${ECHO_T}$ac_cv_build" >&6
1488 build=$ac_cv_build
1489 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1490 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1491 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1494 echo "$as_me:$LINENO: checking host system type" >&5
1495 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1496 if test "${ac_cv_host+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 else
1499 ac_cv_host_alias=$host_alias
1500 test -z "$ac_cv_host_alias" &&
1501 ac_cv_host_alias=$ac_cv_build_alias
1502 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1503 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1504 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1505 { (exit 1); exit 1; }; }
1508 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1509 echo "${ECHO_T}$ac_cv_host" >&6
1510 host=$ac_cv_host
1511 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1512 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1513 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1516 echo "$as_me:$LINENO: checking target system type" >&5
1517 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1518 if test "${ac_cv_target+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521 ac_cv_target_alias=$target_alias
1522 test "x$ac_cv_target_alias" = "x" &&
1523 ac_cv_target_alias=$ac_cv_host_alias
1524 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1525 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1526 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1527 { (exit 1); exit 1; }; }
1530 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1531 echo "${ECHO_T}$ac_cv_target" >&6
1532 target=$ac_cv_target
1533 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1534 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1535 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1538 # The aliases save the names the user supplied, while $host etc.
1539 # will get canonicalized.
1540 test -n "$target_alias" &&
1541 test "$program_prefix$program_suffix$program_transform_name" = \
1542 NONENONEs,x,x, &&
1543 program_prefix=${target_alias}-
1544 target_alias=${target_alias-$host_alias}
1546 # Handy for debugging:
1547 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1549 if test "$build" != "$host"; then
1550 # We are being configured with some form of cross compiler.
1551 GLIBCXX_IS_NATIVE=false
1553 else
1554 GLIBCXX_IS_NATIVE=true
1557 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1558 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1559 # 1.x: minimum required version
1560 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1561 # of other PACKAGE_* variables will, however, and there's nothing
1562 # we can do about that; they come from AC_INIT).
1563 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1564 # file in the top srcdir, etc, etc), so stop complaining.
1565 # no-dependencies: turns off auto dependency generation (just for now)
1566 # -Wall: turns on all automake warnings...
1567 # -Wno-portability: ...except this one, since GNU make is now required.
1568 am__api_version="1.7"
1569 # Find a good install program. We prefer a C program (faster),
1570 # so one script is as good as another. But avoid the broken or
1571 # incompatible versions:
1572 # SysV /etc/install, /usr/sbin/install
1573 # SunOS /usr/etc/install
1574 # IRIX /sbin/install
1575 # AIX /bin/install
1576 # AmigaOS /C/install, which installs bootblocks on floppy discs
1577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1580 # ./install, which can be erroneously created by make from ./install.sh.
1581 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1583 if test -z "$INSTALL"; then
1584 if test "${ac_cv_path_install+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1590 IFS=$as_save_IFS
1591 test -z "$as_dir" && as_dir=.
1592 # Account for people who put trailing slashes in PATH elements.
1593 case $as_dir/ in
1594 ./ | .// | /cC/* | \
1595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1596 /usr/ucb/* ) ;;
1598 # OSF1 and SCO ODT 3.0 have their own names for install.
1599 # Don't use installbsd from OSF since it installs stuff as root
1600 # by default.
1601 for ac_prog in ginstall scoinst install; do
1602 for ac_exec_ext in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1604 if test $ac_prog = install &&
1605 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1606 # AIX install. It has an incompatible calling convention.
1608 elif test $ac_prog = install &&
1609 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1610 # program-specific install script used by HP pwplus--don't use.
1612 else
1613 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1614 break 3
1617 done
1618 done
1620 esac
1621 done
1625 if test "${ac_cv_path_install+set}" = set; then
1626 INSTALL=$ac_cv_path_install
1627 else
1628 # As a last resort, use the slow shell script. We don't cache a
1629 # path for INSTALL within a source directory, because that will
1630 # break other packages using the cache if that directory is
1631 # removed, or if the path is relative.
1632 INSTALL=$ac_install_sh
1635 echo "$as_me:$LINENO: result: $INSTALL" >&5
1636 echo "${ECHO_T}$INSTALL" >&6
1638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1639 # It thinks the first close brace ends the variable substitution.
1640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1646 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1647 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1648 # Just in case
1649 sleep 1
1650 echo timestamp > conftest.file
1651 # Do `set' in a subshell so we don't clobber the current shell's
1652 # arguments. Must try -L first in case configure is actually a
1653 # symlink; some systems play weird games with the mod time of symlinks
1654 # (eg FreeBSD returns the mod time of the symlink's containing
1655 # directory).
1656 if (
1657 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1658 if test "$*" = "X"; then
1659 # -L didn't work.
1660 set X `ls -t $srcdir/configure conftest.file`
1662 rm -f conftest.file
1663 if test "$*" != "X $srcdir/configure conftest.file" \
1664 && test "$*" != "X conftest.file $srcdir/configure"; then
1666 # If neither matched, then we have a broken ls. This can happen
1667 # if, for instance, CONFIG_SHELL is bash and it inherits a
1668 # broken ls alias from the environment. This has actually
1669 # happened. Such a system could not be considered "sane".
1670 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1671 alias in your environment" >&5
1672 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1673 alias in your environment" >&2;}
1674 { (exit 1); exit 1; }; }
1677 test "$2" = conftest.file
1679 then
1680 # Ok.
1682 else
1683 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1684 Check your system clock" >&5
1685 echo "$as_me: error: newly created file is older than distributed files!
1686 Check your system clock" >&2;}
1687 { (exit 1); exit 1; }; }
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1691 test "$program_prefix" != NONE &&
1692 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1693 # Use a double $ so make ignores it.
1694 test "$program_suffix" != NONE &&
1695 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1696 # Double any \ or $. echo might interpret backslashes.
1697 # By default was `s,x,x', remove it if useless.
1698 cat <<\_ACEOF >conftest.sed
1699 s/[\\$]/&&/g;s/;s,x,x,$//
1700 _ACEOF
1701 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1702 rm conftest.sed
1705 # expand $ac_aux_dir to an absolute path
1706 am_aux_dir=`cd $ac_aux_dir && pwd`
1708 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1709 # Use eval to expand $SHELL
1710 if eval "$MISSING --run true"; then
1711 am_missing_run="$MISSING --run "
1712 else
1713 am_missing_run=
1714 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1715 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1718 for ac_prog in gawk mawk nawk awk
1720 # Extract the first word of "$ac_prog", so it can be a program name with args.
1721 set dummy $ac_prog; ac_word=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_AWK+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 else
1727 if test -n "$AWK"; then
1728 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1729 else
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 for as_dir in $PATH
1733 IFS=$as_save_IFS
1734 test -z "$as_dir" && as_dir=.
1735 for ac_exec_ext in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_AWK="$ac_prog"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739 break 2
1741 done
1742 done
1746 AWK=$ac_cv_prog_AWK
1747 if test -n "$AWK"; then
1748 echo "$as_me:$LINENO: result: $AWK" >&5
1749 echo "${ECHO_T}$AWK" >&6
1750 else
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1755 test -n "$AWK" && break
1756 done
1758 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1759 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1760 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1761 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 else
1764 cat >conftest.make <<\_ACEOF
1765 all:
1766 @echo 'ac_maketemp="$(MAKE)"'
1767 _ACEOF
1768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1769 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1770 if test -n "$ac_maketemp"; then
1771 eval ac_cv_prog_make_${ac_make}_set=yes
1772 else
1773 eval ac_cv_prog_make_${ac_make}_set=no
1775 rm -f conftest.make
1777 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1778 echo "$as_me:$LINENO: result: yes" >&5
1779 echo "${ECHO_T}yes" >&6
1780 SET_MAKE=
1781 else
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1784 SET_MAKE="MAKE=${MAKE-make}"
1787 rm -rf .tst 2>/dev/null
1788 mkdir .tst 2>/dev/null
1789 if test -d .tst; then
1790 am__leading_dot=.
1791 else
1792 am__leading_dot=_
1794 rmdir .tst 2>/dev/null
1796 # test to see if srcdir already configured
1797 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1798 test -f $srcdir/config.status; then
1799 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1800 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1801 { (exit 1); exit 1; }; }
1804 # test whether we have cygpath
1805 if test -z "$CYGPATH_W"; then
1806 if (cygpath --version) >/dev/null 2>/dev/null; then
1807 CYGPATH_W='cygpath -w'
1808 else
1809 CYGPATH_W=echo
1814 # Define the identity of the package.
1815 PACKAGE='libstdc++'
1816 VERSION='version-unused'
1819 # Some tools Automake needs.
1821 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1827 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1833 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1836 AMTAR=${AMTAR-"${am_missing_run}tar"}
1838 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}strip; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 else
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 for as_dir in $PATH
1859 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2
1867 done
1868 done
1872 STRIP=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1876 else
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1883 ac_ct_STRIP=$STRIP
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 break 2
1905 done
1906 done
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 else
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1920 STRIP=$ac_ct_STRIP
1921 else
1922 STRIP="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1929 # some platforms.
1934 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1935 # up critical shell variables.
1937 # Keep these sync'd with the list in Makefile.am. The first provides an
1938 # expandable list at autoconf time; the second provides an expandable list
1939 # (i.e., shell variable) at configure time.
1941 SUBDIRS='include libmath libsupc++ src po testsuite'
1943 # These need to be absolute paths, yet at the same time need to
1944 # canonicalize only relative paths, because then amd will not unmount
1945 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1946 glibcxx_builddir=`${PWDCMD-pwd}`
1947 case $srcdir in
1948 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1949 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1950 esac
1951 toplevel_srcdir=${glibcxx_srcdir}/..
1956 # We use these options to decide which functions to include. They are
1957 # set from the top level.
1959 # Check whether --with-target-subdir or --without-target-subdir was given.
1960 if test "${with_target_subdir+set}" = set; then
1961 withval="$with_target_subdir"
1966 # Check whether --with-cross-host or --without-cross-host was given.
1967 if test "${with_cross_host+set}" = set; then
1968 withval="$with_cross_host"
1973 # Check whether --with-newlib or --without-newlib was given.
1974 if test "${with_newlib+set}" = set; then
1975 withval="$with_newlib"
1979 # We're almost certainly being configured before anything else which uses
1980 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1981 # we not cache the value of CXX that we "discover" here, because it's set
1982 # to something unique for us and libjava. Other target libraries need to
1983 # find CXX for themselves. We yank the rug out from under the normal AC_*
1984 # process by sneakily renaming the cache variable. This also lets us debug
1985 # the value of "our" CXX in postmortems.
1987 # We must also force CXX to /not/ be a precious variable, otherwise the
1988 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1989 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1990 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1991 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1993 # -fno-builtin must be present here so that a non-conflicting form of
1994 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1999 save_CXXFLAGS="$CXXFLAGS"
2000 CXXFLAGS="$CXXFLAGS -fno-builtin"
2001 ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 if test -n "$ac_tool_prefix"; then
2007 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2008 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 if test -n "$CC"; then
2015 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 else
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 for as_dir in $PATH
2020 IFS=$as_save_IFS
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 break 2
2028 done
2029 done
2033 CC=$ac_cv_prog_CC
2034 if test -n "$CC"; then
2035 echo "$as_me:$LINENO: result: $CC" >&5
2036 echo "${ECHO_T}$CC" >&6
2037 else
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2043 if test -z "$ac_cv_prog_CC"; then
2044 ac_ct_CC=$CC
2045 # Extract the first word of "gcc", so it can be a program name with args.
2046 set dummy gcc; ac_word=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$ac_ct_CC"; then
2053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062 ac_cv_prog_ac_ct_CC="gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2072 if test -n "$ac_ct_CC"; then
2073 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074 echo "${ECHO_T}$ac_ct_CC" >&6
2075 else
2076 echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2080 CC=$ac_ct_CC
2081 else
2082 CC="$ac_cv_prog_CC"
2085 if test -z "$CC"; then
2086 if test -n "$ac_tool_prefix"; then
2087 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2088 set dummy ${ac_tool_prefix}cc; ac_word=$2
2089 echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2091 if test "${ac_cv_prog_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094 if test -n "$CC"; then
2095 ac_cv_prog_CC="$CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2100 IFS=$as_save_IFS
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2104 ac_cv_prog_CC="${ac_tool_prefix}cc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 break 2
2108 done
2109 done
2113 CC=$ac_cv_prog_CC
2114 if test -n "$CC"; then
2115 echo "$as_me:$LINENO: result: $CC" >&5
2116 echo "${ECHO_T}$CC" >&6
2117 else
2118 echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6
2123 if test -z "$ac_cv_prog_CC"; then
2124 ac_ct_CC=$CC
2125 # Extract the first word of "cc", so it can be a program name with args.
2126 set dummy cc; ac_word=$2
2127 echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132 if test -n "$ac_ct_CC"; then
2133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_ac_ct_CC="cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 break 2
2146 done
2147 done
2151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2152 if test -n "$ac_ct_CC"; then
2153 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2154 echo "${ECHO_T}$ac_ct_CC" >&6
2155 else
2156 echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2160 CC=$ac_ct_CC
2161 else
2162 CC="$ac_cv_prog_CC"
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 else
2177 ac_prog_rejected=no
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected=yes
2187 continue
2189 ac_cv_prog_CC="cc"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 break 2
2193 done
2194 done
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy $ac_cv_prog_CC
2199 shift
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2204 shift
2205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 CC=$ac_cv_prog_CC
2211 if test -n "$CC"; then
2212 echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6
2214 else
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2245 done
2246 done
2250 CC=$ac_cv_prog_CC
2251 if test -n "$CC"; then
2252 echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6
2254 else
2255 echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2259 test -n "$CC" && break
2260 done
2262 if test -z "$CC"; then
2263 ac_ct_CC=$CC
2264 for ac_prog in cl
2266 # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy $ac_prog; ac_word=$2
2268 echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 else
2273 if test -n "$ac_ct_CC"; then
2274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 else
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2279 IFS=$as_save_IFS
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2283 ac_cv_prog_ac_ct_CC="$ac_prog"
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285 break 2
2287 done
2288 done
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2295 echo "${ECHO_T}$ac_ct_CC" >&6
2296 else
2297 echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6
2301 test -n "$ac_ct_CC" && break
2302 done
2304 CC=$ac_ct_CC
2310 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&2;}
2314 { (exit 1); exit 1; }; }
2316 # Provide some information about the compiler.
2317 echo "$as_me:$LINENO:" \
2318 "checking for C compiler version" >&5
2319 ac_compiler=`set X $ac_compile; echo $2`
2320 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2321 (eval $ac_compiler --version </dev/null >&5) 2>&5
2322 ac_status=$?
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2326 (eval $ac_compiler -v </dev/null >&5) 2>&5
2327 ac_status=$?
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2331 (eval $ac_compiler -V </dev/null >&5) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }
2336 cat >conftest.$ac_ext <<_ACEOF
2337 #line $LINENO "configure"
2338 /* confdefs.h. */
2339 _ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2345 main ()
2349 return 0;
2351 _ACEOF
2352 # FIXME: Cleanup?
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; then
2358 gcc_no_link=no
2359 else
2360 gcc_no_link=yes
2363 if test x$gcc_no_link = xyes; then
2364 # Setting cross_compile will disable run tests; it will
2365 # also disable AC_CHECK_FILE but that's generally
2366 # correct if we can't link.
2367 cross_compiling=yes
2368 EXEEXT=
2369 else
2370 cat >conftest.$ac_ext <<_ACEOF
2371 #line $LINENO "configure"
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2379 main ()
2383 return 0;
2385 _ACEOF
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2390 # of exeext.
2391 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2392 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2395 (eval $ac_link_default) 2>&5
2396 ac_status=$?
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # Find the output, starting from the most likely. This scheme is
2400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2401 # resort.
2403 # Be careful to initialize this variable, since it used to be cached.
2404 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2405 ac_cv_exeext=
2406 # b.out is created by i960 compilers.
2407 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2409 test -f "$ac_file" || continue
2410 case $ac_file in
2411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2413 conftest.$ac_ext )
2414 # This is the source file.
2416 [ab].out )
2417 # We found the default executable, but exeext='' is most
2418 # certainly right.
2419 break;;
2420 *.* )
2421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 # FIXME: I believe we export ac_cv_exeext for Libtool,
2423 # but it would be cool to find out if it's true. Does anybody
2424 # maintain Libtool? --akim.
2425 export ac_cv_exeext
2426 break;;
2428 break;;
2429 esac
2430 done
2431 else
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: C compiler cannot create executables
2438 See \`config.log' for more details." >&2;}
2439 { (exit 77); exit 77; }; }
2442 ac_exeext=$ac_cv_exeext
2443 echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6
2446 # Check the compiler produces executables we can run. If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2449 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2451 # If not cross compiling, check that we can run a simple program.
2452 if test "$cross_compiling" != yes; then
2453 if { ac_try='./$ac_file'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 (eval $ac_try) 2>&5
2456 ac_status=$?
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2459 cross_compiling=no
2460 else
2461 if test "$cross_compiling" = maybe; then
2462 cross_compiling=yes
2463 else
2464 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot run C compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2474 echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6
2477 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2478 ac_clean_files=$ac_clean_files_save
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484 echo "${ECHO_T}$cross_compiling" >&6
2486 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489 (eval $ac_link) 2>&5
2490 ac_status=$?
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; then
2493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2496 # `rm'.
2497 for ac_file in conftest.exe conftest conftest.*; do
2498 test -f "$ac_file" || continue
2499 case $ac_file in
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2502 export ac_cv_exeext
2503 break;;
2504 * ) break;;
2505 esac
2506 done
2507 else
2508 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512 { (exit 1); exit 1; }; }
2515 rm -f conftest$ac_cv_exeext
2516 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 echo "${ECHO_T}$ac_cv_exeext" >&6
2519 rm -f conftest.$ac_ext
2520 EXEEXT=$ac_cv_exeext
2521 ac_exeext=$EXEEXT
2523 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2524 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2525 if test "${ac_cv_objext+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 else
2528 cat >conftest.$ac_ext <<_ACEOF
2529 #line $LINENO "configure"
2530 /* confdefs.h. */
2531 _ACEOF
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2537 main ()
2541 return 0;
2543 _ACEOF
2544 rm -f conftest.o conftest.obj
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2553 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2554 break;;
2555 esac
2556 done
2557 else
2558 echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2570 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2571 echo "${ECHO_T}$ac_cv_objext" >&6
2572 OBJEXT=$ac_cv_objext
2573 ac_objext=$OBJEXT
2574 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2575 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2576 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579 cat >conftest.$ac_ext <<_ACEOF
2580 #line $LINENO "configure"
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2588 main ()
2590 #ifndef __GNUC__
2591 choke me
2592 #endif
2595 return 0;
2597 _ACEOF
2598 rm -f conftest.$ac_objext
2599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2600 (eval $ac_compile) 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
2604 { ac_try='test -s conftest.$ac_objext'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 (eval $ac_try) 2>&5
2607 ac_status=$?
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; }; then
2610 ac_compiler_gnu=yes
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 ac_compiler_gnu=no
2617 rm -f conftest.$ac_objext conftest.$ac_ext
2618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2621 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2623 GCC=`test $ac_compiler_gnu = yes && echo yes`
2624 ac_test_CFLAGS=${CFLAGS+set}
2625 ac_save_CFLAGS=$CFLAGS
2626 CFLAGS="-g"
2627 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2628 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2629 if test "${ac_cv_prog_cc_g+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 #line $LINENO "configure"
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2645 return 0;
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>&5
2651 ac_status=$?
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 (eval $ac_try) 2>&5
2657 ac_status=$?
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2660 ac_cv_prog_cc_g=yes
2661 else
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2665 ac_cv_prog_cc_g=no
2667 rm -f conftest.$ac_objext conftest.$ac_ext
2669 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2670 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2671 if test "$ac_test_CFLAGS" = set; then
2672 CFLAGS=$ac_save_CFLAGS
2673 elif test $ac_cv_prog_cc_g = yes; then
2674 if test "$GCC" = yes; then
2675 CFLAGS="-g -O2"
2676 else
2677 CFLAGS="-g"
2679 else
2680 if test "$GCC" = yes; then
2681 CFLAGS="-O2"
2682 else
2683 CFLAGS=
2686 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2687 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2688 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 ac_cv_prog_cc_stdc=no
2692 ac_save_CC=$CC
2693 cat >conftest.$ac_ext <<_ACEOF
2694 #line $LINENO "configure"
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2700 #include <stdarg.h>
2701 #include <stdio.h>
2702 #include <sys/types.h>
2703 #include <sys/stat.h>
2704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2705 struct buf { int x; };
2706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2707 static char *e (p, i)
2708 char **p;
2709 int i;
2711 return p[i];
2713 static char *f (char * (*g) (char **, int), char **p, ...)
2715 char *s;
2716 va_list v;
2717 va_start (v,p);
2718 s = g (p, va_arg (v,int));
2719 va_end (v);
2720 return s;
2722 int test (int i, double x);
2723 struct s1 {int (*f) (int a);};
2724 struct s2 {int (*f) (double a);};
2725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2726 int argc;
2727 char **argv;
2729 main ()
2731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2733 return 0;
2735 _ACEOF
2736 # Don't try gcc -ansi; that turns off useful extensions and
2737 # breaks some systems' header files.
2738 # AIX -qlanglvl=ansi
2739 # Ultrix and OSF/1 -std1
2740 # HP-UX 10.20 and later -Ae
2741 # HP-UX older versions -Aa -D_HPUX_SOURCE
2742 # SVR4 -Xc -D__EXTENSIONS__
2743 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2745 CC="$ac_save_CC $ac_arg"
2746 rm -f conftest.$ac_objext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748 (eval $ac_compile) 2>&5
2749 ac_status=$?
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -s conftest.$ac_objext'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 (eval $ac_try) 2>&5
2755 ac_status=$?
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; }; then
2758 ac_cv_prog_cc_stdc=$ac_arg
2759 break
2760 else
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2765 rm -f conftest.$ac_objext
2766 done
2767 rm -f conftest.$ac_ext conftest.$ac_objext
2768 CC=$ac_save_CC
2772 case "x$ac_cv_prog_cc_stdc" in
2773 x|xno)
2774 echo "$as_me:$LINENO: result: none needed" >&5
2775 echo "${ECHO_T}none needed" >&6 ;;
2777 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2778 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2779 CC="$CC $ac_cv_prog_cc_stdc" ;;
2780 esac
2782 # Some people use a C++ compiler to compile C. Since we use `exit',
2783 # in C++ we need to declare it. In case someone uses the same compiler
2784 # for both compiling C and C++ we need to have the C++ compiler decide
2785 # the declaration of exit, since it's the most demanding environment.
2786 cat >conftest.$ac_ext <<_ACEOF
2787 #ifndef __cplusplus
2788 choke me
2789 #endif
2790 _ACEOF
2791 rm -f conftest.$ac_objext
2792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2793 (eval $ac_compile) 2>&5
2794 ac_status=$?
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } &&
2797 { ac_try='test -s conftest.$ac_objext'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 (eval $ac_try) 2>&5
2800 ac_status=$?
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; }; then
2803 for ac_declaration in \
2805 '#include <stdlib.h>' \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2810 'void exit (int);'
2812 cat >conftest.$ac_ext <<_ACEOF
2813 #line $LINENO "configure"
2814 /* confdefs.h. */
2815 _ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2819 #include <stdlib.h>
2820 $ac_declaration
2822 main ()
2824 exit (42);
2826 return 0;
2828 _ACEOF
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831 (eval $ac_compile) 2>&5
2832 ac_status=$?
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -s conftest.$ac_objext'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 (eval $ac_try) 2>&5
2838 ac_status=$?
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2842 else
2843 echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2846 continue
2848 rm -f conftest.$ac_objext conftest.$ac_ext
2849 cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2856 $ac_declaration
2858 main ()
2860 exit (42);
2862 return 0;
2864 _ACEOF
2865 rm -f conftest.$ac_objext
2866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2867 (eval $ac_compile) 2>&5
2868 ac_status=$?
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); } &&
2871 { ac_try='test -s conftest.$ac_objext'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 (eval $ac_try) 2>&5
2874 ac_status=$?
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; }; then
2877 break
2878 else
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2883 rm -f conftest.$ac_objext conftest.$ac_ext
2884 done
2885 rm -f conftest*
2886 if test -n "$ac_declaration"; then
2887 echo '#ifdef __cplusplus' >>confdefs.h
2888 echo $ac_declaration >>confdefs.h
2889 echo '#endif' >>confdefs.h
2892 else
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2897 rm -f conftest.$ac_objext conftest.$ac_ext
2898 ac_ext=c
2899 ac_cpp='$CPP $CPPFLAGS'
2900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904 ac_ext=cc
2905 ac_cpp='$CXXCPP $CPPFLAGS'
2906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2909 if test -n "$ac_tool_prefix"; then
2910 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 else
2919 if test -n "$CXX"; then
2920 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2921 else
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH
2925 IFS=$as_save_IFS
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 break 2
2933 done
2934 done
2938 CXX=$glibcxx_cv_prog_CXX
2939 if test -n "$CXX"; then
2940 echo "$as_me:$LINENO: result: $CXX" >&5
2941 echo "${ECHO_T}$CXX" >&6
2942 else
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2947 test -n "$CXX" && break
2948 done
2950 if test -z "$CXX"; then
2951 ac_ct_CXX=$CXX
2952 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2954 # Extract the first word of "$ac_prog", so it can be a program name with args.
2955 set dummy $ac_prog; ac_word=$2
2956 echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2958 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 else
2961 if test -n "$ac_ct_CXX"; then
2962 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_ac_ct_CXX="$ac_prog"
2972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 break 2
2975 done
2976 done
2980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2981 if test -n "$ac_ct_CXX"; then
2982 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2983 echo "${ECHO_T}$ac_ct_CXX" >&6
2984 else
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2989 test -n "$ac_ct_CXX" && break
2990 done
2991 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2993 CXX=$ac_ct_CXX
2997 # Provide some information about the compiler.
2998 echo "$as_me:$LINENO:" \
2999 "checking for C++ compiler version" >&5
3000 ac_compiler=`set X $ac_compile; echo $2`
3001 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3002 (eval $ac_compiler --version </dev/null >&5) 2>&5
3003 ac_status=$?
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }
3006 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3007 (eval $ac_compiler -v </dev/null >&5) 2>&5
3008 ac_status=$?
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }
3011 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3012 (eval $ac_compiler -V </dev/null >&5) 2>&5
3013 ac_status=$?
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }
3017 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3018 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3019 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 else
3022 cat >conftest.$ac_ext <<_ACEOF
3023 #line $LINENO "configure"
3024 /* confdefs.h. */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3031 main ()
3033 #ifndef __GNUC__
3034 choke me
3035 #endif
3038 return 0;
3040 _ACEOF
3041 rm -f conftest.$ac_objext
3042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3043 (eval $ac_compile) 2>&5
3044 ac_status=$?
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try='test -s conftest.$ac_objext'
3048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 (eval $ac_try) 2>&5
3050 ac_status=$?
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; }; then
3053 ac_compiler_gnu=yes
3054 else
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 ac_compiler_gnu=no
3060 rm -f conftest.$ac_objext conftest.$ac_ext
3061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3064 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3065 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3066 GXX=`test $ac_compiler_gnu = yes && echo yes`
3067 ac_test_CXXFLAGS=${CXXFLAGS+set}
3068 ac_save_CXXFLAGS=$CXXFLAGS
3069 CXXFLAGS="-g"
3070 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3071 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3072 if test "${ac_cv_prog_cxx_g+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075 cat >conftest.$ac_ext <<_ACEOF
3076 #line $LINENO "configure"
3077 /* confdefs.h. */
3078 _ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3084 main ()
3088 return 0;
3090 _ACEOF
3091 rm -f conftest.$ac_objext
3092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3093 (eval $ac_compile) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } &&
3097 { ac_try='test -s conftest.$ac_objext'
3098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 (eval $ac_try) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }; }; then
3103 ac_cv_prog_cxx_g=yes
3104 else
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3108 ac_cv_prog_cxx_g=no
3110 rm -f conftest.$ac_objext conftest.$ac_ext
3112 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3113 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3114 if test "$ac_test_CXXFLAGS" = set; then
3115 CXXFLAGS=$ac_save_CXXFLAGS
3116 elif test $ac_cv_prog_cxx_g = yes; then
3117 if test "$GXX" = yes; then
3118 CXXFLAGS="-g -O2"
3119 else
3120 CXXFLAGS="-g"
3122 else
3123 if test "$GXX" = yes; then
3124 CXXFLAGS="-O2"
3125 else
3126 CXXFLAGS=
3129 for ac_declaration in \
3131 '#include <stdlib.h>' \
3132 'extern "C" void std::exit (int) throw (); using std::exit;' \
3133 'extern "C" void std::exit (int); using std::exit;' \
3134 'extern "C" void exit (int) throw ();' \
3135 'extern "C" void exit (int);' \
3136 'void exit (int);'
3138 cat >conftest.$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3140 /* confdefs.h. */
3141 _ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3145 #include <stdlib.h>
3146 $ac_declaration
3148 main ()
3150 exit (42);
3152 return 0;
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>&5
3158 ac_status=$?
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); } &&
3161 { ac_try='test -s conftest.$ac_objext'
3162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 (eval $ac_try) 2>&5
3164 ac_status=$?
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }; }; then
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 continue
3174 rm -f conftest.$ac_objext conftest.$ac_ext
3175 cat >conftest.$ac_ext <<_ACEOF
3176 #line $LINENO "configure"
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3182 $ac_declaration
3184 main ()
3186 exit (42);
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>&5
3194 ac_status=$?
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -s conftest.$ac_objext'
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 (eval $ac_try) 2>&5
3200 ac_status=$?
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }; }; then
3203 break
3204 else
3205 echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3209 rm -f conftest.$ac_objext conftest.$ac_ext
3210 done
3211 rm -f conftest*
3212 if test -n "$ac_declaration"; then
3213 echo '#ifdef __cplusplus' >>confdefs.h
3214 echo $ac_declaration >>confdefs.h
3215 echo '#endif' >>confdefs.h
3218 ac_ext=c
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 CXXFLAGS="$save_CXXFLAGS"
3229 # For directory versioning (e.g., headers) and other variables.
3230 echo "$as_me:$LINENO: checking for GCC version number" >&5
3231 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3232 gcc_version=`$CXX -dumpversion`
3233 echo "$as_me:$LINENO: result: $gcc_version" >&5
3234 echo "${ECHO_T}$gcc_version" >&6
3236 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3237 # available). Uncomment the next line to force a particular method.
3238 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3239 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3240 LN_S=$as_ln_s
3241 if test "$LN_S" = "ln -s"; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 else
3245 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3246 echo "${ECHO_T}no, using $LN_S" >&6
3249 #LN_S='cp -p'
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}as; ac_word=$2
3254 echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3256 if test "${ac_cv_prog_AS+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 else
3259 if test -n "$AS"; then
3260 ac_cv_prog_AS="$AS" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3265 IFS=$as_save_IFS
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_AS="${ac_tool_prefix}as"
3270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 break 2
3273 done
3274 done
3278 AS=$ac_cv_prog_AS
3279 if test -n "$AS"; then
3280 echo "$as_me:$LINENO: result: $AS" >&5
3281 echo "${ECHO_T}$AS" >&6
3282 else
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3288 if test -z "$ac_cv_prog_AS"; then
3289 ac_ct_AS=$AS
3290 # Extract the first word of "as", so it can be a program name with args.
3291 set dummy as; ac_word=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 else
3297 if test -n "$ac_ct_AS"; then
3298 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_ac_ct_AS="as"
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3311 done
3312 done
3316 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3317 if test -n "$ac_ct_AS"; then
3318 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3319 echo "${ECHO_T}$ac_ct_AS" >&6
3320 else
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3325 AS=$ac_ct_AS
3326 else
3327 AS="$ac_cv_prog_AS"
3330 if test -n "$ac_tool_prefix"; then
3331 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3332 set dummy ${ac_tool_prefix}ar; ac_word=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_prog_AR+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338 if test -n "$AR"; then
3339 ac_cv_prog_AR="$AR" # Let the user override the test.
3340 else
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 for as_dir in $PATH
3344 IFS=$as_save_IFS
3345 test -z "$as_dir" && as_dir=.
3346 for ac_exec_ext in '' $ac_executable_extensions; do
3347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3348 ac_cv_prog_AR="${ac_tool_prefix}ar"
3349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 break 2
3352 done
3353 done
3357 AR=$ac_cv_prog_AR
3358 if test -n "$AR"; then
3359 echo "$as_me:$LINENO: result: $AR" >&5
3360 echo "${ECHO_T}$AR" >&6
3361 else
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3367 if test -z "$ac_cv_prog_AR"; then
3368 ac_ct_AR=$AR
3369 # Extract the first word of "ar", so it can be a program name with args.
3370 set dummy ar; ac_word=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 else
3376 if test -n "$ac_ct_AR"; then
3377 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3382 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_ac_ct_AR="ar"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3390 done
3391 done
3395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3396 if test -n "$ac_ct_AR"; then
3397 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3398 echo "${ECHO_T}$ac_ct_AR" >&6
3399 else
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3404 AR=$ac_ct_AR
3405 else
3406 AR="$ac_cv_prog_AR"
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3411 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_RANLIB+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417 if test -n "$RANLIB"; then
3418 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3436 RANLIB=$ac_cv_prog_RANLIB
3437 if test -n "$RANLIB"; then
3438 echo "$as_me:$LINENO: result: $RANLIB" >&5
3439 echo "${ECHO_T}$RANLIB" >&6
3440 else
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3446 if test -z "$ac_cv_prog_RANLIB"; then
3447 ac_ct_RANLIB=$RANLIB
3448 # Extract the first word of "ranlib", so it can be a program name with args.
3449 set dummy ranlib; ac_word=$2
3450 echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3452 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 else
3455 if test -n "$ac_ct_RANLIB"; then
3456 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3457 else
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH
3461 IFS=$as_save_IFS
3462 test -z "$as_dir" && as_dir=.
3463 for ac_exec_ext in '' $ac_executable_extensions; do
3464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465 ac_cv_prog_ac_ct_RANLIB="ranlib"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 break 2
3469 done
3470 done
3472 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3475 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3476 if test -n "$ac_ct_RANLIB"; then
3477 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3478 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3479 else
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3484 RANLIB=$ac_ct_RANLIB
3485 else
3486 RANLIB="$ac_cv_prog_RANLIB"
3490 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3491 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3492 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3493 if test "${enable_maintainer_mode+set}" = set; then
3494 enableval="$enable_maintainer_mode"
3495 USE_MAINTAINER_MODE=$enableval
3496 else
3497 USE_MAINTAINER_MODE=no
3499 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3500 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3503 if test $USE_MAINTAINER_MODE = yes; then
3504 MAINTAINER_MODE_TRUE=
3505 MAINTAINER_MODE_FALSE='#'
3506 else
3507 MAINTAINER_MODE_TRUE='#'
3508 MAINTAINER_MODE_FALSE=
3511 MAINT=$MAINTAINER_MODE_TRUE
3515 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3516 # which are themselves conditionally expanded.
3517 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3518 ## other macros from doing the same. This should be automated.) -pme
3519 need_libmath=no
3520 enable_wchar_t=no
3521 #enable_libstdcxx_debug=no
3522 #enable_libstdcxx_pch=no
3523 #enable_cheaders=c
3524 #c_compatibility=no
3525 #enable_abi_check=no
3526 #enable_symvers=no
3527 #enable_hosted_libstdcxx=yes
3529 # Find platform-specific directories containing configuration info.
3530 # Also possibly modify flags used elsewhere, as needed by the platform.
3532 . $glibcxx_srcdir/configure.host
3533 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3534 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3535 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3536 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3540 #AC_MSG_NOTICE([====== Starting libtool configuration])
3542 # Check whether --enable-shared or --disable-shared was given.
3543 if test "${enable_shared+set}" = set; then
3544 enableval="$enable_shared"
3545 p=${PACKAGE-default}
3546 case $enableval in
3547 yes) enable_shared=yes ;;
3548 no) enable_shared=no ;;
3550 enable_shared=no
3551 # Look at the argument we got. We use all the common list separators.
3552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3553 for pkg in $enableval; do
3554 if test "X$pkg" = "X$p"; then
3555 enable_shared=yes
3557 done
3558 IFS="$ac_save_ifs"
3560 esac
3561 else
3562 enable_shared=yes
3564 # Check whether --enable-static or --disable-static was given.
3565 if test "${enable_static+set}" = set; then
3566 enableval="$enable_static"
3567 p=${PACKAGE-default}
3568 case $enableval in
3569 yes) enable_static=yes ;;
3570 no) enable_static=no ;;
3572 enable_static=no
3573 # Look at the argument we got. We use all the common list separators.
3574 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3575 for pkg in $enableval; do
3576 if test "X$pkg" = "X$p"; then
3577 enable_static=yes
3579 done
3580 IFS="$ac_save_ifs"
3582 esac
3583 else
3584 enable_static=yes
3586 # Check whether --enable-fast-install or --disable-fast-install was given.
3587 if test "${enable_fast_install+set}" = set; then
3588 enableval="$enable_fast_install"
3589 p=${PACKAGE-default}
3590 case $enableval in
3591 yes) enable_fast_install=yes ;;
3592 no) enable_fast_install=no ;;
3594 enable_fast_install=no
3595 # Look at the argument we got. We use all the common list separators.
3596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3597 for pkg in $enableval; do
3598 if test "X$pkg" = "X$p"; then
3599 enable_fast_install=yes
3601 done
3602 IFS="$ac_save_ifs"
3604 esac
3605 else
3606 enable_fast_install=yes
3609 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3610 if test "${with_gnu_ld+set}" = set; then
3611 withval="$with_gnu_ld"
3612 test "$withval" = no || with_gnu_ld=yes
3613 else
3614 with_gnu_ld=no
3616 ac_prog=ld
3617 if test "$GCC" = yes; then
3618 # Check if gcc -print-prog-name=ld gives a path.
3619 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3620 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3621 case $host in
3622 *-*-mingw*)
3623 # gcc leaves a trailing carriage return which upsets mingw
3624 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3626 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3627 esac
3628 case $ac_prog in
3629 # Accept absolute paths.
3630 [\\/]* | [A-Za-z]:[\\/]*)
3631 re_direlt='/[^/][^/]*/\.\./'
3632 # Canonicalize the path of ld
3633 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3634 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3635 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3636 done
3637 test -z "$LD" && LD="$ac_prog"
3640 # If it fails, then pretend we aren't using GCC.
3641 ac_prog=ld
3644 # If it is relative, then search for the first ld in PATH.
3645 with_gnu_ld=unknown
3647 esac
3648 elif test "$with_gnu_ld" = yes; then
3649 echo "$as_me:$LINENO: checking for GNU ld" >&5
3650 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3651 else
3652 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3653 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3655 if test "${lt_cv_path_LD+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 else
3658 if test -z "$LD"; then
3659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3660 for ac_dir in $PATH; do
3661 test -z "$ac_dir" && ac_dir=.
3662 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3663 lt_cv_path_LD="$ac_dir/$ac_prog"
3664 # Check to see if the program is GNU ld. I'd rather use --version,
3665 # but apparently some GNU ld's only accept -v.
3666 # Break only if it was the GNU/non-GNU ld that we prefer.
3667 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3668 test "$with_gnu_ld" != no && break
3669 else
3670 test "$with_gnu_ld" != yes && break
3673 done
3674 IFS="$ac_save_ifs"
3675 else
3676 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3680 LD="$lt_cv_path_LD"
3681 if test -n "$LD"; then
3682 echo "$as_me:$LINENO: result: $LD" >&5
3683 echo "${ECHO_T}$LD" >&6
3684 else
3685 echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3688 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3689 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3690 { (exit 1); exit 1; }; }
3691 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3692 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3693 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 else
3696 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3697 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3698 lt_cv_prog_gnu_ld=yes
3699 else
3700 lt_cv_prog_gnu_ld=no
3703 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3704 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3705 with_gnu_ld=$lt_cv_prog_gnu_ld
3708 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3709 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3710 if test "${lt_cv_ld_reload_flag+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 else
3713 lt_cv_ld_reload_flag='-r'
3715 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3716 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3717 reload_flag=$lt_cv_ld_reload_flag
3718 test -n "$reload_flag" && reload_flag=" $reload_flag"
3720 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3721 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3722 if test "${lt_cv_path_NM+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 else
3725 if test -n "$NM"; then
3726 # Let the user override the test.
3727 lt_cv_path_NM="$NM"
3728 else
3729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3730 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3731 test -z "$ac_dir" && ac_dir=.
3732 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3733 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3734 # Check to see if the nm accepts a BSD-compat flag.
3735 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3736 # nm: unknown option "B" ignored
3737 # Tru64's nm complains that /dev/null is an invalid object file
3738 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3739 lt_cv_path_NM="$tmp_nm -B"
3740 break
3741 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3742 lt_cv_path_NM="$tmp_nm -p"
3743 break
3744 else
3745 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3746 continue # so that we can try to find one that supports BSD flags
3749 done
3750 IFS="$ac_save_ifs"
3751 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3755 NM="$lt_cv_path_NM"
3756 echo "$as_me:$LINENO: result: $NM" >&5
3757 echo "${ECHO_T}$NM" >&6
3759 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3760 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3761 if test "${lt_cv_deplibs_check_method+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 else
3764 lt_cv_file_magic_cmd='$MAGIC_CMD'
3765 lt_cv_file_magic_test_file=
3766 lt_cv_deplibs_check_method='unknown'
3767 # Need to set the preceding variable on all platforms that support
3768 # interlibrary dependencies.
3769 # 'none' -- dependencies not supported.
3770 # `unknown' -- same as none, but documents that we really don't know.
3771 # 'pass_all' -- all dependencies passed with no checks.
3772 # 'test_compile' -- check by making test program.
3773 # 'file_magic [regex]' -- check by looking for files in library path
3774 # which responds to the $file_magic_cmd with a given egrep regex.
3775 # If you have `file' or equivalent on your system and you're not sure
3776 # whether `pass_all' will *always* work, you probably want this one.
3778 case $host_os in
3779 aix*)
3780 lt_cv_deplibs_check_method=pass_all
3783 beos*)
3784 lt_cv_deplibs_check_method=pass_all
3787 bsdi4*)
3788 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3789 lt_cv_file_magic_cmd='/usr/bin/file -L'
3790 lt_cv_file_magic_test_file=/shlib/libc.so
3793 cygwin* | mingw* |pw32*)
3794 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3795 lt_cv_file_magic_cmd='$OBJDUMP -f'
3798 darwin* | rhapsody*)
3799 # this will be overwritten by pass_all, but leave it in just in case
3800 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3801 lt_cv_file_magic_cmd='/usr/bin/file -L'
3802 case "$host_os" in
3803 rhapsody* | darwin1.012)
3804 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3806 *) # Darwin 1.3 on
3807 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3809 esac
3810 lt_cv_deplibs_check_method=pass_all
3813 freebsd* )
3814 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3815 case $host_cpu in
3816 i*86 )
3817 # Not sure whether the presence of OpenBSD here was a mistake.
3818 # Let's accept both of them until this is cleared up.
3819 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3820 lt_cv_file_magic_cmd=/usr/bin/file
3821 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3823 esac
3824 else
3825 lt_cv_deplibs_check_method=pass_all
3829 gnu*)
3830 lt_cv_deplibs_check_method=pass_all
3833 hpux10.20*|hpux11*)
3834 case $host_cpu in
3835 hppa*)
3836 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3837 lt_cv_file_magic_cmd=/usr/bin/file
3838 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3840 ia64*)
3841 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3842 lt_cv_file_magic_cmd=/usr/bin/file
3843 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3845 esac
3848 irix5* | irix6*)
3849 case $host_os in
3850 irix5*)
3851 # this will be overridden with pass_all, but let us keep it just in case
3852 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3855 case $LD in
3856 *-32|*"-32 ") libmagic=32-bit;;
3857 *-n32|*"-n32 ") libmagic=N32;;
3858 *-64|*"-64 ") libmagic=64-bit;;
3859 *) libmagic=never-match;;
3860 esac
3861 # this will be overridden with pass_all, but let us keep it just in case
3862 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3864 esac
3865 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3866 lt_cv_deplibs_check_method=pass_all
3869 # This must be Linux ELF.
3870 linux-gnu*)
3871 case $host_cpu in
3872 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3873 lt_cv_deplibs_check_method=pass_all ;;
3875 # glibc up to 2.1.1 does not perform some relocations on ARM
3876 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3877 esac
3878 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3881 netbsd*)
3882 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3883 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3884 else
3885 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3889 newsos6)
3890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3891 lt_cv_file_magic_cmd=/usr/bin/file
3892 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3895 osf3* | osf4* | osf5*)
3896 # this will be overridden with pass_all, but let us keep it just in case
3897 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3898 lt_cv_file_magic_test_file=/shlib/libc.so
3899 lt_cv_deplibs_check_method=pass_all
3902 sco3.2v5*)
3903 lt_cv_deplibs_check_method=pass_all
3906 solaris*)
3907 lt_cv_deplibs_check_method=pass_all
3908 lt_cv_file_magic_test_file=/lib/libc.so
3911 sysv5uw[78]* | sysv4*uw2*)
3912 lt_cv_deplibs_check_method=pass_all
3915 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3916 case $host_vendor in
3917 ncr)
3918 lt_cv_deplibs_check_method=pass_all
3920 motorola)
3921 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]'
3922 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3924 esac
3926 esac
3929 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3930 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3931 file_magic_cmd=$lt_cv_file_magic_cmd
3932 deplibs_check_method=$lt_cv_deplibs_check_method
3938 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3940 # Only perform the check for file, if the check method requires it
3941 case $deplibs_check_method in
3942 file_magic*)
3943 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3944 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3945 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3946 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 case $MAGIC_CMD in
3951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3953 ?:/*)
3954 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3957 ac_save_MAGIC_CMD="$MAGIC_CMD"
3958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3959 ac_dummy="/usr/bin:$PATH"
3960 for ac_dir in $ac_dummy; do
3961 test -z "$ac_dir" && ac_dir=.
3962 if test -f $ac_dir/${ac_tool_prefix}file; then
3963 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3964 if test -n "$file_magic_test_file"; then
3965 case $deplibs_check_method in
3966 "file_magic "*)
3967 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3968 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3969 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3970 egrep "$file_magic_regex" > /dev/null; then
3972 else
3973 cat <<EOF 1>&2
3975 *** Warning: the command libtool uses to detect shared libraries,
3976 *** $file_magic_cmd, produces output that libtool cannot recognize.
3977 *** The result is that libtool may fail to recognize shared libraries
3978 *** as such. This will affect the creation of libtool libraries that
3979 *** depend on shared libraries, but programs linked with such libtool
3980 *** libraries will work regardless of this problem. Nevertheless, you
3981 *** may want to report the problem to your system manager and/or to
3982 *** bug-libtool@gnu.org
3985 fi ;;
3986 esac
3988 break
3990 done
3991 IFS="$ac_save_ifs"
3992 MAGIC_CMD="$ac_save_MAGIC_CMD"
3994 esac
3997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3998 if test -n "$MAGIC_CMD"; then
3999 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4000 echo "${ECHO_T}$MAGIC_CMD" >&6
4001 else
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4006 if test -z "$lt_cv_path_MAGIC_CMD"; then
4007 if test -n "$ac_tool_prefix"; then
4008 echo "$as_me:$LINENO: checking for file" >&5
4009 echo $ECHO_N "checking for file... $ECHO_C" >&6
4010 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 else
4013 case $MAGIC_CMD in
4015 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4017 ?:/*)
4018 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4021 ac_save_MAGIC_CMD="$MAGIC_CMD"
4022 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4023 ac_dummy="/usr/bin:$PATH"
4024 for ac_dir in $ac_dummy; do
4025 test -z "$ac_dir" && ac_dir=.
4026 if test -f $ac_dir/file; then
4027 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4028 if test -n "$file_magic_test_file"; then
4029 case $deplibs_check_method in
4030 "file_magic "*)
4031 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4033 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4034 egrep "$file_magic_regex" > /dev/null; then
4036 else
4037 cat <<EOF 1>&2
4039 *** Warning: the command libtool uses to detect shared libraries,
4040 *** $file_magic_cmd, produces output that libtool cannot recognize.
4041 *** The result is that libtool may fail to recognize shared libraries
4042 *** as such. This will affect the creation of libtool libraries that
4043 *** depend on shared libraries, but programs linked with such libtool
4044 *** libraries will work regardless of this problem. Nevertheless, you
4045 *** may want to report the problem to your system manager and/or to
4046 *** bug-libtool@gnu.org
4049 fi ;;
4050 esac
4052 break
4054 done
4055 IFS="$ac_save_ifs"
4056 MAGIC_CMD="$ac_save_MAGIC_CMD"
4058 esac
4061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4062 if test -n "$MAGIC_CMD"; then
4063 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4064 echo "${ECHO_T}$MAGIC_CMD" >&6
4065 else
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4070 else
4071 MAGIC_CMD=:
4077 esac
4079 if test -n "$ac_tool_prefix"; then
4080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4082 echo "$as_me:$LINENO: checking for $ac_word" >&5
4083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4084 if test "${ac_cv_prog_RANLIB+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 else
4087 if test -n "$RANLIB"; then
4088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4093 IFS=$as_save_IFS
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 break 2
4101 done
4102 done
4106 RANLIB=$ac_cv_prog_RANLIB
4107 if test -n "$RANLIB"; then
4108 echo "$as_me:$LINENO: result: $RANLIB" >&5
4109 echo "${ECHO_T}$RANLIB" >&6
4110 else
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4116 if test -z "$ac_cv_prog_RANLIB"; then
4117 ac_ct_RANLIB=$RANLIB
4118 # Extract the first word of "ranlib", so it can be a program name with args.
4119 set dummy ranlib; ac_word=$2
4120 echo "$as_me:$LINENO: checking for $ac_word" >&5
4121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4122 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125 if test -n "$ac_ct_RANLIB"; then
4126 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4127 else
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH
4131 IFS=$as_save_IFS
4132 test -z "$as_dir" && as_dir=.
4133 for ac_exec_ext in '' $ac_executable_extensions; do
4134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_RANLIB="ranlib"
4136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 break 2
4139 done
4140 done
4142 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4145 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4146 if test -n "$ac_ct_RANLIB"; then
4147 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4148 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4154 RANLIB=$ac_ct_RANLIB
4155 else
4156 RANLIB="$ac_cv_prog_RANLIB"
4159 if test -n "$ac_tool_prefix"; then
4160 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4161 set dummy ${ac_tool_prefix}strip; ac_word=$2
4162 echo "$as_me:$LINENO: checking for $ac_word" >&5
4163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4164 if test "${ac_cv_prog_STRIP+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167 if test -n "$STRIP"; then
4168 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4169 else
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 for as_dir in $PATH
4173 IFS=$as_save_IFS
4174 test -z "$as_dir" && as_dir=.
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 break 2
4181 done
4182 done
4186 STRIP=$ac_cv_prog_STRIP
4187 if test -n "$STRIP"; then
4188 echo "$as_me:$LINENO: result: $STRIP" >&5
4189 echo "${ECHO_T}$STRIP" >&6
4190 else
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4196 if test -z "$ac_cv_prog_STRIP"; then
4197 ac_ct_STRIP=$STRIP
4198 # Extract the first word of "strip", so it can be a program name with args.
4199 set dummy strip; ac_word=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 if test -n "$ac_ct_STRIP"; then
4206 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4207 else
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4211 IFS=$as_save_IFS
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_ac_ct_STRIP="strip"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 break 2
4219 done
4220 done
4222 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4225 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4226 if test -n "$ac_ct_STRIP"; then
4227 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4228 echo "${ECHO_T}$ac_ct_STRIP" >&6
4229 else
4230 echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4234 STRIP=$ac_ct_STRIP
4235 else
4236 STRIP="$ac_cv_prog_STRIP"
4240 # Check for any special flags to pass to ltconfig.
4241 libtool_flags="--cache-file=$cache_file"
4242 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4243 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4244 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4245 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4246 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4249 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4250 if test "${enable_libtool_lock+set}" = set; then
4251 enableval="$enable_libtool_lock"
4254 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4255 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4258 # Check whether --with-pic or --without-pic was given.
4259 if test "${with_pic+set}" = set; then
4260 withval="$with_pic"
4261 pic_mode="$withval"
4262 else
4263 pic_mode=default
4265 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4266 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4268 # Some flags need to be propagated to the compiler or linker for good
4269 # libtool support.
4270 case $host in
4271 *-*-irix6*)
4272 # Find out which ABI we are using.
4273 echo '#line 4273 "configure"' > conftest.$ac_ext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4275 (eval $ac_compile) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; then
4279 if test "$lt_cv_prog_gnu_ld" = yes; then
4280 case `/usr/bin/file conftest.$ac_objext` in
4281 *32-bit*)
4282 LD="${LD-ld} -melf32bsmip"
4284 *N32*)
4285 LD="${LD-ld} -melf32bmipn32"
4287 *64-bit*)
4288 LD="${LD-ld} -melf64bmip"
4290 esac
4291 else
4292 case `/usr/bin/file conftest.$ac_objext` in
4293 *32-bit*)
4294 LD="${LD-ld} -32"
4296 *N32*)
4297 LD="${LD-ld} -n32"
4299 *64-bit*)
4300 LD="${LD-ld} -64"
4302 esac
4305 rm -rf conftest*
4308 ia64-*-hpux*)
4309 # Find out which ABI we are using.
4310 echo 'int i;' > conftest.$ac_ext
4311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312 (eval $ac_compile) 2>&5
4313 ac_status=$?
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; then
4316 case "`/usr/bin/file conftest.o`" in
4317 *ELF-32*)
4318 HPUX_IA64_MODE="32"
4320 *ELF-64*)
4321 HPUX_IA64_MODE="64"
4323 esac
4325 rm -rf conftest*
4328 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4329 # Find out which ABI we are using.
4330 echo 'int i;' > conftest.$ac_ext
4331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4332 (eval $ac_compile) 2>&5
4333 ac_status=$?
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }; then
4336 case "`/usr/bin/file conftest.o`" in
4337 *32-bit*)
4338 case $host in
4339 x86_64-*linux*)
4340 LD="${LD-ld} -m elf_i386"
4342 ppc64-*linux*|powerpc64-*linux*)
4343 LD="${LD-ld} -m elf32ppclinux"
4345 s390x-*linux*)
4346 LD="${LD-ld} -m elf_s390"
4348 sparc64-*linux*)
4349 LD="${LD-ld} -m elf32_sparc"
4351 esac
4353 *64-bit*)
4354 case $host in
4355 x86_64-*linux*)
4356 LD="${LD-ld} -m elf_x86_64"
4358 ppc*-*linux*|powerpc*-*linux*)
4359 LD="${LD-ld} -m elf64ppc"
4361 s390*-*linux*)
4362 LD="${LD-ld} -m elf64_s390"
4364 sparc*-*linux*)
4365 LD="${LD-ld} -m elf64_sparc"
4367 esac
4369 esac
4371 rm -rf conftest*
4374 *-*-sco3.2v5*)
4375 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4376 SAVE_CFLAGS="$CFLAGS"
4377 CFLAGS="$CFLAGS -belf"
4378 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4379 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4380 if test "${lt_cv_cc_needs_belf+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 else
4385 ac_ext=c
4386 ac_cpp='$CPP $CPPFLAGS'
4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 if test x$gcc_no_link = xyes; then
4392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4394 { (exit 1); exit 1; }; }
4396 cat >conftest.$ac_ext <<_ACEOF
4397 #line $LINENO "configure"
4398 /* confdefs.h. */
4399 _ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4405 main ()
4409 return 0;
4411 _ACEOF
4412 rm -f conftest.$ac_objext conftest$ac_exeext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4414 (eval $ac_link) 2>&5
4415 ac_status=$?
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } &&
4418 { ac_try='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420 (eval $ac_try) 2>&5
4421 ac_status=$?
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 lt_cv_cc_needs_belf=yes
4425 else
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.$ac_ext >&5
4429 lt_cv_cc_needs_belf=no
4431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4432 ac_ext=c
4433 ac_cpp='$CPP $CPPFLAGS'
4434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4439 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4440 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4441 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4442 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4443 CFLAGS="$SAVE_CFLAGS"
4448 esac
4451 # Save cache, so that ltconfig can load it
4452 cat >confcache <<\_ACEOF
4453 # This file is a shell script that caches the results of configure
4454 # tests run on this system so they can be shared between configure
4455 # scripts and configure runs, see configure's option --config-cache.
4456 # It is not useful on other systems. If it contains results you don't
4457 # want to keep, you may remove or edit it.
4459 # config.status only pays attention to the cache file if you give it
4460 # the --recheck option to rerun configure.
4462 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4463 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4464 # following values.
4466 _ACEOF
4468 # The following way of writing the cache mishandles newlines in values,
4469 # but we know of no workaround that is simple, portable, and efficient.
4470 # So, don't put newlines in cache variables' values.
4471 # Ultrix sh set writes to stderr and can't be redirected directly,
4472 # and sets the high bit in the cache file unless we assign to the vars.
4474 (set) 2>&1 |
4475 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4476 *ac_space=\ *)
4477 # `set' does not quote correctly, so add quotes (double-quote
4478 # substitution turns \\\\ into \\, and sed turns \\ into \).
4479 sed -n \
4480 "s/'/'\\\\''/g;
4481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4484 # `set' quotes correctly as required by POSIX, so do not add quotes.
4485 sed -n \
4486 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4488 esac;
4490 sed '
4491 t clear
4492 : clear
4493 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4494 t end
4495 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4496 : end' >>confcache
4497 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4498 if test -w $cache_file; then
4499 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4500 cat confcache >$cache_file
4501 else
4502 echo "not updating unwritable cache $cache_file"
4505 rm -f confcache
4507 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4508 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4509 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4510 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4511 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4512 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4513 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4514 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4515 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4516 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4517 echo "$as_me: error: libtool configure failed" >&2;}
4518 { (exit 1); exit 1; }; }
4520 # Reload cache, that may have been modified by ltconfig
4521 if test -r "$cache_file"; then
4522 # Some versions of bash will fail to source /dev/null (special
4523 # files actually), so we avoid doing that.
4524 if test -f "$cache_file"; then
4525 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4526 echo "$as_me: loading cache $cache_file" >&6;}
4527 case $cache_file in
4528 [\\/]* | ?:[\\/]* ) . $cache_file;;
4529 *) . ./$cache_file;;
4530 esac
4532 else
4533 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4534 echo "$as_me: creating cache $cache_file" >&6;}
4535 >$cache_file
4539 # This can be used to rebuild libtool when needed
4540 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4542 # Always use our own libtool.
4543 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4545 # Redirect the config.log output again, so that the ltconfig log is not
4546 # clobbered by the next message.
4547 exec 5>>./config.log
4549 ac_ext=cc
4550 ac_cpp='$CXXCPP $CPPFLAGS'
4551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4554 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4555 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4556 if test -z "$CXXCPP"; then
4557 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 else
4560 # Double quotes because CXXCPP needs to be expanded
4561 for CXXCPP in "$CXX -E" "/lib/cpp"
4563 ac_preproc_ok=false
4564 for ac_cxx_preproc_warn_flag in '' yes
4566 # Use a header file that comes with gcc, so configuring glibc
4567 # with a fresh cross-compiler works.
4568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4569 # <limits.h> exists even on freestanding compilers.
4570 # On the NeXT, cc -E runs the code through the compiler's parser,
4571 # not just through cpp. "Syntax error" is here to catch this case.
4572 cat >conftest.$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4579 #ifdef __STDC__
4580 # include <limits.h>
4581 #else
4582 # include <assert.h>
4583 #endif
4584 Syntax error
4585 _ACEOF
4586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4588 ac_status=$?
4589 grep -v '^ *+' conftest.er1 >conftest.err
4590 rm -f conftest.er1
4591 cat conftest.err >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } >/dev/null; then
4594 if test -s conftest.err; then
4595 ac_cpp_err=$ac_cxx_preproc_warn_flag
4596 else
4597 ac_cpp_err=
4599 else
4600 ac_cpp_err=yes
4602 if test -z "$ac_cpp_err"; then
4604 else
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.$ac_ext >&5
4608 # Broken: fails on valid input.
4609 continue
4611 rm -f conftest.err conftest.$ac_ext
4613 # OK, works on sane cases. Now check whether non-existent headers
4614 # can be detected and how.
4615 cat >conftest.$ac_ext <<_ACEOF
4616 #line $LINENO "configure"
4617 /* confdefs.h. */
4618 _ACEOF
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <ac_nonexistent.h>
4623 _ACEOF
4624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4626 ac_status=$?
4627 grep -v '^ *+' conftest.er1 >conftest.err
4628 rm -f conftest.er1
4629 cat conftest.err >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } >/dev/null; then
4632 if test -s conftest.err; then
4633 ac_cpp_err=$ac_cxx_preproc_warn_flag
4634 else
4635 ac_cpp_err=
4637 else
4638 ac_cpp_err=yes
4640 if test -z "$ac_cpp_err"; then
4641 # Broken: success on invalid input.
4642 continue
4643 else
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4647 # Passes both tests.
4648 ac_preproc_ok=:
4649 break
4651 rm -f conftest.err conftest.$ac_ext
4653 done
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then
4657 break
4660 done
4661 ac_cv_prog_CXXCPP=$CXXCPP
4664 CXXCPP=$ac_cv_prog_CXXCPP
4665 else
4666 ac_cv_prog_CXXCPP=$CXXCPP
4668 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4669 echo "${ECHO_T}$CXXCPP" >&6
4670 ac_preproc_ok=false
4671 for ac_cxx_preproc_warn_flag in '' yes
4673 # Use a header file that comes with gcc, so configuring glibc
4674 # with a fresh cross-compiler works.
4675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676 # <limits.h> exists even on freestanding compilers.
4677 # On the NeXT, cc -E runs the code through the compiler's parser,
4678 # not just through cpp. "Syntax error" is here to catch this case.
4679 cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4681 /* confdefs.h. */
4682 _ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 #ifdef __STDC__
4687 # include <limits.h>
4688 #else
4689 # include <assert.h>
4690 #endif
4691 Syntax error
4692 _ACEOF
4693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4695 ac_status=$?
4696 grep -v '^ *+' conftest.er1 >conftest.err
4697 rm -f conftest.er1
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } >/dev/null; then
4701 if test -s conftest.err; then
4702 ac_cpp_err=$ac_cxx_preproc_warn_flag
4703 else
4704 ac_cpp_err=
4706 else
4707 ac_cpp_err=yes
4709 if test -z "$ac_cpp_err"; then
4711 else
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4715 # Broken: fails on valid input.
4716 continue
4718 rm -f conftest.err conftest.$ac_ext
4720 # OK, works on sane cases. Now check whether non-existent headers
4721 # can be detected and how.
4722 cat >conftest.$ac_ext <<_ACEOF
4723 #line $LINENO "configure"
4724 /* confdefs.h. */
4725 _ACEOF
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4729 #include <ac_nonexistent.h>
4730 _ACEOF
4731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } >/dev/null; then
4739 if test -s conftest.err; then
4740 ac_cpp_err=$ac_cxx_preproc_warn_flag
4741 else
4742 ac_cpp_err=
4744 else
4745 ac_cpp_err=yes
4747 if test -z "$ac_cpp_err"; then
4748 # Broken: success on invalid input.
4749 continue
4750 else
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4754 # Passes both tests.
4755 ac_preproc_ok=:
4756 break
4758 rm -f conftest.err conftest.$ac_ext
4760 done
4761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4762 rm -f conftest.err conftest.$ac_ext
4763 if $ac_preproc_ok; then
4765 else
4766 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4767 See \`config.log' for more details." >&5
4768 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4769 See \`config.log' for more details." >&2;}
4770 { (exit 1); exit 1; }; }
4773 ac_ext=c
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4781 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4782 lt_save_CC="$CC"
4783 lt_save_CFLAGS="$CFLAGS"
4784 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4785 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4786 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4787 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4788 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4789 deplibs_check_method="$deplibs_check_method" \
4790 file_magic_cmd="$file_magic_cmd" \
4791 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4792 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4793 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4794 echo "$as_me: error: libtool tag configuration failed" >&2;}
4795 { (exit 1); exit 1; }; }
4796 CC="$lt_save_CC"
4797 CFLAGS="$lt_save_CFLAGS"
4799 # Redirect the config.log output again, so that the ltconfig log is not
4800 # clobbered by the next message.
4801 exec 5>>./config.log
4810 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4812 # Possibly disable most of the library.
4813 ## XXX Consider skipping unncessary tests altogether in this case, rather
4814 ## than just ignoring the results. Faster /and/ more correct, win win.
4816 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4817 if test "${enable_hosted_libstdcxx+set}" = set; then
4818 enableval="$enable_hosted_libstdcxx"
4820 else
4821 enable_hosted_libstdcxx=yes
4823 if test "$enable_hosted_libstdcxx" = no; then
4824 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4825 echo "$as_me: Only freestanding libraries will be built" >&6;}
4826 is_hosted=no
4827 hosted_define=0
4828 enable_abi_check=no
4829 enable_libstdcxx_pch=no
4830 else
4831 is_hosted=yes
4832 hosted_define=1
4836 cat >>confdefs.h <<_ACEOF
4837 #define _GLIBCXX_HOSTED $hosted_define
4838 _ACEOF
4842 # Check for support bits and g++ features that don't require linking.
4844 echo "$as_me:$LINENO: checking for exception model to use" >&5
4845 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4848 ac_ext=cc
4849 ac_cpp='$CXXCPP $CPPFLAGS'
4850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4854 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4855 if test "${enable_sjlj_exceptions+set}" = set; then
4856 enableval="$enable_sjlj_exceptions"
4858 case "$enableval" in
4859 yes|no|auto) ;;
4860 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4861 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4862 { (exit 1); exit 1; }; } ;;
4863 esac
4865 else
4866 enable_sjlj_exceptions=auto
4870 if test $enable_sjlj_exceptions = auto; then
4871 # Botheration. Now we've got to detect the exception model. Link tests
4872 # against libgcc.a are problematic since we've not been given proper -L
4873 # bits for single-tree newlib and libgloss.
4875 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4876 cat > conftest.$ac_ext << EOF
4877 #line 4877 "configure"
4878 struct S { ~S(); };
4879 void bar();
4880 void foo()
4882 S s;
4883 bar();
4886 old_CXXFLAGS="$CXXFLAGS"
4887 CXXFLAGS=-S
4888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4889 (eval $ac_compile) 2>&5
4890 ac_status=$?
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; then
4893 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4894 enable_sjlj_exceptions=yes
4895 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4896 enable_sjlj_exceptions=no
4899 CXXFLAGS="$old_CXXFLAGS"
4900 rm -f conftest*
4903 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4904 # to two different models.
4905 case $enable_sjlj_exceptions in
4906 yes)
4908 cat >>confdefs.h <<\_ACEOF
4909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4910 _ACEOF
4912 ac_exception_model_name=sjlj
4915 ac_exception_model_name="call frame"
4918 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4919 echo "$as_me: error: unable to detect exception model" >&2;}
4920 { (exit 1); exit 1; }; }
4922 esac
4923 ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4929 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4930 echo "${ECHO_T}$ac_exception_model_name" >&6
4933 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4934 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4935 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4936 if test "${enable_libstdcxx_pch+set}" = set; then
4937 enableval="$enable_libstdcxx_pch"
4939 case "$enableval" in
4940 yes|no) ;;
4941 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4942 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4943 { (exit 1); exit 1; }; } ;;
4944 esac
4946 else
4947 enable_libstdcxx_pch=$is_hosted
4950 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4951 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4953 if test $enable_libstdcxx_pch = yes; then
4954 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4955 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4956 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959 ac_save_CXXFLAGS="$CXXFLAGS"
4960 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4963 ac_ext=cc
4964 ac_cpp='$CXXCPP $CPPFLAGS'
4965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4969 echo '#include <math.h>' > conftest.h
4970 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4971 -o conftest.h.gch 1>&5 2>&1 &&
4972 echo '#error "pch failed"' > conftest.h &&
4973 echo '#include "conftest.h"' > conftest.cc &&
4974 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4975 then
4976 glibcxx_cv_prog_CXX_pch=yes
4977 else
4978 glibcxx_cv_prog_CXX_pch=no
4980 rm -f conftest*
4981 CXXFLAGS=$ac_save_CXXFLAGS
4982 ac_ext=c
4983 ac_cpp='$CPP $CPPFLAGS'
4984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4990 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4991 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4992 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4996 if test $enable_libstdcxx_pch = yes; then
4997 glibcxx_PCHFLAGS="-include bits/stdc++.h"
4998 else
4999 glibcxx_PCHFLAGS=""
5004 # Enable all the variable C++ runtime options.
5005 # NB: C_MBCHAR must come early.
5007 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5008 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5009 # Check whether --enable-cstdio or --disable-cstdio was given.
5010 if test "${enable_cstdio+set}" = set; then
5011 enableval="$enable_cstdio"
5013 case "$enableval" in
5014 stdio) ;;
5015 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5016 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5017 { (exit 1); exit 1; }; } ;;
5018 esac
5020 else
5021 enable_cstdio=stdio
5025 # Now that libio has been removed, you can have any color you want as long
5026 # as it's black. This is one big no-op until other packages are added, but
5027 # showing the framework never hurts.
5028 case ${enable_cstdio} in
5029 stdio)
5030 CSTDIO_H=config/io/c_io_stdio.h
5031 BASIC_FILE_H=config/io/basic_file_stdio.h
5032 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5033 echo "$as_me:$LINENO: result: stdio" >&5
5034 echo "${ECHO_T}stdio" >&6
5036 esac
5042 ac_ext=c
5043 ac_cpp='$CPP $CPPFLAGS'
5044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5048 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5049 # On Suns, sometimes $CPP names a directory.
5050 if test -n "$CPP" && test -d "$CPP"; then
5051 CPP=
5053 if test -z "$CPP"; then
5054 if test "${ac_cv_prog_CPP+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 else
5057 # Double quotes because CPP needs to be expanded
5058 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5060 ac_preproc_ok=false
5061 for ac_c_preproc_warn_flag in '' yes
5063 # Use a header file that comes with gcc, so configuring glibc
5064 # with a fresh cross-compiler works.
5065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5066 # <limits.h> exists even on freestanding compilers.
5067 # On the NeXT, cc -E runs the code through the compiler's parser,
5068 # not just through cpp. "Syntax error" is here to catch this case.
5069 cat >conftest.$ac_ext <<_ACEOF
5070 #line $LINENO "configure"
5071 /* confdefs.h. */
5072 _ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 #ifdef __STDC__
5077 # include <limits.h>
5078 #else
5079 # include <assert.h>
5080 #endif
5081 Syntax error
5082 _ACEOF
5083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5085 ac_status=$?
5086 grep -v '^ *+' conftest.er1 >conftest.err
5087 rm -f conftest.er1
5088 cat conftest.err >&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); } >/dev/null; then
5091 if test -s conftest.err; then
5092 ac_cpp_err=$ac_c_preproc_warn_flag
5093 else
5094 ac_cpp_err=
5096 else
5097 ac_cpp_err=yes
5099 if test -z "$ac_cpp_err"; then
5101 else
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.$ac_ext >&5
5105 # Broken: fails on valid input.
5106 continue
5108 rm -f conftest.err conftest.$ac_ext
5110 # OK, works on sane cases. Now check whether non-existent headers
5111 # can be detected and how.
5112 cat >conftest.$ac_ext <<_ACEOF
5113 #line $LINENO "configure"
5114 /* confdefs.h. */
5115 _ACEOF
5116 cat confdefs.h >>conftest.$ac_ext
5117 cat >>conftest.$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5119 #include <ac_nonexistent.h>
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123 ac_status=$?
5124 grep -v '^ *+' conftest.er1 >conftest.err
5125 rm -f conftest.er1
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null; then
5129 if test -s conftest.err; then
5130 ac_cpp_err=$ac_c_preproc_warn_flag
5131 else
5132 ac_cpp_err=
5134 else
5135 ac_cpp_err=yes
5137 if test -z "$ac_cpp_err"; then
5138 # Broken: success on invalid input.
5139 continue
5140 else
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 # Passes both tests.
5145 ac_preproc_ok=:
5146 break
5148 rm -f conftest.err conftest.$ac_ext
5150 done
5151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5152 rm -f conftest.err conftest.$ac_ext
5153 if $ac_preproc_ok; then
5154 break
5157 done
5158 ac_cv_prog_CPP=$CPP
5161 CPP=$ac_cv_prog_CPP
5162 else
5163 ac_cv_prog_CPP=$CPP
5165 echo "$as_me:$LINENO: result: $CPP" >&5
5166 echo "${ECHO_T}$CPP" >&6
5167 ac_preproc_ok=false
5168 for ac_c_preproc_warn_flag in '' yes
5170 # Use a header file that comes with gcc, so configuring glibc
5171 # with a fresh cross-compiler works.
5172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5173 # <limits.h> exists even on freestanding compilers.
5174 # On the NeXT, cc -E runs the code through the compiler's parser,
5175 # not just through cpp. "Syntax error" is here to catch this case.
5176 cat >conftest.$ac_ext <<_ACEOF
5177 #line $LINENO "configure"
5178 /* confdefs.h. */
5179 _ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5183 #ifdef __STDC__
5184 # include <limits.h>
5185 #else
5186 # include <assert.h>
5187 #endif
5188 Syntax error
5189 _ACEOF
5190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5192 ac_status=$?
5193 grep -v '^ *+' conftest.er1 >conftest.err
5194 rm -f conftest.er1
5195 cat conftest.err >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } >/dev/null; then
5198 if test -s conftest.err; then
5199 ac_cpp_err=$ac_c_preproc_warn_flag
5200 else
5201 ac_cpp_err=
5203 else
5204 ac_cpp_err=yes
5206 if test -z "$ac_cpp_err"; then
5208 else
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5212 # Broken: fails on valid input.
5213 continue
5215 rm -f conftest.err conftest.$ac_ext
5217 # OK, works on sane cases. Now check whether non-existent headers
5218 # can be detected and how.
5219 cat >conftest.$ac_ext <<_ACEOF
5220 #line $LINENO "configure"
5221 /* confdefs.h. */
5222 _ACEOF
5223 cat confdefs.h >>conftest.$ac_ext
5224 cat >>conftest.$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5226 #include <ac_nonexistent.h>
5227 _ACEOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230 ac_status=$?
5231 grep -v '^ *+' conftest.er1 >conftest.err
5232 rm -f conftest.er1
5233 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } >/dev/null; then
5236 if test -s conftest.err; then
5237 ac_cpp_err=$ac_c_preproc_warn_flag
5238 else
5239 ac_cpp_err=
5241 else
5242 ac_cpp_err=yes
5244 if test -z "$ac_cpp_err"; then
5245 # Broken: success on invalid input.
5246 continue
5247 else
5248 echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5251 # Passes both tests.
5252 ac_preproc_ok=:
5253 break
5255 rm -f conftest.err conftest.$ac_ext
5257 done
5258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5259 rm -f conftest.err conftest.$ac_ext
5260 if $ac_preproc_ok; then
5262 else
5263 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5264 See \`config.log' for more details." >&5
5265 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5266 See \`config.log' for more details." >&2;}
5267 { (exit 1); exit 1; }; }
5270 ac_ext=c
5271 ac_cpp='$CPP $CPPFLAGS'
5272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5277 echo "$as_me:$LINENO: checking for egrep" >&5
5278 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5279 if test "${ac_cv_prog_egrep+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 else
5282 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5283 then ac_cv_prog_egrep='grep -E'
5284 else ac_cv_prog_egrep='egrep'
5287 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5288 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5289 EGREP=$ac_cv_prog_egrep
5292 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5293 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5294 if test "${ac_cv_header_stdc+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 else
5297 cat >conftest.$ac_ext <<_ACEOF
5298 #line $LINENO "configure"
5299 /* confdefs.h. */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5304 #include <stdlib.h>
5305 #include <stdarg.h>
5306 #include <string.h>
5307 #include <float.h>
5310 main ()
5314 return 0;
5316 _ACEOF
5317 rm -f conftest.$ac_objext
5318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5319 (eval $ac_compile) 2>&5
5320 ac_status=$?
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } &&
5323 { ac_try='test -s conftest.$ac_objext'
5324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 (eval $ac_try) 2>&5
5326 ac_status=$?
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); }; }; then
5329 ac_cv_header_stdc=yes
5330 else
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5334 ac_cv_header_stdc=no
5336 rm -f conftest.$ac_objext conftest.$ac_ext
5338 if test $ac_cv_header_stdc = yes; then
5339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5340 cat >conftest.$ac_ext <<_ACEOF
5341 #line $LINENO "configure"
5342 /* confdefs.h. */
5343 _ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 #include <string.h>
5349 _ACEOF
5350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5351 $EGREP "memchr" >/dev/null 2>&1; then
5353 else
5354 ac_cv_header_stdc=no
5356 rm -f conftest*
5360 if test $ac_cv_header_stdc = yes; then
5361 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5362 cat >conftest.$ac_ext <<_ACEOF
5363 #line $LINENO "configure"
5364 /* confdefs.h. */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 #include <stdlib.h>
5371 _ACEOF
5372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5373 $EGREP "free" >/dev/null 2>&1; then
5375 else
5376 ac_cv_header_stdc=no
5378 rm -f conftest*
5382 if test $ac_cv_header_stdc = yes; then
5383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5384 if test "$cross_compiling" = yes; then
5386 else
5387 cat >conftest.$ac_ext <<_ACEOF
5388 #line $LINENO "configure"
5389 /* confdefs.h. */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 #include <ctype.h>
5395 #if ((' ' & 0x0FF) == 0x020)
5396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5398 #else
5399 # define ISLOWER(c) \
5400 (('a' <= (c) && (c) <= 'i') \
5401 || ('j' <= (c) && (c) <= 'r') \
5402 || ('s' <= (c) && (c) <= 'z'))
5403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5404 #endif
5406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5408 main ()
5410 int i;
5411 for (i = 0; i < 256; i++)
5412 if (XOR (islower (i), ISLOWER (i))
5413 || toupper (i) != TOUPPER (i))
5414 exit(2);
5415 exit (0);
5417 _ACEOF
5418 rm -f conftest$ac_exeext
5419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5420 (eval $ac_link) 2>&5
5421 ac_status=$?
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425 (eval $ac_try) 2>&5
5426 ac_status=$?
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); }; }; then
5430 else
5431 echo "$as_me: program exited with status $ac_status" >&5
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 ( exit $ac_status )
5436 ac_cv_header_stdc=no
5438 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5442 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5443 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5444 if test $ac_cv_header_stdc = yes; then
5446 cat >>confdefs.h <<\_ACEOF
5447 #define STDC_HEADERS 1
5448 _ACEOF
5452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5463 inttypes.h stdint.h unistd.h
5465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5466 echo "$as_me:$LINENO: checking for $ac_header" >&5
5467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471 cat >conftest.$ac_ext <<_ACEOF
5472 #line $LINENO "configure"
5473 /* confdefs.h. */
5474 _ACEOF
5475 cat confdefs.h >>conftest.$ac_ext
5476 cat >>conftest.$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5478 $ac_includes_default
5480 #include <$ac_header>
5481 _ACEOF
5482 rm -f conftest.$ac_objext
5483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5484 (eval $ac_compile) 2>&5
5485 ac_status=$?
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); } &&
5488 { ac_try='test -s conftest.$ac_objext'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 (eval $ac_try) 2>&5
5491 ac_status=$?
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; }; then
5494 eval "$as_ac_Header=yes"
5495 else
5496 echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.$ac_ext >&5
5499 eval "$as_ac_Header=no"
5501 rm -f conftest.$ac_objext conftest.$ac_ext
5503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5506 cat >>confdefs.h <<_ACEOF
5507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5508 _ACEOF
5512 done
5516 echo "$as_me:$LINENO: checking for C locale to use" >&5
5517 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5518 # Check whether --enable-clocale or --disable-clocale was given.
5519 if test "${enable_clocale+set}" = set; then
5520 enableval="$enable_clocale"
5522 case "$enableval" in
5523 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5524 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5525 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5526 { (exit 1); exit 1; }; } ;;
5527 esac
5529 else
5530 enable_clocale=auto
5534 # If they didn't use this option switch, or if they specified --enable
5535 # with no specific model, we'll have to look for one. If they
5536 # specified --disable (???), do likewise.
5537 if test $enable_clocale = no || test $enable_clocale = yes; then
5538 enable_clocale=auto
5541 # Either a known package, or "auto"
5542 enable_clocale_flag=$enable_clocale
5544 # Probe for locale support if no specific model is specified.
5545 # Default to "generic".
5546 if test $enable_clocale_flag = auto; then
5547 case x${target_os} in
5548 xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5549 cat >conftest.$ac_ext <<_ACEOF
5550 #line $LINENO "configure"
5551 /* confdefs.h. */
5552 _ACEOF
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5557 #include <features.h>
5558 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5559 _GLIBCXX_ok
5560 #endif
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5565 enable_clocale_flag=gnu
5566 else
5567 enable_clocale_flag=generic
5569 rm -f conftest*
5572 # Test for bugs early in glibc-2.2.x series
5573 if test x$enable_clocale_flag = xgnu; then
5574 if test "$cross_compiling" = yes; then
5575 enable_clocale_flag=generic
5576 else
5577 cat >conftest.$ac_ext <<_ACEOF
5578 #line $LINENO "configure"
5579 /* confdefs.h. */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5585 #define _GNU_SOURCE 1
5586 #include <locale.h>
5587 #include <string.h>
5588 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5589 extern __typeof(newlocale) __newlocale;
5590 extern __typeof(duplocale) __duplocale;
5591 extern __typeof(strcoll_l) __strcoll_l;
5592 #endif
5593 int main()
5595 const char __one[] = "Äuglein Augmen";
5596 const char __two[] = "Äuglein";
5597 int i;
5598 int j;
5599 __locale_t loc;
5600 __locale_t loc_dup;
5601 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5602 loc_dup = __duplocale(loc);
5603 i = __strcoll_l(__one, __two, loc);
5604 j = __strcoll_l(__one, __two, loc_dup);
5605 return 0;
5608 _ACEOF
5609 rm -f conftest$ac_exeext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5611 (eval $ac_link) 2>&5
5612 ac_status=$?
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616 (eval $ac_try) 2>&5
5617 ac_status=$?
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; }; then
5620 enable_clocale_flag=gnu
5621 else
5622 echo "$as_me: program exited with status $ac_status" >&5
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5626 ( exit $ac_status )
5627 enable_clocale_flag=generic
5629 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5633 # ... at some point put __strxfrm_l tests in as well.
5636 enable_clocale_flag=generic
5638 esac
5641 # Deal with gettext issues. Default to not using it (=no) until we detect
5642 # support for it later. Let the user turn it off via --e/d, but let that
5643 # default to on for easier handling.
5644 USE_NLS=no
5645 # Check whether --enable-nls or --disable-nls was given.
5646 if test "${enable_nls+set}" = set; then
5647 enableval="$enable_nls"
5649 else
5650 enable_nls=yes
5653 # Set configure bits for specified locale package
5654 case ${enable_clocale_flag} in
5655 generic)
5656 echo "$as_me:$LINENO: result: generic" >&5
5657 echo "${ECHO_T}generic" >&6
5659 CLOCALE_H=config/locale/generic/c_locale.h
5660 CLOCALE_CC=config/locale/generic/c_locale.cc
5661 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5662 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5663 CCOLLATE_CC=config/locale/generic/collate_members.cc
5664 CCTYPE_CC=config/locale/generic/ctype_members.cc
5665 CMESSAGES_H=config/locale/generic/messages_members.h
5666 CMESSAGES_CC=config/locale/generic/messages_members.cc
5667 CMONEY_CC=config/locale/generic/monetary_members.cc
5668 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5669 CTIME_H=config/locale/generic/time_members.h
5670 CTIME_CC=config/locale/generic/time_members.cc
5671 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5673 gnu)
5674 echo "$as_me:$LINENO: result: gnu" >&5
5675 echo "${ECHO_T}gnu" >&6
5677 # Declare intention to use gettext, and add support for specific
5678 # languages.
5679 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5680 ALL_LINGUAS="de fr"
5682 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5683 # Extract the first word of "msgfmt", so it can be a program name with args.
5684 set dummy msgfmt; ac_word=$2
5685 echo "$as_me:$LINENO: checking for $ac_word" >&5
5686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5687 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 else
5690 if test -n "$check_msgfmt"; then
5691 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_check_msgfmt="yes"
5701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5707 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5710 check_msgfmt=$ac_cv_prog_check_msgfmt
5711 if test -n "$check_msgfmt"; then
5712 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5713 echo "${ECHO_T}$check_msgfmt" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5719 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5720 USE_NLS=yes
5722 # Export the build objects.
5723 for ling in $ALL_LINGUAS; do \
5724 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5725 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5726 done
5730 CLOCALE_H=config/locale/gnu/c_locale.h
5731 CLOCALE_CC=config/locale/gnu/c_locale.cc
5732 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5733 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5734 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5735 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5736 CMESSAGES_H=config/locale/gnu/messages_members.h
5737 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5738 CMONEY_CC=config/locale/gnu/monetary_members.cc
5739 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5740 CTIME_H=config/locale/gnu/time_members.h
5741 CTIME_CC=config/locale/gnu/time_members.cc
5742 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5744 ieee_1003.1-2001)
5745 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5746 echo "${ECHO_T}IEEE 1003.1" >&6
5748 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5749 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5750 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5751 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5752 CCOLLATE_CC=config/locale/generic/collate_members.cc
5753 CCTYPE_CC=config/locale/generic/ctype_members.cc
5754 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5755 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5756 CMONEY_CC=config/locale/generic/monetary_members.cc
5757 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5758 CTIME_H=config/locale/generic/time_members.h
5759 CTIME_CC=config/locale/generic/time_members.cc
5760 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5762 esac
5764 # This is where the testsuite looks for locale catalogs, using the
5765 # -DLOCALEDIR define during testsuite compilation.
5766 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5769 # A standalone libintl (e.g., GNU libintl) may be in use.
5770 if test $USE_NLS = yes; then
5772 for ac_header in libintl.h
5774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776 echo "$as_me:$LINENO: checking for $ac_header" >&5
5777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5783 else
5784 # Is the header compilable?
5785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5787 cat >conftest.$ac_ext <<_ACEOF
5788 #line $LINENO "configure"
5789 /* confdefs.h. */
5790 _ACEOF
5791 cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5794 $ac_includes_default
5795 #include <$ac_header>
5796 _ACEOF
5797 rm -f conftest.$ac_objext
5798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5799 (eval $ac_compile) 2>&5
5800 ac_status=$?
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try='test -s conftest.$ac_objext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805 (eval $ac_try) 2>&5
5806 ac_status=$?
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5809 ac_header_compiler=yes
5810 else
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.$ac_ext >&5
5814 ac_header_compiler=no
5816 rm -f conftest.$ac_objext conftest.$ac_ext
5817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5818 echo "${ECHO_T}$ac_header_compiler" >&6
5820 # Is the header present?
5821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5823 cat >conftest.$ac_ext <<_ACEOF
5824 #line $LINENO "configure"
5825 /* confdefs.h. */
5826 _ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 #include <$ac_header>
5831 _ACEOF
5832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5834 ac_status=$?
5835 grep -v '^ *+' conftest.er1 >conftest.err
5836 rm -f conftest.er1
5837 cat conftest.err >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } >/dev/null; then
5840 if test -s conftest.err; then
5841 ac_cpp_err=$ac_c_preproc_warn_flag
5842 else
5843 ac_cpp_err=
5845 else
5846 ac_cpp_err=yes
5848 if test -z "$ac_cpp_err"; then
5849 ac_header_preproc=yes
5850 else
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ac_header_preproc=no
5856 rm -f conftest.err conftest.$ac_ext
5857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5858 echo "${ECHO_T}$ac_header_preproc" >&6
5860 # So? What about this header?
5861 case $ac_header_compiler:$ac_header_preproc in
5862 yes:no )
5863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5868 cat <<\_ASBOX
5869 ## ------------------------------------ ##
5870 ## Report this to bug-autoconf@gnu.org. ##
5871 ## ------------------------------------ ##
5872 _ASBOX
5874 sed "s/^/$as_me: WARNING: /" >&2
5876 no:yes )
5877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5884 cat <<\_ASBOX
5885 ## ------------------------------------ ##
5886 ## Report this to bug-autoconf@gnu.org. ##
5887 ## ------------------------------------ ##
5888 _ASBOX
5890 sed "s/^/$as_me: WARNING: /" >&2
5892 esac
5893 echo "$as_me:$LINENO: checking for $ac_header" >&5
5894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 else
5898 eval "$as_ac_Header=$ac_header_preproc"
5900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5905 cat >>confdefs.h <<_ACEOF
5906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5907 _ACEOF
5909 else
5910 USE_NLS=no
5913 done
5915 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5916 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5917 if test "${ac_cv_search_gettext+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 else
5920 ac_func_search_save_LIBS=$LIBS
5921 ac_cv_search_gettext=no
5922 if test x$gcc_no_link = xyes; then
5923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5925 { (exit 1); exit 1; }; }
5927 cat >conftest.$ac_ext <<_ACEOF
5928 #line $LINENO "configure"
5929 /* confdefs.h. */
5930 _ACEOF
5931 cat confdefs.h >>conftest.$ac_ext
5932 cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5935 /* Override any gcc2 internal prototype to avoid an error. */
5936 #ifdef __cplusplus
5937 extern "C"
5938 #endif
5939 /* We use char because int might match the return type of a gcc2
5940 builtin and then its argument prototype would still apply. */
5941 char gettext ();
5943 main ()
5945 gettext ();
5947 return 0;
5949 _ACEOF
5950 rm -f conftest.$ac_objext conftest$ac_exeext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952 (eval $ac_link) 2>&5
5953 ac_status=$?
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } &&
5956 { ac_try='test -s conftest$ac_exeext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5
5959 ac_status=$?
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 ac_cv_search_gettext="none required"
5963 else
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5969 if test "$ac_cv_search_gettext" = no; then
5970 for ac_lib in intl; do
5971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5972 if test x$gcc_no_link = xyes; then
5973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5975 { (exit 1); exit 1; }; }
5977 cat >conftest.$ac_ext <<_ACEOF
5978 #line $LINENO "configure"
5979 /* confdefs.h. */
5980 _ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5985 /* Override any gcc2 internal prototype to avoid an error. */
5986 #ifdef __cplusplus
5987 extern "C"
5988 #endif
5989 /* We use char because int might match the return type of a gcc2
5990 builtin and then its argument prototype would still apply. */
5991 char gettext ();
5993 main ()
5995 gettext ();
5997 return 0;
5999 _ACEOF
6000 rm -f conftest.$ac_objext conftest$ac_exeext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6002 (eval $ac_link) 2>&5
6003 ac_status=$?
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); } &&
6006 { ac_try='test -s conftest$ac_exeext'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 (eval $ac_try) 2>&5
6009 ac_status=$?
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 ac_cv_search_gettext="-l$ac_lib"
6013 break
6014 else
6015 echo "$as_me: failed program was:" >&5
6016 sed 's/^/| /' conftest.$ac_ext >&5
6019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6020 done
6022 LIBS=$ac_func_search_save_LIBS
6024 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6025 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6026 if test "$ac_cv_search_gettext" != no; then
6027 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6029 else
6030 USE_NLS=no
6034 if test $USE_NLS = yes; then
6035 cat >>confdefs.h <<\_ACEOF
6036 #define _GLIBCXX_USE_NLS 1
6037 _ACEOF
6057 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6058 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6059 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6060 if test "${enable_libstdcxx_allocator+set}" = set; then
6061 enableval="$enable_libstdcxx_allocator"
6063 case "$enableval" in
6064 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6065 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6066 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6067 { (exit 1); exit 1; }; } ;;
6068 esac
6070 else
6071 enable_libstdcxx_allocator=auto
6074 # If they didn't use this option switch, or if they specified --enable
6075 # with no specific model, we'll have to look for one. If they
6076 # specified --disable (???), do likewise.
6077 if test $enable_libstdcxx_allocator = no || test $enable_libstdcxx_allocator = yes; then
6078 enable_libstdcxx_allocator=auto
6081 # Either a known package, or "auto"
6082 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6084 # Probe for host-specific support if no specific model is specified.
6085 # Default to "new".
6086 if test $enable_libstdcxx_allocator_flag = auto; then
6087 case ${target_os} in
6089 enable_libstdcxx_allocator_flag=new
6091 esac
6093 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6094 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6097 # Set configure bits for specified locale package
6098 case ${enable_libstdcxx_allocator_flag} in
6099 bitmap)
6100 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6101 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6103 malloc)
6104 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6105 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6108 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6109 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6111 new)
6112 ALLOCATOR_H=config/allocator/new_allocator_base.h
6113 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6115 pool)
6116 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6117 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6119 esac
6125 # Check whether --enable-cheaders or --disable-cheaders was given.
6126 if test "${enable_cheaders+set}" = set; then
6127 enableval="$enable_cheaders"
6129 case "$enableval" in
6130 c|c_std) ;;
6131 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6132 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6133 { (exit 1); exit 1; }; } ;;
6134 esac
6136 else
6137 enable_cheaders=$c_model
6140 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6141 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6143 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6150 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6151 if test "${enable_c_mbchar+set}" = set; then
6152 enableval="$enable_c_mbchar"
6154 case "$enableval" in
6155 yes|no) ;;
6156 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6157 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6158 { (exit 1); exit 1; }; } ;;
6159 esac
6161 else
6162 enable_c_mbchar=yes
6165 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6169 # Check whether --enable-c99 or --disable-c99 was given.
6170 if test "${enable_c99+set}" = set; then
6171 enableval="$enable_c99"
6173 case "$enableval" in
6174 yes|no) ;;
6175 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6176 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6177 { (exit 1); exit 1; }; } ;;
6178 esac
6180 else
6181 enable_c99=yes
6187 ac_ext=cc
6188 ac_cpp='$CXXCPP $CPPFLAGS'
6189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6194 # Check for the existence of <math.h> functions used if C99 is enabled.
6195 ac_c99_math=yes;
6196 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6197 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6198 cat >conftest.$ac_ext <<_ACEOF
6199 #line $LINENO "configure"
6200 /* confdefs.h. */
6201 _ACEOF
6202 cat confdefs.h >>conftest.$ac_ext
6203 cat >>conftest.$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6205 #include <math.h>
6207 main ()
6209 fpclassify(0.0);
6211 return 0;
6213 _ACEOF
6214 rm -f conftest.$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216 (eval $ac_compile) 2>&5
6217 ac_status=$?
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } &&
6220 { ac_try='test -s conftest.$ac_objext'
6221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 (eval $ac_try) 2>&5
6223 ac_status=$?
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); }; }; then
6227 else
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_c99_math=no
6233 rm -f conftest.$ac_objext conftest.$ac_ext
6234 cat >conftest.$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 /* confdefs.h. */
6237 _ACEOF
6238 cat confdefs.h >>conftest.$ac_ext
6239 cat >>conftest.$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6241 #include <math.h>
6243 main ()
6245 isfinite(0.0);
6247 return 0;
6249 _ACEOF
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252 (eval $ac_compile) 2>&5
6253 ac_status=$?
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try='test -s conftest.$ac_objext'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258 (eval $ac_try) 2>&5
6259 ac_status=$?
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; }; then
6263 else
6264 echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6267 ac_c99_math=no
6269 rm -f conftest.$ac_objext conftest.$ac_ext
6270 cat >conftest.$ac_ext <<_ACEOF
6271 #line $LINENO "configure"
6272 /* confdefs.h. */
6273 _ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6277 #include <math.h>
6279 main ()
6281 isinf(0.0);
6283 return 0;
6285 _ACEOF
6286 rm -f conftest.$ac_objext
6287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288 (eval $ac_compile) 2>&5
6289 ac_status=$?
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } &&
6292 { ac_try='test -s conftest.$ac_objext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294 (eval $ac_try) 2>&5
6295 ac_status=$?
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6299 else
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_c99_math=no
6305 rm -f conftest.$ac_objext conftest.$ac_ext
6306 cat >conftest.$ac_ext <<_ACEOF
6307 #line $LINENO "configure"
6308 /* confdefs.h. */
6309 _ACEOF
6310 cat confdefs.h >>conftest.$ac_ext
6311 cat >>conftest.$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6313 #include <math.h>
6315 main ()
6317 isnan(0.0);
6319 return 0;
6321 _ACEOF
6322 rm -f conftest.$ac_objext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 (eval $ac_compile) 2>&5
6325 ac_status=$?
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); } &&
6328 { ac_try='test -s conftest.$ac_objext'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 (eval $ac_try) 2>&5
6331 ac_status=$?
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; }; then
6335 else
6336 echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.$ac_ext >&5
6339 ac_c99_math=no
6341 rm -f conftest.$ac_objext conftest.$ac_ext
6342 cat >conftest.$ac_ext <<_ACEOF
6343 #line $LINENO "configure"
6344 /* confdefs.h. */
6345 _ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6349 #include <math.h>
6351 main ()
6353 isnormal(0.0);
6355 return 0;
6357 _ACEOF
6358 rm -f conftest.$ac_objext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360 (eval $ac_compile) 2>&5
6361 ac_status=$?
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try='test -s conftest.$ac_objext'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 (eval $ac_try) 2>&5
6367 ac_status=$?
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }; then
6371 else
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 ac_c99_math=no
6377 rm -f conftest.$ac_objext conftest.$ac_ext
6378 cat >conftest.$ac_ext <<_ACEOF
6379 #line $LINENO "configure"
6380 /* confdefs.h. */
6381 _ACEOF
6382 cat confdefs.h >>conftest.$ac_ext
6383 cat >>conftest.$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 #include <math.h>
6387 main ()
6389 signbit(0.0);
6391 return 0;
6393 _ACEOF
6394 rm -f conftest.$ac_objext
6395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6396 (eval $ac_compile) 2>&5
6397 ac_status=$?
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); } &&
6400 { ac_try='test -s conftest.$ac_objext'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 (eval $ac_try) 2>&5
6403 ac_status=$?
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; }; then
6407 else
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6411 ac_c99_math=no
6413 rm -f conftest.$ac_objext conftest.$ac_ext
6414 cat >conftest.$ac_ext <<_ACEOF
6415 #line $LINENO "configure"
6416 /* confdefs.h. */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 #include <math.h>
6423 main ()
6425 isgreater(0.0,0.0);
6427 return 0;
6429 _ACEOF
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432 (eval $ac_compile) 2>&5
6433 ac_status=$?
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try='test -s conftest.$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 (eval $ac_try) 2>&5
6439 ac_status=$?
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6443 else
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_c99_math=no
6449 rm -f conftest.$ac_objext conftest.$ac_ext
6450 cat >conftest.$ac_ext <<_ACEOF
6451 #line $LINENO "configure"
6452 /* confdefs.h. */
6453 _ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6457 #include <math.h>
6459 main ()
6461 isgreaterequal(0.0,0.0);
6463 return 0;
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>&5
6469 ac_status=$?
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } &&
6472 { ac_try='test -s conftest.$ac_objext'
6473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6474 (eval $ac_try) 2>&5
6475 ac_status=$?
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); }; }; then
6479 else
6480 echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 ac_c99_math=no
6485 rm -f conftest.$ac_objext conftest.$ac_ext
6486 cat >conftest.$ac_ext <<_ACEOF
6487 #line $LINENO "configure"
6488 /* confdefs.h. */
6489 _ACEOF
6490 cat confdefs.h >>conftest.$ac_ext
6491 cat >>conftest.$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6493 #include <math.h>
6495 main ()
6497 isless(0.0,0.0);
6499 return 0;
6501 _ACEOF
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 (eval $ac_compile) 2>&5
6505 ac_status=$?
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } &&
6508 { ac_try='test -s conftest.$ac_objext'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5
6511 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; }; then
6515 else
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_c99_math=no
6521 rm -f conftest.$ac_objext conftest.$ac_ext
6522 cat >conftest.$ac_ext <<_ACEOF
6523 #line $LINENO "configure"
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <math.h>
6531 main ()
6533 islessequal(0.0,0.0);
6535 return 0;
6537 _ACEOF
6538 rm -f conftest.$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540 (eval $ac_compile) 2>&5
6541 ac_status=$?
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try='test -s conftest.$ac_objext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 (eval $ac_try) 2>&5
6547 ac_status=$?
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6551 else
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ac_c99_math=no
6557 rm -f conftest.$ac_objext conftest.$ac_ext
6558 cat >conftest.$ac_ext <<_ACEOF
6559 #line $LINENO "configure"
6560 /* confdefs.h. */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6565 #include <math.h>
6567 main ()
6569 islessgreater(0.0,0.0);
6571 return 0;
6573 _ACEOF
6574 rm -f conftest.$ac_objext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6576 (eval $ac_compile) 2>&5
6577 ac_status=$?
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } &&
6580 { ac_try='test -s conftest.$ac_objext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 (eval $ac_try) 2>&5
6583 ac_status=$?
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6587 else
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6591 ac_c99_math=no
6593 rm -f conftest.$ac_objext conftest.$ac_ext
6594 cat >conftest.$ac_ext <<_ACEOF
6595 #line $LINENO "configure"
6596 /* confdefs.h. */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <math.h>
6603 main ()
6605 isunordered(0.0,0.0);
6607 return 0;
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>&5
6613 ac_status=$?
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } &&
6616 { ac_try='test -s conftest.$ac_objext'
6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 (eval $ac_try) 2>&5
6619 ac_status=$?
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6623 else
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_c99_math=no
6629 rm -f conftest.$ac_objext conftest.$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6631 echo "${ECHO_T}$ac_c99_math" >&6
6633 if test x"$ac_c99_math" = x"yes"; then
6634 cat >>confdefs.h <<\_ACEOF
6635 #define _GLIBCXX_USE_C99_MATH 1
6636 _ACEOF
6640 # Check for the existence in <stdio.h> of vscanf, et. al.
6641 ac_c99_stdio=yes;
6642 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6643 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6644 cat >conftest.$ac_ext <<_ACEOF
6645 #line $LINENO "configure"
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 #include <stdio.h>
6653 main ()
6655 snprintf("12", 0, "%i");
6657 return 0;
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>&5
6663 ac_status=$?
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } &&
6666 { ac_try='test -s conftest.$ac_objext'
6667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6668 (eval $ac_try) 2>&5
6669 ac_status=$?
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); }; }; then
6673 else
6674 echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.$ac_ext >&5
6677 ac_c99_stdio=no
6679 rm -f conftest.$ac_objext conftest.$ac_ext
6680 cat >conftest.$ac_ext <<_ACEOF
6681 #line $LINENO "configure"
6682 /* confdefs.h. */
6683 _ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 #include <stdio.h>
6688 #include <stdarg.h>
6689 void foo(char* fmt, ...)
6690 {va_list args; va_start(args, fmt);
6691 vfscanf(stderr, "%i", args);}
6693 main ()
6697 return 0;
6699 _ACEOF
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>&5
6703 ac_status=$?
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } &&
6706 { ac_try='test -s conftest.$ac_objext'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; }; then
6713 else
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 ac_c99_stdio=no
6719 rm -f conftest.$ac_objext conftest.$ac_ext
6720 cat >conftest.$ac_ext <<_ACEOF
6721 #line $LINENO "configure"
6722 /* confdefs.h. */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #include <stdio.h>
6728 #include <stdarg.h>
6729 void foo(char* fmt, ...)
6730 {va_list args; va_start(args, fmt);
6731 vscanf("%i", args);}
6733 main ()
6737 return 0;
6739 _ACEOF
6740 rm -f conftest.$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>&5
6743 ac_status=$?
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try='test -s conftest.$ac_objext'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 (eval $ac_try) 2>&5
6749 ac_status=$?
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; }; then
6753 else
6754 echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6757 ac_c99_stdio=no
6759 rm -f conftest.$ac_objext conftest.$ac_ext
6760 cat >conftest.$ac_ext <<_ACEOF
6761 #line $LINENO "configure"
6762 /* confdefs.h. */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 #include <stdio.h>
6768 #include <stdarg.h>
6769 void foo(char* fmt, ...)
6770 {va_list args; va_start(args, fmt);
6771 vsnprintf(fmt, 0, "%i", args);}
6773 main ()
6777 return 0;
6779 _ACEOF
6780 rm -f conftest.$ac_objext
6781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6782 (eval $ac_compile) 2>&5
6783 ac_status=$?
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } &&
6786 { ac_try='test -s conftest.$ac_objext'
6787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 (eval $ac_try) 2>&5
6789 ac_status=$?
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); }; }; then
6793 else
6794 echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.$ac_ext >&5
6797 ac_c99_stdio=no
6799 rm -f conftest.$ac_objext conftest.$ac_ext
6800 cat >conftest.$ac_ext <<_ACEOF
6801 #line $LINENO "configure"
6802 /* confdefs.h. */
6803 _ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 #include <stdio.h>
6808 #include <stdarg.h>
6809 void foo(char* fmt, ...)
6810 {va_list args; va_start(args, fmt);
6811 vsscanf(fmt, "%i", args);}
6813 main ()
6817 return 0;
6819 _ACEOF
6820 rm -f conftest.$ac_objext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6822 (eval $ac_compile) 2>&5
6823 ac_status=$?
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); } &&
6826 { ac_try='test -s conftest.$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 (eval $ac_try) 2>&5
6829 ac_status=$?
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6837 ac_c99_stdio=no
6839 rm -f conftest.$ac_objext conftest.$ac_ext
6840 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6841 echo "${ECHO_T}$ac_c99_stdio" >&6
6843 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6844 ac_c99_stdlib=yes;
6845 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6846 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6847 if test "${ac_c99_lldiv_t+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 else
6851 cat >conftest.$ac_ext <<_ACEOF
6852 #line $LINENO "configure"
6853 /* confdefs.h. */
6854 _ACEOF
6855 cat confdefs.h >>conftest.$ac_ext
6856 cat >>conftest.$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6858 #include <stdlib.h>
6860 main ()
6862 lldiv_t mydivt;
6864 return 0;
6866 _ACEOF
6867 rm -f conftest.$ac_objext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 (eval $ac_compile) 2>&5
6870 ac_status=$?
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } &&
6873 { ac_try='test -s conftest.$ac_objext'
6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 (eval $ac_try) 2>&5
6876 ac_status=$?
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; }; then
6879 ac_c99_lldiv_t=yes
6880 else
6881 echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.$ac_ext >&5
6884 ac_c99_lldiv_t=no
6886 rm -f conftest.$ac_objext conftest.$ac_ext
6890 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6891 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6893 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6894 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6895 cat >conftest.$ac_ext <<_ACEOF
6896 #line $LINENO "configure"
6897 /* confdefs.h. */
6898 _ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6902 #include <stdlib.h>
6904 main ()
6906 char* tmp; strtof("gnu", &tmp);
6908 return 0;
6910 _ACEOF
6911 rm -f conftest.$ac_objext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6913 (eval $ac_compile) 2>&5
6914 ac_status=$?
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); } &&
6917 { ac_try='test -s conftest.$ac_objext'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 (eval $ac_try) 2>&5
6920 ac_status=$?
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then
6924 else
6925 echo "$as_me: failed program was:" >&5
6926 sed 's/^/| /' conftest.$ac_ext >&5
6928 ac_c99_stdlib=no
6930 rm -f conftest.$ac_objext conftest.$ac_ext
6931 cat >conftest.$ac_ext <<_ACEOF
6932 #line $LINENO "configure"
6933 /* confdefs.h. */
6934 _ACEOF
6935 cat confdefs.h >>conftest.$ac_ext
6936 cat >>conftest.$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6938 #include <stdlib.h>
6940 main ()
6942 char* tmp; strtold("gnu", &tmp);
6944 return 0;
6946 _ACEOF
6947 rm -f conftest.$ac_objext
6948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6949 (eval $ac_compile) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6964 ac_c99_stdlib=no
6966 rm -f conftest.$ac_objext conftest.$ac_ext
6967 cat >conftest.$ac_ext <<_ACEOF
6968 #line $LINENO "configure"
6969 /* confdefs.h. */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6974 #include <stdlib.h>
6976 main ()
6978 llabs(10);
6980 return 0;
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985 (eval $ac_compile) 2>&5
6986 ac_status=$?
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); } &&
6989 { ac_try='test -s conftest.$ac_objext'
6990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 (eval $ac_try) 2>&5
6992 ac_status=$?
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); }; }; then
6996 else
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_c99_stdlib=no
7002 rm -f conftest.$ac_objext conftest.$ac_ext
7003 cat >conftest.$ac_ext <<_ACEOF
7004 #line $LINENO "configure"
7005 /* confdefs.h. */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 #include <stdlib.h>
7012 main ()
7014 lldiv(10,1);
7016 return 0;
7018 _ACEOF
7019 rm -f conftest.$ac_objext
7020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7021 (eval $ac_compile) 2>&5
7022 ac_status=$?
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } &&
7025 { ac_try='test -s conftest.$ac_objext'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7027 (eval $ac_try) 2>&5
7028 ac_status=$?
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; }; then
7032 else
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7036 ac_c99_stdlib=no
7038 rm -f conftest.$ac_objext conftest.$ac_ext
7039 cat >conftest.$ac_ext <<_ACEOF
7040 #line $LINENO "configure"
7041 /* confdefs.h. */
7042 _ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7046 #include <stdlib.h>
7048 main ()
7050 atoll("10");
7052 return 0;
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>&5
7058 ac_status=$?
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try='test -s conftest.$ac_objext'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 (eval $ac_try) 2>&5
7064 ac_status=$?
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; }; then
7068 else
7069 echo "$as_me: failed program was:" >&5
7070 sed 's/^/| /' conftest.$ac_ext >&5
7072 ac_c99_stdlib=no
7074 rm -f conftest.$ac_objext conftest.$ac_ext
7075 cat >conftest.$ac_ext <<_ACEOF
7076 #line $LINENO "configure"
7077 /* confdefs.h. */
7078 _ACEOF
7079 cat confdefs.h >>conftest.$ac_ext
7080 cat >>conftest.$ac_ext <<_ACEOF
7081 /* end confdefs.h. */
7082 #include <stdlib.h>
7084 main ()
7086 _Exit(0);
7088 return 0;
7090 _ACEOF
7091 rm -f conftest.$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>&5
7094 ac_status=$?
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try='test -s conftest.$ac_objext'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 (eval $ac_try) 2>&5
7100 ac_status=$?
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7104 else
7105 echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.$ac_ext >&5
7108 ac_c99_stdlib=no
7110 rm -f conftest.$ac_objext conftest.$ac_ext
7111 if test x"$ac_c99_lldiv_t" = x"no"; then
7112 ac_c99_stdlib=no;
7114 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7115 echo "${ECHO_T}$ac_c99_stdlib" >&6
7117 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7118 # XXX the wchar.h checks should be rolled into the general C99 bits.
7119 ac_c99_wchar=yes;
7120 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7121 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7122 cat >conftest.$ac_ext <<_ACEOF
7123 #line $LINENO "configure"
7124 /* confdefs.h. */
7125 _ACEOF
7126 cat confdefs.h >>conftest.$ac_ext
7127 cat >>conftest.$ac_ext <<_ACEOF
7128 /* end confdefs.h. */
7129 #include <wchar.h>
7131 main ()
7133 wcstold(L"10.0", NULL);
7135 return 0;
7137 _ACEOF
7138 rm -f conftest.$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>&5
7141 ac_status=$?
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -s conftest.$ac_objext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146 (eval $ac_try) 2>&5
7147 ac_status=$?
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7151 else
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7155 ac_c99_wchar=no
7157 rm -f conftest.$ac_objext conftest.$ac_ext
7158 cat >conftest.$ac_ext <<_ACEOF
7159 #line $LINENO "configure"
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <wchar.h>
7167 main ()
7169 wcstoll(L"10", NULL, 10);
7171 return 0;
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>&5
7177 ac_status=$?
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } &&
7180 { ac_try='test -s conftest.$ac_objext'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 (eval $ac_try) 2>&5
7183 ac_status=$?
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7187 else
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.$ac_ext >&5
7191 ac_c99_wchar=no
7193 rm -f conftest.$ac_objext conftest.$ac_ext
7194 cat >conftest.$ac_ext <<_ACEOF
7195 #line $LINENO "configure"
7196 /* confdefs.h. */
7197 _ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7201 #include <wchar.h>
7203 main ()
7205 wcstoull(L"10", NULL, 10);
7207 return 0;
7209 _ACEOF
7210 rm -f conftest.$ac_objext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7212 (eval $ac_compile) 2>&5
7213 ac_status=$?
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } &&
7216 { ac_try='test -s conftest.$ac_objext'
7217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 (eval $ac_try) 2>&5
7219 ac_status=$?
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); }; }; then
7223 else
7224 echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.$ac_ext >&5
7227 ac_c99_wchar=no
7229 rm -f conftest.$ac_objext conftest.$ac_ext
7230 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7231 echo "${ECHO_T}$ac_c99_wchar" >&6
7233 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7234 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7235 if test x"$ac_c99_math" = x"no" ||
7236 test x"$ac_c99_stdio" = x"no" ||
7237 test x"$ac_c99_stdlib" = x"no" ||
7238 test x"$ac_c99_wchar" = x"no"; then
7239 enable_c99=no;
7241 echo "$as_me:$LINENO: result: $enable_c99" >&5
7242 echo "${ECHO_T}$enable_c99" >&6
7244 if test x"$ac_99_math" = x"yes"; then
7245 cat >>confdefs.h <<\_ACEOF
7246 #define _GLIBCXX_USE_C99_MATH 1
7247 _ACEOF
7251 # Option parsed, now set things appropriately
7252 if test x"$enable_c99" = x"yes"; then
7253 cat >>confdefs.h <<\_ACEOF
7254 #define _GLIBCXX_USE_C99 1
7255 _ACEOF
7259 ac_ext=c
7260 ac_cpp='$CPP $CPPFLAGS'
7261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7267 # Check whether --enable-long-long or --disable-long-long was given.
7268 if test "${enable_long_long+set}" = set; then
7269 enableval="$enable_long_long"
7271 case "$enableval" in
7272 yes|no) ;;
7273 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7274 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7275 { (exit 1); exit 1; }; } ;;
7276 esac
7278 else
7279 enable_long_long=yes
7282 if test $enable_long_long = yes; then
7283 cat >>confdefs.h <<\_ACEOF
7284 #define _GLIBCXX_USE_LONG_LONG 1
7285 _ACEOF
7290 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7291 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7292 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7293 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7294 echo "${ECHO_T}$target_thread_file" >&6
7296 if test $target_thread_file != single; then
7297 cat >>confdefs.h <<\_ACEOF
7298 #define HAVE_GTHR_DEFAULT 1
7299 _ACEOF
7303 glibcxx_thread_h=gthr-$target_thread_file.h
7307 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7308 if test "${enable_concept_checks+set}" = set; then
7309 enableval="$enable_concept_checks"
7311 case "$enableval" in
7312 yes|no) ;;
7313 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7314 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7315 { (exit 1); exit 1; }; } ;;
7316 esac
7318 else
7319 enable_concept_checks=no
7322 if test $enable_concept_checks = yes; then
7323 cat >>confdefs.h <<\_ACEOF
7324 #define _GLIBCXX_CONCEPT_CHECKS 1
7325 _ACEOF
7330 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7331 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7332 enableval="$enable_libstdcxx_debug_flags"
7333 case "x$enable_libstdcxx_debug_flags" in
7334 xno | x) enable_libstdcxx_debug_flags= ;;
7335 x-*) ;;
7336 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7337 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7338 { (exit 1); exit 1; }; } ;;
7339 esac
7340 else
7341 enable_libstdcxx_debug_flags="-g3 -O0"
7345 # Option parsed, now set things appropriately
7346 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7349 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7350 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7353 echo "$as_me:$LINENO: checking for additional debug build" >&5
7354 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7355 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7356 if test "${enable_libstdcxx_debug+set}" = set; then
7357 enableval="$enable_libstdcxx_debug"
7359 case "$enableval" in
7360 yes|no) ;;
7361 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7362 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7363 { (exit 1); exit 1; }; } ;;
7364 esac
7366 else
7367 enable_libstdcxx_debug=no
7370 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7371 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7374 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7375 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7376 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7377 if test "${enable_cxx_flags+set}" = set; then
7378 enableval="$enable_cxx_flags"
7379 case "x$enable_cxx_flags" in
7380 xno | x) enable_cxx_flags= ;;
7381 x-*) ;;
7382 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7383 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7384 { (exit 1); exit 1; }; } ;;
7385 esac
7386 else
7387 enable_cxx_flags=
7391 # Run through flags (either default or command-line) and set anything
7392 # extra (e.g., #defines) that must accompany particular g++ options.
7393 if test -n "$enable_cxx_flags"; then
7394 for f in $enable_cxx_flags; do
7395 case "$f" in
7396 -fhonor-std) ;;
7397 -*) ;;
7398 *) # and we're trying to pass /what/ exactly?
7399 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7400 echo "$as_me: error: compiler flags start with a -" >&2;}
7401 { (exit 1); exit 1; }; } ;;
7402 esac
7403 done
7406 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7407 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7408 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7412 # No surprises, no surprises...
7413 if test $atomicity_dir = cpu/generic ; then
7414 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7415 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7416 if test $target_thread_file = single; then
7417 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7418 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7419 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7420 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7421 else
7422 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7423 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7424 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7425 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7430 if $GLIBCXX_IS_NATIVE; then
7432 # We can do more elaborate tests that assume a working linker.
7433 CANADIAN=no
7435 # Check for available headers.
7449 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7450 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7451 sys/types.h
7453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7455 echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7462 else
7463 # Is the header compilable?
7464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7466 cat >conftest.$ac_ext <<_ACEOF
7467 #line $LINENO "configure"
7468 /* confdefs.h. */
7469 _ACEOF
7470 cat confdefs.h >>conftest.$ac_ext
7471 cat >>conftest.$ac_ext <<_ACEOF
7472 /* end confdefs.h. */
7473 $ac_includes_default
7474 #include <$ac_header>
7475 _ACEOF
7476 rm -f conftest.$ac_objext
7477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7478 (eval $ac_compile) 2>&5
7479 ac_status=$?
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } &&
7482 { ac_try='test -s conftest.$ac_objext'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484 (eval $ac_try) 2>&5
7485 ac_status=$?
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7488 ac_header_compiler=yes
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7493 ac_header_compiler=no
7495 rm -f conftest.$ac_objext conftest.$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7497 echo "${ECHO_T}$ac_header_compiler" >&6
7499 # Is the header present?
7500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7502 cat >conftest.$ac_ext <<_ACEOF
7503 #line $LINENO "configure"
7504 /* confdefs.h. */
7505 _ACEOF
7506 cat confdefs.h >>conftest.$ac_ext
7507 cat >>conftest.$ac_ext <<_ACEOF
7508 /* end confdefs.h. */
7509 #include <$ac_header>
7510 _ACEOF
7511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7513 ac_status=$?
7514 grep -v '^ *+' conftest.er1 >conftest.err
7515 rm -f conftest.er1
7516 cat conftest.err >&5
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); } >/dev/null; then
7519 if test -s conftest.err; then
7520 ac_cpp_err=$ac_c_preproc_warn_flag
7521 else
7522 ac_cpp_err=
7524 else
7525 ac_cpp_err=yes
7527 if test -z "$ac_cpp_err"; then
7528 ac_header_preproc=yes
7529 else
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 ac_header_preproc=no
7535 rm -f conftest.err conftest.$ac_ext
7536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7537 echo "${ECHO_T}$ac_header_preproc" >&6
7539 # So? What about this header?
7540 case $ac_header_compiler:$ac_header_preproc in
7541 yes:no )
7542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7547 cat <<\_ASBOX
7548 ## ------------------------------------ ##
7549 ## Report this to bug-autoconf@gnu.org. ##
7550 ## ------------------------------------ ##
7551 _ASBOX
7553 sed "s/^/$as_me: WARNING: /" >&2
7555 no:yes )
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7563 cat <<\_ASBOX
7564 ## ------------------------------------ ##
7565 ## Report this to bug-autoconf@gnu.org. ##
7566 ## ------------------------------------ ##
7567 _ASBOX
7569 sed "s/^/$as_me: WARNING: /" >&2
7571 esac
7572 echo "$as_me:$LINENO: checking for $ac_header" >&5
7573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 else
7577 eval "$as_ac_Header=$ac_header_preproc"
7579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7584 cat >>confdefs.h <<_ACEOF
7585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7586 _ACEOF
7590 done
7594 # All these tests are for C++; save the language and the compiler flags.
7595 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7596 # found in GLIBCXX_CONFIGURE.
7599 ac_ext=cc
7600 ac_cpp='$CXXCPP $CPPFLAGS'
7601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7605 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7606 ac_save_CXXFLAGS="$CXXFLAGS"
7608 # Check for maintainer-mode bits.
7609 if test x"$USE_MAINTAINER_MODE" = xno; then
7610 WERROR=''
7611 else
7612 WERROR='-Werror'
7615 # Check for -ffunction-sections -fdata-sections
7616 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7617 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7618 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7619 cat >conftest.$ac_ext <<_ACEOF
7620 #line $LINENO "configure"
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7628 main ()
7630 int foo;
7632 return 0;
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7637 (eval $ac_compile) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } &&
7641 { ac_try='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 ac_fdsections=yes
7648 else
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 ac_fdsections=no
7654 rm -f conftest.$ac_objext conftest.$ac_ext
7655 if test "$ac_test_CXXFLAGS" = set; then
7656 CXXFLAGS="$ac_save_CXXFLAGS"
7657 else
7658 # this is the suspicious part
7659 CXXFLAGS=''
7661 if test x"$ac_fdsections" = x"yes"; then
7662 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7664 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7665 echo "${ECHO_T}$ac_fdsections" >&6
7667 ac_ext=c
7668 ac_cpp='$CPP $CPPFLAGS'
7669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7677 # If we're not using GNU ld, then there's no point in even trying these
7678 # tests. Check for that first. We should have already tested for gld
7679 # by now (in libtool), but require it now just to be safe...
7680 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7681 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7685 # The name set by libtool depends on the version of libtool. Shame on us
7686 # for depending on an impl detail, but c'est la vie. Older versions used
7687 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7688 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7689 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7690 # set (hence we're using an older libtool), then set it.
7691 if test x${with_gnu_ld+set} != xset; then
7692 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7693 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7694 with_gnu_ld=no
7695 else
7696 with_gnu_ld=$ac_cv_prog_gnu_ld
7700 # Start by getting the version number. I think the libtool test already
7701 # does some of this, but throws away the result.
7703 ldver=`$LD --version 2>/dev/null | head -1 | \
7704 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7706 glibcxx_gnu_ld_version=`echo $ldver | \
7707 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7709 # Set --gc-sections.
7710 if test "$with_gnu_ld" = "notbroken"; then
7711 # GNU ld it is! Joy and bunny rabbits!
7713 # All these tests are for C++; save the language and the compiler flags.
7714 # Need to do this so that g++ won't try to link in libstdc++
7715 ac_test_CFLAGS="${CFLAGS+set}"
7716 ac_save_CFLAGS="$CFLAGS"
7717 CFLAGS='-x c++ -Wl,--gc-sections'
7719 # Check for -Wl,--gc-sections
7720 # XXX This test is broken at the moment, as symbols required for linking
7721 # are now in libsupc++ (not built yet). In addition, this test has
7722 # cored on solaris in the past. In addition, --gc-sections doesn't
7723 # really work at the moment (keeps on discarding used sections, first
7724 # .eh_frame and now some of the glibc sections for iconv).
7725 # Bzzzzt. Thanks for playing, maybe next time.
7726 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7727 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7728 if test "$cross_compiling" = yes; then
7729 ac_sectionLDflags=yes
7730 else
7731 cat >conftest.$ac_ext <<_ACEOF
7732 #line $LINENO "configure"
7733 /* confdefs.h. */
7734 _ACEOF
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7739 int main(void)
7741 try { throw 1; }
7742 catch (...) { };
7743 return 0;
7746 _ACEOF
7747 rm -f conftest$ac_exeext
7748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7749 (eval $ac_link) 2>&5
7750 ac_status=$?
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 (eval $ac_try) 2>&5
7755 ac_status=$?
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_sectionLDflags=yes
7759 else
7760 echo "$as_me: program exited with status $ac_status" >&5
7761 echo "$as_me: failed program was:" >&5
7762 sed 's/^/| /' conftest.$ac_ext >&5
7764 ( exit $ac_status )
7765 ac_sectionLDflags=no
7767 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7769 if test "$ac_test_CFLAGS" = set; then
7770 CFLAGS="$ac_save_CFLAGS"
7771 else
7772 # this is the suspicious part
7773 CFLAGS=''
7775 if test "$ac_sectionLDflags" = "yes"; then
7776 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7778 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7779 echo "${ECHO_T}$ac_sectionLDflags" >&6
7782 # Set linker optimization flags.
7783 if test x"$with_gnu_ld" = x"yes"; then
7784 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7791 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7792 ac_save_CXXFLAGS="$CXXFLAGS"
7793 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7795 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7796 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7797 if test "${ac_cv_lib_m_sin+set}" = set; then
7798 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 else
7800 ac_check_lib_save_LIBS=$LIBS
7801 LIBS="-lm $LIBS"
7802 if test x$gcc_no_link = xyes; then
7803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7805 { (exit 1); exit 1; }; }
7807 cat >conftest.$ac_ext <<_ACEOF
7808 #line $LINENO "configure"
7809 /* confdefs.h. */
7810 _ACEOF
7811 cat confdefs.h >>conftest.$ac_ext
7812 cat >>conftest.$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7815 /* Override any gcc2 internal prototype to avoid an error. */
7816 #ifdef __cplusplus
7817 extern "C"
7818 #endif
7819 /* We use char because int might match the return type of a gcc2
7820 builtin and then its argument prototype would still apply. */
7821 char sin ();
7823 main ()
7825 sin ();
7827 return 0;
7829 _ACEOF
7830 rm -f conftest.$ac_objext conftest$ac_exeext
7831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7832 (eval $ac_link) 2>&5
7833 ac_status=$?
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); } &&
7836 { ac_try='test -s conftest$ac_exeext'
7837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838 (eval $ac_try) 2>&5
7839 ac_status=$?
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); }; }; then
7842 ac_cv_lib_m_sin=yes
7843 else
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7847 ac_cv_lib_m_sin=no
7849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7853 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7854 if test $ac_cv_lib_m_sin = yes; then
7855 libm="-lm"
7858 ac_save_LIBS="$LIBS"
7859 LIBS="$LIBS $libm"
7863 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7864 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7865 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7866 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 else
7872 ac_ext=cc
7873 ac_cpp='$CXXCPP $CPPFLAGS'
7874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7878 cat >conftest.$ac_ext <<_ACEOF
7879 #line $LINENO "configure"
7880 /* confdefs.h. */
7881 _ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7885 #include <math.h>
7886 #ifdef HAVE_IEEEFP_H
7887 #include <ieeefp.h>
7888 #endif
7891 main ()
7893 isinf(0);
7895 return 0;
7897 _ACEOF
7898 rm -f conftest.$ac_objext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900 (eval $ac_compile) 2>&5
7901 ac_status=$?
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 (eval $ac_try) 2>&5
7907 ac_status=$?
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 glibcxx_cv_func_isinf_use=yes
7911 else
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.$ac_ext >&5
7915 glibcxx_cv_func_isinf_use=no
7917 rm -f conftest.$ac_objext conftest.$ac_ext
7918 ac_ext=c
7919 ac_cpp='$CPP $CPPFLAGS'
7920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7929 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7931 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7933 for ac_func in isinf
7935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7936 echo "$as_me:$LINENO: checking for $ac_func" >&5
7937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7938 if eval "test \"\${$as_ac_var+set}\" = set"; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941 if test x$gcc_no_link = xyes; then
7942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7944 { (exit 1); exit 1; }; }
7946 cat >conftest.$ac_ext <<_ACEOF
7947 #line $LINENO "configure"
7948 /* confdefs.h. */
7949 _ACEOF
7950 cat confdefs.h >>conftest.$ac_ext
7951 cat >>conftest.$ac_ext <<_ACEOF
7952 /* end confdefs.h. */
7953 /* System header to define __stub macros and hopefully few prototypes,
7954 which can conflict with char $ac_func (); below.
7955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7956 <limits.h> exists even on freestanding compilers. */
7957 #ifdef __STDC__
7958 # include <limits.h>
7959 #else
7960 # include <assert.h>
7961 #endif
7962 /* Override any gcc2 internal prototype to avoid an error. */
7963 #ifdef __cplusplus
7964 extern "C"
7966 #endif
7967 /* We use char because int might match the return type of a gcc2
7968 builtin and then its argument prototype would still apply. */
7969 char $ac_func ();
7970 /* The GNU C library defines this for functions which it implements
7971 to always fail with ENOSYS. Some functions are actually named
7972 something starting with __ and the normal name is an alias. */
7973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7974 choke me
7975 #else
7976 char (*f) () = $ac_func;
7977 #endif
7978 #ifdef __cplusplus
7980 #endif
7983 main ()
7985 return f != $ac_func;
7987 return 0;
7989 _ACEOF
7990 rm -f conftest.$ac_objext conftest$ac_exeext
7991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7992 (eval $ac_link) 2>&5
7993 ac_status=$?
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -s conftest$ac_exeext'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7998 (eval $ac_try) 2>&5
7999 ac_status=$?
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; }; then
8002 eval "$as_ac_var=yes"
8003 else
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 eval "$as_ac_var=no"
8009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8013 if test `eval echo '${'$as_ac_var'}'` = yes; then
8014 cat >>confdefs.h <<_ACEOF
8015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8016 _ACEOF
8019 done
8021 else
8023 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8024 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8025 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8026 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8027 echo $ECHO_N "(cached) $ECHO_C" >&6
8028 else
8032 ac_ext=cc
8033 ac_cpp='$CXXCPP $CPPFLAGS'
8034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8038 cat >conftest.$ac_ext <<_ACEOF
8039 #line $LINENO "configure"
8040 /* confdefs.h. */
8041 _ACEOF
8042 cat confdefs.h >>conftest.$ac_ext
8043 cat >>conftest.$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8045 #include <math.h>
8046 #ifdef HAVE_IEEEFP_H
8047 #include <ieeefp.h>
8048 #endif
8051 main ()
8053 _isinf(0);
8055 return 0;
8057 _ACEOF
8058 rm -f conftest.$ac_objext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8060 (eval $ac_compile) 2>&5
8061 ac_status=$?
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 (eval $ac_try) 2>&5
8067 ac_status=$?
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 glibcxx_cv_func__isinf_use=yes
8071 else
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8075 glibcxx_cv_func__isinf_use=no
8077 rm -f conftest.$ac_objext conftest.$ac_ext
8078 ac_ext=c
8079 ac_cpp='$CPP $CPPFLAGS'
8080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8089 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8091 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8093 for ac_func in _isinf
8095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8096 echo "$as_me:$LINENO: checking for $ac_func" >&5
8097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8098 if eval "test \"\${$as_ac_var+set}\" = set"; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101 if test x$gcc_no_link = xyes; then
8102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8104 { (exit 1); exit 1; }; }
8106 cat >conftest.$ac_ext <<_ACEOF
8107 #line $LINENO "configure"
8108 /* confdefs.h. */
8109 _ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8113 /* System header to define __stub macros and hopefully few prototypes,
8114 which can conflict with char $ac_func (); below.
8115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8116 <limits.h> exists even on freestanding compilers. */
8117 #ifdef __STDC__
8118 # include <limits.h>
8119 #else
8120 # include <assert.h>
8121 #endif
8122 /* Override any gcc2 internal prototype to avoid an error. */
8123 #ifdef __cplusplus
8124 extern "C"
8126 #endif
8127 /* We use char because int might match the return type of a gcc2
8128 builtin and then its argument prototype would still apply. */
8129 char $ac_func ();
8130 /* The GNU C library defines this for functions which it implements
8131 to always fail with ENOSYS. Some functions are actually named
8132 something starting with __ and the normal name is an alias. */
8133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8134 choke me
8135 #else
8136 char (*f) () = $ac_func;
8137 #endif
8138 #ifdef __cplusplus
8140 #endif
8143 main ()
8145 return f != $ac_func;
8147 return 0;
8149 _ACEOF
8150 rm -f conftest.$ac_objext conftest$ac_exeext
8151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8152 (eval $ac_link) 2>&5
8153 ac_status=$?
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } &&
8156 { ac_try='test -s conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 eval "$as_ac_var=yes"
8163 else
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8167 eval "$as_ac_var=no"
8169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8173 if test `eval echo '${'$as_ac_var'}'` = yes; then
8174 cat >>confdefs.h <<_ACEOF
8175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8176 _ACEOF
8179 done
8186 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8187 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8188 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8189 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8190 echo $ECHO_N "(cached) $ECHO_C" >&6
8191 else
8195 ac_ext=cc
8196 ac_cpp='$CXXCPP $CPPFLAGS'
8197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8201 cat >conftest.$ac_ext <<_ACEOF
8202 #line $LINENO "configure"
8203 /* confdefs.h. */
8204 _ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h. */
8208 #include <math.h>
8209 #ifdef HAVE_IEEEFP_H
8210 #include <ieeefp.h>
8211 #endif
8214 main ()
8216 isnan(0);
8218 return 0;
8220 _ACEOF
8221 rm -f conftest.$ac_objext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223 (eval $ac_compile) 2>&5
8224 ac_status=$?
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try='test -s conftest.$ac_objext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 (eval $ac_try) 2>&5
8230 ac_status=$?
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 glibcxx_cv_func_isnan_use=yes
8234 else
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 glibcxx_cv_func_isnan_use=no
8240 rm -f conftest.$ac_objext conftest.$ac_ext
8241 ac_ext=c
8242 ac_cpp='$CPP $CPPFLAGS'
8243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8252 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8254 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8256 for ac_func in isnan
8258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8259 echo "$as_me:$LINENO: checking for $ac_func" >&5
8260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8261 if eval "test \"\${$as_ac_var+set}\" = set"; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264 if test x$gcc_no_link = xyes; then
8265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8267 { (exit 1); exit 1; }; }
8269 cat >conftest.$ac_ext <<_ACEOF
8270 #line $LINENO "configure"
8271 /* confdefs.h. */
8272 _ACEOF
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8276 /* System header to define __stub macros and hopefully few prototypes,
8277 which can conflict with char $ac_func (); below.
8278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8279 <limits.h> exists even on freestanding compilers. */
8280 #ifdef __STDC__
8281 # include <limits.h>
8282 #else
8283 # include <assert.h>
8284 #endif
8285 /* Override any gcc2 internal prototype to avoid an error. */
8286 #ifdef __cplusplus
8287 extern "C"
8289 #endif
8290 /* We use char because int might match the return type of a gcc2
8291 builtin and then its argument prototype would still apply. */
8292 char $ac_func ();
8293 /* The GNU C library defines this for functions which it implements
8294 to always fail with ENOSYS. Some functions are actually named
8295 something starting with __ and the normal name is an alias. */
8296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8297 choke me
8298 #else
8299 char (*f) () = $ac_func;
8300 #endif
8301 #ifdef __cplusplus
8303 #endif
8306 main ()
8308 return f != $ac_func;
8310 return 0;
8312 _ACEOF
8313 rm -f conftest.$ac_objext conftest$ac_exeext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8315 (eval $ac_link) 2>&5
8316 ac_status=$?
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } &&
8319 { ac_try='test -s conftest$ac_exeext'
8320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 (eval $ac_try) 2>&5
8322 ac_status=$?
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); }; }; then
8325 eval "$as_ac_var=yes"
8326 else
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8330 eval "$as_ac_var=no"
8332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8336 if test `eval echo '${'$as_ac_var'}'` = yes; then
8337 cat >>confdefs.h <<_ACEOF
8338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8339 _ACEOF
8342 done
8344 else
8346 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8347 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8348 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8349 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8350 echo $ECHO_N "(cached) $ECHO_C" >&6
8351 else
8355 ac_ext=cc
8356 ac_cpp='$CXXCPP $CPPFLAGS'
8357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8361 cat >conftest.$ac_ext <<_ACEOF
8362 #line $LINENO "configure"
8363 /* confdefs.h. */
8364 _ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8368 #include <math.h>
8369 #ifdef HAVE_IEEEFP_H
8370 #include <ieeefp.h>
8371 #endif
8374 main ()
8376 _isnan(0);
8378 return 0;
8380 _ACEOF
8381 rm -f conftest.$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383 (eval $ac_compile) 2>&5
8384 ac_status=$?
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); } &&
8387 { ac_try='test -s conftest.$ac_objext'
8388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 (eval $ac_try) 2>&5
8390 ac_status=$?
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; }; then
8393 glibcxx_cv_func__isnan_use=yes
8394 else
8395 echo "$as_me: failed program was:" >&5
8396 sed 's/^/| /' conftest.$ac_ext >&5
8398 glibcxx_cv_func__isnan_use=no
8400 rm -f conftest.$ac_objext conftest.$ac_ext
8401 ac_ext=c
8402 ac_cpp='$CPP $CPPFLAGS'
8403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8412 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8414 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8416 for ac_func in _isnan
8418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8419 echo "$as_me:$LINENO: checking for $ac_func" >&5
8420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8421 if eval "test \"\${$as_ac_var+set}\" = set"; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 else
8424 if test x$gcc_no_link = xyes; then
8425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8427 { (exit 1); exit 1; }; }
8429 cat >conftest.$ac_ext <<_ACEOF
8430 #line $LINENO "configure"
8431 /* confdefs.h. */
8432 _ACEOF
8433 cat confdefs.h >>conftest.$ac_ext
8434 cat >>conftest.$ac_ext <<_ACEOF
8435 /* end confdefs.h. */
8436 /* System header to define __stub macros and hopefully few prototypes,
8437 which can conflict with char $ac_func (); below.
8438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8439 <limits.h> exists even on freestanding compilers. */
8440 #ifdef __STDC__
8441 # include <limits.h>
8442 #else
8443 # include <assert.h>
8444 #endif
8445 /* Override any gcc2 internal prototype to avoid an error. */
8446 #ifdef __cplusplus
8447 extern "C"
8449 #endif
8450 /* We use char because int might match the return type of a gcc2
8451 builtin and then its argument prototype would still apply. */
8452 char $ac_func ();
8453 /* The GNU C library defines this for functions which it implements
8454 to always fail with ENOSYS. Some functions are actually named
8455 something starting with __ and the normal name is an alias. */
8456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8457 choke me
8458 #else
8459 char (*f) () = $ac_func;
8460 #endif
8461 #ifdef __cplusplus
8463 #endif
8466 main ()
8468 return f != $ac_func;
8470 return 0;
8472 _ACEOF
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8475 (eval $ac_link) 2>&5
8476 ac_status=$?
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } &&
8479 { ac_try='test -s conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 (eval $ac_try) 2>&5
8482 ac_status=$?
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 eval "$as_ac_var=yes"
8486 else
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.$ac_ext >&5
8490 eval "$as_ac_var=no"
8492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8496 if test `eval echo '${'$as_ac_var'}'` = yes; then
8497 cat >>confdefs.h <<_ACEOF
8498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8499 _ACEOF
8502 done
8509 echo "$as_me:$LINENO: checking for finite declaration" >&5
8510 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8511 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8512 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6
8514 else
8518 ac_ext=cc
8519 ac_cpp='$CXXCPP $CPPFLAGS'
8520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8524 cat >conftest.$ac_ext <<_ACEOF
8525 #line $LINENO "configure"
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 #include <math.h>
8532 #ifdef HAVE_IEEEFP_H
8533 #include <ieeefp.h>
8534 #endif
8537 main ()
8539 finite(0);
8541 return 0;
8543 _ACEOF
8544 rm -f conftest.$ac_objext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546 (eval $ac_compile) 2>&5
8547 ac_status=$?
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try='test -s conftest.$ac_objext'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 (eval $ac_try) 2>&5
8553 ac_status=$?
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then
8556 glibcxx_cv_func_finite_use=yes
8557 else
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8561 glibcxx_cv_func_finite_use=no
8563 rm -f conftest.$ac_objext conftest.$ac_ext
8564 ac_ext=c
8565 ac_cpp='$CPP $CPPFLAGS'
8566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8575 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8577 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8579 for ac_func in finite
8581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8582 echo "$as_me:$LINENO: checking for $ac_func" >&5
8583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8584 if eval "test \"\${$as_ac_var+set}\" = set"; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 else
8587 if test x$gcc_no_link = xyes; then
8588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8590 { (exit 1); exit 1; }; }
8592 cat >conftest.$ac_ext <<_ACEOF
8593 #line $LINENO "configure"
8594 /* confdefs.h. */
8595 _ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8599 /* System header to define __stub macros and hopefully few prototypes,
8600 which can conflict with char $ac_func (); below.
8601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8602 <limits.h> exists even on freestanding compilers. */
8603 #ifdef __STDC__
8604 # include <limits.h>
8605 #else
8606 # include <assert.h>
8607 #endif
8608 /* Override any gcc2 internal prototype to avoid an error. */
8609 #ifdef __cplusplus
8610 extern "C"
8612 #endif
8613 /* We use char because int might match the return type of a gcc2
8614 builtin and then its argument prototype would still apply. */
8615 char $ac_func ();
8616 /* The GNU C library defines this for functions which it implements
8617 to always fail with ENOSYS. Some functions are actually named
8618 something starting with __ and the normal name is an alias. */
8619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8620 choke me
8621 #else
8622 char (*f) () = $ac_func;
8623 #endif
8624 #ifdef __cplusplus
8626 #endif
8629 main ()
8631 return f != $ac_func;
8633 return 0;
8635 _ACEOF
8636 rm -f conftest.$ac_objext conftest$ac_exeext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8638 (eval $ac_link) 2>&5
8639 ac_status=$?
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } &&
8642 { ac_try='test -s conftest$ac_exeext'
8643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 (eval $ac_try) 2>&5
8645 ac_status=$?
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); }; }; then
8648 eval "$as_ac_var=yes"
8649 else
8650 echo "$as_me: failed program was:" >&5
8651 sed 's/^/| /' conftest.$ac_ext >&5
8653 eval "$as_ac_var=no"
8655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8659 if test `eval echo '${'$as_ac_var'}'` = yes; then
8660 cat >>confdefs.h <<_ACEOF
8661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8662 _ACEOF
8665 done
8667 else
8669 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8670 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8671 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8672 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 else
8678 ac_ext=cc
8679 ac_cpp='$CXXCPP $CPPFLAGS'
8680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8684 cat >conftest.$ac_ext <<_ACEOF
8685 #line $LINENO "configure"
8686 /* confdefs.h. */
8687 _ACEOF
8688 cat confdefs.h >>conftest.$ac_ext
8689 cat >>conftest.$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8691 #include <math.h>
8692 #ifdef HAVE_IEEEFP_H
8693 #include <ieeefp.h>
8694 #endif
8697 main ()
8699 _finite(0);
8701 return 0;
8703 _ACEOF
8704 rm -f conftest.$ac_objext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8706 (eval $ac_compile) 2>&5
8707 ac_status=$?
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try='test -s conftest.$ac_objext'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 (eval $ac_try) 2>&5
8713 ac_status=$?
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; }; then
8716 glibcxx_cv_func__finite_use=yes
8717 else
8718 echo "$as_me: failed program was:" >&5
8719 sed 's/^/| /' conftest.$ac_ext >&5
8721 glibcxx_cv_func__finite_use=no
8723 rm -f conftest.$ac_objext conftest.$ac_ext
8724 ac_ext=c
8725 ac_cpp='$CPP $CPPFLAGS'
8726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8735 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8737 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8739 for ac_func in _finite
8741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8742 echo "$as_me:$LINENO: checking for $ac_func" >&5
8743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8744 if eval "test \"\${$as_ac_var+set}\" = set"; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 else
8747 if test x$gcc_no_link = xyes; then
8748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8750 { (exit 1); exit 1; }; }
8752 cat >conftest.$ac_ext <<_ACEOF
8753 #line $LINENO "configure"
8754 /* confdefs.h. */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func (); below.
8761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762 <limits.h> exists even on freestanding compilers. */
8763 #ifdef __STDC__
8764 # include <limits.h>
8765 #else
8766 # include <assert.h>
8767 #endif
8768 /* Override any gcc2 internal prototype to avoid an error. */
8769 #ifdef __cplusplus
8770 extern "C"
8772 #endif
8773 /* We use char because int might match the return type of a gcc2
8774 builtin and then its argument prototype would still apply. */
8775 char $ac_func ();
8776 /* The GNU C library defines this for functions which it implements
8777 to always fail with ENOSYS. Some functions are actually named
8778 something starting with __ and the normal name is an alias. */
8779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8780 choke me
8781 #else
8782 char (*f) () = $ac_func;
8783 #endif
8784 #ifdef __cplusplus
8786 #endif
8789 main ()
8791 return f != $ac_func;
8793 return 0;
8795 _ACEOF
8796 rm -f conftest.$ac_objext conftest$ac_exeext
8797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8798 (eval $ac_link) 2>&5
8799 ac_status=$?
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -s conftest$ac_exeext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804 (eval $ac_try) 2>&5
8805 ac_status=$?
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 eval "$as_ac_var=yes"
8809 else
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.$ac_ext >&5
8813 eval "$as_ac_var=no"
8815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8819 if test `eval echo '${'$as_ac_var'}'` = yes; then
8820 cat >>confdefs.h <<_ACEOF
8821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8822 _ACEOF
8825 done
8832 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8833 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8834 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8835 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8841 ac_ext=cc
8842 ac_cpp='$CXXCPP $CPPFLAGS'
8843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8847 cat >conftest.$ac_ext <<_ACEOF
8848 #line $LINENO "configure"
8849 /* confdefs.h. */
8850 _ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8854 #include <math.h>
8856 main ()
8858 copysign(0, 0);
8860 return 0;
8862 _ACEOF
8863 rm -f conftest.$ac_objext
8864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8865 (eval $ac_compile) 2>&5
8866 ac_status=$?
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try='test -s conftest.$ac_objext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 (eval $ac_try) 2>&5
8872 ac_status=$?
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8875 glibcxx_cv_func_copysign_use=yes
8876 else
8877 echo "$as_me: failed program was:" >&5
8878 sed 's/^/| /' conftest.$ac_ext >&5
8880 glibcxx_cv_func_copysign_use=no
8882 rm -f conftest.$ac_objext conftest.$ac_ext
8883 ac_ext=c
8884 ac_cpp='$CPP $CPPFLAGS'
8885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8894 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8896 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8898 for ac_func in copysign
8900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8901 echo "$as_me:$LINENO: checking for $ac_func" >&5
8902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8903 if eval "test \"\${$as_ac_var+set}\" = set"; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8905 else
8906 if test x$gcc_no_link = xyes; then
8907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8909 { (exit 1); exit 1; }; }
8911 cat >conftest.$ac_ext <<_ACEOF
8912 #line $LINENO "configure"
8913 /* confdefs.h. */
8914 _ACEOF
8915 cat confdefs.h >>conftest.$ac_ext
8916 cat >>conftest.$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8918 /* System header to define __stub macros and hopefully few prototypes,
8919 which can conflict with char $ac_func (); below.
8920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8921 <limits.h> exists even on freestanding compilers. */
8922 #ifdef __STDC__
8923 # include <limits.h>
8924 #else
8925 # include <assert.h>
8926 #endif
8927 /* Override any gcc2 internal prototype to avoid an error. */
8928 #ifdef __cplusplus
8929 extern "C"
8931 #endif
8932 /* We use char because int might match the return type of a gcc2
8933 builtin and then its argument prototype would still apply. */
8934 char $ac_func ();
8935 /* The GNU C library defines this for functions which it implements
8936 to always fail with ENOSYS. Some functions are actually named
8937 something starting with __ and the normal name is an alias. */
8938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8939 choke me
8940 #else
8941 char (*f) () = $ac_func;
8942 #endif
8943 #ifdef __cplusplus
8945 #endif
8948 main ()
8950 return f != $ac_func;
8952 return 0;
8954 _ACEOF
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957 (eval $ac_link) 2>&5
8958 ac_status=$?
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
8961 { ac_try='test -s conftest$ac_exeext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 (eval $ac_try) 2>&5
8964 ac_status=$?
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 eval "$as_ac_var=yes"
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no"
8974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8978 if test `eval echo '${'$as_ac_var'}'` = yes; then
8979 cat >>confdefs.h <<_ACEOF
8980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8981 _ACEOF
8984 done
8986 else
8988 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
8989 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
8990 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
8991 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 else
8997 ac_ext=cc
8998 ac_cpp='$CXXCPP $CPPFLAGS'
8999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9003 cat >conftest.$ac_ext <<_ACEOF
9004 #line $LINENO "configure"
9005 /* confdefs.h. */
9006 _ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9010 #include <math.h>
9012 main ()
9014 _copysign(0, 0);
9016 return 0;
9018 _ACEOF
9019 rm -f conftest.$ac_objext
9020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9021 (eval $ac_compile) 2>&5
9022 ac_status=$?
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try='test -s conftest.$ac_objext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 glibcxx_cv_func__copysign_use=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 glibcxx_cv_func__copysign_use=no
9038 rm -f conftest.$ac_objext conftest.$ac_ext
9039 ac_ext=c
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9050 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9052 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9054 for ac_func in _copysign
9056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9057 echo "$as_me:$LINENO: checking for $ac_func" >&5
9058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9059 if eval "test \"\${$as_ac_var+set}\" = set"; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9062 if test x$gcc_no_link = xyes; then
9063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9065 { (exit 1); exit 1; }; }
9067 cat >conftest.$ac_ext <<_ACEOF
9068 #line $LINENO "configure"
9069 /* confdefs.h. */
9070 _ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9074 /* System header to define __stub macros and hopefully few prototypes,
9075 which can conflict with char $ac_func (); below.
9076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9077 <limits.h> exists even on freestanding compilers. */
9078 #ifdef __STDC__
9079 # include <limits.h>
9080 #else
9081 # include <assert.h>
9082 #endif
9083 /* Override any gcc2 internal prototype to avoid an error. */
9084 #ifdef __cplusplus
9085 extern "C"
9087 #endif
9088 /* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9090 char $ac_func ();
9091 /* The GNU C library defines this for functions which it implements
9092 to always fail with ENOSYS. Some functions are actually named
9093 something starting with __ and the normal name is an alias. */
9094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9095 choke me
9096 #else
9097 char (*f) () = $ac_func;
9098 #endif
9099 #ifdef __cplusplus
9101 #endif
9104 main ()
9106 return f != $ac_func;
9108 return 0;
9110 _ACEOF
9111 rm -f conftest.$ac_objext conftest$ac_exeext
9112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9113 (eval $ac_link) 2>&5
9114 ac_status=$?
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try='test -s conftest$ac_exeext'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 (eval $ac_try) 2>&5
9120 ac_status=$?
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; }; then
9123 eval "$as_ac_var=yes"
9124 else
9125 echo "$as_me: failed program was:" >&5
9126 sed 's/^/| /' conftest.$ac_ext >&5
9128 eval "$as_ac_var=no"
9130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9134 if test `eval echo '${'$as_ac_var'}'` = yes; then
9135 cat >>confdefs.h <<_ACEOF
9136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9137 _ACEOF
9140 done
9147 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9148 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9149 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9150 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9151 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 else
9156 ac_ext=cc
9157 ac_cpp='$CXXCPP $CPPFLAGS'
9158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9162 cat >conftest.$ac_ext <<_ACEOF
9163 #line $LINENO "configure"
9164 /* confdefs.h. */
9165 _ACEOF
9166 cat confdefs.h >>conftest.$ac_ext
9167 cat >>conftest.$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9169 #include <math.h>
9171 main ()
9173 sincos(0, 0, 0);
9175 return 0;
9177 _ACEOF
9178 rm -f conftest.$ac_objext
9179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9180 (eval $ac_compile) 2>&5
9181 ac_status=$?
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); } &&
9184 { ac_try='test -s conftest.$ac_objext'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; }; then
9190 glibcxx_cv_func_sincos_use=yes
9191 else
9192 echo "$as_me: failed program was:" >&5
9193 sed 's/^/| /' conftest.$ac_ext >&5
9195 glibcxx_cv_func_sincos_use=no
9197 rm -f conftest.$ac_objext conftest.$ac_ext
9198 ac_ext=c
9199 ac_cpp='$CPP $CPPFLAGS'
9200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9209 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9211 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9213 for ac_func in sincos
9215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9216 echo "$as_me:$LINENO: checking for $ac_func" >&5
9217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9218 if eval "test \"\${$as_ac_var+set}\" = set"; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 else
9221 if test x$gcc_no_link = xyes; then
9222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9224 { (exit 1); exit 1; }; }
9226 cat >conftest.$ac_ext <<_ACEOF
9227 #line $LINENO "configure"
9228 /* confdefs.h. */
9229 _ACEOF
9230 cat confdefs.h >>conftest.$ac_ext
9231 cat >>conftest.$ac_ext <<_ACEOF
9232 /* end confdefs.h. */
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func (); below.
9235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236 <limits.h> exists even on freestanding compilers. */
9237 #ifdef __STDC__
9238 # include <limits.h>
9239 #else
9240 # include <assert.h>
9241 #endif
9242 /* Override any gcc2 internal prototype to avoid an error. */
9243 #ifdef __cplusplus
9244 extern "C"
9246 #endif
9247 /* We use char because int might match the return type of a gcc2
9248 builtin and then its argument prototype would still apply. */
9249 char $ac_func ();
9250 /* The GNU C library defines this for functions which it implements
9251 to always fail with ENOSYS. Some functions are actually named
9252 something starting with __ and the normal name is an alias. */
9253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9254 choke me
9255 #else
9256 char (*f) () = $ac_func;
9257 #endif
9258 #ifdef __cplusplus
9260 #endif
9263 main ()
9265 return f != $ac_func;
9267 return 0;
9269 _ACEOF
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>&5
9273 ac_status=$?
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try='test -s conftest$ac_exeext'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 (eval $ac_try) 2>&5
9279 ac_status=$?
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; }; then
9282 eval "$as_ac_var=yes"
9283 else
9284 echo "$as_me: failed program was:" >&5
9285 sed 's/^/| /' conftest.$ac_ext >&5
9287 eval "$as_ac_var=no"
9289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9293 if test `eval echo '${'$as_ac_var'}'` = yes; then
9294 cat >>confdefs.h <<_ACEOF
9295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9296 _ACEOF
9299 done
9301 else
9303 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9304 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9305 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9306 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 else
9312 ac_ext=cc
9313 ac_cpp='$CXXCPP $CPPFLAGS'
9314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9318 cat >conftest.$ac_ext <<_ACEOF
9319 #line $LINENO "configure"
9320 /* confdefs.h. */
9321 _ACEOF
9322 cat confdefs.h >>conftest.$ac_ext
9323 cat >>conftest.$ac_ext <<_ACEOF
9324 /* end confdefs.h. */
9325 #include <math.h>
9327 main ()
9329 _sincos(0, 0, 0);
9331 return 0;
9333 _ACEOF
9334 rm -f conftest.$ac_objext
9335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9336 (eval $ac_compile) 2>&5
9337 ac_status=$?
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); } &&
9340 { ac_try='test -s conftest.$ac_objext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 (eval $ac_try) 2>&5
9343 ac_status=$?
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9346 glibcxx_cv_func__sincos_use=yes
9347 else
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9351 glibcxx_cv_func__sincos_use=no
9353 rm -f conftest.$ac_objext conftest.$ac_ext
9354 ac_ext=c
9355 ac_cpp='$CPP $CPPFLAGS'
9356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9365 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9369 for ac_func in _sincos
9371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9372 echo "$as_me:$LINENO: checking for $ac_func" >&5
9373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9374 if eval "test \"\${$as_ac_var+set}\" = set"; then
9375 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 else
9377 if test x$gcc_no_link = xyes; then
9378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9380 { (exit 1); exit 1; }; }
9382 cat >conftest.$ac_ext <<_ACEOF
9383 #line $LINENO "configure"
9384 /* confdefs.h. */
9385 _ACEOF
9386 cat confdefs.h >>conftest.$ac_ext
9387 cat >>conftest.$ac_ext <<_ACEOF
9388 /* end confdefs.h. */
9389 /* System header to define __stub macros and hopefully few prototypes,
9390 which can conflict with char $ac_func (); below.
9391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9392 <limits.h> exists even on freestanding compilers. */
9393 #ifdef __STDC__
9394 # include <limits.h>
9395 #else
9396 # include <assert.h>
9397 #endif
9398 /* Override any gcc2 internal prototype to avoid an error. */
9399 #ifdef __cplusplus
9400 extern "C"
9402 #endif
9403 /* We use char because int might match the return type of a gcc2
9404 builtin and then its argument prototype would still apply. */
9405 char $ac_func ();
9406 /* The GNU C library defines this for functions which it implements
9407 to always fail with ENOSYS. Some functions are actually named
9408 something starting with __ and the normal name is an alias. */
9409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9410 choke me
9411 #else
9412 char (*f) () = $ac_func;
9413 #endif
9414 #ifdef __cplusplus
9416 #endif
9419 main ()
9421 return f != $ac_func;
9423 return 0;
9425 _ACEOF
9426 rm -f conftest.$ac_objext conftest$ac_exeext
9427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9428 (eval $ac_link) 2>&5
9429 ac_status=$?
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try='test -s conftest$ac_exeext'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 (eval $ac_try) 2>&5
9435 ac_status=$?
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; }; then
9438 eval "$as_ac_var=yes"
9439 else
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 eval "$as_ac_var=no"
9445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9449 if test `eval echo '${'$as_ac_var'}'` = yes; then
9450 cat >>confdefs.h <<_ACEOF
9451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9452 _ACEOF
9455 done
9462 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9463 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9464 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9465 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9467 else
9471 ac_ext=cc
9472 ac_cpp='$CXXCPP $CPPFLAGS'
9473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9477 cat >conftest.$ac_ext <<_ACEOF
9478 #line $LINENO "configure"
9479 /* confdefs.h. */
9480 _ACEOF
9481 cat confdefs.h >>conftest.$ac_ext
9482 cat >>conftest.$ac_ext <<_ACEOF
9483 /* end confdefs.h. */
9484 #include <math.h>
9485 #ifdef HAVE_IEEEFP_H
9486 #include <ieeefp.h>
9487 #endif
9490 main ()
9492 fpclass(0);
9494 return 0;
9496 _ACEOF
9497 rm -f conftest.$ac_objext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9499 (eval $ac_compile) 2>&5
9500 ac_status=$?
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); } &&
9503 { ac_try='test -s conftest.$ac_objext'
9504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505 (eval $ac_try) 2>&5
9506 ac_status=$?
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 glibcxx_cv_func_fpclass_use=yes
9510 else
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 glibcxx_cv_func_fpclass_use=no
9516 rm -f conftest.$ac_objext conftest.$ac_ext
9517 ac_ext=c
9518 ac_cpp='$CPP $CPPFLAGS'
9519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9528 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9530 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9532 for ac_func in fpclass
9534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9535 echo "$as_me:$LINENO: checking for $ac_func" >&5
9536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9537 if eval "test \"\${$as_ac_var+set}\" = set"; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 else
9540 if test x$gcc_no_link = xyes; then
9541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9543 { (exit 1); exit 1; }; }
9545 cat >conftest.$ac_ext <<_ACEOF
9546 #line $LINENO "configure"
9547 /* confdefs.h. */
9548 _ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 /* System header to define __stub macros and hopefully few prototypes,
9553 which can conflict with char $ac_func (); below.
9554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9555 <limits.h> exists even on freestanding compilers. */
9556 #ifdef __STDC__
9557 # include <limits.h>
9558 #else
9559 # include <assert.h>
9560 #endif
9561 /* Override any gcc2 internal prototype to avoid an error. */
9562 #ifdef __cplusplus
9563 extern "C"
9565 #endif
9566 /* We use char because int might match the return type of a gcc2
9567 builtin and then its argument prototype would still apply. */
9568 char $ac_func ();
9569 /* The GNU C library defines this for functions which it implements
9570 to always fail with ENOSYS. Some functions are actually named
9571 something starting with __ and the normal name is an alias. */
9572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9573 choke me
9574 #else
9575 char (*f) () = $ac_func;
9576 #endif
9577 #ifdef __cplusplus
9579 #endif
9582 main ()
9584 return f != $ac_func;
9586 return 0;
9588 _ACEOF
9589 rm -f conftest.$ac_objext conftest$ac_exeext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 (eval $ac_link) 2>&5
9592 ac_status=$?
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); } &&
9595 { ac_try='test -s conftest$ac_exeext'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 (eval $ac_try) 2>&5
9598 ac_status=$?
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 eval "$as_ac_var=yes"
9602 else
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5
9606 eval "$as_ac_var=no"
9608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9612 if test `eval echo '${'$as_ac_var'}'` = yes; then
9613 cat >>confdefs.h <<_ACEOF
9614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9615 _ACEOF
9618 done
9620 else
9622 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9623 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9624 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9625 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 else
9631 ac_ext=cc
9632 ac_cpp='$CXXCPP $CPPFLAGS'
9633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9637 cat >conftest.$ac_ext <<_ACEOF
9638 #line $LINENO "configure"
9639 /* confdefs.h. */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9644 #include <math.h>
9645 #ifdef HAVE_IEEEFP_H
9646 #include <ieeefp.h>
9647 #endif
9650 main ()
9652 _fpclass(0);
9654 return 0;
9656 _ACEOF
9657 rm -f conftest.$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>&5
9660 ac_status=$?
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } &&
9663 { ac_try='test -s conftest.$ac_objext'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 (eval $ac_try) 2>&5
9666 ac_status=$?
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; }; then
9669 glibcxx_cv_func__fpclass_use=yes
9670 else
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9674 glibcxx_cv_func__fpclass_use=no
9676 rm -f conftest.$ac_objext conftest.$ac_ext
9677 ac_ext=c
9678 ac_cpp='$CPP $CPPFLAGS'
9679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9688 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9690 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9692 for ac_func in _fpclass
9694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9695 echo "$as_me:$LINENO: checking for $ac_func" >&5
9696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9697 if eval "test \"\${$as_ac_var+set}\" = set"; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9700 if test x$gcc_no_link = xyes; then
9701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9703 { (exit 1); exit 1; }; }
9705 cat >conftest.$ac_ext <<_ACEOF
9706 #line $LINENO "configure"
9707 /* confdefs.h. */
9708 _ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9712 /* System header to define __stub macros and hopefully few prototypes,
9713 which can conflict with char $ac_func (); below.
9714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9715 <limits.h> exists even on freestanding compilers. */
9716 #ifdef __STDC__
9717 # include <limits.h>
9718 #else
9719 # include <assert.h>
9720 #endif
9721 /* Override any gcc2 internal prototype to avoid an error. */
9722 #ifdef __cplusplus
9723 extern "C"
9725 #endif
9726 /* We use char because int might match the return type of a gcc2
9727 builtin and then its argument prototype would still apply. */
9728 char $ac_func ();
9729 /* The GNU C library defines this for functions which it implements
9730 to always fail with ENOSYS. Some functions are actually named
9731 something starting with __ and the normal name is an alias. */
9732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9733 choke me
9734 #else
9735 char (*f) () = $ac_func;
9736 #endif
9737 #ifdef __cplusplus
9739 #endif
9742 main ()
9744 return f != $ac_func;
9746 return 0;
9748 _ACEOF
9749 rm -f conftest.$ac_objext conftest$ac_exeext
9750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9751 (eval $ac_link) 2>&5
9752 ac_status=$?
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } &&
9755 { ac_try='test -s conftest$ac_exeext'
9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757 (eval $ac_try) 2>&5
9758 ac_status=$?
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; }; then
9761 eval "$as_ac_var=yes"
9762 else
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9766 eval "$as_ac_var=no"
9768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9772 if test `eval echo '${'$as_ac_var'}'` = yes; then
9773 cat >>confdefs.h <<_ACEOF
9774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9775 _ACEOF
9778 done
9785 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9786 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9787 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9788 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 else
9794 ac_ext=cc
9795 ac_cpp='$CXXCPP $CPPFLAGS'
9796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9800 cat >conftest.$ac_ext <<_ACEOF
9801 #line $LINENO "configure"
9802 /* confdefs.h. */
9803 _ACEOF
9804 cat confdefs.h >>conftest.$ac_ext
9805 cat >>conftest.$ac_ext <<_ACEOF
9806 /* end confdefs.h. */
9807 #include <math.h>
9808 #ifdef HAVE_IEEEFP_H
9809 #include <ieeefp.h>
9810 #endif
9813 main ()
9815 qfpclass(0);
9817 return 0;
9819 _ACEOF
9820 rm -f conftest.$ac_objext
9821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9822 (eval $ac_compile) 2>&5
9823 ac_status=$?
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); } &&
9826 { ac_try='test -s conftest.$ac_objext'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828 (eval $ac_try) 2>&5
9829 ac_status=$?
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; }; then
9832 glibcxx_cv_func_qfpclass_use=yes
9833 else
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.$ac_ext >&5
9837 glibcxx_cv_func_qfpclass_use=no
9839 rm -f conftest.$ac_objext conftest.$ac_ext
9840 ac_ext=c
9841 ac_cpp='$CPP $CPPFLAGS'
9842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9851 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9853 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9855 for ac_func in qfpclass
9857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9858 echo "$as_me:$LINENO: checking for $ac_func" >&5
9859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9860 if eval "test \"\${$as_ac_var+set}\" = set"; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9862 else
9863 if test x$gcc_no_link = xyes; then
9864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9866 { (exit 1); exit 1; }; }
9868 cat >conftest.$ac_ext <<_ACEOF
9869 #line $LINENO "configure"
9870 /* confdefs.h. */
9871 _ACEOF
9872 cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 /* System header to define __stub macros and hopefully few prototypes,
9876 which can conflict with char $ac_func (); below.
9877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9878 <limits.h> exists even on freestanding compilers. */
9879 #ifdef __STDC__
9880 # include <limits.h>
9881 #else
9882 # include <assert.h>
9883 #endif
9884 /* Override any gcc2 internal prototype to avoid an error. */
9885 #ifdef __cplusplus
9886 extern "C"
9888 #endif
9889 /* We use char because int might match the return type of a gcc2
9890 builtin and then its argument prototype would still apply. */
9891 char $ac_func ();
9892 /* The GNU C library defines this for functions which it implements
9893 to always fail with ENOSYS. Some functions are actually named
9894 something starting with __ and the normal name is an alias. */
9895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9896 choke me
9897 #else
9898 char (*f) () = $ac_func;
9899 #endif
9900 #ifdef __cplusplus
9902 #endif
9905 main ()
9907 return f != $ac_func;
9909 return 0;
9911 _ACEOF
9912 rm -f conftest.$ac_objext conftest$ac_exeext
9913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9914 (eval $ac_link) 2>&5
9915 ac_status=$?
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); } &&
9918 { ac_try='test -s conftest$ac_exeext'
9919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9920 (eval $ac_try) 2>&5
9921 ac_status=$?
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); }; }; then
9924 eval "$as_ac_var=yes"
9925 else
9926 echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9929 eval "$as_ac_var=no"
9931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9935 if test `eval echo '${'$as_ac_var'}'` = yes; then
9936 cat >>confdefs.h <<_ACEOF
9937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9938 _ACEOF
9941 done
9943 else
9945 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9946 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9947 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9948 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9949 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 else
9954 ac_ext=cc
9955 ac_cpp='$CXXCPP $CPPFLAGS'
9956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9960 cat >conftest.$ac_ext <<_ACEOF
9961 #line $LINENO "configure"
9962 /* confdefs.h. */
9963 _ACEOF
9964 cat confdefs.h >>conftest.$ac_ext
9965 cat >>conftest.$ac_ext <<_ACEOF
9966 /* end confdefs.h. */
9967 #include <math.h>
9968 #ifdef HAVE_IEEEFP_H
9969 #include <ieeefp.h>
9970 #endif
9973 main ()
9975 _qfpclass(0);
9977 return 0;
9979 _ACEOF
9980 rm -f conftest.$ac_objext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9982 (eval $ac_compile) 2>&5
9983 ac_status=$?
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try='test -s conftest.$ac_objext'
9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9988 (eval $ac_try) 2>&5
9989 ac_status=$?
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 glibcxx_cv_func__qfpclass_use=yes
9993 else
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9997 glibcxx_cv_func__qfpclass_use=no
9999 rm -f conftest.$ac_objext conftest.$ac_ext
10000 ac_ext=c
10001 ac_cpp='$CPP $CPPFLAGS'
10002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10011 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10013 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10015 for ac_func in _qfpclass
10017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10018 echo "$as_me:$LINENO: checking for $ac_func" >&5
10019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10020 if eval "test \"\${$as_ac_var+set}\" = set"; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023 if test x$gcc_no_link = xyes; then
10024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10026 { (exit 1); exit 1; }; }
10028 cat >conftest.$ac_ext <<_ACEOF
10029 #line $LINENO "configure"
10030 /* confdefs.h. */
10031 _ACEOF
10032 cat confdefs.h >>conftest.$ac_ext
10033 cat >>conftest.$ac_ext <<_ACEOF
10034 /* end confdefs.h. */
10035 /* System header to define __stub macros and hopefully few prototypes,
10036 which can conflict with char $ac_func (); below.
10037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10038 <limits.h> exists even on freestanding compilers. */
10039 #ifdef __STDC__
10040 # include <limits.h>
10041 #else
10042 # include <assert.h>
10043 #endif
10044 /* Override any gcc2 internal prototype to avoid an error. */
10045 #ifdef __cplusplus
10046 extern "C"
10048 #endif
10049 /* We use char because int might match the return type of a gcc2
10050 builtin and then its argument prototype would still apply. */
10051 char $ac_func ();
10052 /* The GNU C library defines this for functions which it implements
10053 to always fail with ENOSYS. Some functions are actually named
10054 something starting with __ and the normal name is an alias. */
10055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10056 choke me
10057 #else
10058 char (*f) () = $ac_func;
10059 #endif
10060 #ifdef __cplusplus
10062 #endif
10065 main ()
10067 return f != $ac_func;
10069 return 0;
10071 _ACEOF
10072 rm -f conftest.$ac_objext conftest$ac_exeext
10073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10074 (eval $ac_link) 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } &&
10078 { ac_try='test -s conftest$ac_exeext'
10079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 (eval $ac_try) 2>&5
10081 ac_status=$?
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); }; }; then
10084 eval "$as_ac_var=yes"
10085 else
10086 echo "$as_me: failed program was:" >&5
10087 sed 's/^/| /' conftest.$ac_ext >&5
10089 eval "$as_ac_var=no"
10091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10095 if test `eval echo '${'$as_ac_var'}'` = yes; then
10096 cat >>confdefs.h <<_ACEOF
10097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10098 _ACEOF
10101 done
10108 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10109 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10110 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10111 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10113 else
10117 ac_ext=cc
10118 ac_cpp='$CXXCPP $CPPFLAGS'
10119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10123 cat >conftest.$ac_ext <<_ACEOF
10124 #line $LINENO "configure"
10125 /* confdefs.h. */
10126 _ACEOF
10127 cat confdefs.h >>conftest.$ac_ext
10128 cat >>conftest.$ac_ext <<_ACEOF
10129 /* end confdefs.h. */
10130 #include <math.h>
10132 main ()
10134 hypot(0, 0);
10136 return 0;
10138 _ACEOF
10139 rm -f conftest.$ac_objext
10140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10141 (eval $ac_compile) 2>&5
10142 ac_status=$?
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } &&
10145 { ac_try='test -s conftest.$ac_objext'
10146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 (eval $ac_try) 2>&5
10148 ac_status=$?
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; }; then
10151 glibcxx_cv_func_hypot_use=yes
10152 else
10153 echo "$as_me: failed program was:" >&5
10154 sed 's/^/| /' conftest.$ac_ext >&5
10156 glibcxx_cv_func_hypot_use=no
10158 rm -f conftest.$ac_objext conftest.$ac_ext
10159 ac_ext=c
10160 ac_cpp='$CPP $CPPFLAGS'
10161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10170 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10174 for ac_func in hypot
10176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10177 echo "$as_me:$LINENO: checking for $ac_func" >&5
10178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10179 if eval "test \"\${$as_ac_var+set}\" = set"; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 else
10182 if test x$gcc_no_link = xyes; then
10183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185 { (exit 1); exit 1; }; }
10187 cat >conftest.$ac_ext <<_ACEOF
10188 #line $LINENO "configure"
10189 /* confdefs.h. */
10190 _ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h. */
10194 /* System header to define __stub macros and hopefully few prototypes,
10195 which can conflict with char $ac_func (); below.
10196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10197 <limits.h> exists even on freestanding compilers. */
10198 #ifdef __STDC__
10199 # include <limits.h>
10200 #else
10201 # include <assert.h>
10202 #endif
10203 /* Override any gcc2 internal prototype to avoid an error. */
10204 #ifdef __cplusplus
10205 extern "C"
10207 #endif
10208 /* We use char because int might match the return type of a gcc2
10209 builtin and then its argument prototype would still apply. */
10210 char $ac_func ();
10211 /* The GNU C library defines this for functions which it implements
10212 to always fail with ENOSYS. Some functions are actually named
10213 something starting with __ and the normal name is an alias. */
10214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10215 choke me
10216 #else
10217 char (*f) () = $ac_func;
10218 #endif
10219 #ifdef __cplusplus
10221 #endif
10224 main ()
10226 return f != $ac_func;
10228 return 0;
10230 _ACEOF
10231 rm -f conftest.$ac_objext conftest$ac_exeext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10233 (eval $ac_link) 2>&5
10234 ac_status=$?
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } &&
10237 { ac_try='test -s conftest$ac_exeext'
10238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10239 (eval $ac_try) 2>&5
10240 ac_status=$?
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); }; }; then
10243 eval "$as_ac_var=yes"
10244 else
10245 echo "$as_me: failed program was:" >&5
10246 sed 's/^/| /' conftest.$ac_ext >&5
10248 eval "$as_ac_var=no"
10250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10254 if test `eval echo '${'$as_ac_var'}'` = yes; then
10255 cat >>confdefs.h <<_ACEOF
10256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10257 _ACEOF
10260 done
10262 else
10264 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10265 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10266 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10267 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 else
10273 ac_ext=cc
10274 ac_cpp='$CXXCPP $CPPFLAGS'
10275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10279 cat >conftest.$ac_ext <<_ACEOF
10280 #line $LINENO "configure"
10281 /* confdefs.h. */
10282 _ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10286 #include <math.h>
10288 main ()
10290 _hypot(0, 0);
10292 return 0;
10294 _ACEOF
10295 rm -f conftest.$ac_objext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297 (eval $ac_compile) 2>&5
10298 ac_status=$?
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try='test -s conftest.$ac_objext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10304 ac_status=$?
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 glibcxx_cv_func__hypot_use=yes
10308 else
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 glibcxx_cv_func__hypot_use=no
10314 rm -f conftest.$ac_objext conftest.$ac_ext
10315 ac_ext=c
10316 ac_cpp='$CPP $CPPFLAGS'
10317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10326 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10328 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10330 for ac_func in _hypot
10332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10333 echo "$as_me:$LINENO: checking for $ac_func" >&5
10334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10335 if eval "test \"\${$as_ac_var+set}\" = set"; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 else
10338 if test x$gcc_no_link = xyes; then
10339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10341 { (exit 1); exit 1; }; }
10343 cat >conftest.$ac_ext <<_ACEOF
10344 #line $LINENO "configure"
10345 /* confdefs.h. */
10346 _ACEOF
10347 cat confdefs.h >>conftest.$ac_ext
10348 cat >>conftest.$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10350 /* System header to define __stub macros and hopefully few prototypes,
10351 which can conflict with char $ac_func (); below.
10352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10353 <limits.h> exists even on freestanding compilers. */
10354 #ifdef __STDC__
10355 # include <limits.h>
10356 #else
10357 # include <assert.h>
10358 #endif
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 #ifdef __cplusplus
10361 extern "C"
10363 #endif
10364 /* We use char because int might match the return type of a gcc2
10365 builtin and then its argument prototype would still apply. */
10366 char $ac_func ();
10367 /* The GNU C library defines this for functions which it implements
10368 to always fail with ENOSYS. Some functions are actually named
10369 something starting with __ and the normal name is an alias. */
10370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10371 choke me
10372 #else
10373 char (*f) () = $ac_func;
10374 #endif
10375 #ifdef __cplusplus
10377 #endif
10380 main ()
10382 return f != $ac_func;
10384 return 0;
10386 _ACEOF
10387 rm -f conftest.$ac_objext conftest$ac_exeext
10388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10389 (eval $ac_link) 2>&5
10390 ac_status=$?
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } &&
10393 { ac_try='test -s conftest$ac_exeext'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10396 ac_status=$?
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; }; then
10399 eval "$as_ac_var=yes"
10400 else
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10404 eval "$as_ac_var=no"
10406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10410 if test `eval echo '${'$as_ac_var'}'` = yes; then
10411 cat >>confdefs.h <<_ACEOF
10412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10413 _ACEOF
10416 done
10423 echo "$as_me:$LINENO: checking for float trig functions" >&5
10424 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10425 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10431 ac_ext=cc
10432 ac_cpp='$CXXCPP $CPPFLAGS'
10433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10437 cat >conftest.$ac_ext <<_ACEOF
10438 #line $LINENO "configure"
10439 /* confdefs.h. */
10440 _ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #include <math.h>
10446 main ()
10448 `for x in acosf asinf atanf \
10449 cosf sinf tanf \
10450 coshf sinhf tanhf; do echo "$x (0);"; done`
10452 return 0;
10454 _ACEOF
10455 rm -f conftest.$ac_objext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457 (eval $ac_compile) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } &&
10461 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
10467 glibcxx_cv_func_float_trig_use=yes
10468 else
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10472 glibcxx_cv_func_float_trig_use=no
10474 rm -f conftest.$ac_objext conftest.$ac_ext
10475 ac_ext=c
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10484 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10485 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10495 for ac_func in acosf asinf atanf \
10496 cosf sinf tanf \
10497 coshf sinhf tanhf
10499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10500 echo "$as_me:$LINENO: checking for $ac_func" >&5
10501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10502 if eval "test \"\${$as_ac_var+set}\" = set"; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 else
10505 if test x$gcc_no_link = xyes; then
10506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10508 { (exit 1); exit 1; }; }
10510 cat >conftest.$ac_ext <<_ACEOF
10511 #line $LINENO "configure"
10512 /* confdefs.h. */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517 /* System header to define __stub macros and hopefully few prototypes,
10518 which can conflict with char $ac_func (); below.
10519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10520 <limits.h> exists even on freestanding compilers. */
10521 #ifdef __STDC__
10522 # include <limits.h>
10523 #else
10524 # include <assert.h>
10525 #endif
10526 /* Override any gcc2 internal prototype to avoid an error. */
10527 #ifdef __cplusplus
10528 extern "C"
10530 #endif
10531 /* We use char because int might match the return type of a gcc2
10532 builtin and then its argument prototype would still apply. */
10533 char $ac_func ();
10534 /* The GNU C library defines this for functions which it implements
10535 to always fail with ENOSYS. Some functions are actually named
10536 something starting with __ and the normal name is an alias. */
10537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10538 choke me
10539 #else
10540 char (*f) () = $ac_func;
10541 #endif
10542 #ifdef __cplusplus
10544 #endif
10547 main ()
10549 return f != $ac_func;
10551 return 0;
10553 _ACEOF
10554 rm -f conftest.$ac_objext conftest$ac_exeext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10563 ac_status=$?
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10566 eval "$as_ac_var=yes"
10567 else
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 eval "$as_ac_var=no"
10573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10577 if test `eval echo '${'$as_ac_var'}'` = yes; then
10578 cat >>confdefs.h <<_ACEOF
10579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10580 _ACEOF
10583 done
10588 echo "$as_me:$LINENO: checking for float round functions" >&5
10589 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10590 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 else
10596 ac_ext=cc
10597 ac_cpp='$CXXCPP $CPPFLAGS'
10598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10602 cat >conftest.$ac_ext <<_ACEOF
10603 #line $LINENO "configure"
10604 /* confdefs.h. */
10605 _ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609 #include <math.h>
10611 main ()
10613 `for x in ceilf floorf; do echo "$x (0);"; done`
10615 return 0;
10617 _ACEOF
10618 rm -f conftest.$ac_objext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10620 (eval $ac_compile) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try='test -s conftest.$ac_objext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10627 ac_status=$?
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 glibcxx_cv_func_float_round_use=yes
10631 else
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10635 glibcxx_cv_func_float_round_use=no
10637 rm -f conftest.$ac_objext conftest.$ac_ext
10638 ac_ext=c
10639 ac_cpp='$CPP $CPPFLAGS'
10640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10647 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10648 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10651 for ac_func in ceilf floorf
10653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10654 echo "$as_me:$LINENO: checking for $ac_func" >&5
10655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10656 if eval "test \"\${$as_ac_var+set}\" = set"; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 else
10659 if test x$gcc_no_link = xyes; then
10660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10662 { (exit 1); exit 1; }; }
10664 cat >conftest.$ac_ext <<_ACEOF
10665 #line $LINENO "configure"
10666 /* confdefs.h. */
10667 _ACEOF
10668 cat confdefs.h >>conftest.$ac_ext
10669 cat >>conftest.$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10671 /* System header to define __stub macros and hopefully few prototypes,
10672 which can conflict with char $ac_func (); below.
10673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10674 <limits.h> exists even on freestanding compilers. */
10675 #ifdef __STDC__
10676 # include <limits.h>
10677 #else
10678 # include <assert.h>
10679 #endif
10680 /* Override any gcc2 internal prototype to avoid an error. */
10681 #ifdef __cplusplus
10682 extern "C"
10684 #endif
10685 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */
10687 char $ac_func ();
10688 /* The GNU C library defines this for functions which it implements
10689 to always fail with ENOSYS. Some functions are actually named
10690 something starting with __ and the normal name is an alias. */
10691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10692 choke me
10693 #else
10694 char (*f) () = $ac_func;
10695 #endif
10696 #ifdef __cplusplus
10698 #endif
10701 main ()
10703 return f != $ac_func;
10705 return 0;
10707 _ACEOF
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10710 (eval $ac_link) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } &&
10714 { ac_try='test -s conftest$ac_exeext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 eval "$as_ac_var=yes"
10721 else
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 eval "$as_ac_var=no"
10727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10731 if test `eval echo '${'$as_ac_var'}'` = yes; then
10732 cat >>confdefs.h <<_ACEOF
10733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10734 _ACEOF
10737 done
10743 echo "$as_me:$LINENO: checking for expf declaration" >&5
10744 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10745 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10746 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 else
10752 ac_ext=cc
10753 ac_cpp='$CXXCPP $CPPFLAGS'
10754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10758 cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <math.h>
10766 #ifdef HAVE_IEEEFP_H
10767 #include <ieeefp.h>
10768 #endif
10771 main ()
10773 expf(0);
10775 return 0;
10777 _ACEOF
10778 rm -f conftest.$ac_objext
10779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10780 (eval $ac_compile) 2>&5
10781 ac_status=$?
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -s conftest.$ac_objext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10787 ac_status=$?
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 glibcxx_cv_func_expf_use=yes
10791 else
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 glibcxx_cv_func_expf_use=no
10797 rm -f conftest.$ac_objext conftest.$ac_ext
10798 ac_ext=c
10799 ac_cpp='$CPP $CPPFLAGS'
10800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10809 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10811 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10813 for ac_func in expf
10815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10816 echo "$as_me:$LINENO: checking for $ac_func" >&5
10817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10818 if eval "test \"\${$as_ac_var+set}\" = set"; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 else
10821 if test x$gcc_no_link = xyes; then
10822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10824 { (exit 1); exit 1; }; }
10826 cat >conftest.$ac_ext <<_ACEOF
10827 #line $LINENO "configure"
10828 /* confdefs.h. */
10829 _ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833 /* System header to define __stub macros and hopefully few prototypes,
10834 which can conflict with char $ac_func (); below.
10835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10836 <limits.h> exists even on freestanding compilers. */
10837 #ifdef __STDC__
10838 # include <limits.h>
10839 #else
10840 # include <assert.h>
10841 #endif
10842 /* Override any gcc2 internal prototype to avoid an error. */
10843 #ifdef __cplusplus
10844 extern "C"
10846 #endif
10847 /* We use char because int might match the return type of a gcc2
10848 builtin and then its argument prototype would still apply. */
10849 char $ac_func ();
10850 /* The GNU C library defines this for functions which it implements
10851 to always fail with ENOSYS. Some functions are actually named
10852 something starting with __ and the normal name is an alias. */
10853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10854 choke me
10855 #else
10856 char (*f) () = $ac_func;
10857 #endif
10858 #ifdef __cplusplus
10860 #endif
10863 main ()
10865 return f != $ac_func;
10867 return 0;
10869 _ACEOF
10870 rm -f conftest.$ac_objext conftest$ac_exeext
10871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10872 (eval $ac_link) 2>&5
10873 ac_status=$?
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); } &&
10876 { ac_try='test -s conftest$ac_exeext'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10879 ac_status=$?
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; }; then
10882 eval "$as_ac_var=yes"
10883 else
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10887 eval "$as_ac_var=no"
10889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10893 if test `eval echo '${'$as_ac_var'}'` = yes; then
10894 cat >>confdefs.h <<_ACEOF
10895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10896 _ACEOF
10899 done
10901 else
10903 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10904 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10905 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10906 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10912 ac_ext=cc
10913 ac_cpp='$CXXCPP $CPPFLAGS'
10914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10918 cat >conftest.$ac_ext <<_ACEOF
10919 #line $LINENO "configure"
10920 /* confdefs.h. */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 #include <math.h>
10926 #ifdef HAVE_IEEEFP_H
10927 #include <ieeefp.h>
10928 #endif
10931 main ()
10933 _expf(0);
10935 return 0;
10937 _ACEOF
10938 rm -f conftest.$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940 (eval $ac_compile) 2>&5
10941 ac_status=$?
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } &&
10944 { ac_try='test -s conftest.$ac_objext'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10947 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 glibcxx_cv_func__expf_use=yes
10951 else
10952 echo "$as_me: failed program was:" >&5
10953 sed 's/^/| /' conftest.$ac_ext >&5
10955 glibcxx_cv_func__expf_use=no
10957 rm -f conftest.$ac_objext conftest.$ac_ext
10958 ac_ext=c
10959 ac_cpp='$CPP $CPPFLAGS'
10960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10969 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10971 if test x$glibcxx_cv_func__expf_use = x"yes"; then
10973 for ac_func in _expf
10975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10976 echo "$as_me:$LINENO: checking for $ac_func" >&5
10977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10978 if eval "test \"\${$as_ac_var+set}\" = set"; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 else
10981 if test x$gcc_no_link = xyes; then
10982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10984 { (exit 1); exit 1; }; }
10986 cat >conftest.$ac_ext <<_ACEOF
10987 #line $LINENO "configure"
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 /* System header to define __stub macros and hopefully few prototypes,
10994 which can conflict with char $ac_func (); below.
10995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10996 <limits.h> exists even on freestanding compilers. */
10997 #ifdef __STDC__
10998 # include <limits.h>
10999 #else
11000 # include <assert.h>
11001 #endif
11002 /* Override any gcc2 internal prototype to avoid an error. */
11003 #ifdef __cplusplus
11004 extern "C"
11006 #endif
11007 /* We use char because int might match the return type of a gcc2
11008 builtin and then its argument prototype would still apply. */
11009 char $ac_func ();
11010 /* The GNU C library defines this for functions which it implements
11011 to always fail with ENOSYS. Some functions are actually named
11012 something starting with __ and the normal name is an alias. */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11014 choke me
11015 #else
11016 char (*f) () = $ac_func;
11017 #endif
11018 #ifdef __cplusplus
11020 #endif
11023 main ()
11025 return f != $ac_func;
11027 return 0;
11029 _ACEOF
11030 rm -f conftest.$ac_objext conftest$ac_exeext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11032 (eval $ac_link) 2>&5
11033 ac_status=$?
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try='test -s conftest$ac_exeext'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11039 ac_status=$?
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; }; then
11042 eval "$as_ac_var=yes"
11043 else
11044 echo "$as_me: failed program was:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11047 eval "$as_ac_var=no"
11049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11053 if test `eval echo '${'$as_ac_var'}'` = yes; then
11054 cat >>confdefs.h <<_ACEOF
11055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11056 _ACEOF
11059 done
11066 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11067 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11068 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11069 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 else
11075 ac_ext=cc
11076 ac_cpp='$CXXCPP $CPPFLAGS'
11077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11081 cat >conftest.$ac_ext <<_ACEOF
11082 #line $LINENO "configure"
11083 /* confdefs.h. */
11084 _ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 #include <math.h>
11089 #ifdef HAVE_IEEEFP_H
11090 #include <ieeefp.h>
11091 #endif
11094 main ()
11096 isnanf(0);
11098 return 0;
11100 _ACEOF
11101 rm -f conftest.$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>&5
11104 ac_status=$?
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); } &&
11107 { ac_try='test -s conftest.$ac_objext'
11108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11109 (eval $ac_try) 2>&5
11110 ac_status=$?
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }; }; then
11113 glibcxx_cv_func_isnanf_use=yes
11114 else
11115 echo "$as_me: failed program was:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5
11118 glibcxx_cv_func_isnanf_use=no
11120 rm -f conftest.$ac_objext conftest.$ac_ext
11121 ac_ext=c
11122 ac_cpp='$CPP $CPPFLAGS'
11123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11131 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11132 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11134 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11136 for ac_func in isnanf
11138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11139 echo "$as_me:$LINENO: checking for $ac_func" >&5
11140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11141 if eval "test \"\${$as_ac_var+set}\" = set"; then
11142 echo $ECHO_N "(cached) $ECHO_C" >&6
11143 else
11144 if test x$gcc_no_link = xyes; then
11145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11147 { (exit 1); exit 1; }; }
11149 cat >conftest.$ac_ext <<_ACEOF
11150 #line $LINENO "configure"
11151 /* confdefs.h. */
11152 _ACEOF
11153 cat confdefs.h >>conftest.$ac_ext
11154 cat >>conftest.$ac_ext <<_ACEOF
11155 /* end confdefs.h. */
11156 /* System header to define __stub macros and hopefully few prototypes,
11157 which can conflict with char $ac_func (); below.
11158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11159 <limits.h> exists even on freestanding compilers. */
11160 #ifdef __STDC__
11161 # include <limits.h>
11162 #else
11163 # include <assert.h>
11164 #endif
11165 /* Override any gcc2 internal prototype to avoid an error. */
11166 #ifdef __cplusplus
11167 extern "C"
11169 #endif
11170 /* We use char because int might match the return type of a gcc2
11171 builtin and then its argument prototype would still apply. */
11172 char $ac_func ();
11173 /* The GNU C library defines this for functions which it implements
11174 to always fail with ENOSYS. Some functions are actually named
11175 something starting with __ and the normal name is an alias. */
11176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11177 choke me
11178 #else
11179 char (*f) () = $ac_func;
11180 #endif
11181 #ifdef __cplusplus
11183 #endif
11186 main ()
11188 return f != $ac_func;
11190 return 0;
11192 _ACEOF
11193 rm -f conftest.$ac_objext conftest$ac_exeext
11194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11195 (eval $ac_link) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); } &&
11199 { ac_try='test -s conftest$ac_exeext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11202 ac_status=$?
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 eval "$as_ac_var=yes"
11206 else
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11210 eval "$as_ac_var=no"
11212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11216 if test `eval echo '${'$as_ac_var'}'` = yes; then
11217 cat >>confdefs.h <<_ACEOF
11218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11219 _ACEOF
11222 done
11224 else
11226 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11227 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11228 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11229 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11230 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 else
11235 ac_ext=cc
11236 ac_cpp='$CXXCPP $CPPFLAGS'
11237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11241 cat >conftest.$ac_ext <<_ACEOF
11242 #line $LINENO "configure"
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 #include <math.h>
11249 #ifdef HAVE_IEEEFP_H
11250 #include <ieeefp.h>
11251 #endif
11254 main ()
11256 _isnanf(0);
11258 return 0;
11260 _ACEOF
11261 rm -f conftest.$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>&5
11264 ac_status=$?
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11270 ac_status=$?
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 glibcxx_cv_func__isnanf_use=yes
11274 else
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 glibcxx_cv_func__isnanf_use=no
11280 rm -f conftest.$ac_objext conftest.$ac_ext
11281 ac_ext=c
11282 ac_cpp='$CPP $CPPFLAGS'
11283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11292 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11294 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11296 for ac_func in _isnanf
11298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11299 echo "$as_me:$LINENO: checking for $ac_func" >&5
11300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11301 if eval "test \"\${$as_ac_var+set}\" = set"; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304 if test x$gcc_no_link = xyes; then
11305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307 { (exit 1); exit 1; }; }
11309 cat >conftest.$ac_ext <<_ACEOF
11310 #line $LINENO "configure"
11311 /* confdefs.h. */
11312 _ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11316 /* System header to define __stub macros and hopefully few prototypes,
11317 which can conflict with char $ac_func (); below.
11318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11319 <limits.h> exists even on freestanding compilers. */
11320 #ifdef __STDC__
11321 # include <limits.h>
11322 #else
11323 # include <assert.h>
11324 #endif
11325 /* Override any gcc2 internal prototype to avoid an error. */
11326 #ifdef __cplusplus
11327 extern "C"
11329 #endif
11330 /* We use char because int might match the return type of a gcc2
11331 builtin and then its argument prototype would still apply. */
11332 char $ac_func ();
11333 /* The GNU C library defines this for functions which it implements
11334 to always fail with ENOSYS. Some functions are actually named
11335 something starting with __ and the normal name is an alias. */
11336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11337 choke me
11338 #else
11339 char (*f) () = $ac_func;
11340 #endif
11341 #ifdef __cplusplus
11343 #endif
11346 main ()
11348 return f != $ac_func;
11350 return 0;
11352 _ACEOF
11353 rm -f conftest.$ac_objext conftest$ac_exeext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11355 (eval $ac_link) 2>&5
11356 ac_status=$?
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); } &&
11359 { ac_try='test -s conftest$ac_exeext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11362 ac_status=$?
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 eval "$as_ac_var=yes"
11366 else
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.$ac_ext >&5
11370 eval "$as_ac_var=no"
11372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11376 if test `eval echo '${'$as_ac_var'}'` = yes; then
11377 cat >>confdefs.h <<_ACEOF
11378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11379 _ACEOF
11382 done
11389 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11390 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11391 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11392 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 else
11398 ac_ext=cc
11399 ac_cpp='$CXXCPP $CPPFLAGS'
11400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11404 cat >conftest.$ac_ext <<_ACEOF
11405 #line $LINENO "configure"
11406 /* confdefs.h. */
11407 _ACEOF
11408 cat confdefs.h >>conftest.$ac_ext
11409 cat >>conftest.$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11411 #include <math.h>
11412 #ifdef HAVE_IEEEFP_H
11413 #include <ieeefp.h>
11414 #endif
11417 main ()
11419 isinff(0);
11421 return 0;
11423 _ACEOF
11424 rm -f conftest.$ac_objext
11425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11426 (eval $ac_compile) 2>&5
11427 ac_status=$?
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } &&
11430 { ac_try='test -s conftest.$ac_objext'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11433 ac_status=$?
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; }; then
11436 glibcxx_cv_func_isinff_use=yes
11437 else
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.$ac_ext >&5
11441 glibcxx_cv_func_isinff_use=no
11443 rm -f conftest.$ac_objext conftest.$ac_ext
11444 ac_ext=c
11445 ac_cpp='$CPP $CPPFLAGS'
11446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11455 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11457 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11459 for ac_func in isinff
11461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11462 echo "$as_me:$LINENO: checking for $ac_func" >&5
11463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11464 if eval "test \"\${$as_ac_var+set}\" = set"; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467 if test x$gcc_no_link = xyes; then
11468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11470 { (exit 1); exit 1; }; }
11472 cat >conftest.$ac_ext <<_ACEOF
11473 #line $LINENO "configure"
11474 /* confdefs.h. */
11475 _ACEOF
11476 cat confdefs.h >>conftest.$ac_ext
11477 cat >>conftest.$ac_ext <<_ACEOF
11478 /* end confdefs.h. */
11479 /* System header to define __stub macros and hopefully few prototypes,
11480 which can conflict with char $ac_func (); below.
11481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11482 <limits.h> exists even on freestanding compilers. */
11483 #ifdef __STDC__
11484 # include <limits.h>
11485 #else
11486 # include <assert.h>
11487 #endif
11488 /* Override any gcc2 internal prototype to avoid an error. */
11489 #ifdef __cplusplus
11490 extern "C"
11492 #endif
11493 /* We use char because int might match the return type of a gcc2
11494 builtin and then its argument prototype would still apply. */
11495 char $ac_func ();
11496 /* The GNU C library defines this for functions which it implements
11497 to always fail with ENOSYS. Some functions are actually named
11498 something starting with __ and the normal name is an alias. */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 choke me
11501 #else
11502 char (*f) () = $ac_func;
11503 #endif
11504 #ifdef __cplusplus
11506 #endif
11509 main ()
11511 return f != $ac_func;
11513 return 0;
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518 (eval $ac_link) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try='test -s conftest$ac_exeext'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11525 ac_status=$?
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; }; then
11528 eval "$as_ac_var=yes"
11529 else
11530 echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11533 eval "$as_ac_var=no"
11535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11539 if test `eval echo '${'$as_ac_var'}'` = yes; then
11540 cat >>confdefs.h <<_ACEOF
11541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11542 _ACEOF
11545 done
11547 else
11549 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11550 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11551 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11552 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 else
11558 ac_ext=cc
11559 ac_cpp='$CXXCPP $CPPFLAGS'
11560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11564 cat >conftest.$ac_ext <<_ACEOF
11565 #line $LINENO "configure"
11566 /* confdefs.h. */
11567 _ACEOF
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11571 #include <math.h>
11572 #ifdef HAVE_IEEEFP_H
11573 #include <ieeefp.h>
11574 #endif
11577 main ()
11579 _isinff(0);
11581 return 0;
11583 _ACEOF
11584 rm -f conftest.$ac_objext
11585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11586 (eval $ac_compile) 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__isinff_use=yes
11597 else
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 glibcxx_cv_func__isinff_use=no
11603 rm -f 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
11614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11615 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11617 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11619 for ac_func in _isinff
11621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11622 echo "$as_me:$LINENO: checking for $ac_func" >&5
11623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11624 if eval "test \"\${$as_ac_var+set}\" = set"; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 else
11627 if test x$gcc_no_link = xyes; then
11628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11630 { (exit 1); exit 1; }; }
11632 cat >conftest.$ac_ext <<_ACEOF
11633 #line $LINENO "configure"
11634 /* confdefs.h. */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11639 /* System header to define __stub macros and hopefully few prototypes,
11640 which can conflict with char $ac_func (); below.
11641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11642 <limits.h> exists even on freestanding compilers. */
11643 #ifdef __STDC__
11644 # include <limits.h>
11645 #else
11646 # include <assert.h>
11647 #endif
11648 /* Override any gcc2 internal prototype to avoid an error. */
11649 #ifdef __cplusplus
11650 extern "C"
11652 #endif
11653 /* We use char because int might match the return type of a gcc2
11654 builtin and then its argument prototype would still apply. */
11655 char $ac_func ();
11656 /* The GNU C library defines this for functions which it implements
11657 to always fail with ENOSYS. Some functions are actually named
11658 something starting with __ and the normal name is an alias. */
11659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11660 choke me
11661 #else
11662 char (*f) () = $ac_func;
11663 #endif
11664 #ifdef __cplusplus
11666 #endif
11669 main ()
11671 return f != $ac_func;
11673 return 0;
11675 _ACEOF
11676 rm -f conftest.$ac_objext conftest$ac_exeext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678 (eval $ac_link) 2>&5
11679 ac_status=$?
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try='test -s conftest$ac_exeext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 eval "$as_ac_var=yes"
11689 else
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11693 eval "$as_ac_var=no"
11695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11699 if test `eval echo '${'$as_ac_var'}'` = yes; then
11700 cat >>confdefs.h <<_ACEOF
11701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11702 _ACEOF
11705 done
11712 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11713 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11714 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11715 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 else
11721 ac_ext=cc
11722 ac_cpp='$CXXCPP $CPPFLAGS'
11723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11727 cat >conftest.$ac_ext <<_ACEOF
11728 #line $LINENO "configure"
11729 /* confdefs.h. */
11730 _ACEOF
11731 cat confdefs.h >>conftest.$ac_ext
11732 cat >>conftest.$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11734 #include <math.h>
11736 main ()
11738 atan2f(0, 0);
11740 return 0;
11742 _ACEOF
11743 rm -f conftest.$ac_objext
11744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11745 (eval $ac_compile) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -s conftest.$ac_objext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11752 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 glibcxx_cv_func_atan2f_use=yes
11756 else
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11760 glibcxx_cv_func_atan2f_use=no
11762 rm -f conftest.$ac_objext conftest.$ac_ext
11763 ac_ext=c
11764 ac_cpp='$CPP $CPPFLAGS'
11765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11774 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11776 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11778 for ac_func in atan2f
11780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11781 echo "$as_me:$LINENO: checking for $ac_func" >&5
11782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11783 if eval "test \"\${$as_ac_var+set}\" = set"; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 else
11786 if test x$gcc_no_link = xyes; then
11787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11789 { (exit 1); exit 1; }; }
11791 cat >conftest.$ac_ext <<_ACEOF
11792 #line $LINENO "configure"
11793 /* confdefs.h. */
11794 _ACEOF
11795 cat confdefs.h >>conftest.$ac_ext
11796 cat >>conftest.$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11798 /* System header to define __stub macros and hopefully few prototypes,
11799 which can conflict with char $ac_func (); below.
11800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11801 <limits.h> exists even on freestanding compilers. */
11802 #ifdef __STDC__
11803 # include <limits.h>
11804 #else
11805 # include <assert.h>
11806 #endif
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 #ifdef __cplusplus
11809 extern "C"
11811 #endif
11812 /* We use char because int might match the return type of a gcc2
11813 builtin and then its argument prototype would still apply. */
11814 char $ac_func ();
11815 /* The GNU C library defines this for functions which it implements
11816 to always fail with ENOSYS. Some functions are actually named
11817 something starting with __ and the normal name is an alias. */
11818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11819 choke me
11820 #else
11821 char (*f) () = $ac_func;
11822 #endif
11823 #ifdef __cplusplus
11825 #endif
11828 main ()
11830 return f != $ac_func;
11832 return 0;
11834 _ACEOF
11835 rm -f conftest.$ac_objext conftest$ac_exeext
11836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11837 (eval $ac_link) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } &&
11841 { ac_try='test -s conftest$ac_exeext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 eval "$as_ac_var=yes"
11848 else
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11852 eval "$as_ac_var=no"
11854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11858 if test `eval echo '${'$as_ac_var'}'` = yes; then
11859 cat >>confdefs.h <<_ACEOF
11860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11861 _ACEOF
11864 done
11866 else
11868 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11869 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11870 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11871 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11877 ac_ext=cc
11878 ac_cpp='$CXXCPP $CPPFLAGS'
11879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11883 cat >conftest.$ac_ext <<_ACEOF
11884 #line $LINENO "configure"
11885 /* confdefs.h. */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 #include <math.h>
11892 main ()
11894 _atan2f(0, 0);
11896 return 0;
11898 _ACEOF
11899 rm -f conftest.$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>&5
11902 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try='test -s conftest.$ac_objext'
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5
11908 ac_status=$?
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; }; then
11911 glibcxx_cv_func__atan2f_use=yes
11912 else
11913 echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11916 glibcxx_cv_func__atan2f_use=no
11918 rm -f conftest.$ac_objext conftest.$ac_ext
11919 ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11930 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11932 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11934 for ac_func in _atan2f
11936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937 echo "$as_me:$LINENO: checking for $ac_func" >&5
11938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11939 if eval "test \"\${$as_ac_var+set}\" = set"; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942 if test x$gcc_no_link = xyes; then
11943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11945 { (exit 1); exit 1; }; }
11947 cat >conftest.$ac_ext <<_ACEOF
11948 #line $LINENO "configure"
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 /* System header to define __stub macros and hopefully few prototypes,
11955 which can conflict with char $ac_func (); below.
11956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11957 <limits.h> exists even on freestanding compilers. */
11958 #ifdef __STDC__
11959 # include <limits.h>
11960 #else
11961 # include <assert.h>
11962 #endif
11963 /* Override any gcc2 internal prototype to avoid an error. */
11964 #ifdef __cplusplus
11965 extern "C"
11967 #endif
11968 /* We use char because int might match the return type of a gcc2
11969 builtin and then its argument prototype would still apply. */
11970 char $ac_func ();
11971 /* The GNU C library defines this for functions which it implements
11972 to always fail with ENOSYS. Some functions are actually named
11973 something starting with __ and the normal name is an alias. */
11974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 choke me
11976 #else
11977 char (*f) () = $ac_func;
11978 #endif
11979 #ifdef __cplusplus
11981 #endif
11984 main ()
11986 return f != $ac_func;
11988 return 0;
11990 _ACEOF
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993 (eval $ac_link) 2>&5
11994 ac_status=$?
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -s conftest$ac_exeext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12000 ac_status=$?
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12003 eval "$as_ac_var=yes"
12004 else
12005 echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12008 eval "$as_ac_var=no"
12010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12014 if test `eval echo '${'$as_ac_var'}'` = yes; then
12015 cat >>confdefs.h <<_ACEOF
12016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12017 _ACEOF
12020 done
12027 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12028 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12029 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12030 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 else
12036 ac_ext=cc
12037 ac_cpp='$CXXCPP $CPPFLAGS'
12038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12042 cat >conftest.$ac_ext <<_ACEOF
12043 #line $LINENO "configure"
12044 /* confdefs.h. */
12045 _ACEOF
12046 cat confdefs.h >>conftest.$ac_ext
12047 cat >>conftest.$ac_ext <<_ACEOF
12048 /* end confdefs.h. */
12049 #include <math.h>
12050 #ifdef HAVE_IEEEFP_H
12051 #include <ieeefp.h>
12052 #endif
12055 main ()
12057 fabsf(0);
12059 return 0;
12061 _ACEOF
12062 rm -f conftest.$ac_objext
12063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12064 (eval $ac_compile) 2>&5
12065 ac_status=$?
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try='test -s conftest.$ac_objext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 glibcxx_cv_func_fabsf_use=yes
12075 else
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.$ac_ext >&5
12079 glibcxx_cv_func_fabsf_use=no
12081 rm -f conftest.$ac_objext conftest.$ac_ext
12082 ac_ext=c
12083 ac_cpp='$CPP $CPPFLAGS'
12084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12093 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12095 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12097 for ac_func in fabsf
12099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12100 echo "$as_me:$LINENO: checking for $ac_func" >&5
12101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12102 if eval "test \"\${$as_ac_var+set}\" = set"; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 if test x$gcc_no_link = xyes; then
12106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12108 { (exit 1); exit 1; }; }
12110 cat >conftest.$ac_ext <<_ACEOF
12111 #line $LINENO "configure"
12112 /* confdefs.h. */
12113 _ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 /* System header to define __stub macros and hopefully few prototypes,
12118 which can conflict with char $ac_func (); below.
12119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12120 <limits.h> exists even on freestanding compilers. */
12121 #ifdef __STDC__
12122 # include <limits.h>
12123 #else
12124 # include <assert.h>
12125 #endif
12126 /* Override any gcc2 internal prototype to avoid an error. */
12127 #ifdef __cplusplus
12128 extern "C"
12130 #endif
12131 /* We use char because int might match the return type of a gcc2
12132 builtin and then its argument prototype would still apply. */
12133 char $ac_func ();
12134 /* The GNU C library defines this for functions which it implements
12135 to always fail with ENOSYS. Some functions are actually named
12136 something starting with __ and the normal name is an alias. */
12137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12138 choke me
12139 #else
12140 char (*f) () = $ac_func;
12141 #endif
12142 #ifdef __cplusplus
12144 #endif
12147 main ()
12149 return f != $ac_func;
12151 return 0;
12153 _ACEOF
12154 rm -f conftest.$ac_objext conftest$ac_exeext
12155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12156 (eval $ac_link) 2>&5
12157 ac_status=$?
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -s conftest$ac_exeext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12163 ac_status=$?
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 eval "$as_ac_var=yes"
12167 else
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.$ac_ext >&5
12171 eval "$as_ac_var=no"
12173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12177 if test `eval echo '${'$as_ac_var'}'` = yes; then
12178 cat >>confdefs.h <<_ACEOF
12179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12180 _ACEOF
12183 done
12185 else
12187 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12188 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12189 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12190 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12196 ac_ext=cc
12197 ac_cpp='$CXXCPP $CPPFLAGS'
12198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12202 cat >conftest.$ac_ext <<_ACEOF
12203 #line $LINENO "configure"
12204 /* confdefs.h. */
12205 _ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 #include <math.h>
12210 #ifdef HAVE_IEEEFP_H
12211 #include <ieeefp.h>
12212 #endif
12215 main ()
12217 _fabsf(0);
12219 return 0;
12221 _ACEOF
12222 rm -f conftest.$ac_objext
12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224 (eval $ac_compile) 2>&5
12225 ac_status=$?
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12231 ac_status=$?
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 glibcxx_cv_func__fabsf_use=yes
12235 else
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5
12239 glibcxx_cv_func__fabsf_use=no
12241 rm -f conftest.$ac_objext conftest.$ac_ext
12242 ac_ext=c
12243 ac_cpp='$CPP $CPPFLAGS'
12244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12253 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12255 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12257 for ac_func in _fabsf
12259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12260 echo "$as_me:$LINENO: checking for $ac_func" >&5
12261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12262 if eval "test \"\${$as_ac_var+set}\" = set"; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 else
12265 if test x$gcc_no_link = xyes; then
12266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12268 { (exit 1); exit 1; }; }
12270 cat >conftest.$ac_ext <<_ACEOF
12271 #line $LINENO "configure"
12272 /* confdefs.h. */
12273 _ACEOF
12274 cat confdefs.h >>conftest.$ac_ext
12275 cat >>conftest.$ac_ext <<_ACEOF
12276 /* end confdefs.h. */
12277 /* System header to define __stub macros and hopefully few prototypes,
12278 which can conflict with char $ac_func (); below.
12279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12280 <limits.h> exists even on freestanding compilers. */
12281 #ifdef __STDC__
12282 # include <limits.h>
12283 #else
12284 # include <assert.h>
12285 #endif
12286 /* Override any gcc2 internal prototype to avoid an error. */
12287 #ifdef __cplusplus
12288 extern "C"
12290 #endif
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12293 char $ac_func ();
12294 /* The GNU C library defines this for functions which it implements
12295 to always fail with ENOSYS. Some functions are actually named
12296 something starting with __ and the normal name is an alias. */
12297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12298 choke me
12299 #else
12300 char (*f) () = $ac_func;
12301 #endif
12302 #ifdef __cplusplus
12304 #endif
12307 main ()
12309 return f != $ac_func;
12311 return 0;
12313 _ACEOF
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12316 (eval $ac_link) 2>&5
12317 ac_status=$?
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -s conftest$ac_exeext'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12323 ac_status=$?
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; }; then
12326 eval "$as_ac_var=yes"
12327 else
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12331 eval "$as_ac_var=no"
12333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12337 if test `eval echo '${'$as_ac_var'}'` = yes; then
12338 cat >>confdefs.h <<_ACEOF
12339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12340 _ACEOF
12343 done
12350 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12351 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12352 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12353 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 else
12359 ac_ext=cc
12360 ac_cpp='$CXXCPP $CPPFLAGS'
12361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12365 cat >conftest.$ac_ext <<_ACEOF
12366 #line $LINENO "configure"
12367 /* confdefs.h. */
12368 _ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 #include <math.h>
12374 main ()
12376 fmodf(0, 0);
12378 return 0;
12380 _ACEOF
12381 rm -f conftest.$ac_objext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383 (eval $ac_compile) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } &&
12387 { ac_try='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 glibcxx_cv_func_fmodf_use=yes
12394 else
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.$ac_ext >&5
12398 glibcxx_cv_func_fmodf_use=no
12400 rm -f conftest.$ac_objext conftest.$ac_ext
12401 ac_ext=c
12402 ac_cpp='$CPP $CPPFLAGS'
12403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12412 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12414 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12416 for ac_func in fmodf
12418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12419 echo "$as_me:$LINENO: checking for $ac_func" >&5
12420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12421 if eval "test \"\${$as_ac_var+set}\" = set"; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 else
12424 if test x$gcc_no_link = xyes; then
12425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12427 { (exit 1); exit 1; }; }
12429 cat >conftest.$ac_ext <<_ACEOF
12430 #line $LINENO "configure"
12431 /* confdefs.h. */
12432 _ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12436 /* System header to define __stub macros and hopefully few prototypes,
12437 which can conflict with char $ac_func (); below.
12438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12439 <limits.h> exists even on freestanding compilers. */
12440 #ifdef __STDC__
12441 # include <limits.h>
12442 #else
12443 # include <assert.h>
12444 #endif
12445 /* Override any gcc2 internal prototype to avoid an error. */
12446 #ifdef __cplusplus
12447 extern "C"
12449 #endif
12450 /* We use char because int might match the return type of a gcc2
12451 builtin and then its argument prototype would still apply. */
12452 char $ac_func ();
12453 /* The GNU C library defines this for functions which it implements
12454 to always fail with ENOSYS. Some functions are actually named
12455 something starting with __ and the normal name is an alias. */
12456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12457 choke me
12458 #else
12459 char (*f) () = $ac_func;
12460 #endif
12461 #ifdef __cplusplus
12463 #endif
12466 main ()
12468 return f != $ac_func;
12470 return 0;
12472 _ACEOF
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475 (eval $ac_link) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -s conftest$ac_exeext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 eval "$as_ac_var=yes"
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12490 eval "$as_ac_var=no"
12492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12496 if test `eval echo '${'$as_ac_var'}'` = yes; then
12497 cat >>confdefs.h <<_ACEOF
12498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12499 _ACEOF
12502 done
12504 else
12506 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12507 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12508 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12509 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 else
12515 ac_ext=cc
12516 ac_cpp='$CXXCPP $CPPFLAGS'
12517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521 cat >conftest.$ac_ext <<_ACEOF
12522 #line $LINENO "configure"
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 #include <math.h>
12530 main ()
12532 _fmodf(0, 0);
12534 return 0;
12536 _ACEOF
12537 rm -f conftest.$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); } &&
12543 { ac_try='test -s conftest.$ac_objext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12546 ac_status=$?
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 glibcxx_cv_func__fmodf_use=yes
12550 else
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.$ac_ext >&5
12554 glibcxx_cv_func__fmodf_use=no
12556 rm -f conftest.$ac_objext conftest.$ac_ext
12557 ac_ext=c
12558 ac_cpp='$CPP $CPPFLAGS'
12559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12568 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12570 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12572 for ac_func in _fmodf
12574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12575 echo "$as_me:$LINENO: checking for $ac_func" >&5
12576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_var+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 else
12580 if test x$gcc_no_link = xyes; then
12581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12583 { (exit 1); exit 1; }; }
12585 cat >conftest.$ac_ext <<_ACEOF
12586 #line $LINENO "configure"
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 /* System header to define __stub macros and hopefully few prototypes,
12593 which can conflict with char $ac_func (); below.
12594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 <limits.h> exists even on freestanding compilers. */
12596 #ifdef __STDC__
12597 # include <limits.h>
12598 #else
12599 # include <assert.h>
12600 #endif
12601 /* Override any gcc2 internal prototype to avoid an error. */
12602 #ifdef __cplusplus
12603 extern "C"
12605 #endif
12606 /* We use char because int might match the return type of a gcc2
12607 builtin and then its argument prototype would still apply. */
12608 char $ac_func ();
12609 /* The GNU C library defines this for functions which it implements
12610 to always fail with ENOSYS. Some functions are actually named
12611 something starting with __ and the normal name is an alias. */
12612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12613 choke me
12614 #else
12615 char (*f) () = $ac_func;
12616 #endif
12617 #ifdef __cplusplus
12619 #endif
12622 main ()
12624 return f != $ac_func;
12626 return 0;
12628 _ACEOF
12629 rm -f conftest.$ac_objext conftest$ac_exeext
12630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12631 (eval $ac_link) 2>&5
12632 ac_status=$?
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); } &&
12635 { ac_try='test -s conftest$ac_exeext'
12636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 (eval $ac_try) 2>&5
12638 ac_status=$?
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); }; }; then
12641 eval "$as_ac_var=yes"
12642 else
12643 echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.$ac_ext >&5
12646 eval "$as_ac_var=no"
12648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12652 if test `eval echo '${'$as_ac_var'}'` = yes; then
12653 cat >>confdefs.h <<_ACEOF
12654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12658 done
12665 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12666 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12667 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12668 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12674 ac_ext=cc
12675 ac_cpp='$CXXCPP $CPPFLAGS'
12676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12680 cat >conftest.$ac_ext <<_ACEOF
12681 #line $LINENO "configure"
12682 /* confdefs.h. */
12683 _ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12687 #include <math.h>
12689 main ()
12691 frexpf(0, 0);
12693 return 0;
12695 _ACEOF
12696 rm -f conftest.$ac_objext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12698 (eval $ac_compile) 2>&5
12699 ac_status=$?
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } &&
12702 { ac_try='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12705 ac_status=$?
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 glibcxx_cv_func_frexpf_use=yes
12709 else
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.$ac_ext >&5
12713 glibcxx_cv_func_frexpf_use=no
12715 rm -f conftest.$ac_objext conftest.$ac_ext
12716 ac_ext=c
12717 ac_cpp='$CPP $CPPFLAGS'
12718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12727 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12729 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12731 for ac_func in frexpf
12733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12734 echo "$as_me:$LINENO: checking for $ac_func" >&5
12735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_var+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739 if test x$gcc_no_link = xyes; then
12740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12742 { (exit 1); exit 1; }; }
12744 cat >conftest.$ac_ext <<_ACEOF
12745 #line $LINENO "configure"
12746 /* confdefs.h. */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12751 /* System header to define __stub macros and hopefully few prototypes,
12752 which can conflict with char $ac_func (); below.
12753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12754 <limits.h> exists even on freestanding compilers. */
12755 #ifdef __STDC__
12756 # include <limits.h>
12757 #else
12758 # include <assert.h>
12759 #endif
12760 /* Override any gcc2 internal prototype to avoid an error. */
12761 #ifdef __cplusplus
12762 extern "C"
12764 #endif
12765 /* We use char because int might match the return type of a gcc2
12766 builtin and then its argument prototype would still apply. */
12767 char $ac_func ();
12768 /* The GNU C library defines this for functions which it implements
12769 to always fail with ENOSYS. Some functions are actually named
12770 something starting with __ and the normal name is an alias. */
12771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12772 choke me
12773 #else
12774 char (*f) () = $ac_func;
12775 #endif
12776 #ifdef __cplusplus
12778 #endif
12781 main ()
12783 return f != $ac_func;
12785 return 0;
12787 _ACEOF
12788 rm -f conftest.$ac_objext conftest$ac_exeext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12790 (eval $ac_link) 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try='test -s conftest$ac_exeext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 eval "$as_ac_var=yes"
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12805 eval "$as_ac_var=no"
12807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12811 if test `eval echo '${'$as_ac_var'}'` = yes; then
12812 cat >>confdefs.h <<_ACEOF
12813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12814 _ACEOF
12817 done
12819 else
12821 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12822 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12823 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12824 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 else
12830 ac_ext=cc
12831 ac_cpp='$CXXCPP $CPPFLAGS'
12832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12836 cat >conftest.$ac_ext <<_ACEOF
12837 #line $LINENO "configure"
12838 /* confdefs.h. */
12839 _ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12843 #include <math.h>
12845 main ()
12847 _frexpf(0, 0);
12849 return 0;
12851 _ACEOF
12852 rm -f conftest.$ac_objext
12853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12854 (eval $ac_compile) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 glibcxx_cv_func__frexpf_use=yes
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12869 glibcxx_cv_func__frexpf_use=no
12871 rm -f conftest.$ac_objext conftest.$ac_ext
12872 ac_ext=c
12873 ac_cpp='$CPP $CPPFLAGS'
12874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12883 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12885 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12887 for ac_func in _frexpf
12889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12890 echo "$as_me:$LINENO: checking for $ac_func" >&5
12891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12892 if eval "test \"\${$as_ac_var+set}\" = set"; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 else
12895 if test x$gcc_no_link = xyes; then
12896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12898 { (exit 1); exit 1; }; }
12900 cat >conftest.$ac_ext <<_ACEOF
12901 #line $LINENO "configure"
12902 /* confdefs.h. */
12903 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 /* System header to define __stub macros and hopefully few prototypes,
12908 which can conflict with char $ac_func (); below.
12909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12910 <limits.h> exists even on freestanding compilers. */
12911 #ifdef __STDC__
12912 # include <limits.h>
12913 #else
12914 # include <assert.h>
12915 #endif
12916 /* Override any gcc2 internal prototype to avoid an error. */
12917 #ifdef __cplusplus
12918 extern "C"
12920 #endif
12921 /* We use char because int might match the return type of a gcc2
12922 builtin and then its argument prototype would still apply. */
12923 char $ac_func ();
12924 /* The GNU C library defines this for functions which it implements
12925 to always fail with ENOSYS. Some functions are actually named
12926 something starting with __ and the normal name is an alias. */
12927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12928 choke me
12929 #else
12930 char (*f) () = $ac_func;
12931 #endif
12932 #ifdef __cplusplus
12934 #endif
12937 main ()
12939 return f != $ac_func;
12941 return 0;
12943 _ACEOF
12944 rm -f conftest.$ac_objext conftest$ac_exeext
12945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12946 (eval $ac_link) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try='test -s conftest$ac_exeext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 eval "$as_ac_var=yes"
12957 else
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12961 eval "$as_ac_var=no"
12963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12967 if test `eval echo '${'$as_ac_var'}'` = yes; then
12968 cat >>confdefs.h <<_ACEOF
12969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12970 _ACEOF
12973 done
12980 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
12981 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
12982 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
12983 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12989 ac_ext=cc
12990 ac_cpp='$CXXCPP $CPPFLAGS'
12991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12995 cat >conftest.$ac_ext <<_ACEOF
12996 #line $LINENO "configure"
12997 /* confdefs.h. */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 #include <math.h>
13004 main ()
13006 hypotf(0, 0);
13008 return 0;
13010 _ACEOF
13011 rm -f conftest.$ac_objext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13013 (eval $ac_compile) 2>&5
13014 ac_status=$?
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } &&
13017 { ac_try='test -s conftest.$ac_objext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13020 ac_status=$?
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 glibcxx_cv_func_hypotf_use=yes
13024 else
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13028 glibcxx_cv_func_hypotf_use=no
13030 rm -f conftest.$ac_objext conftest.$ac_ext
13031 ac_ext=c
13032 ac_cpp='$CPP $CPPFLAGS'
13033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13042 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13044 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13046 for ac_func in hypotf
13048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13049 echo "$as_me:$LINENO: checking for $ac_func" >&5
13050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13051 if eval "test \"\${$as_ac_var+set}\" = set"; then
13052 echo $ECHO_N "(cached) $ECHO_C" >&6
13053 else
13054 if test x$gcc_no_link = xyes; then
13055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13057 { (exit 1); exit 1; }; }
13059 cat >conftest.$ac_ext <<_ACEOF
13060 #line $LINENO "configure"
13061 /* confdefs.h. */
13062 _ACEOF
13063 cat confdefs.h >>conftest.$ac_ext
13064 cat >>conftest.$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13066 /* System header to define __stub macros and hopefully few prototypes,
13067 which can conflict with char $ac_func (); below.
13068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13069 <limits.h> exists even on freestanding compilers. */
13070 #ifdef __STDC__
13071 # include <limits.h>
13072 #else
13073 # include <assert.h>
13074 #endif
13075 /* Override any gcc2 internal prototype to avoid an error. */
13076 #ifdef __cplusplus
13077 extern "C"
13079 #endif
13080 /* We use char because int might match the return type of a gcc2
13081 builtin and then its argument prototype would still apply. */
13082 char $ac_func ();
13083 /* The GNU C library defines this for functions which it implements
13084 to always fail with ENOSYS. Some functions are actually named
13085 something starting with __ and the normal name is an alias. */
13086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13087 choke me
13088 #else
13089 char (*f) () = $ac_func;
13090 #endif
13091 #ifdef __cplusplus
13093 #endif
13096 main ()
13098 return f != $ac_func;
13100 return 0;
13102 _ACEOF
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13105 (eval $ac_link) 2>&5
13106 ac_status=$?
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } &&
13109 { ac_try='test -s conftest$ac_exeext'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 eval "$as_ac_var=yes"
13116 else
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 eval "$as_ac_var=no"
13122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13126 if test `eval echo '${'$as_ac_var'}'` = yes; then
13127 cat >>confdefs.h <<_ACEOF
13128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13129 _ACEOF
13132 done
13134 else
13136 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13137 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13138 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13139 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13141 else
13145 ac_ext=cc
13146 ac_cpp='$CXXCPP $CPPFLAGS'
13147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13151 cat >conftest.$ac_ext <<_ACEOF
13152 #line $LINENO "configure"
13153 /* confdefs.h. */
13154 _ACEOF
13155 cat confdefs.h >>conftest.$ac_ext
13156 cat >>conftest.$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #include <math.h>
13160 main ()
13162 _hypotf(0, 0);
13164 return 0;
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>&5
13170 ac_status=$?
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try='test -s conftest.$ac_objext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 glibcxx_cv_func__hypotf_use=yes
13180 else
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13184 glibcxx_cv_func__hypotf_use=no
13186 rm -f conftest.$ac_objext conftest.$ac_ext
13187 ac_ext=c
13188 ac_cpp='$CPP $CPPFLAGS'
13189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13198 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13200 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13202 for ac_func in _hypotf
13204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13205 echo "$as_me:$LINENO: checking for $ac_func" >&5
13206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13207 if eval "test \"\${$as_ac_var+set}\" = set"; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210 if test x$gcc_no_link = xyes; then
13211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13213 { (exit 1); exit 1; }; }
13215 cat >conftest.$ac_ext <<_ACEOF
13216 #line $LINENO "configure"
13217 /* confdefs.h. */
13218 _ACEOF
13219 cat confdefs.h >>conftest.$ac_ext
13220 cat >>conftest.$ac_ext <<_ACEOF
13221 /* end confdefs.h. */
13222 /* System header to define __stub macros and hopefully few prototypes,
13223 which can conflict with char $ac_func (); below.
13224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13225 <limits.h> exists even on freestanding compilers. */
13226 #ifdef __STDC__
13227 # include <limits.h>
13228 #else
13229 # include <assert.h>
13230 #endif
13231 /* Override any gcc2 internal prototype to avoid an error. */
13232 #ifdef __cplusplus
13233 extern "C"
13235 #endif
13236 /* We use char because int might match the return type of a gcc2
13237 builtin and then its argument prototype would still apply. */
13238 char $ac_func ();
13239 /* The GNU C library defines this for functions which it implements
13240 to always fail with ENOSYS. Some functions are actually named
13241 something starting with __ and the normal name is an alias. */
13242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13243 choke me
13244 #else
13245 char (*f) () = $ac_func;
13246 #endif
13247 #ifdef __cplusplus
13249 #endif
13252 main ()
13254 return f != $ac_func;
13256 return 0;
13258 _ACEOF
13259 rm -f conftest.$ac_objext conftest$ac_exeext
13260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13261 (eval $ac_link) 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try='test -s conftest$ac_exeext'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; }; then
13271 eval "$as_ac_var=yes"
13272 else
13273 echo "$as_me: failed program was:" >&5
13274 sed 's/^/| /' conftest.$ac_ext >&5
13276 eval "$as_ac_var=no"
13278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13282 if test `eval echo '${'$as_ac_var'}'` = yes; then
13283 cat >>confdefs.h <<_ACEOF
13284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13285 _ACEOF
13288 done
13295 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13296 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13297 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13298 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13299 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 else
13304 ac_ext=cc
13305 ac_cpp='$CXXCPP $CPPFLAGS'
13306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13310 cat >conftest.$ac_ext <<_ACEOF
13311 #line $LINENO "configure"
13312 /* confdefs.h. */
13313 _ACEOF
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317 #include <math.h>
13319 main ()
13321 ldexpf(0, 0);
13323 return 0;
13325 _ACEOF
13326 rm -f conftest.$ac_objext
13327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13328 (eval $ac_compile) 2>&5
13329 ac_status=$?
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } &&
13332 { ac_try='test -s conftest.$ac_objext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13335 ac_status=$?
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 glibcxx_cv_func_ldexpf_use=yes
13339 else
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13343 glibcxx_cv_func_ldexpf_use=no
13345 rm -f conftest.$ac_objext conftest.$ac_ext
13346 ac_ext=c
13347 ac_cpp='$CPP $CPPFLAGS'
13348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13357 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13359 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13361 for ac_func in ldexpf
13363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13364 echo "$as_me:$LINENO: checking for $ac_func" >&5
13365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13366 if eval "test \"\${$as_ac_var+set}\" = set"; then
13367 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 else
13369 if test x$gcc_no_link = xyes; then
13370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13372 { (exit 1); exit 1; }; }
13374 cat >conftest.$ac_ext <<_ACEOF
13375 #line $LINENO "configure"
13376 /* confdefs.h. */
13377 _ACEOF
13378 cat confdefs.h >>conftest.$ac_ext
13379 cat >>conftest.$ac_ext <<_ACEOF
13380 /* end confdefs.h. */
13381 /* System header to define __stub macros and hopefully few prototypes,
13382 which can conflict with char $ac_func (); below.
13383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13384 <limits.h> exists even on freestanding compilers. */
13385 #ifdef __STDC__
13386 # include <limits.h>
13387 #else
13388 # include <assert.h>
13389 #endif
13390 /* Override any gcc2 internal prototype to avoid an error. */
13391 #ifdef __cplusplus
13392 extern "C"
13394 #endif
13395 /* We use char because int might match the return type of a gcc2
13396 builtin and then its argument prototype would still apply. */
13397 char $ac_func ();
13398 /* The GNU C library defines this for functions which it implements
13399 to always fail with ENOSYS. Some functions are actually named
13400 something starting with __ and the normal name is an alias. */
13401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13402 choke me
13403 #else
13404 char (*f) () = $ac_func;
13405 #endif
13406 #ifdef __cplusplus
13408 #endif
13411 main ()
13413 return f != $ac_func;
13415 return 0;
13417 _ACEOF
13418 rm -f conftest.$ac_objext conftest$ac_exeext
13419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13420 (eval $ac_link) 2>&5
13421 ac_status=$?
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try='test -s conftest$ac_exeext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 eval "$as_ac_var=yes"
13431 else
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13435 eval "$as_ac_var=no"
13437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13441 if test `eval echo '${'$as_ac_var'}'` = yes; then
13442 cat >>confdefs.h <<_ACEOF
13443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13444 _ACEOF
13447 done
13449 else
13451 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13452 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13453 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13454 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 else
13460 ac_ext=cc
13461 ac_cpp='$CXXCPP $CPPFLAGS'
13462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13466 cat >conftest.$ac_ext <<_ACEOF
13467 #line $LINENO "configure"
13468 /* confdefs.h. */
13469 _ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 #include <math.h>
13475 main ()
13477 _ldexpf(0, 0);
13479 return 0;
13481 _ACEOF
13482 rm -f conftest.$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484 (eval $ac_compile) 2>&5
13485 ac_status=$?
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try='test -s conftest.$ac_objext'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13491 ac_status=$?
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; }; then
13494 glibcxx_cv_func__ldexpf_use=yes
13495 else
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.$ac_ext >&5
13499 glibcxx_cv_func__ldexpf_use=no
13501 rm -f conftest.$ac_objext conftest.$ac_ext
13502 ac_ext=c
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13513 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13515 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13517 for ac_func in _ldexpf
13519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13520 echo "$as_me:$LINENO: checking for $ac_func" >&5
13521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13522 if eval "test \"\${$as_ac_var+set}\" = set"; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 else
13525 if test x$gcc_no_link = xyes; then
13526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13528 { (exit 1); exit 1; }; }
13530 cat >conftest.$ac_ext <<_ACEOF
13531 #line $LINENO "configure"
13532 /* confdefs.h. */
13533 _ACEOF
13534 cat confdefs.h >>conftest.$ac_ext
13535 cat >>conftest.$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13537 /* System header to define __stub macros and hopefully few prototypes,
13538 which can conflict with char $ac_func (); below.
13539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13540 <limits.h> exists even on freestanding compilers. */
13541 #ifdef __STDC__
13542 # include <limits.h>
13543 #else
13544 # include <assert.h>
13545 #endif
13546 /* Override any gcc2 internal prototype to avoid an error. */
13547 #ifdef __cplusplus
13548 extern "C"
13550 #endif
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13553 char $ac_func ();
13554 /* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13558 choke me
13559 #else
13560 char (*f) () = $ac_func;
13561 #endif
13562 #ifdef __cplusplus
13564 #endif
13567 main ()
13569 return f != $ac_func;
13571 return 0;
13573 _ACEOF
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 (eval $ac_link) 2>&5
13577 ac_status=$?
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } &&
13580 { ac_try='test -s conftest$ac_exeext'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13583 ac_status=$?
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; }; then
13586 eval "$as_ac_var=yes"
13587 else
13588 echo "$as_me: failed program was:" >&5
13589 sed 's/^/| /' conftest.$ac_ext >&5
13591 eval "$as_ac_var=no"
13593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13597 if test `eval echo '${'$as_ac_var'}'` = yes; then
13598 cat >>confdefs.h <<_ACEOF
13599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13600 _ACEOF
13603 done
13610 echo "$as_me:$LINENO: checking for logf declaration" >&5
13611 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13612 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13613 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13615 else
13619 ac_ext=cc
13620 ac_cpp='$CXXCPP $CPPFLAGS'
13621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13625 cat >conftest.$ac_ext <<_ACEOF
13626 #line $LINENO "configure"
13627 /* confdefs.h. */
13628 _ACEOF
13629 cat confdefs.h >>conftest.$ac_ext
13630 cat >>conftest.$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 #include <math.h>
13633 #ifdef HAVE_IEEEFP_H
13634 #include <ieeefp.h>
13635 #endif
13638 main ()
13640 logf(0);
13642 return 0;
13644 _ACEOF
13645 rm -f conftest.$ac_objext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13647 (eval $ac_compile) 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } &&
13651 { ac_try='test -s conftest.$ac_objext'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; }; then
13657 glibcxx_cv_func_logf_use=yes
13658 else
13659 echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.$ac_ext >&5
13662 glibcxx_cv_func_logf_use=no
13664 rm -f conftest.$ac_objext conftest.$ac_ext
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13676 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13678 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13680 for ac_func in logf
13682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13683 echo "$as_me:$LINENO: checking for $ac_func" >&5
13684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_var+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13688 if test x$gcc_no_link = xyes; then
13689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13691 { (exit 1); exit 1; }; }
13693 cat >conftest.$ac_ext <<_ACEOF
13694 #line $LINENO "configure"
13695 /* confdefs.h. */
13696 _ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13700 /* System header to define __stub macros and hopefully few prototypes,
13701 which can conflict with char $ac_func (); below.
13702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13703 <limits.h> exists even on freestanding compilers. */
13704 #ifdef __STDC__
13705 # include <limits.h>
13706 #else
13707 # include <assert.h>
13708 #endif
13709 /* Override any gcc2 internal prototype to avoid an error. */
13710 #ifdef __cplusplus
13711 extern "C"
13713 #endif
13714 /* We use char because int might match the return type of a gcc2
13715 builtin and then its argument prototype would still apply. */
13716 char $ac_func ();
13717 /* The GNU C library defines this for functions which it implements
13718 to always fail with ENOSYS. Some functions are actually named
13719 something starting with __ and the normal name is an alias. */
13720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13721 choke me
13722 #else
13723 char (*f) () = $ac_func;
13724 #endif
13725 #ifdef __cplusplus
13727 #endif
13730 main ()
13732 return f != $ac_func;
13734 return 0;
13736 _ACEOF
13737 rm -f conftest.$ac_objext conftest$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739 (eval $ac_link) 2>&5
13740 ac_status=$?
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } &&
13743 { ac_try='test -s conftest$ac_exeext'
13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745 (eval $ac_try) 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; }; then
13749 eval "$as_ac_var=yes"
13750 else
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13754 eval "$as_ac_var=no"
13756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13760 if test `eval echo '${'$as_ac_var'}'` = yes; then
13761 cat >>confdefs.h <<_ACEOF
13762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13763 _ACEOF
13766 done
13768 else
13770 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13771 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13772 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13773 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13779 ac_ext=cc
13780 ac_cpp='$CXXCPP $CPPFLAGS'
13781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13785 cat >conftest.$ac_ext <<_ACEOF
13786 #line $LINENO "configure"
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 #include <math.h>
13793 #ifdef HAVE_IEEEFP_H
13794 #include <ieeefp.h>
13795 #endif
13798 main ()
13800 _logf(0);
13802 return 0;
13804 _ACEOF
13805 rm -f conftest.$ac_objext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13807 (eval $ac_compile) 2>&5
13808 ac_status=$?
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try='test -s conftest.$ac_objext'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13814 ac_status=$?
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; }; then
13817 glibcxx_cv_func__logf_use=yes
13818 else
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13822 glibcxx_cv_func__logf_use=no
13824 rm -f conftest.$ac_objext conftest.$ac_ext
13825 ac_ext=c
13826 ac_cpp='$CPP $CPPFLAGS'
13827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13836 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13838 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13840 for ac_func in _logf
13842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13843 echo "$as_me:$LINENO: checking for $ac_func" >&5
13844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_var+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 if test x$gcc_no_link = xyes; then
13849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13851 { (exit 1); exit 1; }; }
13853 cat >conftest.$ac_ext <<_ACEOF
13854 #line $LINENO "configure"
13855 /* confdefs.h. */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 /* System header to define __stub macros and hopefully few prototypes,
13861 which can conflict with char $ac_func (); below.
13862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13863 <limits.h> exists even on freestanding compilers. */
13864 #ifdef __STDC__
13865 # include <limits.h>
13866 #else
13867 # include <assert.h>
13868 #endif
13869 /* Override any gcc2 internal prototype to avoid an error. */
13870 #ifdef __cplusplus
13871 extern "C"
13873 #endif
13874 /* We use char because int might match the return type of a gcc2
13875 builtin and then its argument prototype would still apply. */
13876 char $ac_func ();
13877 /* The GNU C library defines this for functions which it implements
13878 to always fail with ENOSYS. Some functions are actually named
13879 something starting with __ and the normal name is an alias. */
13880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13881 choke me
13882 #else
13883 char (*f) () = $ac_func;
13884 #endif
13885 #ifdef __cplusplus
13887 #endif
13890 main ()
13892 return f != $ac_func;
13894 return 0;
13896 _ACEOF
13897 rm -f conftest.$ac_objext conftest$ac_exeext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13899 (eval $ac_link) 2>&5
13900 ac_status=$?
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try='test -s conftest$ac_exeext'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13906 ac_status=$?
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; }; then
13909 eval "$as_ac_var=yes"
13910 else
13911 echo "$as_me: failed program was:" >&5
13912 sed 's/^/| /' conftest.$ac_ext >&5
13914 eval "$as_ac_var=no"
13916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13920 if test `eval echo '${'$as_ac_var'}'` = yes; then
13921 cat >>confdefs.h <<_ACEOF
13922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13923 _ACEOF
13926 done
13933 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13934 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13935 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13936 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13942 ac_ext=cc
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13948 cat >conftest.$ac_ext <<_ACEOF
13949 #line $LINENO "configure"
13950 /* confdefs.h. */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 #include <math.h>
13956 #ifdef HAVE_IEEEFP_H
13957 #include <ieeefp.h>
13958 #endif
13961 main ()
13963 log10f(0);
13965 return 0;
13967 _ACEOF
13968 rm -f conftest.$ac_objext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13970 (eval $ac_compile) 2>&5
13971 ac_status=$?
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); } &&
13974 { ac_try='test -s conftest.$ac_objext'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13977 ac_status=$?
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 glibcxx_cv_func_log10f_use=yes
13981 else
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13985 glibcxx_cv_func_log10f_use=no
13987 rm -f conftest.$ac_objext conftest.$ac_ext
13988 ac_ext=c
13989 ac_cpp='$CPP $CPPFLAGS'
13990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
13999 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14001 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14003 for ac_func in log10f
14005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14006 echo "$as_me:$LINENO: checking for $ac_func" >&5
14007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14008 if eval "test \"\${$as_ac_var+set}\" = set"; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 else
14011 if test x$gcc_no_link = xyes; then
14012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14014 { (exit 1); exit 1; }; }
14016 cat >conftest.$ac_ext <<_ACEOF
14017 #line $LINENO "configure"
14018 /* confdefs.h. */
14019 _ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 /* System header to define __stub macros and hopefully few prototypes,
14024 which can conflict with char $ac_func (); below.
14025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14026 <limits.h> exists even on freestanding compilers. */
14027 #ifdef __STDC__
14028 # include <limits.h>
14029 #else
14030 # include <assert.h>
14031 #endif
14032 /* Override any gcc2 internal prototype to avoid an error. */
14033 #ifdef __cplusplus
14034 extern "C"
14036 #endif
14037 /* We use char because int might match the return type of a gcc2
14038 builtin and then its argument prototype would still apply. */
14039 char $ac_func ();
14040 /* The GNU C library defines this for functions which it implements
14041 to always fail with ENOSYS. Some functions are actually named
14042 something starting with __ and the normal name is an alias. */
14043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14044 choke me
14045 #else
14046 char (*f) () = $ac_func;
14047 #endif
14048 #ifdef __cplusplus
14050 #endif
14053 main ()
14055 return f != $ac_func;
14057 return 0;
14059 _ACEOF
14060 rm -f conftest.$ac_objext conftest$ac_exeext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14062 (eval $ac_link) 2>&5
14063 ac_status=$?
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } &&
14066 { ac_try='test -s conftest$ac_exeext'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14069 ac_status=$?
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; }; then
14072 eval "$as_ac_var=yes"
14073 else
14074 echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.$ac_ext >&5
14077 eval "$as_ac_var=no"
14079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14083 if test `eval echo '${'$as_ac_var'}'` = yes; then
14084 cat >>confdefs.h <<_ACEOF
14085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14086 _ACEOF
14089 done
14091 else
14093 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14094 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14095 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14096 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 else
14102 ac_ext=cc
14103 ac_cpp='$CXXCPP $CPPFLAGS'
14104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14108 cat >conftest.$ac_ext <<_ACEOF
14109 #line $LINENO "configure"
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115 #include <math.h>
14116 #ifdef HAVE_IEEEFP_H
14117 #include <ieeefp.h>
14118 #endif
14121 main ()
14123 _log10f(0);
14125 return 0;
14127 _ACEOF
14128 rm -f conftest.$ac_objext
14129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14130 (eval $ac_compile) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } &&
14134 { ac_try='test -s conftest.$ac_objext'
14135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136 (eval $ac_try) 2>&5
14137 ac_status=$?
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); }; }; then
14140 glibcxx_cv_func__log10f_use=yes
14141 else
14142 echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14145 glibcxx_cv_func__log10f_use=no
14147 rm -f conftest.$ac_objext conftest.$ac_ext
14148 ac_ext=c
14149 ac_cpp='$CPP $CPPFLAGS'
14150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14159 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14161 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14163 for ac_func in _log10f
14165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14166 echo "$as_me:$LINENO: checking for $ac_func" >&5
14167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14168 if eval "test \"\${$as_ac_var+set}\" = set"; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 else
14171 if test x$gcc_no_link = xyes; then
14172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14174 { (exit 1); exit 1; }; }
14176 cat >conftest.$ac_ext <<_ACEOF
14177 #line $LINENO "configure"
14178 /* confdefs.h. */
14179 _ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h. */
14183 /* System header to define __stub macros and hopefully few prototypes,
14184 which can conflict with char $ac_func (); below.
14185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14186 <limits.h> exists even on freestanding compilers. */
14187 #ifdef __STDC__
14188 # include <limits.h>
14189 #else
14190 # include <assert.h>
14191 #endif
14192 /* Override any gcc2 internal prototype to avoid an error. */
14193 #ifdef __cplusplus
14194 extern "C"
14196 #endif
14197 /* We use char because int might match the return type of a gcc2
14198 builtin and then its argument prototype would still apply. */
14199 char $ac_func ();
14200 /* The GNU C library defines this for functions which it implements
14201 to always fail with ENOSYS. Some functions are actually named
14202 something starting with __ and the normal name is an alias. */
14203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14204 choke me
14205 #else
14206 char (*f) () = $ac_func;
14207 #endif
14208 #ifdef __cplusplus
14210 #endif
14213 main ()
14215 return f != $ac_func;
14217 return 0;
14219 _ACEOF
14220 rm -f conftest.$ac_objext conftest$ac_exeext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14222 (eval $ac_link) 2>&5
14223 ac_status=$?
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -s conftest$ac_exeext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 eval "$as_ac_var=yes"
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 eval "$as_ac_var=no"
14239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14243 if test `eval echo '${'$as_ac_var'}'` = yes; then
14244 cat >>confdefs.h <<_ACEOF
14245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14246 _ACEOF
14249 done
14256 echo "$as_me:$LINENO: checking for modff declaration" >&5
14257 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14258 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14259 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14265 ac_ext=cc
14266 ac_cpp='$CXXCPP $CPPFLAGS'
14267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14271 cat >conftest.$ac_ext <<_ACEOF
14272 #line $LINENO "configure"
14273 /* confdefs.h. */
14274 _ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #include <math.h>
14280 main ()
14282 modff(0, 0);
14284 return 0;
14286 _ACEOF
14287 rm -f conftest.$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289 (eval $ac_compile) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); } &&
14293 { ac_try='test -s conftest.$ac_objext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 glibcxx_cv_func_modff_use=yes
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14304 glibcxx_cv_func_modff_use=no
14306 rm -f conftest.$ac_objext conftest.$ac_ext
14307 ac_ext=c
14308 ac_cpp='$CPP $CPPFLAGS'
14309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14318 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14320 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14322 for ac_func in modff
14324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14325 echo "$as_me:$LINENO: checking for $ac_func" >&5
14326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14327 if eval "test \"\${$as_ac_var+set}\" = set"; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 else
14330 if test x$gcc_no_link = xyes; then
14331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14333 { (exit 1); exit 1; }; }
14335 cat >conftest.$ac_ext <<_ACEOF
14336 #line $LINENO "configure"
14337 /* confdefs.h. */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 /* System header to define __stub macros and hopefully few prototypes,
14343 which can conflict with char $ac_func (); below.
14344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14345 <limits.h> exists even on freestanding compilers. */
14346 #ifdef __STDC__
14347 # include <limits.h>
14348 #else
14349 # include <assert.h>
14350 #endif
14351 /* Override any gcc2 internal prototype to avoid an error. */
14352 #ifdef __cplusplus
14353 extern "C"
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char $ac_func ();
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14363 choke me
14364 #else
14365 char (*f) () = $ac_func;
14366 #endif
14367 #ifdef __cplusplus
14369 #endif
14372 main ()
14374 return f != $ac_func;
14376 return 0;
14378 _ACEOF
14379 rm -f conftest.$ac_objext conftest$ac_exeext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14381 (eval $ac_link) 2>&5
14382 ac_status=$?
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try='test -s conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 eval "$as_ac_var=yes"
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 eval "$as_ac_var=no"
14398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14402 if test `eval echo '${'$as_ac_var'}'` = yes; then
14403 cat >>confdefs.h <<_ACEOF
14404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14405 _ACEOF
14408 done
14410 else
14412 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14413 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14414 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14415 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 else
14421 ac_ext=cc
14422 ac_cpp='$CXXCPP $CPPFLAGS'
14423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14427 cat >conftest.$ac_ext <<_ACEOF
14428 #line $LINENO "configure"
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #include <math.h>
14436 main ()
14438 _modff(0, 0);
14440 return 0;
14442 _ACEOF
14443 rm -f conftest.$ac_objext
14444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14445 (eval $ac_compile) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } &&
14449 { ac_try='test -s conftest.$ac_objext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 glibcxx_cv_func__modff_use=yes
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14460 glibcxx_cv_func__modff_use=no
14462 rm -f conftest.$ac_objext conftest.$ac_ext
14463 ac_ext=c
14464 ac_cpp='$CPP $CPPFLAGS'
14465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14474 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14476 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14478 for ac_func in _modff
14480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14481 echo "$as_me:$LINENO: checking for $ac_func" >&5
14482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14483 if eval "test \"\${$as_ac_var+set}\" = set"; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 else
14486 if test x$gcc_no_link = xyes; then
14487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14489 { (exit 1); exit 1; }; }
14491 cat >conftest.$ac_ext <<_ACEOF
14492 #line $LINENO "configure"
14493 /* confdefs.h. */
14494 _ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 /* System header to define __stub macros and hopefully few prototypes,
14499 which can conflict with char $ac_func (); below.
14500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14501 <limits.h> exists even on freestanding compilers. */
14502 #ifdef __STDC__
14503 # include <limits.h>
14504 #else
14505 # include <assert.h>
14506 #endif
14507 /* Override any gcc2 internal prototype to avoid an error. */
14508 #ifdef __cplusplus
14509 extern "C"
14511 #endif
14512 /* We use char because int might match the return type of a gcc2
14513 builtin and then its argument prototype would still apply. */
14514 char $ac_func ();
14515 /* The GNU C library defines this for functions which it implements
14516 to always fail with ENOSYS. Some functions are actually named
14517 something starting with __ and the normal name is an alias. */
14518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14519 choke me
14520 #else
14521 char (*f) () = $ac_func;
14522 #endif
14523 #ifdef __cplusplus
14525 #endif
14528 main ()
14530 return f != $ac_func;
14532 return 0;
14534 _ACEOF
14535 rm -f conftest.$ac_objext conftest$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537 (eval $ac_link) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -s conftest$ac_exeext'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; }; then
14547 eval "$as_ac_var=yes"
14548 else
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14552 eval "$as_ac_var=no"
14554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14558 if test `eval echo '${'$as_ac_var'}'` = yes; then
14559 cat >>confdefs.h <<_ACEOF
14560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14561 _ACEOF
14564 done
14571 echo "$as_me:$LINENO: checking for powf declaration" >&5
14572 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14573 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14574 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14580 ac_ext=cc
14581 ac_cpp='$CXXCPP $CPPFLAGS'
14582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14586 cat >conftest.$ac_ext <<_ACEOF
14587 #line $LINENO "configure"
14588 /* confdefs.h. */
14589 _ACEOF
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 #include <math.h>
14595 main ()
14597 powf(0, 0);
14599 return 0;
14601 _ACEOF
14602 rm -f conftest.$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604 (eval $ac_compile) 2>&5
14605 ac_status=$?
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try='test -s conftest.$ac_objext'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 glibcxx_cv_func_powf_use=yes
14615 else
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.$ac_ext >&5
14619 glibcxx_cv_func_powf_use=no
14621 rm -f conftest.$ac_objext conftest.$ac_ext
14622 ac_ext=c
14623 ac_cpp='$CPP $CPPFLAGS'
14624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14633 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14635 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14637 for ac_func in powf
14639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14640 echo "$as_me:$LINENO: checking for $ac_func" >&5
14641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14642 if eval "test \"\${$as_ac_var+set}\" = set"; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14644 else
14645 if test x$gcc_no_link = xyes; then
14646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14648 { (exit 1); exit 1; }; }
14650 cat >conftest.$ac_ext <<_ACEOF
14651 #line $LINENO "configure"
14652 /* confdefs.h. */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14657 /* System header to define __stub macros and hopefully few prototypes,
14658 which can conflict with char $ac_func (); below.
14659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14660 <limits.h> exists even on freestanding compilers. */
14661 #ifdef __STDC__
14662 # include <limits.h>
14663 #else
14664 # include <assert.h>
14665 #endif
14666 /* Override any gcc2 internal prototype to avoid an error. */
14667 #ifdef __cplusplus
14668 extern "C"
14670 #endif
14671 /* We use char because int might match the return type of a gcc2
14672 builtin and then its argument prototype would still apply. */
14673 char $ac_func ();
14674 /* The GNU C library defines this for functions which it implements
14675 to always fail with ENOSYS. Some functions are actually named
14676 something starting with __ and the normal name is an alias. */
14677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14678 choke me
14679 #else
14680 char (*f) () = $ac_func;
14681 #endif
14682 #ifdef __cplusplus
14684 #endif
14687 main ()
14689 return f != $ac_func;
14691 return 0;
14693 _ACEOF
14694 rm -f conftest.$ac_objext conftest$ac_exeext
14695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14696 (eval $ac_link) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try='test -s conftest$ac_exeext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14703 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 eval "$as_ac_var=yes"
14707 else
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 eval "$as_ac_var=no"
14713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14717 if test `eval echo '${'$as_ac_var'}'` = yes; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14720 _ACEOF
14723 done
14725 else
14727 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14728 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14729 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14730 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14736 ac_ext=cc
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14742 cat >conftest.$ac_ext <<_ACEOF
14743 #line $LINENO "configure"
14744 /* confdefs.h. */
14745 _ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 #include <math.h>
14751 main ()
14753 _powf(0, 0);
14755 return 0;
14757 _ACEOF
14758 rm -f conftest.$ac_objext
14759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14760 (eval $ac_compile) 2>&5
14761 ac_status=$?
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); } &&
14764 { ac_try='test -s conftest.$ac_objext'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14767 ac_status=$?
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; }; then
14770 glibcxx_cv_func__powf_use=yes
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14775 glibcxx_cv_func__powf_use=no
14777 rm -f conftest.$ac_objext conftest.$ac_ext
14778 ac_ext=c
14779 ac_cpp='$CPP $CPPFLAGS'
14780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14789 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14791 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14793 for ac_func in _powf
14795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14796 echo "$as_me:$LINENO: checking for $ac_func" >&5
14797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14798 if eval "test \"\${$as_ac_var+set}\" = set"; then
14799 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 else
14801 if test x$gcc_no_link = xyes; then
14802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14804 { (exit 1); exit 1; }; }
14806 cat >conftest.$ac_ext <<_ACEOF
14807 #line $LINENO "configure"
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14813 /* System header to define __stub macros and hopefully few prototypes,
14814 which can conflict with char $ac_func (); below.
14815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14816 <limits.h> exists even on freestanding compilers. */
14817 #ifdef __STDC__
14818 # include <limits.h>
14819 #else
14820 # include <assert.h>
14821 #endif
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>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } &&
14856 { ac_try='test -s conftest$ac_exeext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 eval "$as_ac_var=yes"
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14867 eval "$as_ac_var=no"
14869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14873 if test `eval echo '${'$as_ac_var'}'` = yes; then
14874 cat >>confdefs.h <<_ACEOF
14875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14876 _ACEOF
14879 done
14886 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14887 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14888 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14889 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14891 else
14895 ac_ext=cc
14896 ac_cpp='$CXXCPP $CPPFLAGS'
14897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14901 cat >conftest.$ac_ext <<_ACEOF
14902 #line $LINENO "configure"
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 #include <math.h>
14909 #ifdef HAVE_IEEEFP_H
14910 #include <ieeefp.h>
14911 #endif
14914 main ()
14916 sqrtf(0);
14918 return 0;
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>&5
14924 ac_status=$?
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 glibcxx_cv_func_sqrtf_use=yes
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 glibcxx_cv_func_sqrtf_use=no
14940 rm -f conftest.$ac_objext conftest.$ac_ext
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14952 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14954 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14956 for ac_func in sqrtf
14958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14959 echo "$as_me:$LINENO: checking for $ac_func" >&5
14960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14961 if eval "test \"\${$as_ac_var+set}\" = set"; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 else
14964 if test x$gcc_no_link = xyes; then
14965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14967 { (exit 1); exit 1; }; }
14969 cat >conftest.$ac_ext <<_ACEOF
14970 #line $LINENO "configure"
14971 /* confdefs.h. */
14972 _ACEOF
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14976 /* System header to define __stub macros and hopefully few prototypes,
14977 which can conflict with char $ac_func (); below.
14978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14979 <limits.h> exists even on freestanding compilers. */
14980 #ifdef __STDC__
14981 # include <limits.h>
14982 #else
14983 # include <assert.h>
14984 #endif
14985 /* Override any gcc2 internal prototype to avoid an error. */
14986 #ifdef __cplusplus
14987 extern "C"
14989 #endif
14990 /* We use char because int might match the return type of a gcc2
14991 builtin and then its argument prototype would still apply. */
14992 char $ac_func ();
14993 /* The GNU C library defines this for functions which it implements
14994 to always fail with ENOSYS. Some functions are actually named
14995 something starting with __ and the normal name is an alias. */
14996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14997 choke me
14998 #else
14999 char (*f) () = $ac_func;
15000 #endif
15001 #ifdef __cplusplus
15003 #endif
15006 main ()
15008 return f != $ac_func;
15010 return 0;
15012 _ACEOF
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015 (eval $ac_link) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try='test -s conftest$ac_exeext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15022 ac_status=$?
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 eval "$as_ac_var=yes"
15026 else
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15030 eval "$as_ac_var=no"
15032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15036 if test `eval echo '${'$as_ac_var'}'` = yes; then
15037 cat >>confdefs.h <<_ACEOF
15038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15039 _ACEOF
15042 done
15044 else
15046 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15047 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15048 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15049 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15050 echo $ECHO_N "(cached) $ECHO_C" >&6
15051 else
15055 ac_ext=cc
15056 ac_cpp='$CXXCPP $CPPFLAGS'
15057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15061 cat >conftest.$ac_ext <<_ACEOF
15062 #line $LINENO "configure"
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 #include <math.h>
15069 #ifdef HAVE_IEEEFP_H
15070 #include <ieeefp.h>
15071 #endif
15074 main ()
15076 _sqrtf(0);
15078 return 0;
15080 _ACEOF
15081 rm -f conftest.$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 glibcxx_cv_func__sqrtf_use=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 glibcxx_cv_func__sqrtf_use=no
15100 rm -f conftest.$ac_objext conftest.$ac_ext
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15112 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15114 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15116 for ac_func in _sqrtf
15118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15119 echo "$as_me:$LINENO: checking for $ac_func" >&5
15120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15121 if eval "test \"\${$as_ac_var+set}\" = set"; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 else
15124 if test x$gcc_no_link = xyes; then
15125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15127 { (exit 1); exit 1; }; }
15129 cat >conftest.$ac_ext <<_ACEOF
15130 #line $LINENO "configure"
15131 /* confdefs.h. */
15132 _ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15136 /* System header to define __stub macros and hopefully few prototypes,
15137 which can conflict with char $ac_func (); below.
15138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15139 <limits.h> exists even on freestanding compilers. */
15140 #ifdef __STDC__
15141 # include <limits.h>
15142 #else
15143 # include <assert.h>
15144 #endif
15145 /* Override any gcc2 internal prototype to avoid an error. */
15146 #ifdef __cplusplus
15147 extern "C"
15149 #endif
15150 /* We use char because int might match the return type of a gcc2
15151 builtin and then its argument prototype would still apply. */
15152 char $ac_func ();
15153 /* The GNU C library defines this for functions which it implements
15154 to always fail with ENOSYS. Some functions are actually named
15155 something starting with __ and the normal name is an alias. */
15156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15157 choke me
15158 #else
15159 char (*f) () = $ac_func;
15160 #endif
15161 #ifdef __cplusplus
15163 #endif
15166 main ()
15168 return f != $ac_func;
15170 return 0;
15172 _ACEOF
15173 rm -f conftest.$ac_objext conftest$ac_exeext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15175 (eval $ac_link) 2>&5
15176 ac_status=$?
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); } &&
15179 { ac_try='test -s conftest$ac_exeext'
15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181 (eval $ac_try) 2>&5
15182 ac_status=$?
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); }; }; then
15185 eval "$as_ac_var=yes"
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15190 eval "$as_ac_var=no"
15192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15196 if test `eval echo '${'$as_ac_var'}'` = yes; then
15197 cat >>confdefs.h <<_ACEOF
15198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15199 _ACEOF
15202 done
15209 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15210 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15211 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15212 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15218 ac_ext=cc
15219 ac_cpp='$CXXCPP $CPPFLAGS'
15220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15224 cat >conftest.$ac_ext <<_ACEOF
15225 #line $LINENO "configure"
15226 /* confdefs.h. */
15227 _ACEOF
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 #include <math.h>
15233 main ()
15235 sincosf(0, 0, 0);
15237 return 0;
15239 _ACEOF
15240 rm -f conftest.$ac_objext
15241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15242 (eval $ac_compile) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } &&
15246 { ac_try='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 glibcxx_cv_func_sincosf_use=yes
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 glibcxx_cv_func_sincosf_use=no
15259 rm -f conftest.$ac_objext conftest.$ac_ext
15260 ac_ext=c
15261 ac_cpp='$CPP $CPPFLAGS'
15262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15271 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15273 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15275 for ac_func in sincosf
15277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15278 echo "$as_me:$LINENO: checking for $ac_func" >&5
15279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15280 if eval "test \"\${$as_ac_var+set}\" = set"; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 else
15283 if test x$gcc_no_link = xyes; then
15284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15286 { (exit 1); exit 1; }; }
15288 cat >conftest.$ac_ext <<_ACEOF
15289 #line $LINENO "configure"
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 /* System header to define __stub macros and hopefully few prototypes,
15296 which can conflict with char $ac_func (); below.
15297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15298 <limits.h> exists even on freestanding compilers. */
15299 #ifdef __STDC__
15300 # include <limits.h>
15301 #else
15302 # include <assert.h>
15303 #endif
15304 /* Override any gcc2 internal prototype to avoid an error. */
15305 #ifdef __cplusplus
15306 extern "C"
15308 #endif
15309 /* We use char because int might match the return type of a gcc2
15310 builtin and then its argument prototype would still apply. */
15311 char $ac_func ();
15312 /* The GNU C library defines this for functions which it implements
15313 to always fail with ENOSYS. Some functions are actually named
15314 something starting with __ and the normal name is an alias. */
15315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15316 choke me
15317 #else
15318 char (*f) () = $ac_func;
15319 #endif
15320 #ifdef __cplusplus
15322 #endif
15325 main ()
15327 return f != $ac_func;
15329 return 0;
15331 _ACEOF
15332 rm -f conftest.$ac_objext conftest$ac_exeext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15334 (eval $ac_link) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try='test -s conftest$ac_exeext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 eval "$as_ac_var=yes"
15345 else
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15349 eval "$as_ac_var=no"
15351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15355 if test `eval echo '${'$as_ac_var'}'` = yes; then
15356 cat >>confdefs.h <<_ACEOF
15357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15358 _ACEOF
15361 done
15363 else
15365 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15366 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15367 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15368 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15374 ac_ext=cc
15375 ac_cpp='$CXXCPP $CPPFLAGS'
15376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15380 cat >conftest.$ac_ext <<_ACEOF
15381 #line $LINENO "configure"
15382 /* confdefs.h. */
15383 _ACEOF
15384 cat confdefs.h >>conftest.$ac_ext
15385 cat >>conftest.$ac_ext <<_ACEOF
15386 /* end confdefs.h. */
15387 #include <math.h>
15389 main ()
15391 _sincosf(0, 0, 0);
15393 return 0;
15395 _ACEOF
15396 rm -f conftest.$ac_objext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15398 (eval $ac_compile) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 glibcxx_cv_func__sincosf_use=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15413 glibcxx_cv_func__sincosf_use=no
15415 rm -f conftest.$ac_objext conftest.$ac_ext
15416 ac_ext=c
15417 ac_cpp='$CPP $CPPFLAGS'
15418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15427 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15429 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15431 for ac_func in _sincosf
15433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15434 echo "$as_me:$LINENO: checking for $ac_func" >&5
15435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15436 if eval "test \"\${$as_ac_var+set}\" = set"; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15438 else
15439 if test x$gcc_no_link = xyes; then
15440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15442 { (exit 1); exit 1; }; }
15444 cat >conftest.$ac_ext <<_ACEOF
15445 #line $LINENO "configure"
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 /* System header to define __stub macros and hopefully few prototypes,
15452 which can conflict with char $ac_func (); below.
15453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15454 <limits.h> exists even on freestanding compilers. */
15455 #ifdef __STDC__
15456 # include <limits.h>
15457 #else
15458 # include <assert.h>
15459 #endif
15460 /* Override any gcc2 internal prototype to avoid an error. */
15461 #ifdef __cplusplus
15462 extern "C"
15464 #endif
15465 /* We use char because int might match the return type of a gcc2
15466 builtin and then its argument prototype would still apply. */
15467 char $ac_func ();
15468 /* The GNU C library defines this for functions which it implements
15469 to always fail with ENOSYS. Some functions are actually named
15470 something starting with __ and the normal name is an alias. */
15471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15472 choke me
15473 #else
15474 char (*f) () = $ac_func;
15475 #endif
15476 #ifdef __cplusplus
15478 #endif
15481 main ()
15483 return f != $ac_func;
15485 return 0;
15487 _ACEOF
15488 rm -f conftest.$ac_objext conftest$ac_exeext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490 (eval $ac_link) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -s conftest$ac_exeext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 eval "$as_ac_var=yes"
15501 else
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.$ac_ext >&5
15505 eval "$as_ac_var=no"
15507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15511 if test `eval echo '${'$as_ac_var'}'` = yes; then
15512 cat >>confdefs.h <<_ACEOF
15513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15514 _ACEOF
15517 done
15524 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15525 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15526 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15527 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15528 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 else
15533 ac_ext=cc
15534 ac_cpp='$CXXCPP $CPPFLAGS'
15535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15539 cat >conftest.$ac_ext <<_ACEOF
15540 #line $LINENO "configure"
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 #include <math.h>
15547 #ifdef HAVE_IEEEFP_H
15548 #include <ieeefp.h>
15549 #endif
15552 main ()
15554 finitef(0);
15556 return 0;
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15561 (eval $ac_compile) 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try='test -s conftest.$ac_objext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 glibcxx_cv_func_finitef_use=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 glibcxx_cv_func_finitef_use=no
15578 rm -f conftest.$ac_objext conftest.$ac_ext
15579 ac_ext=c
15580 ac_cpp='$CPP $CPPFLAGS'
15581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15590 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15592 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15594 for ac_func in finitef
15596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15597 echo "$as_me:$LINENO: checking for $ac_func" >&5
15598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15599 if eval "test \"\${$as_ac_var+set}\" = set"; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 if test x$gcc_no_link = xyes; then
15603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15605 { (exit 1); exit 1; }; }
15607 cat >conftest.$ac_ext <<_ACEOF
15608 #line $LINENO "configure"
15609 /* confdefs.h. */
15610 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext
15612 cat >>conftest.$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 /* System header to define __stub macros and hopefully few prototypes,
15615 which can conflict with char $ac_func (); below.
15616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15617 <limits.h> exists even on freestanding compilers. */
15618 #ifdef __STDC__
15619 # include <limits.h>
15620 #else
15621 # include <assert.h>
15622 #endif
15623 /* Override any gcc2 internal prototype to avoid an error. */
15624 #ifdef __cplusplus
15625 extern "C"
15627 #endif
15628 /* We use char because int might match the return type of a gcc2
15629 builtin and then its argument prototype would still apply. */
15630 char $ac_func ();
15631 /* The GNU C library defines this for functions which it implements
15632 to always fail with ENOSYS. Some functions are actually named
15633 something starting with __ and the normal name is an alias. */
15634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15635 choke me
15636 #else
15637 char (*f) () = $ac_func;
15638 #endif
15639 #ifdef __cplusplus
15641 #endif
15644 main ()
15646 return f != $ac_func;
15648 return 0;
15650 _ACEOF
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15653 (eval $ac_link) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } &&
15657 { ac_try='test -s conftest$ac_exeext'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; }; then
15663 eval "$as_ac_var=yes"
15664 else
15665 echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15668 eval "$as_ac_var=no"
15670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15674 if test `eval echo '${'$as_ac_var'}'` = yes; then
15675 cat >>confdefs.h <<_ACEOF
15676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15677 _ACEOF
15680 done
15682 else
15684 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15685 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15686 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15687 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 else
15693 ac_ext=cc
15694 ac_cpp='$CXXCPP $CPPFLAGS'
15695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699 cat >conftest.$ac_ext <<_ACEOF
15700 #line $LINENO "configure"
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 #include <math.h>
15707 #ifdef HAVE_IEEEFP_H
15708 #include <ieeefp.h>
15709 #endif
15712 main ()
15714 _finitef(0);
15716 return 0;
15718 _ACEOF
15719 rm -f conftest.$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721 (eval $ac_compile) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 glibcxx_cv_func__finitef_use=yes
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 glibcxx_cv_func__finitef_use=no
15738 rm -f conftest.$ac_objext conftest.$ac_ext
15739 ac_ext=c
15740 ac_cpp='$CPP $CPPFLAGS'
15741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15750 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15752 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15754 for ac_func in _finitef
15756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15757 echo "$as_me:$LINENO: checking for $ac_func" >&5
15758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15759 if eval "test \"\${$as_ac_var+set}\" = set"; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 if test x$gcc_no_link = xyes; then
15763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15765 { (exit 1); exit 1; }; }
15767 cat >conftest.$ac_ext <<_ACEOF
15768 #line $LINENO "configure"
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 /* System header to define __stub macros and hopefully few prototypes,
15775 which can conflict with char $ac_func (); below.
15776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15777 <limits.h> exists even on freestanding compilers. */
15778 #ifdef __STDC__
15779 # include <limits.h>
15780 #else
15781 # include <assert.h>
15782 #endif
15783 /* Override any gcc2 internal prototype to avoid an error. */
15784 #ifdef __cplusplus
15785 extern "C"
15787 #endif
15788 /* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15790 char $ac_func ();
15791 /* The GNU C library defines this for functions which it implements
15792 to always fail with ENOSYS. Some functions are actually named
15793 something starting with __ and the normal name is an alias. */
15794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 choke me
15796 #else
15797 char (*f) () = $ac_func;
15798 #endif
15799 #ifdef __cplusplus
15801 #endif
15804 main ()
15806 return f != $ac_func;
15808 return 0;
15810 _ACEOF
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>&5
15814 ac_status=$?
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } &&
15817 { ac_try='test -s conftest$ac_exeext'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15820 ac_status=$?
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; }; then
15823 eval "$as_ac_var=yes"
15824 else
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15828 eval "$as_ac_var=no"
15830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15834 if test `eval echo '${'$as_ac_var'}'` = yes; then
15835 cat >>confdefs.h <<_ACEOF
15836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15837 _ACEOF
15840 done
15847 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15848 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15849 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15850 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 else
15855 ac_ext=cc
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15861 cat >conftest.$ac_ext <<_ACEOF
15862 #line $LINENO "configure"
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 #include <math.h>
15870 main ()
15872 `for x in acosl asinl atanl \
15873 cosl sinl tanl \
15874 coshl sinhl tanhl; do echo "$x (0);"; done`
15876 return 0;
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>&5
15882 ac_status=$?
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 glibcxx_cv_func_long_double_trig_use=yes
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15896 glibcxx_cv_func_long_double_trig_use=no
15898 rm -f conftest.$ac_objext conftest.$ac_ext
15899 ac_ext=c
15900 ac_cpp='$CPP $CPPFLAGS'
15901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15908 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15909 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15919 for ac_func in acosl asinl atanl \
15920 cosl sinl tanl \
15921 coshl sinhl tanhl
15923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15924 echo "$as_me:$LINENO: checking for $ac_func" >&5
15925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15926 if eval "test \"\${$as_ac_var+set}\" = set"; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 if test x$gcc_no_link = xyes; then
15930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15932 { (exit 1); exit 1; }; }
15934 cat >conftest.$ac_ext <<_ACEOF
15935 #line $LINENO "configure"
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func (); below.
15943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15944 <limits.h> exists even on freestanding compilers. */
15945 #ifdef __STDC__
15946 # include <limits.h>
15947 #else
15948 # include <assert.h>
15949 #endif
15950 /* Override any gcc2 internal prototype to avoid an error. */
15951 #ifdef __cplusplus
15952 extern "C"
15954 #endif
15955 /* We use char because int might match the return type of a gcc2
15956 builtin and then its argument prototype would still apply. */
15957 char $ac_func ();
15958 /* The GNU C library defines this for functions which it implements
15959 to always fail with ENOSYS. Some functions are actually named
15960 something starting with __ and the normal name is an alias. */
15961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 choke me
15963 #else
15964 char (*f) () = $ac_func;
15965 #endif
15966 #ifdef __cplusplus
15968 #endif
15971 main ()
15973 return f != $ac_func;
15975 return 0;
15977 _ACEOF
15978 rm -f conftest.$ac_objext conftest$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980 (eval $ac_link) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -s conftest$ac_exeext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 eval "$as_ac_var=yes"
15991 else
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15995 eval "$as_ac_var=no"
15997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16001 if test `eval echo '${'$as_ac_var'}'` = yes; then
16002 cat >>confdefs.h <<_ACEOF
16003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16004 _ACEOF
16007 done
16012 echo "$as_me:$LINENO: checking for long double round functions" >&5
16013 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16014 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16020 ac_ext=cc
16021 ac_cpp='$CXXCPP $CPPFLAGS'
16022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16026 cat >conftest.$ac_ext <<_ACEOF
16027 #line $LINENO "configure"
16028 /* confdefs.h. */
16029 _ACEOF
16030 cat confdefs.h >>conftest.$ac_ext
16031 cat >>conftest.$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16033 #include <math.h>
16035 main ()
16037 `for x in ceill floorl; do echo "$x (0);"; done`
16039 return 0;
16041 _ACEOF
16042 rm -f conftest.$ac_objext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044 (eval $ac_compile) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 glibcxx_cv_func_long_double_round_use=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 glibcxx_cv_func_long_double_round_use=no
16061 rm -f conftest.$ac_objext conftest.$ac_ext
16062 ac_ext=c
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16071 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16072 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16075 for ac_func in ceill floorl
16077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16078 echo "$as_me:$LINENO: checking for $ac_func" >&5
16079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16080 if eval "test \"\${$as_ac_var+set}\" = set"; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16082 else
16083 if test x$gcc_no_link = xyes; then
16084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16086 { (exit 1); exit 1; }; }
16088 cat >conftest.$ac_ext <<_ACEOF
16089 #line $LINENO "configure"
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char $ac_func (); below.
16097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16098 <limits.h> exists even on freestanding compilers. */
16099 #ifdef __STDC__
16100 # include <limits.h>
16101 #else
16102 # include <assert.h>
16103 #endif
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 #ifdef __cplusplus
16106 extern "C"
16108 #endif
16109 /* We use char because int might match the return type of a gcc2
16110 builtin and then its argument prototype would still apply. */
16111 char $ac_func ();
16112 /* The GNU C library defines this for functions which it implements
16113 to always fail with ENOSYS. Some functions are actually named
16114 something starting with __ and the normal name is an alias. */
16115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16116 choke me
16117 #else
16118 char (*f) () = $ac_func;
16119 #endif
16120 #ifdef __cplusplus
16122 #endif
16125 main ()
16127 return f != $ac_func;
16129 return 0;
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try='test -s conftest$ac_exeext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 eval "$as_ac_var=yes"
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 eval "$as_ac_var=no"
16151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16155 if test `eval echo '${'$as_ac_var'}'` = yes; then
16156 cat >>confdefs.h <<_ACEOF
16157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16158 _ACEOF
16161 done
16167 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16168 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16169 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16170 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 else
16176 ac_ext=cc
16177 ac_cpp='$CXXCPP $CPPFLAGS'
16178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16182 cat >conftest.$ac_ext <<_ACEOF
16183 #line $LINENO "configure"
16184 /* confdefs.h. */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189 #include <math.h>
16190 #ifdef HAVE_IEEEFP_H
16191 #include <ieeefp.h>
16192 #endif
16195 main ()
16197 isnanl(0);
16199 return 0;
16201 _ACEOF
16202 rm -f conftest.$ac_objext
16203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16204 (eval $ac_compile) 2>&5
16205 ac_status=$?
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); } &&
16208 { ac_try='test -s conftest.$ac_objext'
16209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210 (eval $ac_try) 2>&5
16211 ac_status=$?
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); }; }; then
16214 glibcxx_cv_func_isnanl_use=yes
16215 else
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16219 glibcxx_cv_func_isnanl_use=no
16221 rm -f conftest.$ac_objext conftest.$ac_ext
16222 ac_ext=c
16223 ac_cpp='$CPP $CPPFLAGS'
16224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16233 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16235 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16237 for ac_func in isnanl
16239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16240 echo "$as_me:$LINENO: checking for $ac_func" >&5
16241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16242 if eval "test \"\${$as_ac_var+set}\" = set"; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 else
16245 if test x$gcc_no_link = xyes; then
16246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16248 { (exit 1); exit 1; }; }
16250 cat >conftest.$ac_ext <<_ACEOF
16251 #line $LINENO "configure"
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 /* System header to define __stub macros and hopefully few prototypes,
16258 which can conflict with char $ac_func (); below.
16259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16260 <limits.h> exists even on freestanding compilers. */
16261 #ifdef __STDC__
16262 # include <limits.h>
16263 #else
16264 # include <assert.h>
16265 #endif
16266 /* Override any gcc2 internal prototype to avoid an error. */
16267 #ifdef __cplusplus
16268 extern "C"
16270 #endif
16271 /* We use char because int might match the return type of a gcc2
16272 builtin and then its argument prototype would still apply. */
16273 char $ac_func ();
16274 /* The GNU C library defines this for functions which it implements
16275 to always fail with ENOSYS. Some functions are actually named
16276 something starting with __ and the normal name is an alias. */
16277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16278 choke me
16279 #else
16280 char (*f) () = $ac_func;
16281 #endif
16282 #ifdef __cplusplus
16284 #endif
16287 main ()
16289 return f != $ac_func;
16291 return 0;
16293 _ACEOF
16294 rm -f conftest.$ac_objext conftest$ac_exeext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16296 (eval $ac_link) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 eval "$as_ac_var=yes"
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16311 eval "$as_ac_var=no"
16313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16317 if test `eval echo '${'$as_ac_var'}'` = yes; then
16318 cat >>confdefs.h <<_ACEOF
16319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16320 _ACEOF
16323 done
16325 else
16327 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16328 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16329 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16330 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16336 ac_ext=cc
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 cat >conftest.$ac_ext <<_ACEOF
16343 #line $LINENO "configure"
16344 /* confdefs.h. */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16349 #include <math.h>
16350 #ifdef HAVE_IEEEFP_H
16351 #include <ieeefp.h>
16352 #endif
16355 main ()
16357 _isnanl(0);
16359 return 0;
16361 _ACEOF
16362 rm -f conftest.$ac_objext
16363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16364 (eval $ac_compile) 2>&5
16365 ac_status=$?
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); } &&
16368 { ac_try='test -s conftest.$ac_objext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16371 ac_status=$?
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16374 glibcxx_cv_func__isnanl_use=yes
16375 else
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16379 glibcxx_cv_func__isnanl_use=no
16381 rm -f conftest.$ac_objext conftest.$ac_ext
16382 ac_ext=c
16383 ac_cpp='$CPP $CPPFLAGS'
16384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16393 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16395 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16397 for ac_func in _isnanl
16399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16400 echo "$as_me:$LINENO: checking for $ac_func" >&5
16401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16402 if eval "test \"\${$as_ac_var+set}\" = set"; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405 if test x$gcc_no_link = xyes; then
16406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16408 { (exit 1); exit 1; }; }
16410 cat >conftest.$ac_ext <<_ACEOF
16411 #line $LINENO "configure"
16412 /* confdefs.h. */
16413 _ACEOF
16414 cat confdefs.h >>conftest.$ac_ext
16415 cat >>conftest.$ac_ext <<_ACEOF
16416 /* end confdefs.h. */
16417 /* System header to define __stub macros and hopefully few prototypes,
16418 which can conflict with char $ac_func (); below.
16419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16420 <limits.h> exists even on freestanding compilers. */
16421 #ifdef __STDC__
16422 # include <limits.h>
16423 #else
16424 # include <assert.h>
16425 #endif
16426 /* Override any gcc2 internal prototype to avoid an error. */
16427 #ifdef __cplusplus
16428 extern "C"
16430 #endif
16431 /* We use char because int might match the return type of a gcc2
16432 builtin and then its argument prototype would still apply. */
16433 char $ac_func ();
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16438 choke me
16439 #else
16440 char (*f) () = $ac_func;
16441 #endif
16442 #ifdef __cplusplus
16444 #endif
16447 main ()
16449 return f != $ac_func;
16451 return 0;
16453 _ACEOF
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16456 (eval $ac_link) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try='test -s conftest$ac_exeext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 eval "$as_ac_var=yes"
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 eval "$as_ac_var=no"
16473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16477 if test `eval echo '${'$as_ac_var'}'` = yes; then
16478 cat >>confdefs.h <<_ACEOF
16479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16480 _ACEOF
16483 done
16490 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16491 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16492 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16493 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 else
16499 ac_ext=cc
16500 ac_cpp='$CXXCPP $CPPFLAGS'
16501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16505 cat >conftest.$ac_ext <<_ACEOF
16506 #line $LINENO "configure"
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <math.h>
16513 #ifdef HAVE_IEEEFP_H
16514 #include <ieeefp.h>
16515 #endif
16518 main ()
16520 isinfl(0);
16522 return 0;
16524 _ACEOF
16525 rm -f conftest.$ac_objext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16527 (eval $ac_compile) 2>&5
16528 ac_status=$?
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -s conftest.$ac_objext'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16534 ac_status=$?
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; }; then
16537 glibcxx_cv_func_isinfl_use=yes
16538 else
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16542 glibcxx_cv_func_isinfl_use=no
16544 rm -f conftest.$ac_objext conftest.$ac_ext
16545 ac_ext=c
16546 ac_cpp='$CPP $CPPFLAGS'
16547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16556 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16558 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16560 for ac_func in isinfl
16562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16563 echo "$as_me:$LINENO: checking for $ac_func" >&5
16564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16565 if eval "test \"\${$as_ac_var+set}\" = set"; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16567 else
16568 if test x$gcc_no_link = xyes; then
16569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16571 { (exit 1); exit 1; }; }
16573 cat >conftest.$ac_ext <<_ACEOF
16574 #line $LINENO "configure"
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 /* System header to define __stub macros and hopefully few prototypes,
16581 which can conflict with char $ac_func (); below.
16582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16583 <limits.h> exists even on freestanding compilers. */
16584 #ifdef __STDC__
16585 # include <limits.h>
16586 #else
16587 # include <assert.h>
16588 #endif
16589 /* Override any gcc2 internal prototype to avoid an error. */
16590 #ifdef __cplusplus
16591 extern "C"
16593 #endif
16594 /* We use char because int might match the return type of a gcc2
16595 builtin and then its argument prototype would still apply. */
16596 char $ac_func ();
16597 /* The GNU C library defines this for functions which it implements
16598 to always fail with ENOSYS. Some functions are actually named
16599 something starting with __ and the normal name is an alias. */
16600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 choke me
16602 #else
16603 char (*f) () = $ac_func;
16604 #endif
16605 #ifdef __cplusplus
16607 #endif
16610 main ()
16612 return f != $ac_func;
16614 return 0;
16616 _ACEOF
16617 rm -f conftest.$ac_objext conftest$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>&5
16620 ac_status=$?
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } &&
16623 { ac_try='test -s conftest$ac_exeext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 eval "$as_ac_var=yes"
16630 else
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 eval "$as_ac_var=no"
16636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16640 if test `eval echo '${'$as_ac_var'}'` = yes; then
16641 cat >>confdefs.h <<_ACEOF
16642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16643 _ACEOF
16646 done
16648 else
16650 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16651 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16652 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16653 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16659 ac_ext=cc
16660 ac_cpp='$CXXCPP $CPPFLAGS'
16661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16665 cat >conftest.$ac_ext <<_ACEOF
16666 #line $LINENO "configure"
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 #include <math.h>
16673 #ifdef HAVE_IEEEFP_H
16674 #include <ieeefp.h>
16675 #endif
16678 main ()
16680 _isinfl(0);
16682 return 0;
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>&5
16688 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 glibcxx_cv_func__isinfl_use=yes
16698 else
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16702 glibcxx_cv_func__isinfl_use=no
16704 rm -f conftest.$ac_objext conftest.$ac_ext
16705 ac_ext=c
16706 ac_cpp='$CPP $CPPFLAGS'
16707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16716 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16718 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16720 for ac_func in _isinfl
16722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16723 echo "$as_me:$LINENO: checking for $ac_func" >&5
16724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16725 if eval "test \"\${$as_ac_var+set}\" = set"; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 else
16728 if test x$gcc_no_link = xyes; then
16729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16731 { (exit 1); exit 1; }; }
16733 cat >conftest.$ac_ext <<_ACEOF
16734 #line $LINENO "configure"
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 /* System header to define __stub macros and hopefully few prototypes,
16741 which can conflict with char $ac_func (); below.
16742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16743 <limits.h> exists even on freestanding compilers. */
16744 #ifdef __STDC__
16745 # include <limits.h>
16746 #else
16747 # include <assert.h>
16748 #endif
16749 /* Override any gcc2 internal prototype to avoid an error. */
16750 #ifdef __cplusplus
16751 extern "C"
16753 #endif
16754 /* We use char because int might match the return type of a gcc2
16755 builtin and then its argument prototype would still apply. */
16756 char $ac_func ();
16757 /* The GNU C library defines this for functions which it implements
16758 to always fail with ENOSYS. Some functions are actually named
16759 something starting with __ and the normal name is an alias. */
16760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16761 choke me
16762 #else
16763 char (*f) () = $ac_func;
16764 #endif
16765 #ifdef __cplusplus
16767 #endif
16770 main ()
16772 return f != $ac_func;
16774 return 0;
16776 _ACEOF
16777 rm -f conftest.$ac_objext conftest$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779 (eval $ac_link) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try='test -s conftest$ac_exeext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 eval "$as_ac_var=yes"
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16794 eval "$as_ac_var=no"
16796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16800 if test `eval echo '${'$as_ac_var'}'` = yes; then
16801 cat >>confdefs.h <<_ACEOF
16802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16803 _ACEOF
16806 done
16813 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16814 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16815 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16816 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16822 ac_ext=cc
16823 ac_cpp='$CXXCPP $CPPFLAGS'
16824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16828 cat >conftest.$ac_ext <<_ACEOF
16829 #line $LINENO "configure"
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835 #include <math.h>
16837 main ()
16839 copysignl(0, 0);
16841 return 0;
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 glibcxx_cv_func_copysignl_use=yes
16857 else
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16861 glibcxx_cv_func_copysignl_use=no
16863 rm -f conftest.$ac_objext conftest.$ac_ext
16864 ac_ext=c
16865 ac_cpp='$CPP $CPPFLAGS'
16866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16875 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16877 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16879 for ac_func in copysignl
16881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16882 echo "$as_me:$LINENO: checking for $ac_func" >&5
16883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16884 if eval "test \"\${$as_ac_var+set}\" = set"; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887 if test x$gcc_no_link = xyes; then
16888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16890 { (exit 1); exit 1; }; }
16892 cat >conftest.$ac_ext <<_ACEOF
16893 #line $LINENO "configure"
16894 /* confdefs.h. */
16895 _ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 /* System header to define __stub macros and hopefully few prototypes,
16900 which can conflict with char $ac_func (); below.
16901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16902 <limits.h> exists even on freestanding compilers. */
16903 #ifdef __STDC__
16904 # include <limits.h>
16905 #else
16906 # include <assert.h>
16907 #endif
16908 /* Override any gcc2 internal prototype to avoid an error. */
16909 #ifdef __cplusplus
16910 extern "C"
16912 #endif
16913 /* We use char because int might match the return type of a gcc2
16914 builtin and then its argument prototype would still apply. */
16915 char $ac_func ();
16916 /* The GNU C library defines this for functions which it implements
16917 to always fail with ENOSYS. Some functions are actually named
16918 something starting with __ and the normal name is an alias. */
16919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16920 choke me
16921 #else
16922 char (*f) () = $ac_func;
16923 #endif
16924 #ifdef __cplusplus
16926 #endif
16929 main ()
16931 return f != $ac_func;
16933 return 0;
16935 _ACEOF
16936 rm -f conftest.$ac_objext conftest$ac_exeext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16938 (eval $ac_link) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try='test -s conftest$ac_exeext'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; }; then
16948 eval "$as_ac_var=yes"
16949 else
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.$ac_ext >&5
16953 eval "$as_ac_var=no"
16955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16959 if test `eval echo '${'$as_ac_var'}'` = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16962 _ACEOF
16965 done
16967 else
16969 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16970 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
16971 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16972 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 else
16978 ac_ext=cc
16979 ac_cpp='$CXXCPP $CPPFLAGS'
16980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16984 cat >conftest.$ac_ext <<_ACEOF
16985 #line $LINENO "configure"
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 #include <math.h>
16993 main ()
16995 _copysignl(0, 0);
16997 return 0;
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17002 (eval $ac_compile) 2>&5
17003 ac_status=$?
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try='test -s conftest.$ac_objext'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; }; then
17012 glibcxx_cv_func__copysignl_use=yes
17013 else
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17017 glibcxx_cv_func__copysignl_use=no
17019 rm -f conftest.$ac_objext conftest.$ac_ext
17020 ac_ext=c
17021 ac_cpp='$CPP $CPPFLAGS'
17022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17031 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17033 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17035 for ac_func in _copysignl
17037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17038 echo "$as_me:$LINENO: checking for $ac_func" >&5
17039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17040 if eval "test \"\${$as_ac_var+set}\" = set"; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 else
17043 if test x$gcc_no_link = xyes; then
17044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17046 { (exit 1); exit 1; }; }
17048 cat >conftest.$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 /* System header to define __stub macros and hopefully few prototypes,
17056 which can conflict with char $ac_func (); below.
17057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17058 <limits.h> exists even on freestanding compilers. */
17059 #ifdef __STDC__
17060 # include <limits.h>
17061 #else
17062 # include <assert.h>
17063 #endif
17064 /* Override any gcc2 internal prototype to avoid an error. */
17065 #ifdef __cplusplus
17066 extern "C"
17068 #endif
17069 /* We use char because int might match the return type of a gcc2
17070 builtin and then its argument prototype would still apply. */
17071 char $ac_func ();
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17076 choke me
17077 #else
17078 char (*f) () = $ac_func;
17079 #endif
17080 #ifdef __cplusplus
17082 #endif
17085 main ()
17087 return f != $ac_func;
17089 return 0;
17091 _ACEOF
17092 rm -f conftest.$ac_objext conftest$ac_exeext
17093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17094 (eval $ac_link) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17104 eval "$as_ac_var=yes"
17105 else
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 eval "$as_ac_var=no"
17111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17115 if test `eval echo '${'$as_ac_var'}'` = yes; then
17116 cat >>confdefs.h <<_ACEOF
17117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17118 _ACEOF
17121 done
17128 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17129 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17130 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17131 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 else
17137 ac_ext=cc
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17143 cat >conftest.$ac_ext <<_ACEOF
17144 #line $LINENO "configure"
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 #include <math.h>
17152 main ()
17154 atan2l(0, 0);
17156 return 0;
17158 _ACEOF
17159 rm -f conftest.$ac_objext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17161 (eval $ac_compile) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } &&
17165 { ac_try='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17168 ac_status=$?
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 glibcxx_cv_func_atan2l_use=yes
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17176 glibcxx_cv_func_atan2l_use=no
17178 rm -f conftest.$ac_objext conftest.$ac_ext
17179 ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17190 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17192 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17194 for ac_func in atan2l
17196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17197 echo "$as_me:$LINENO: checking for $ac_func" >&5
17198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17199 if eval "test \"\${$as_ac_var+set}\" = set"; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 else
17202 if test x$gcc_no_link = xyes; then
17203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17205 { (exit 1); exit 1; }; }
17207 cat >conftest.$ac_ext <<_ACEOF
17208 #line $LINENO "configure"
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 /* System header to define __stub macros and hopefully few prototypes,
17215 which can conflict with char $ac_func (); below.
17216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17217 <limits.h> exists even on freestanding compilers. */
17218 #ifdef __STDC__
17219 # include <limits.h>
17220 #else
17221 # include <assert.h>
17222 #endif
17223 /* Override any gcc2 internal prototype to avoid an error. */
17224 #ifdef __cplusplus
17225 extern "C"
17227 #endif
17228 /* We use char because int might match the return type of a gcc2
17229 builtin and then its argument prototype would still apply. */
17230 char $ac_func ();
17231 /* The GNU C library defines this for functions which it implements
17232 to always fail with ENOSYS. Some functions are actually named
17233 something starting with __ and the normal name is an alias. */
17234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17235 choke me
17236 #else
17237 char (*f) () = $ac_func;
17238 #endif
17239 #ifdef __cplusplus
17241 #endif
17244 main ()
17246 return f != $ac_func;
17248 return 0;
17250 _ACEOF
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253 (eval $ac_link) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -s conftest$ac_exeext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 eval "$as_ac_var=yes"
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 eval "$as_ac_var=no"
17270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17274 if test `eval echo '${'$as_ac_var'}'` = yes; then
17275 cat >>confdefs.h <<_ACEOF
17276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17277 _ACEOF
17280 done
17282 else
17284 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17285 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17286 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17287 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17293 ac_ext=cc
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17299 cat >conftest.$ac_ext <<_ACEOF
17300 #line $LINENO "configure"
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #include <math.h>
17308 main ()
17310 _atan2l(0, 0);
17312 return 0;
17314 _ACEOF
17315 rm -f conftest.$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -s conftest.$ac_objext'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 glibcxx_cv_func__atan2l_use=yes
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17332 glibcxx_cv_func__atan2l_use=no
17334 rm -f conftest.$ac_objext conftest.$ac_ext
17335 ac_ext=c
17336 ac_cpp='$CPP $CPPFLAGS'
17337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17346 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17348 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17350 for ac_func in _atan2l
17352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17353 echo "$as_me:$LINENO: checking for $ac_func" >&5
17354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17355 if eval "test \"\${$as_ac_var+set}\" = set"; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 else
17358 if test x$gcc_no_link = xyes; then
17359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17361 { (exit 1); exit 1; }; }
17363 cat >conftest.$ac_ext <<_ACEOF
17364 #line $LINENO "configure"
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 /* System header to define __stub macros and hopefully few prototypes,
17371 which can conflict with char $ac_func (); below.
17372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17373 <limits.h> exists even on freestanding compilers. */
17374 #ifdef __STDC__
17375 # include <limits.h>
17376 #else
17377 # include <assert.h>
17378 #endif
17379 /* Override any gcc2 internal prototype to avoid an error. */
17380 #ifdef __cplusplus
17381 extern "C"
17383 #endif
17384 /* We use char because int might match the return type of a gcc2
17385 builtin and then its argument prototype would still apply. */
17386 char $ac_func ();
17387 /* The GNU C library defines this for functions which it implements
17388 to always fail with ENOSYS. Some functions are actually named
17389 something starting with __ and the normal name is an alias. */
17390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17391 choke me
17392 #else
17393 char (*f) () = $ac_func;
17394 #endif
17395 #ifdef __cplusplus
17397 #endif
17400 main ()
17402 return f != $ac_func;
17404 return 0;
17406 _ACEOF
17407 rm -f conftest.$ac_objext conftest$ac_exeext
17408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17409 (eval $ac_link) 2>&5
17410 ac_status=$?
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } &&
17413 { ac_try='test -s conftest$ac_exeext'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17419 eval "$as_ac_var=yes"
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17424 eval "$as_ac_var=no"
17426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17430 if test `eval echo '${'$as_ac_var'}'` = yes; then
17431 cat >>confdefs.h <<_ACEOF
17432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17433 _ACEOF
17436 done
17443 echo "$as_me:$LINENO: checking for expl declaration" >&5
17444 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17445 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17446 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 else
17452 ac_ext=cc
17453 ac_cpp='$CXXCPP $CPPFLAGS'
17454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17458 cat >conftest.$ac_ext <<_ACEOF
17459 #line $LINENO "configure"
17460 /* confdefs.h. */
17461 _ACEOF
17462 cat confdefs.h >>conftest.$ac_ext
17463 cat >>conftest.$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 #include <math.h>
17466 #ifdef HAVE_IEEEFP_H
17467 #include <ieeefp.h>
17468 #endif
17471 main ()
17473 expl(0);
17475 return 0;
17477 _ACEOF
17478 rm -f conftest.$ac_objext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17480 (eval $ac_compile) 2>&5
17481 ac_status=$?
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } &&
17484 { ac_try='test -s conftest.$ac_objext'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17487 ac_status=$?
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17490 glibcxx_cv_func_expl_use=yes
17491 else
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 glibcxx_cv_func_expl_use=no
17497 rm -f conftest.$ac_objext conftest.$ac_ext
17498 ac_ext=c
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17509 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17511 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17513 for ac_func in expl
17515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17516 echo "$as_me:$LINENO: checking for $ac_func" >&5
17517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17518 if eval "test \"\${$as_ac_var+set}\" = set"; then
17519 echo $ECHO_N "(cached) $ECHO_C" >&6
17520 else
17521 if test x$gcc_no_link = xyes; then
17522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17524 { (exit 1); exit 1; }; }
17526 cat >conftest.$ac_ext <<_ACEOF
17527 #line $LINENO "configure"
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533 /* System header to define __stub macros and hopefully few prototypes,
17534 which can conflict with char $ac_func (); below.
17535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17536 <limits.h> exists even on freestanding compilers. */
17537 #ifdef __STDC__
17538 # include <limits.h>
17539 #else
17540 # include <assert.h>
17541 #endif
17542 /* Override any gcc2 internal prototype to avoid an error. */
17543 #ifdef __cplusplus
17544 extern "C"
17546 #endif
17547 /* We use char because int might match the return type of a gcc2
17548 builtin and then its argument prototype would still apply. */
17549 char $ac_func ();
17550 /* The GNU C library defines this for functions which it implements
17551 to always fail with ENOSYS. Some functions are actually named
17552 something starting with __ and the normal name is an alias. */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17554 choke me
17555 #else
17556 char (*f) () = $ac_func;
17557 #endif
17558 #ifdef __cplusplus
17560 #endif
17563 main ()
17565 return f != $ac_func;
17567 return 0;
17569 _ACEOF
17570 rm -f conftest.$ac_objext conftest$ac_exeext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572 (eval $ac_link) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try='test -s conftest$ac_exeext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 eval "$as_ac_var=yes"
17583 else
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17587 eval "$as_ac_var=no"
17589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17593 if test `eval echo '${'$as_ac_var'}'` = yes; then
17594 cat >>confdefs.h <<_ACEOF
17595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17596 _ACEOF
17599 done
17601 else
17603 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17604 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17605 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17606 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17612 ac_ext=cc
17613 ac_cpp='$CXXCPP $CPPFLAGS'
17614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17618 cat >conftest.$ac_ext <<_ACEOF
17619 #line $LINENO "configure"
17620 /* confdefs.h. */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 #include <math.h>
17626 #ifdef HAVE_IEEEFP_H
17627 #include <ieeefp.h>
17628 #endif
17631 main ()
17633 _expl(0);
17635 return 0;
17637 _ACEOF
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } &&
17644 { ac_try='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 glibcxx_cv_func__expl_use=yes
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 glibcxx_cv_func__expl_use=no
17657 rm -f conftest.$ac_objext conftest.$ac_ext
17658 ac_ext=c
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17669 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17671 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17673 for ac_func in _expl
17675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17676 echo "$as_me:$LINENO: checking for $ac_func" >&5
17677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17678 if eval "test \"\${$as_ac_var+set}\" = set"; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 else
17681 if test x$gcc_no_link = xyes; then
17682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17684 { (exit 1); exit 1; }; }
17686 cat >conftest.$ac_ext <<_ACEOF
17687 #line $LINENO "configure"
17688 /* confdefs.h. */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693 /* System header to define __stub macros and hopefully few prototypes,
17694 which can conflict with char $ac_func (); below.
17695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17696 <limits.h> exists even on freestanding compilers. */
17697 #ifdef __STDC__
17698 # include <limits.h>
17699 #else
17700 # include <assert.h>
17701 #endif
17702 /* Override any gcc2 internal prototype to avoid an error. */
17703 #ifdef __cplusplus
17704 extern "C"
17706 #endif
17707 /* We use char because int might match the return type of a gcc2
17708 builtin and then its argument prototype would still apply. */
17709 char $ac_func ();
17710 /* The GNU C library defines this for functions which it implements
17711 to always fail with ENOSYS. Some functions are actually named
17712 something starting with __ and the normal name is an alias. */
17713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17714 choke me
17715 #else
17716 char (*f) () = $ac_func;
17717 #endif
17718 #ifdef __cplusplus
17720 #endif
17723 main ()
17725 return f != $ac_func;
17727 return 0;
17729 _ACEOF
17730 rm -f conftest.$ac_objext conftest$ac_exeext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17732 (eval $ac_link) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17742 eval "$as_ac_var=yes"
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 eval "$as_ac_var=no"
17749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17753 if test `eval echo '${'$as_ac_var'}'` = yes; then
17754 cat >>confdefs.h <<_ACEOF
17755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17756 _ACEOF
17759 done
17766 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17767 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17768 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17769 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17775 ac_ext=cc
17776 ac_cpp='$CXXCPP $CPPFLAGS'
17777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17781 cat >conftest.$ac_ext <<_ACEOF
17782 #line $LINENO "configure"
17783 /* confdefs.h. */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17788 #include <math.h>
17789 #ifdef HAVE_IEEEFP_H
17790 #include <ieeefp.h>
17791 #endif
17794 main ()
17796 fabsl(0);
17798 return 0;
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813 glibcxx_cv_func_fabsl_use=yes
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17818 glibcxx_cv_func_fabsl_use=no
17820 rm -f conftest.$ac_objext conftest.$ac_ext
17821 ac_ext=c
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17832 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17834 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17836 for ac_func in fabsl
17838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17839 echo "$as_me:$LINENO: checking for $ac_func" >&5
17840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17841 if eval "test \"\${$as_ac_var+set}\" = set"; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 else
17844 if test x$gcc_no_link = xyes; then
17845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17847 { (exit 1); exit 1; }; }
17849 cat >conftest.$ac_ext <<_ACEOF
17850 #line $LINENO "configure"
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 /* System header to define __stub macros and hopefully few prototypes,
17857 which can conflict with char $ac_func (); below.
17858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859 <limits.h> exists even on freestanding compilers. */
17860 #ifdef __STDC__
17861 # include <limits.h>
17862 #else
17863 # include <assert.h>
17864 #endif
17865 /* Override any gcc2 internal prototype to avoid an error. */
17866 #ifdef __cplusplus
17867 extern "C"
17869 #endif
17870 /* We use char because int might match the return type of a gcc2
17871 builtin and then its argument prototype would still apply. */
17872 char $ac_func ();
17873 /* The GNU C library defines this for functions which it implements
17874 to always fail with ENOSYS. Some functions are actually named
17875 something starting with __ and the normal name is an alias. */
17876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17877 choke me
17878 #else
17879 char (*f) () = $ac_func;
17880 #endif
17881 #ifdef __cplusplus
17883 #endif
17886 main ()
17888 return f != $ac_func;
17890 return 0;
17892 _ACEOF
17893 rm -f conftest.$ac_objext conftest$ac_exeext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17895 (eval $ac_link) 2>&5
17896 ac_status=$?
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -s conftest$ac_exeext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 eval "$as_ac_var=yes"
17906 else
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17910 eval "$as_ac_var=no"
17912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17916 if test `eval echo '${'$as_ac_var'}'` = yes; then
17917 cat >>confdefs.h <<_ACEOF
17918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17919 _ACEOF
17922 done
17924 else
17926 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17927 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17928 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17929 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17935 ac_ext=cc
17936 ac_cpp='$CXXCPP $CPPFLAGS'
17937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17941 cat >conftest.$ac_ext <<_ACEOF
17942 #line $LINENO "configure"
17943 /* confdefs.h. */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 #include <math.h>
17949 #ifdef HAVE_IEEEFP_H
17950 #include <ieeefp.h>
17951 #endif
17954 main ()
17956 _fabsl(0);
17958 return 0;
17960 _ACEOF
17961 rm -f conftest.$ac_objext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17963 (eval $ac_compile) 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try='test -s conftest.$ac_objext'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17970 ac_status=$?
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; }; then
17973 glibcxx_cv_func__fabsl_use=yes
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17978 glibcxx_cv_func__fabsl_use=no
17980 rm -f conftest.$ac_objext conftest.$ac_ext
17981 ac_ext=c
17982 ac_cpp='$CPP $CPPFLAGS'
17983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
17992 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
17994 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17996 for ac_func in _fabsl
17998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17999 echo "$as_me:$LINENO: checking for $ac_func" >&5
18000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18001 if eval "test \"\${$as_ac_var+set}\" = set"; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004 if test x$gcc_no_link = xyes; then
18005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18007 { (exit 1); exit 1; }; }
18009 cat >conftest.$ac_ext <<_ACEOF
18010 #line $LINENO "configure"
18011 /* confdefs.h. */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 /* System header to define __stub macros and hopefully few prototypes,
18017 which can conflict with char $ac_func (); below.
18018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18019 <limits.h> exists even on freestanding compilers. */
18020 #ifdef __STDC__
18021 # include <limits.h>
18022 #else
18023 # include <assert.h>
18024 #endif
18025 /* Override any gcc2 internal prototype to avoid an error. */
18026 #ifdef __cplusplus
18027 extern "C"
18029 #endif
18030 /* We use char because int might match the return type of a gcc2
18031 builtin and then its argument prototype would still apply. */
18032 char $ac_func ();
18033 /* The GNU C library defines this for functions which it implements
18034 to always fail with ENOSYS. Some functions are actually named
18035 something starting with __ and the normal name is an alias. */
18036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18037 choke me
18038 #else
18039 char (*f) () = $ac_func;
18040 #endif
18041 #ifdef __cplusplus
18043 #endif
18046 main ()
18048 return f != $ac_func;
18050 return 0;
18052 _ACEOF
18053 rm -f conftest.$ac_objext conftest$ac_exeext
18054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18055 (eval $ac_link) 2>&5
18056 ac_status=$?
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try='test -s conftest$ac_exeext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18062 ac_status=$?
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 eval "$as_ac_var=yes"
18066 else
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18070 eval "$as_ac_var=no"
18072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18076 if test `eval echo '${'$as_ac_var'}'` = yes; then
18077 cat >>confdefs.h <<_ACEOF
18078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 _ACEOF
18082 done
18089 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18090 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18091 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18092 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18093 echo $ECHO_N "(cached) $ECHO_C" >&6
18094 else
18098 ac_ext=cc
18099 ac_cpp='$CXXCPP $CPPFLAGS'
18100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18104 cat >conftest.$ac_ext <<_ACEOF
18105 #line $LINENO "configure"
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <math.h>
18113 main ()
18115 fmodl(0, 0);
18117 return 0;
18119 _ACEOF
18120 rm -f conftest.$ac_objext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18122 (eval $ac_compile) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18129 ac_status=$?
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 glibcxx_cv_func_fmodl_use=yes
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18137 glibcxx_cv_func_fmodl_use=no
18139 rm -f conftest.$ac_objext conftest.$ac_ext
18140 ac_ext=c
18141 ac_cpp='$CPP $CPPFLAGS'
18142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18151 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18153 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18155 for ac_func in fmodl
18157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18158 echo "$as_me:$LINENO: checking for $ac_func" >&5
18159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18160 if eval "test \"\${$as_ac_var+set}\" = set"; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18162 else
18163 if test x$gcc_no_link = xyes; then
18164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18166 { (exit 1); exit 1; }; }
18168 cat >conftest.$ac_ext <<_ACEOF
18169 #line $LINENO "configure"
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func (); below.
18177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18178 <limits.h> exists even on freestanding compilers. */
18179 #ifdef __STDC__
18180 # include <limits.h>
18181 #else
18182 # include <assert.h>
18183 #endif
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>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try='test -s conftest$ac_exeext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 eval "$as_ac_var=yes"
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 eval "$as_ac_var=no"
18231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18235 if test `eval echo '${'$as_ac_var'}'` = yes; then
18236 cat >>confdefs.h <<_ACEOF
18237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18238 _ACEOF
18241 done
18243 else
18245 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18246 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18247 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18248 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18254 ac_ext=cc
18255 ac_cpp='$CXXCPP $CPPFLAGS'
18256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18260 cat >conftest.$ac_ext <<_ACEOF
18261 #line $LINENO "configure"
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <math.h>
18269 main ()
18271 _fmodl(0, 0);
18273 return 0;
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } &&
18282 { ac_try='test -s conftest.$ac_objext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18285 ac_status=$?
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18288 glibcxx_cv_func__fmodl_use=yes
18289 else
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18293 glibcxx_cv_func__fmodl_use=no
18295 rm -f conftest.$ac_objext conftest.$ac_ext
18296 ac_ext=c
18297 ac_cpp='$CPP $CPPFLAGS'
18298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18307 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18309 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18311 for ac_func in _fmodl
18313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18314 echo "$as_me:$LINENO: checking for $ac_func" >&5
18315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18316 if eval "test \"\${$as_ac_var+set}\" = set"; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 else
18319 if test x$gcc_no_link = xyes; then
18320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18322 { (exit 1); exit 1; }; }
18324 cat >conftest.$ac_ext <<_ACEOF
18325 #line $LINENO "configure"
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331 /* System header to define __stub macros and hopefully few prototypes,
18332 which can conflict with char $ac_func (); below.
18333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18334 <limits.h> exists even on freestanding compilers. */
18335 #ifdef __STDC__
18336 # include <limits.h>
18337 #else
18338 # include <assert.h>
18339 #endif
18340 /* Override any gcc2 internal prototype to avoid an error. */
18341 #ifdef __cplusplus
18342 extern "C"
18344 #endif
18345 /* We use char because int might match the return type of a gcc2
18346 builtin and then its argument prototype would still apply. */
18347 char $ac_func ();
18348 /* The GNU C library defines this for functions which it implements
18349 to always fail with ENOSYS. Some functions are actually named
18350 something starting with __ and the normal name is an alias. */
18351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18352 choke me
18353 #else
18354 char (*f) () = $ac_func;
18355 #endif
18356 #ifdef __cplusplus
18358 #endif
18361 main ()
18363 return f != $ac_func;
18365 return 0;
18367 _ACEOF
18368 rm -f conftest.$ac_objext conftest$ac_exeext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18370 (eval $ac_link) 2>&5
18371 ac_status=$?
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } &&
18374 { ac_try='test -s conftest$ac_exeext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 eval "$as_ac_var=yes"
18381 else
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 eval "$as_ac_var=no"
18387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18391 if test `eval echo '${'$as_ac_var'}'` = yes; then
18392 cat >>confdefs.h <<_ACEOF
18393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18394 _ACEOF
18397 done
18404 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18405 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18406 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18407 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18413 ac_ext=cc
18414 ac_cpp='$CXXCPP $CPPFLAGS'
18415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18419 cat >conftest.$ac_ext <<_ACEOF
18420 #line $LINENO "configure"
18421 /* confdefs.h. */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <math.h>
18428 main ()
18430 frexpl(0, 0);
18432 return 0;
18434 _ACEOF
18435 rm -f conftest.$ac_objext
18436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18437 (eval $ac_compile) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 glibcxx_cv_func_frexpl_use=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 glibcxx_cv_func_frexpl_use=no
18454 rm -f conftest.$ac_objext conftest.$ac_ext
18455 ac_ext=c
18456 ac_cpp='$CPP $CPPFLAGS'
18457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18466 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18468 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18470 for ac_func in frexpl
18472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18473 echo "$as_me:$LINENO: checking for $ac_func" >&5
18474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18475 if eval "test \"\${$as_ac_var+set}\" = set"; then
18476 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18481 { (exit 1); exit 1; }; }
18483 cat >conftest.$ac_ext <<_ACEOF
18484 #line $LINENO "configure"
18485 /* confdefs.h. */
18486 _ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 /* System header to define __stub macros and hopefully few prototypes,
18491 which can conflict with char $ac_func (); below.
18492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18493 <limits.h> exists even on freestanding compilers. */
18494 #ifdef __STDC__
18495 # include <limits.h>
18496 #else
18497 # include <assert.h>
18498 #endif
18499 /* Override any gcc2 internal prototype to avoid an error. */
18500 #ifdef __cplusplus
18501 extern "C"
18503 #endif
18504 /* We use char because int might match the return type of a gcc2
18505 builtin and then its argument prototype would still apply. */
18506 char $ac_func ();
18507 /* The GNU C library defines this for functions which it implements
18508 to always fail with ENOSYS. Some functions are actually named
18509 something starting with __ and the normal name is an alias. */
18510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18511 choke me
18512 #else
18513 char (*f) () = $ac_func;
18514 #endif
18515 #ifdef __cplusplus
18517 #endif
18520 main ()
18522 return f != $ac_func;
18524 return 0;
18526 _ACEOF
18527 rm -f conftest.$ac_objext conftest$ac_exeext
18528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18529 (eval $ac_link) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try='test -s conftest$ac_exeext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 eval "$as_ac_var=yes"
18540 else
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18544 eval "$as_ac_var=no"
18546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18550 if test `eval echo '${'$as_ac_var'}'` = yes; then
18551 cat >>confdefs.h <<_ACEOF
18552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18553 _ACEOF
18556 done
18558 else
18560 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18561 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18562 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18563 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18564 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 else
18569 ac_ext=cc
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18575 cat >conftest.$ac_ext <<_ACEOF
18576 #line $LINENO "configure"
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <math.h>
18584 main ()
18586 _frexpl(0, 0);
18588 return 0;
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593 (eval $ac_compile) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 glibcxx_cv_func__frexpl_use=yes
18604 else
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18608 glibcxx_cv_func__frexpl_use=no
18610 rm -f conftest.$ac_objext conftest.$ac_ext
18611 ac_ext=c
18612 ac_cpp='$CPP $CPPFLAGS'
18613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18622 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18624 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18626 for ac_func in _frexpl
18628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18629 echo "$as_me:$LINENO: checking for $ac_func" >&5
18630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18631 if eval "test \"\${$as_ac_var+set}\" = set"; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6
18633 else
18634 if test x$gcc_no_link = xyes; then
18635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18637 { (exit 1); exit 1; }; }
18639 cat >conftest.$ac_ext <<_ACEOF
18640 #line $LINENO "configure"
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 /* System header to define __stub macros and hopefully few prototypes,
18647 which can conflict with char $ac_func (); below.
18648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18649 <limits.h> exists even on freestanding compilers. */
18650 #ifdef __STDC__
18651 # include <limits.h>
18652 #else
18653 # include <assert.h>
18654 #endif
18655 /* Override any gcc2 internal prototype to avoid an error. */
18656 #ifdef __cplusplus
18657 extern "C"
18659 #endif
18660 /* We use char because int might match the return type of a gcc2
18661 builtin and then its argument prototype would still apply. */
18662 char $ac_func ();
18663 /* The GNU C library defines this for functions which it implements
18664 to always fail with ENOSYS. Some functions are actually named
18665 something starting with __ and the normal name is an alias. */
18666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18667 choke me
18668 #else
18669 char (*f) () = $ac_func;
18670 #endif
18671 #ifdef __cplusplus
18673 #endif
18676 main ()
18678 return f != $ac_func;
18680 return 0;
18682 _ACEOF
18683 rm -f conftest.$ac_objext conftest$ac_exeext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18685 (eval $ac_link) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
18689 { ac_try='test -s conftest$ac_exeext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18695 eval "$as_ac_var=yes"
18696 else
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18700 eval "$as_ac_var=no"
18702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18706 if test `eval echo '${'$as_ac_var'}'` = yes; then
18707 cat >>confdefs.h <<_ACEOF
18708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18709 _ACEOF
18712 done
18719 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18720 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18721 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18722 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18723 echo $ECHO_N "(cached) $ECHO_C" >&6
18724 else
18728 ac_ext=cc
18729 ac_cpp='$CXXCPP $CPPFLAGS'
18730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18734 cat >conftest.$ac_ext <<_ACEOF
18735 #line $LINENO "configure"
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <math.h>
18743 main ()
18745 hypotl(0, 0);
18747 return 0;
18749 _ACEOF
18750 rm -f conftest.$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752 (eval $ac_compile) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } &&
18756 { ac_try='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18762 glibcxx_cv_func_hypotl_use=yes
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18767 glibcxx_cv_func_hypotl_use=no
18769 rm -f conftest.$ac_objext conftest.$ac_ext
18770 ac_ext=c
18771 ac_cpp='$CPP $CPPFLAGS'
18772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18781 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18783 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18785 for ac_func in hypotl
18787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18788 echo "$as_me:$LINENO: checking for $ac_func" >&5
18789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18790 if eval "test \"\${$as_ac_var+set}\" = set"; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793 if test x$gcc_no_link = xyes; then
18794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18796 { (exit 1); exit 1; }; }
18798 cat >conftest.$ac_ext <<_ACEOF
18799 #line $LINENO "configure"
18800 /* confdefs.h. */
18801 _ACEOF
18802 cat confdefs.h >>conftest.$ac_ext
18803 cat >>conftest.$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 /* System header to define __stub macros and hopefully few prototypes,
18806 which can conflict with char $ac_func (); below.
18807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18808 <limits.h> exists even on freestanding compilers. */
18809 #ifdef __STDC__
18810 # include <limits.h>
18811 #else
18812 # include <assert.h>
18813 #endif
18814 /* Override any gcc2 internal prototype to avoid an error. */
18815 #ifdef __cplusplus
18816 extern "C"
18818 #endif
18819 /* We use char because int might match the return type of a gcc2
18820 builtin and then its argument prototype would still apply. */
18821 char $ac_func ();
18822 /* The GNU C library defines this for functions which it implements
18823 to always fail with ENOSYS. Some functions are actually named
18824 something starting with __ and the normal name is an alias. */
18825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18826 choke me
18827 #else
18828 char (*f) () = $ac_func;
18829 #endif
18830 #ifdef __cplusplus
18832 #endif
18835 main ()
18837 return f != $ac_func;
18839 return 0;
18841 _ACEOF
18842 rm -f conftest.$ac_objext conftest$ac_exeext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18844 (eval $ac_link) 2>&5
18845 ac_status=$?
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try='test -s conftest$ac_exeext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 eval "$as_ac_var=yes"
18855 else
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18859 eval "$as_ac_var=no"
18861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18865 if test `eval echo '${'$as_ac_var'}'` = yes; then
18866 cat >>confdefs.h <<_ACEOF
18867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18868 _ACEOF
18871 done
18873 else
18875 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18876 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18877 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18878 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18884 ac_ext=cc
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18890 cat >conftest.$ac_ext <<_ACEOF
18891 #line $LINENO "configure"
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 #include <math.h>
18899 main ()
18901 _hypotl(0, 0);
18903 return 0;
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } &&
18912 { ac_try='test -s conftest.$ac_objext'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18915 ac_status=$?
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 glibcxx_cv_func__hypotl_use=yes
18919 else
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18923 glibcxx_cv_func__hypotl_use=no
18925 rm -f conftest.$ac_objext conftest.$ac_ext
18926 ac_ext=c
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18937 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18939 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18941 for ac_func in _hypotl
18943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18944 echo "$as_me:$LINENO: checking for $ac_func" >&5
18945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18946 if eval "test \"\${$as_ac_var+set}\" = set"; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949 if test x$gcc_no_link = xyes; then
18950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18952 { (exit 1); exit 1; }; }
18954 cat >conftest.$ac_ext <<_ACEOF
18955 #line $LINENO "configure"
18956 /* confdefs.h. */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 /* System header to define __stub macros and hopefully few prototypes,
18962 which can conflict with char $ac_func (); below.
18963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18964 <limits.h> exists even on freestanding compilers. */
18965 #ifdef __STDC__
18966 # include <limits.h>
18967 #else
18968 # include <assert.h>
18969 #endif
18970 /* Override any gcc2 internal prototype to avoid an error. */
18971 #ifdef __cplusplus
18972 extern "C"
18974 #endif
18975 /* We use char because int might match the return type of a gcc2
18976 builtin and then its argument prototype would still apply. */
18977 char $ac_func ();
18978 /* The GNU C library defines this for functions which it implements
18979 to always fail with ENOSYS. Some functions are actually named
18980 something starting with __ and the normal name is an alias. */
18981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18982 choke me
18983 #else
18984 char (*f) () = $ac_func;
18985 #endif
18986 #ifdef __cplusplus
18988 #endif
18991 main ()
18993 return f != $ac_func;
18995 return 0;
18997 _ACEOF
18998 rm -f conftest.$ac_objext conftest$ac_exeext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19000 (eval $ac_link) 2>&5
19001 ac_status=$?
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } &&
19004 { ac_try='test -s conftest$ac_exeext'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19007 ac_status=$?
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; }; then
19010 eval "$as_ac_var=yes"
19011 else
19012 echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19015 eval "$as_ac_var=no"
19017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19021 if test `eval echo '${'$as_ac_var'}'` = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19024 _ACEOF
19027 done
19034 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19035 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19036 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19037 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 else
19043 ac_ext=cc
19044 ac_cpp='$CXXCPP $CPPFLAGS'
19045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19049 cat >conftest.$ac_ext <<_ACEOF
19050 #line $LINENO "configure"
19051 /* confdefs.h. */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include <math.h>
19058 main ()
19060 ldexpl(0, 0);
19062 return 0;
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>&5
19068 ac_status=$?
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -s conftest.$ac_objext'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; }; then
19077 glibcxx_cv_func_ldexpl_use=yes
19078 else
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19082 glibcxx_cv_func_ldexpl_use=no
19084 rm -f conftest.$ac_objext conftest.$ac_ext
19085 ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19096 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19098 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19100 for ac_func in ldexpl
19102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19103 echo "$as_me:$LINENO: checking for $ac_func" >&5
19104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19105 if eval "test \"\${$as_ac_var+set}\" = set"; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19107 else
19108 if test x$gcc_no_link = xyes; then
19109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19111 { (exit 1); exit 1; }; }
19113 cat >conftest.$ac_ext <<_ACEOF
19114 #line $LINENO "configure"
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 /* System header to define __stub macros and hopefully few prototypes,
19121 which can conflict with char $ac_func (); below.
19122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19123 <limits.h> exists even on freestanding compilers. */
19124 #ifdef __STDC__
19125 # include <limits.h>
19126 #else
19127 # include <assert.h>
19128 #endif
19129 /* Override any gcc2 internal prototype to avoid an error. */
19130 #ifdef __cplusplus
19131 extern "C"
19133 #endif
19134 /* We use char because int might match the return type of a gcc2
19135 builtin and then its argument prototype would still apply. */
19136 char $ac_func ();
19137 /* The GNU C library defines this for functions which it implements
19138 to always fail with ENOSYS. Some functions are actually named
19139 something starting with __ and the normal name is an alias. */
19140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19141 choke me
19142 #else
19143 char (*f) () = $ac_func;
19144 #endif
19145 #ifdef __cplusplus
19147 #endif
19150 main ()
19152 return f != $ac_func;
19154 return 0;
19156 _ACEOF
19157 rm -f conftest.$ac_objext conftest$ac_exeext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19159 (eval $ac_link) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try='test -s conftest$ac_exeext'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19166 ac_status=$?
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19169 eval "$as_ac_var=yes"
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 eval "$as_ac_var=no"
19176 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19180 if test `eval echo '${'$as_ac_var'}'` = yes; then
19181 cat >>confdefs.h <<_ACEOF
19182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19183 _ACEOF
19186 done
19188 else
19190 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19191 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19192 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19193 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19199 ac_ext=cc
19200 ac_cpp='$CXXCPP $CPPFLAGS'
19201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19205 cat >conftest.$ac_ext <<_ACEOF
19206 #line $LINENO "configure"
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 #include <math.h>
19214 main ()
19216 _ldexpl(0, 0);
19218 return 0;
19220 _ACEOF
19221 rm -f conftest.$ac_objext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19223 (eval $ac_compile) 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try='test -s conftest.$ac_objext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19230 ac_status=$?
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 glibcxx_cv_func__ldexpl_use=yes
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19238 glibcxx_cv_func__ldexpl_use=no
19240 rm -f conftest.$ac_objext conftest.$ac_ext
19241 ac_ext=c
19242 ac_cpp='$CPP $CPPFLAGS'
19243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19252 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19254 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19256 for ac_func in _ldexpl
19258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19259 echo "$as_me:$LINENO: checking for $ac_func" >&5
19260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19261 if eval "test \"\${$as_ac_var+set}\" = set"; then
19262 echo $ECHO_N "(cached) $ECHO_C" >&6
19263 else
19264 if test x$gcc_no_link = xyes; then
19265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19267 { (exit 1); exit 1; }; }
19269 cat >conftest.$ac_ext <<_ACEOF
19270 #line $LINENO "configure"
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 /* System header to define __stub macros and hopefully few prototypes,
19277 which can conflict with char $ac_func (); below.
19278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19279 <limits.h> exists even on freestanding compilers. */
19280 #ifdef __STDC__
19281 # include <limits.h>
19282 #else
19283 # include <assert.h>
19284 #endif
19285 /* Override any gcc2 internal prototype to avoid an error. */
19286 #ifdef __cplusplus
19287 extern "C"
19289 #endif
19290 /* We use char because int might match the return type of a gcc2
19291 builtin and then its argument prototype would still apply. */
19292 char $ac_func ();
19293 /* The GNU C library defines this for functions which it implements
19294 to always fail with ENOSYS. Some functions are actually named
19295 something starting with __ and the normal name is an alias. */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19297 choke me
19298 #else
19299 char (*f) () = $ac_func;
19300 #endif
19301 #ifdef __cplusplus
19303 #endif
19306 main ()
19308 return f != $ac_func;
19310 return 0;
19312 _ACEOF
19313 rm -f conftest.$ac_objext conftest$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315 (eval $ac_link) 2>&5
19316 ac_status=$?
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } &&
19319 { ac_try='test -s conftest$ac_exeext'
19320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321 (eval $ac_try) 2>&5
19322 ac_status=$?
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); }; }; then
19325 eval "$as_ac_var=yes"
19326 else
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19330 eval "$as_ac_var=no"
19332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19336 if test `eval echo '${'$as_ac_var'}'` = yes; then
19337 cat >>confdefs.h <<_ACEOF
19338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19339 _ACEOF
19342 done
19349 echo "$as_me:$LINENO: checking for logl declaration" >&5
19350 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19351 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19352 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 else
19358 ac_ext=cc
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19364 cat >conftest.$ac_ext <<_ACEOF
19365 #line $LINENO "configure"
19366 /* confdefs.h. */
19367 _ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19371 #include <math.h>
19372 #ifdef HAVE_IEEEFP_H
19373 #include <ieeefp.h>
19374 #endif
19377 main ()
19379 logl(0);
19381 return 0;
19383 _ACEOF
19384 rm -f conftest.$ac_objext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19386 (eval $ac_compile) 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 glibcxx_cv_func_logl_use=yes
19397 else
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19401 glibcxx_cv_func_logl_use=no
19403 rm -f conftest.$ac_objext conftest.$ac_ext
19404 ac_ext=c
19405 ac_cpp='$CPP $CPPFLAGS'
19406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19415 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19417 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19419 for ac_func in logl
19421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19422 echo "$as_me:$LINENO: checking for $ac_func" >&5
19423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19424 if eval "test \"\${$as_ac_var+set}\" = set"; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 else
19427 if test x$gcc_no_link = xyes; then
19428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19430 { (exit 1); exit 1; }; }
19432 cat >conftest.$ac_ext <<_ACEOF
19433 #line $LINENO "configure"
19434 /* confdefs.h. */
19435 _ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 /* System header to define __stub macros and hopefully few prototypes,
19440 which can conflict with char $ac_func (); below.
19441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19442 <limits.h> exists even on freestanding compilers. */
19443 #ifdef __STDC__
19444 # include <limits.h>
19445 #else
19446 # include <assert.h>
19447 #endif
19448 /* Override any gcc2 internal prototype to avoid an error. */
19449 #ifdef __cplusplus
19450 extern "C"
19452 #endif
19453 /* We use char because int might match the return type of a gcc2
19454 builtin and then its argument prototype would still apply. */
19455 char $ac_func ();
19456 /* The GNU C library defines this for functions which it implements
19457 to always fail with ENOSYS. Some functions are actually named
19458 something starting with __ and the normal name is an alias. */
19459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19460 choke me
19461 #else
19462 char (*f) () = $ac_func;
19463 #endif
19464 #ifdef __cplusplus
19466 #endif
19469 main ()
19471 return f != $ac_func;
19473 return 0;
19475 _ACEOF
19476 rm -f conftest.$ac_objext conftest$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478 (eval $ac_link) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } &&
19482 { ac_try='test -s conftest$ac_exeext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 eval "$as_ac_var=yes"
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 eval "$as_ac_var=no"
19495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19499 if test `eval echo '${'$as_ac_var'}'` = yes; then
19500 cat >>confdefs.h <<_ACEOF
19501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19502 _ACEOF
19505 done
19507 else
19509 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19510 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19511 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19512 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19518 ac_ext=cc
19519 ac_cpp='$CXXCPP $CPPFLAGS'
19520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19524 cat >conftest.$ac_ext <<_ACEOF
19525 #line $LINENO "configure"
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 #include <math.h>
19532 #ifdef HAVE_IEEEFP_H
19533 #include <ieeefp.h>
19534 #endif
19537 main ()
19539 _logl(0);
19541 return 0;
19543 _ACEOF
19544 rm -f conftest.$ac_objext
19545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19546 (eval $ac_compile) 2>&5
19547 ac_status=$?
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } &&
19550 { ac_try='test -s conftest.$ac_objext'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19556 glibcxx_cv_func__logl_use=yes
19557 else
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 glibcxx_cv_func__logl_use=no
19563 rm -f conftest.$ac_objext conftest.$ac_ext
19564 ac_ext=c
19565 ac_cpp='$CPP $CPPFLAGS'
19566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19575 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19577 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19579 for ac_func in _logl
19581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19582 echo "$as_me:$LINENO: checking for $ac_func" >&5
19583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19584 if eval "test \"\${$as_ac_var+set}\" = set"; then
19585 echo $ECHO_N "(cached) $ECHO_C" >&6
19586 else
19587 if test x$gcc_no_link = xyes; then
19588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19590 { (exit 1); exit 1; }; }
19592 cat >conftest.$ac_ext <<_ACEOF
19593 #line $LINENO "configure"
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 /* System header to define __stub macros and hopefully few prototypes,
19600 which can conflict with char $ac_func (); below.
19601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19602 <limits.h> exists even on freestanding compilers. */
19603 #ifdef __STDC__
19604 # include <limits.h>
19605 #else
19606 # include <assert.h>
19607 #endif
19608 /* Override any gcc2 internal prototype to avoid an error. */
19609 #ifdef __cplusplus
19610 extern "C"
19612 #endif
19613 /* We use char because int might match the return type of a gcc2
19614 builtin and then its argument prototype would still apply. */
19615 char $ac_func ();
19616 /* The GNU C library defines this for functions which it implements
19617 to always fail with ENOSYS. Some functions are actually named
19618 something starting with __ and the normal name is an alias. */
19619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19620 choke me
19621 #else
19622 char (*f) () = $ac_func;
19623 #endif
19624 #ifdef __cplusplus
19626 #endif
19629 main ()
19631 return f != $ac_func;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext conftest$ac_exeext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19638 (eval $ac_link) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try='test -s conftest$ac_exeext'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19645 ac_status=$?
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; }; then
19648 eval "$as_ac_var=yes"
19649 else
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.$ac_ext >&5
19653 eval "$as_ac_var=no"
19655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19659 if test `eval echo '${'$as_ac_var'}'` = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19662 _ACEOF
19665 done
19672 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19673 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19674 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19675 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 else
19681 ac_ext=cc
19682 ac_cpp='$CXXCPP $CPPFLAGS'
19683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19687 cat >conftest.$ac_ext <<_ACEOF
19688 #line $LINENO "configure"
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #include <math.h>
19695 #ifdef HAVE_IEEEFP_H
19696 #include <ieeefp.h>
19697 #endif
19700 main ()
19702 log10l(0);
19704 return 0;
19706 _ACEOF
19707 rm -f conftest.$ac_objext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19709 (eval $ac_compile) 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 glibcxx_cv_func_log10l_use=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 glibcxx_cv_func_log10l_use=no
19726 rm -f conftest.$ac_objext conftest.$ac_ext
19727 ac_ext=c
19728 ac_cpp='$CPP $CPPFLAGS'
19729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19738 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19740 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19742 for ac_func in log10l
19744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19745 echo "$as_me:$LINENO: checking for $ac_func" >&5
19746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19747 if eval "test \"\${$as_ac_var+set}\" = set"; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 if test x$gcc_no_link = xyes; then
19751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19753 { (exit 1); exit 1; }; }
19755 cat >conftest.$ac_ext <<_ACEOF
19756 #line $LINENO "configure"
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 /* System header to define __stub macros and hopefully few prototypes,
19763 which can conflict with char $ac_func (); below.
19764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19765 <limits.h> exists even on freestanding compilers. */
19766 #ifdef __STDC__
19767 # include <limits.h>
19768 #else
19769 # include <assert.h>
19770 #endif
19771 /* Override any gcc2 internal prototype to avoid an error. */
19772 #ifdef __cplusplus
19773 extern "C"
19775 #endif
19776 /* We use char because int might match the return type of a gcc2
19777 builtin and then its argument prototype would still apply. */
19778 char $ac_func ();
19779 /* The GNU C library defines this for functions which it implements
19780 to always fail with ENOSYS. Some functions are actually named
19781 something starting with __ and the normal name is an alias. */
19782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19783 choke me
19784 #else
19785 char (*f) () = $ac_func;
19786 #endif
19787 #ifdef __cplusplus
19789 #endif
19792 main ()
19794 return f != $ac_func;
19796 return 0;
19798 _ACEOF
19799 rm -f conftest.$ac_objext conftest$ac_exeext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19801 (eval $ac_link) 2>&5
19802 ac_status=$?
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try='test -s conftest$ac_exeext'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19808 ac_status=$?
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; }; then
19811 eval "$as_ac_var=yes"
19812 else
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19816 eval "$as_ac_var=no"
19818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19822 if test `eval echo '${'$as_ac_var'}'` = yes; then
19823 cat >>confdefs.h <<_ACEOF
19824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19825 _ACEOF
19828 done
19830 else
19832 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19833 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19834 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19835 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19841 ac_ext=cc
19842 ac_cpp='$CXXCPP $CPPFLAGS'
19843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19847 cat >conftest.$ac_ext <<_ACEOF
19848 #line $LINENO "configure"
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #include <math.h>
19855 #ifdef HAVE_IEEEFP_H
19856 #include <ieeefp.h>
19857 #endif
19860 main ()
19862 _log10l(0);
19864 return 0;
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869 (eval $ac_compile) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try='test -s conftest.$ac_objext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 glibcxx_cv_func__log10l_use=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 glibcxx_cv_func__log10l_use=no
19886 rm -f conftest.$ac_objext conftest.$ac_ext
19887 ac_ext=c
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19898 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19900 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19902 for ac_func in _log10l
19904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19905 echo "$as_me:$LINENO: checking for $ac_func" >&5
19906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19907 if eval "test \"\${$as_ac_var+set}\" = set"; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 else
19910 if test x$gcc_no_link = xyes; then
19911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19913 { (exit 1); exit 1; }; }
19915 cat >conftest.$ac_ext <<_ACEOF
19916 #line $LINENO "configure"
19917 /* confdefs.h. */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 /* System header to define __stub macros and hopefully few prototypes,
19923 which can conflict with char $ac_func (); below.
19924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19925 <limits.h> exists even on freestanding compilers. */
19926 #ifdef __STDC__
19927 # include <limits.h>
19928 #else
19929 # include <assert.h>
19930 #endif
19931 /* Override any gcc2 internal prototype to avoid an error. */
19932 #ifdef __cplusplus
19933 extern "C"
19935 #endif
19936 /* We use char because int might match the return type of a gcc2
19937 builtin and then its argument prototype would still apply. */
19938 char $ac_func ();
19939 /* The GNU C library defines this for functions which it implements
19940 to always fail with ENOSYS. Some functions are actually named
19941 something starting with __ and the normal name is an alias. */
19942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19943 choke me
19944 #else
19945 char (*f) () = $ac_func;
19946 #endif
19947 #ifdef __cplusplus
19949 #endif
19952 main ()
19954 return f != $ac_func;
19956 return 0;
19958 _ACEOF
19959 rm -f conftest.$ac_objext conftest$ac_exeext
19960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19961 (eval $ac_link) 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -s conftest$ac_exeext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19968 ac_status=$?
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 eval "$as_ac_var=yes"
19972 else
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19976 eval "$as_ac_var=no"
19978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19982 if test `eval echo '${'$as_ac_var'}'` = yes; then
19983 cat >>confdefs.h <<_ACEOF
19984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19985 _ACEOF
19988 done
19995 echo "$as_me:$LINENO: checking for modfl declaration" >&5
19996 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
19997 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
19998 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 else
20004 ac_ext=cc
20005 ac_cpp='$CXXCPP $CPPFLAGS'
20006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20010 cat >conftest.$ac_ext <<_ACEOF
20011 #line $LINENO "configure"
20012 /* confdefs.h. */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 #include <math.h>
20019 main ()
20021 modfl(0, 0);
20023 return 0;
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20028 (eval $ac_compile) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 glibcxx_cv_func_modfl_use=yes
20039 else
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20043 glibcxx_cv_func_modfl_use=no
20045 rm -f conftest.$ac_objext conftest.$ac_ext
20046 ac_ext=c
20047 ac_cpp='$CPP $CPPFLAGS'
20048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20057 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20059 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20061 for ac_func in modfl
20063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20064 echo "$as_me:$LINENO: checking for $ac_func" >&5
20065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20066 if eval "test \"\${$as_ac_var+set}\" = set"; then
20067 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 else
20069 if test x$gcc_no_link = xyes; then
20070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20072 { (exit 1); exit 1; }; }
20074 cat >conftest.$ac_ext <<_ACEOF
20075 #line $LINENO "configure"
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 /* System header to define __stub macros and hopefully few prototypes,
20082 which can conflict with char $ac_func (); below.
20083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20084 <limits.h> exists even on freestanding compilers. */
20085 #ifdef __STDC__
20086 # include <limits.h>
20087 #else
20088 # include <assert.h>
20089 #endif
20090 /* Override any gcc2 internal prototype to avoid an error. */
20091 #ifdef __cplusplus
20092 extern "C"
20094 #endif
20095 /* We use char because int might match the return type of a gcc2
20096 builtin and then its argument prototype would still apply. */
20097 char $ac_func ();
20098 /* The GNU C library defines this for functions which it implements
20099 to always fail with ENOSYS. Some functions are actually named
20100 something starting with __ and the normal name is an alias. */
20101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20102 choke me
20103 #else
20104 char (*f) () = $ac_func;
20105 #endif
20106 #ifdef __cplusplus
20108 #endif
20111 main ()
20113 return f != $ac_func;
20115 return 0;
20117 _ACEOF
20118 rm -f conftest.$ac_objext conftest$ac_exeext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20120 (eval $ac_link) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } &&
20124 { ac_try='test -s conftest$ac_exeext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 eval "$as_ac_var=yes"
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20135 eval "$as_ac_var=no"
20137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20141 if test `eval echo '${'$as_ac_var'}'` = yes; then
20142 cat >>confdefs.h <<_ACEOF
20143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20144 _ACEOF
20147 done
20149 else
20151 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20152 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20153 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20154 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20160 ac_ext=cc
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20166 cat >conftest.$ac_ext <<_ACEOF
20167 #line $LINENO "configure"
20168 /* confdefs.h. */
20169 _ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 #include <math.h>
20175 main ()
20177 _modfl(0, 0);
20179 return 0;
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20184 (eval $ac_compile) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } &&
20188 { ac_try='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 glibcxx_cv_func__modfl_use=yes
20195 else
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20199 glibcxx_cv_func__modfl_use=no
20201 rm -f conftest.$ac_objext conftest.$ac_ext
20202 ac_ext=c
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20213 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20215 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20217 for ac_func in _modfl
20219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20220 echo "$as_me:$LINENO: checking for $ac_func" >&5
20221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20222 if eval "test \"\${$as_ac_var+set}\" = set"; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20224 else
20225 if test x$gcc_no_link = xyes; then
20226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20228 { (exit 1); exit 1; }; }
20230 cat >conftest.$ac_ext <<_ACEOF
20231 #line $LINENO "configure"
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 /* System header to define __stub macros and hopefully few prototypes,
20238 which can conflict with char $ac_func (); below.
20239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20240 <limits.h> exists even on freestanding compilers. */
20241 #ifdef __STDC__
20242 # include <limits.h>
20243 #else
20244 # include <assert.h>
20245 #endif
20246 /* Override any gcc2 internal prototype to avoid an error. */
20247 #ifdef __cplusplus
20248 extern "C"
20250 #endif
20251 /* We use char because int might match the return type of a gcc2
20252 builtin and then its argument prototype would still apply. */
20253 char $ac_func ();
20254 /* The GNU C library defines this for functions which it implements
20255 to always fail with ENOSYS. Some functions are actually named
20256 something starting with __ and the normal name is an alias. */
20257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20258 choke me
20259 #else
20260 char (*f) () = $ac_func;
20261 #endif
20262 #ifdef __cplusplus
20264 #endif
20267 main ()
20269 return f != $ac_func;
20271 return 0;
20273 _ACEOF
20274 rm -f conftest.$ac_objext conftest$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276 (eval $ac_link) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try='test -s conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 eval "$as_ac_var=yes"
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20291 eval "$as_ac_var=no"
20293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20297 if test `eval echo '${'$as_ac_var'}'` = yes; then
20298 cat >>confdefs.h <<_ACEOF
20299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20300 _ACEOF
20303 done
20310 echo "$as_me:$LINENO: checking for powl declaration" >&5
20311 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20312 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20313 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 else
20319 ac_ext=cc
20320 ac_cpp='$CXXCPP $CPPFLAGS'
20321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20325 cat >conftest.$ac_ext <<_ACEOF
20326 #line $LINENO "configure"
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #include <math.h>
20334 main ()
20336 powl(0, 0);
20338 return 0;
20340 _ACEOF
20341 rm -f conftest.$ac_objext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20343 (eval $ac_compile) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } &&
20347 { ac_try='test -s conftest.$ac_objext'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20353 glibcxx_cv_func_powl_use=yes
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 glibcxx_cv_func_powl_use=no
20360 rm -f conftest.$ac_objext conftest.$ac_ext
20361 ac_ext=c
20362 ac_cpp='$CPP $CPPFLAGS'
20363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20372 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20376 for ac_func in powl
20378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20379 echo "$as_me:$LINENO: checking for $ac_func" >&5
20380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20381 if eval "test \"\${$as_ac_var+set}\" = set"; then
20382 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 else
20384 if test x$gcc_no_link = xyes; then
20385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387 { (exit 1); exit 1; }; }
20389 cat >conftest.$ac_ext <<_ACEOF
20390 #line $LINENO "configure"
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 /* System header to define __stub macros and hopefully few prototypes,
20397 which can conflict with char $ac_func (); below.
20398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20399 <limits.h> exists even on freestanding compilers. */
20400 #ifdef __STDC__
20401 # include <limits.h>
20402 #else
20403 # include <assert.h>
20404 #endif
20405 /* Override any gcc2 internal prototype to avoid an error. */
20406 #ifdef __cplusplus
20407 extern "C"
20409 #endif
20410 /* We use char because int might match the return type of a gcc2
20411 builtin and then its argument prototype would still apply. */
20412 char $ac_func ();
20413 /* The GNU C library defines this for functions which it implements
20414 to always fail with ENOSYS. Some functions are actually named
20415 something starting with __ and the normal name is an alias. */
20416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20417 choke me
20418 #else
20419 char (*f) () = $ac_func;
20420 #endif
20421 #ifdef __cplusplus
20423 #endif
20426 main ()
20428 return f != $ac_func;
20430 return 0;
20432 _ACEOF
20433 rm -f conftest.$ac_objext conftest$ac_exeext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20435 (eval $ac_link) 2>&5
20436 ac_status=$?
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } &&
20439 { ac_try='test -s conftest$ac_exeext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 eval "$as_ac_var=yes"
20446 else
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20450 eval "$as_ac_var=no"
20452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20456 if test `eval echo '${'$as_ac_var'}'` = yes; then
20457 cat >>confdefs.h <<_ACEOF
20458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20459 _ACEOF
20462 done
20464 else
20466 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20467 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20468 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20469 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20475 ac_ext=cc
20476 ac_cpp='$CXXCPP $CPPFLAGS'
20477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20481 cat >conftest.$ac_ext <<_ACEOF
20482 #line $LINENO "configure"
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 #include <math.h>
20490 main ()
20492 _powl(0, 0);
20494 return 0;
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>&5
20500 ac_status=$?
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } &&
20503 { ac_try='test -s conftest.$ac_objext'
20504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20505 (eval $ac_try) 2>&5
20506 ac_status=$?
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; }; then
20509 glibcxx_cv_func__powl_use=yes
20510 else
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20514 glibcxx_cv_func__powl_use=no
20516 rm -f conftest.$ac_objext conftest.$ac_ext
20517 ac_ext=c
20518 ac_cpp='$CPP $CPPFLAGS'
20519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20528 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20530 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20532 for ac_func in _powl
20534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20535 echo "$as_me:$LINENO: checking for $ac_func" >&5
20536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20537 if eval "test \"\${$as_ac_var+set}\" = set"; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20539 else
20540 if test x$gcc_no_link = xyes; then
20541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20543 { (exit 1); exit 1; }; }
20545 cat >conftest.$ac_ext <<_ACEOF
20546 #line $LINENO "configure"
20547 /* confdefs.h. */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 /* System header to define __stub macros and hopefully few prototypes,
20553 which can conflict with char $ac_func (); below.
20554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20555 <limits.h> exists even on freestanding compilers. */
20556 #ifdef __STDC__
20557 # include <limits.h>
20558 #else
20559 # include <assert.h>
20560 #endif
20561 /* Override any gcc2 internal prototype to avoid an error. */
20562 #ifdef __cplusplus
20563 extern "C"
20565 #endif
20566 /* We use char because int might match the return type of a gcc2
20567 builtin and then its argument prototype would still apply. */
20568 char $ac_func ();
20569 /* The GNU C library defines this for functions which it implements
20570 to always fail with ENOSYS. Some functions are actually named
20571 something starting with __ and the normal name is an alias. */
20572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20573 choke me
20574 #else
20575 char (*f) () = $ac_func;
20576 #endif
20577 #ifdef __cplusplus
20579 #endif
20582 main ()
20584 return f != $ac_func;
20586 return 0;
20588 _ACEOF
20589 rm -f conftest.$ac_objext conftest$ac_exeext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20591 (eval $ac_link) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
20595 { ac_try='test -s conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 eval "$as_ac_var=yes"
20602 else
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 eval "$as_ac_var=no"
20608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20612 if test `eval echo '${'$as_ac_var'}'` = yes; then
20613 cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20615 _ACEOF
20618 done
20625 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20626 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20627 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20628 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20629 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 else
20634 ac_ext=cc
20635 ac_cpp='$CXXCPP $CPPFLAGS'
20636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20640 cat >conftest.$ac_ext <<_ACEOF
20641 #line $LINENO "configure"
20642 /* confdefs.h. */
20643 _ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20647 #include <math.h>
20648 #ifdef HAVE_IEEEFP_H
20649 #include <ieeefp.h>
20650 #endif
20653 main ()
20655 sqrtl(0);
20657 return 0;
20659 _ACEOF
20660 rm -f conftest.$ac_objext
20661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20662 (eval $ac_compile) 2>&5
20663 ac_status=$?
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } &&
20666 { ac_try='test -s conftest.$ac_objext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 glibcxx_cv_func_sqrtl_use=yes
20673 else
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20677 glibcxx_cv_func_sqrtl_use=no
20679 rm -f conftest.$ac_objext conftest.$ac_ext
20680 ac_ext=c
20681 ac_cpp='$CPP $CPPFLAGS'
20682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20691 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20693 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20695 for ac_func in sqrtl
20697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20698 echo "$as_me:$LINENO: checking for $ac_func" >&5
20699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20700 if eval "test \"\${$as_ac_var+set}\" = set"; then
20701 echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20703 if test x$gcc_no_link = xyes; then
20704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20706 { (exit 1); exit 1; }; }
20708 cat >conftest.$ac_ext <<_ACEOF
20709 #line $LINENO "configure"
20710 /* confdefs.h. */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715 /* System header to define __stub macros and hopefully few prototypes,
20716 which can conflict with char $ac_func (); below.
20717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20718 <limits.h> exists even on freestanding compilers. */
20719 #ifdef __STDC__
20720 # include <limits.h>
20721 #else
20722 # include <assert.h>
20723 #endif
20724 /* Override any gcc2 internal prototype to avoid an error. */
20725 #ifdef __cplusplus
20726 extern "C"
20728 #endif
20729 /* We use char because int might match the return type of a gcc2
20730 builtin and then its argument prototype would still apply. */
20731 char $ac_func ();
20732 /* The GNU C library defines this for functions which it implements
20733 to always fail with ENOSYS. Some functions are actually named
20734 something starting with __ and the normal name is an alias. */
20735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20736 choke me
20737 #else
20738 char (*f) () = $ac_func;
20739 #endif
20740 #ifdef __cplusplus
20742 #endif
20745 main ()
20747 return f != $ac_func;
20749 return 0;
20751 _ACEOF
20752 rm -f conftest.$ac_objext conftest$ac_exeext
20753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20754 (eval $ac_link) 2>&5
20755 ac_status=$?
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try='test -s conftest$ac_exeext'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20761 ac_status=$?
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; }; then
20764 eval "$as_ac_var=yes"
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 eval "$as_ac_var=no"
20771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20775 if test `eval echo '${'$as_ac_var'}'` = yes; then
20776 cat >>confdefs.h <<_ACEOF
20777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20778 _ACEOF
20781 done
20783 else
20785 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20786 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20787 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20788 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20789 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 else
20794 ac_ext=cc
20795 ac_cpp='$CXXCPP $CPPFLAGS'
20796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20800 cat >conftest.$ac_ext <<_ACEOF
20801 #line $LINENO "configure"
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 #include <math.h>
20808 #ifdef HAVE_IEEEFP_H
20809 #include <ieeefp.h>
20810 #endif
20813 main ()
20815 _sqrtl(0);
20817 return 0;
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822 (eval $ac_compile) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -s conftest.$ac_objext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 glibcxx_cv_func__sqrtl_use=yes
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 glibcxx_cv_func__sqrtl_use=no
20839 rm -f conftest.$ac_objext conftest.$ac_ext
20840 ac_ext=c
20841 ac_cpp='$CPP $CPPFLAGS'
20842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20851 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20853 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20855 for ac_func in _sqrtl
20857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20858 echo "$as_me:$LINENO: checking for $ac_func" >&5
20859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20860 if eval "test \"\${$as_ac_var+set}\" = set"; then
20861 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 else
20863 if test x$gcc_no_link = xyes; then
20864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20866 { (exit 1); exit 1; }; }
20868 cat >conftest.$ac_ext <<_ACEOF
20869 #line $LINENO "configure"
20870 /* confdefs.h. */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 /* System header to define __stub macros and hopefully few prototypes,
20876 which can conflict with char $ac_func (); below.
20877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20878 <limits.h> exists even on freestanding compilers. */
20879 #ifdef __STDC__
20880 # include <limits.h>
20881 #else
20882 # include <assert.h>
20883 #endif
20884 /* Override any gcc2 internal prototype to avoid an error. */
20885 #ifdef __cplusplus
20886 extern "C"
20888 #endif
20889 /* We use char because int might match the return type of a gcc2
20890 builtin and then its argument prototype would still apply. */
20891 char $ac_func ();
20892 /* The GNU C library defines this for functions which it implements
20893 to always fail with ENOSYS. Some functions are actually named
20894 something starting with __ and the normal name is an alias. */
20895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20896 choke me
20897 #else
20898 char (*f) () = $ac_func;
20899 #endif
20900 #ifdef __cplusplus
20902 #endif
20905 main ()
20907 return f != $ac_func;
20909 return 0;
20911 _ACEOF
20912 rm -f conftest.$ac_objext conftest$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>&5
20915 ac_status=$?
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } &&
20918 { ac_try='test -s conftest$ac_exeext'
20919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20920 (eval $ac_try) 2>&5
20921 ac_status=$?
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); }; }; then
20924 eval "$as_ac_var=yes"
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20929 eval "$as_ac_var=no"
20931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20935 if test `eval echo '${'$as_ac_var'}'` = yes; then
20936 cat >>confdefs.h <<_ACEOF
20937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20938 _ACEOF
20941 done
20948 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20949 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20950 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20951 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20952 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 else
20957 ac_ext=cc
20958 ac_cpp='$CXXCPP $CPPFLAGS'
20959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20963 cat >conftest.$ac_ext <<_ACEOF
20964 #line $LINENO "configure"
20965 /* confdefs.h. */
20966 _ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 #include <math.h>
20972 main ()
20974 sincosl(0, 0, 0);
20976 return 0;
20978 _ACEOF
20979 rm -f conftest.$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>&5
20982 ac_status=$?
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 glibcxx_cv_func_sincosl_use=yes
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20996 glibcxx_cv_func_sincosl_use=no
20998 rm -f conftest.$ac_objext conftest.$ac_ext
20999 ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21009 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21010 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21012 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21014 for ac_func in sincosl
21016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21017 echo "$as_me:$LINENO: checking for $ac_func" >&5
21018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21019 if eval "test \"\${$as_ac_var+set}\" = set"; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022 if test x$gcc_no_link = xyes; then
21023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21025 { (exit 1); exit 1; }; }
21027 cat >conftest.$ac_ext <<_ACEOF
21028 #line $LINENO "configure"
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 /* System header to define __stub macros and hopefully few prototypes,
21035 which can conflict with char $ac_func (); below.
21036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21037 <limits.h> exists even on freestanding compilers. */
21038 #ifdef __STDC__
21039 # include <limits.h>
21040 #else
21041 # include <assert.h>
21042 #endif
21043 /* Override any gcc2 internal prototype to avoid an error. */
21044 #ifdef __cplusplus
21045 extern "C"
21047 #endif
21048 /* We use char because int might match the return type of a gcc2
21049 builtin and then its argument prototype would still apply. */
21050 char $ac_func ();
21051 /* The GNU C library defines this for functions which it implements
21052 to always fail with ENOSYS. Some functions are actually named
21053 something starting with __ and the normal name is an alias. */
21054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21055 choke me
21056 #else
21057 char (*f) () = $ac_func;
21058 #endif
21059 #ifdef __cplusplus
21061 #endif
21064 main ()
21066 return f != $ac_func;
21068 return 0;
21070 _ACEOF
21071 rm -f conftest.$ac_objext conftest$ac_exeext
21072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21073 (eval $ac_link) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); } &&
21077 { ac_try='test -s conftest$ac_exeext'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; }; then
21083 eval "$as_ac_var=yes"
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21088 eval "$as_ac_var=no"
21090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21094 if test `eval echo '${'$as_ac_var'}'` = yes; then
21095 cat >>confdefs.h <<_ACEOF
21096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21097 _ACEOF
21100 done
21102 else
21104 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21105 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21106 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21107 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21109 else
21113 ac_ext=cc
21114 ac_cpp='$CXXCPP $CPPFLAGS'
21115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21119 cat >conftest.$ac_ext <<_ACEOF
21120 #line $LINENO "configure"
21121 /* confdefs.h. */
21122 _ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 #include <math.h>
21128 main ()
21130 _sincosl(0, 0, 0);
21132 return 0;
21134 _ACEOF
21135 rm -f conftest.$ac_objext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21137 (eval $ac_compile) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -s conftest.$ac_objext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21144 ac_status=$?
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 glibcxx_cv_func__sincosl_use=yes
21148 else
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21152 glibcxx_cv_func__sincosl_use=no
21154 rm -f conftest.$ac_objext conftest.$ac_ext
21155 ac_ext=c
21156 ac_cpp='$CPP $CPPFLAGS'
21157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21165 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21166 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21168 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21170 for ac_func in _sincosl
21172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21173 echo "$as_me:$LINENO: checking for $ac_func" >&5
21174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21175 if eval "test \"\${$as_ac_var+set}\" = set"; then
21176 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 else
21178 if test x$gcc_no_link = xyes; then
21179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21181 { (exit 1); exit 1; }; }
21183 cat >conftest.$ac_ext <<_ACEOF
21184 #line $LINENO "configure"
21185 /* confdefs.h. */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21190 /* System header to define __stub macros and hopefully few prototypes,
21191 which can conflict with char $ac_func (); below.
21192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21193 <limits.h> exists even on freestanding compilers. */
21194 #ifdef __STDC__
21195 # include <limits.h>
21196 #else
21197 # include <assert.h>
21198 #endif
21199 /* Override any gcc2 internal prototype to avoid an error. */
21200 #ifdef __cplusplus
21201 extern "C"
21203 #endif
21204 /* We use char because int might match the return type of a gcc2
21205 builtin and then its argument prototype would still apply. */
21206 char $ac_func ();
21207 /* The GNU C library defines this for functions which it implements
21208 to always fail with ENOSYS. Some functions are actually named
21209 something starting with __ and the normal name is an alias. */
21210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21211 choke me
21212 #else
21213 char (*f) () = $ac_func;
21214 #endif
21215 #ifdef __cplusplus
21217 #endif
21220 main ()
21222 return f != $ac_func;
21224 return 0;
21226 _ACEOF
21227 rm -f conftest.$ac_objext conftest$ac_exeext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21229 (eval $ac_link) 2>&5
21230 ac_status=$?
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } &&
21233 { ac_try='test -s conftest$ac_exeext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 eval "$as_ac_var=yes"
21240 else
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21244 eval "$as_ac_var=no"
21246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21250 if test `eval echo '${'$as_ac_var'}'` = yes; then
21251 cat >>confdefs.h <<_ACEOF
21252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21253 _ACEOF
21256 done
21263 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21264 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21265 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21266 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21267 echo $ECHO_N "(cached) $ECHO_C" >&6
21268 else
21272 ac_ext=cc
21273 ac_cpp='$CXXCPP $CPPFLAGS'
21274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21278 cat >conftest.$ac_ext <<_ACEOF
21279 #line $LINENO "configure"
21280 /* confdefs.h. */
21281 _ACEOF
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #include <math.h>
21286 #ifdef HAVE_IEEEFP_H
21287 #include <ieeefp.h>
21288 #endif
21291 main ()
21293 finitel(0);
21295 return 0;
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try='test -s conftest.$ac_objext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21310 glibcxx_cv_func_finitel_use=yes
21311 else
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21315 glibcxx_cv_func_finitel_use=no
21317 rm -f conftest.$ac_objext conftest.$ac_ext
21318 ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21329 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21331 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21333 for ac_func in finitel
21335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21336 echo "$as_me:$LINENO: checking for $ac_func" >&5
21337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21338 if eval "test \"\${$as_ac_var+set}\" = set"; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21341 if test x$gcc_no_link = xyes; then
21342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21344 { (exit 1); exit 1; }; }
21346 cat >conftest.$ac_ext <<_ACEOF
21347 #line $LINENO "configure"
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 /* System header to define __stub macros and hopefully few prototypes,
21354 which can conflict with char $ac_func (); below.
21355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21356 <limits.h> exists even on freestanding compilers. */
21357 #ifdef __STDC__
21358 # include <limits.h>
21359 #else
21360 # include <assert.h>
21361 #endif
21362 /* Override any gcc2 internal prototype to avoid an error. */
21363 #ifdef __cplusplus
21364 extern "C"
21366 #endif
21367 /* We use char because int might match the return type of a gcc2
21368 builtin and then its argument prototype would still apply. */
21369 char $ac_func ();
21370 /* The GNU C library defines this for functions which it implements
21371 to always fail with ENOSYS. Some functions are actually named
21372 something starting with __ and the normal name is an alias. */
21373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21374 choke me
21375 #else
21376 char (*f) () = $ac_func;
21377 #endif
21378 #ifdef __cplusplus
21380 #endif
21383 main ()
21385 return f != $ac_func;
21387 return 0;
21389 _ACEOF
21390 rm -f conftest.$ac_objext conftest$ac_exeext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21392 (eval $ac_link) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } &&
21396 { ac_try='test -s conftest$ac_exeext'
21397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398 (eval $ac_try) 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21402 eval "$as_ac_var=yes"
21403 else
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21407 eval "$as_ac_var=no"
21409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21413 if test `eval echo '${'$as_ac_var'}'` = yes; then
21414 cat >>confdefs.h <<_ACEOF
21415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21416 _ACEOF
21419 done
21421 else
21423 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21424 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21425 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21426 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21432 ac_ext=cc
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21438 cat >conftest.$ac_ext <<_ACEOF
21439 #line $LINENO "configure"
21440 /* confdefs.h. */
21441 _ACEOF
21442 cat confdefs.h >>conftest.$ac_ext
21443 cat >>conftest.$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 #include <math.h>
21446 #ifdef HAVE_IEEEFP_H
21447 #include <ieeefp.h>
21448 #endif
21451 main ()
21453 _finitel(0);
21455 return 0;
21457 _ACEOF
21458 rm -f conftest.$ac_objext
21459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21460 (eval $ac_compile) 2>&5
21461 ac_status=$?
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try='test -s conftest.$ac_objext'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21467 ac_status=$?
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; }; then
21470 glibcxx_cv_func__finitel_use=yes
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21475 glibcxx_cv_func__finitel_use=no
21477 rm -f conftest.$ac_objext conftest.$ac_ext
21478 ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21489 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21491 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21493 for ac_func in _finitel
21495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21496 echo "$as_me:$LINENO: checking for $ac_func" >&5
21497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21498 if eval "test \"\${$as_ac_var+set}\" = set"; then
21499 echo $ECHO_N "(cached) $ECHO_C" >&6
21500 else
21501 if test x$gcc_no_link = xyes; then
21502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21504 { (exit 1); exit 1; }; }
21506 cat >conftest.$ac_ext <<_ACEOF
21507 #line $LINENO "configure"
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 /* System header to define __stub macros and hopefully few prototypes,
21514 which can conflict with char $ac_func (); below.
21515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21516 <limits.h> exists even on freestanding compilers. */
21517 #ifdef __STDC__
21518 # include <limits.h>
21519 #else
21520 # include <assert.h>
21521 #endif
21522 /* Override any gcc2 internal prototype to avoid an error. */
21523 #ifdef __cplusplus
21524 extern "C"
21526 #endif
21527 /* We use char because int might match the return type of a gcc2
21528 builtin and then its argument prototype would still apply. */
21529 char $ac_func ();
21530 /* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21534 choke me
21535 #else
21536 char (*f) () = $ac_func;
21537 #endif
21538 #ifdef __cplusplus
21540 #endif
21543 main ()
21545 return f != $ac_func;
21547 return 0;
21549 _ACEOF
21550 rm -f conftest.$ac_objext conftest$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 eval "$as_ac_var=yes"
21563 else
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21567 eval "$as_ac_var=no"
21569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21573 if test `eval echo '${'$as_ac_var'}'` = yes; then
21574 cat >>confdefs.h <<_ACEOF
21575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21576 _ACEOF
21579 done
21587 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21588 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21589 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21590 echo $ECHO_N "(cached) $ECHO_C" >&6
21591 else
21595 ac_ext=cc
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21601 cat >conftest.$ac_ext <<_ACEOF
21602 #line $LINENO "configure"
21603 /* confdefs.h. */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 #include <math.h>
21610 main ()
21612 `for x in _acosf _asinf _atanf \
21613 _cosf _sinf _tanf \
21614 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21616 return 0;
21618 _ACEOF
21619 rm -f conftest.$ac_objext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21621 (eval $ac_compile) 2>&5
21622 ac_status=$?
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } &&
21625 { ac_try='test -s conftest.$ac_objext'
21626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627 (eval $ac_try) 2>&5
21628 ac_status=$?
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); }; }; then
21631 glibcxx_cv_func__float_trig_use=yes
21632 else
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21636 glibcxx_cv_func__float_trig_use=no
21638 rm -f conftest.$ac_objext conftest.$ac_ext
21639 ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21648 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21649 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21659 for ac_func in _acosf _asinf _atanf \
21660 _cosf _sinf _tanf \
21661 _coshf _sinhf _tanhf
21663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21664 echo "$as_me:$LINENO: checking for $ac_func" >&5
21665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21666 if eval "test \"\${$as_ac_var+set}\" = set"; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669 if test x$gcc_no_link = xyes; then
21670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21672 { (exit 1); exit 1; }; }
21674 cat >conftest.$ac_ext <<_ACEOF
21675 #line $LINENO "configure"
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 /* System header to define __stub macros and hopefully few prototypes,
21682 which can conflict with char $ac_func (); below.
21683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21684 <limits.h> exists even on freestanding compilers. */
21685 #ifdef __STDC__
21686 # include <limits.h>
21687 #else
21688 # include <assert.h>
21689 #endif
21690 /* Override any gcc2 internal prototype to avoid an error. */
21691 #ifdef __cplusplus
21692 extern "C"
21694 #endif
21695 /* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21697 char $ac_func ();
21698 /* The GNU C library defines this for functions which it implements
21699 to always fail with ENOSYS. Some functions are actually named
21700 something starting with __ and the normal name is an alias. */
21701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21702 choke me
21703 #else
21704 char (*f) () = $ac_func;
21705 #endif
21706 #ifdef __cplusplus
21708 #endif
21711 main ()
21713 return f != $ac_func;
21715 return 0;
21717 _ACEOF
21718 rm -f conftest.$ac_objext conftest$ac_exeext
21719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21720 (eval $ac_link) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try='test -s conftest$ac_exeext'
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726 (eval $ac_try) 2>&5
21727 ac_status=$?
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; }; then
21730 eval "$as_ac_var=yes"
21731 else
21732 echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21735 eval "$as_ac_var=no"
21737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21741 if test `eval echo '${'$as_ac_var'}'` = yes; then
21742 cat >>confdefs.h <<_ACEOF
21743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21744 _ACEOF
21747 done
21752 echo "$as_me:$LINENO: checking for _float round functions" >&5
21753 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21754 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21760 ac_ext=cc
21761 ac_cpp='$CXXCPP $CPPFLAGS'
21762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21766 cat >conftest.$ac_ext <<_ACEOF
21767 #line $LINENO "configure"
21768 /* confdefs.h. */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 #include <math.h>
21775 main ()
21777 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21779 return 0;
21781 _ACEOF
21782 rm -f conftest.$ac_objext
21783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21784 (eval $ac_compile) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 glibcxx_cv_func__float_round_use=yes
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21799 glibcxx_cv_func__float_round_use=no
21801 rm -f conftest.$ac_objext conftest.$ac_ext
21802 ac_ext=c
21803 ac_cpp='$CPP $CPPFLAGS'
21804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21811 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21812 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21815 for ac_func in _ceilf _floorf
21817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21818 echo "$as_me:$LINENO: checking for $ac_func" >&5
21819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21820 if eval "test \"\${$as_ac_var+set}\" = set"; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823 if test x$gcc_no_link = xyes; then
21824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21826 { (exit 1); exit 1; }; }
21828 cat >conftest.$ac_ext <<_ACEOF
21829 #line $LINENO "configure"
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 /* System header to define __stub macros and hopefully few prototypes,
21836 which can conflict with char $ac_func (); below.
21837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21838 <limits.h> exists even on freestanding compilers. */
21839 #ifdef __STDC__
21840 # include <limits.h>
21841 #else
21842 # include <assert.h>
21843 #endif
21844 /* Override any gcc2 internal prototype to avoid an error. */
21845 #ifdef __cplusplus
21846 extern "C"
21848 #endif
21849 /* We use char because int might match the return type of a gcc2
21850 builtin and then its argument prototype would still apply. */
21851 char $ac_func ();
21852 /* The GNU C library defines this for functions which it implements
21853 to always fail with ENOSYS. Some functions are actually named
21854 something starting with __ and the normal name is an alias. */
21855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21856 choke me
21857 #else
21858 char (*f) () = $ac_func;
21859 #endif
21860 #ifdef __cplusplus
21862 #endif
21865 main ()
21867 return f != $ac_func;
21869 return 0;
21871 _ACEOF
21872 rm -f conftest.$ac_objext conftest$ac_exeext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21874 (eval $ac_link) 2>&5
21875 ac_status=$?
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -s conftest$ac_exeext'
21879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880 (eval $ac_try) 2>&5
21881 ac_status=$?
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21884 eval "$as_ac_var=yes"
21885 else
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21889 eval "$as_ac_var=no"
21891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21895 if test `eval echo '${'$as_ac_var'}'` = yes; then
21896 cat >>confdefs.h <<_ACEOF
21897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21898 _ACEOF
21901 done
21907 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21908 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21909 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21910 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 else
21915 ac_ext=cc
21916 ac_cpp='$CXXCPP $CPPFLAGS'
21917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21921 cat >conftest.$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 #include <math.h>
21930 main ()
21932 `for x in _acosl _asinl _atanl \
21933 _cosl _sinl _tanl \
21934 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21936 return 0;
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21941 (eval $ac_compile) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } &&
21945 { ac_try='test -s conftest.$ac_objext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 glibcxx_cv_func__long_double_trig_use=yes
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21956 glibcxx_cv_func__long_double_trig_use=no
21958 rm -f conftest.$ac_objext conftest.$ac_ext
21959 ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21968 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21969 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
21979 for ac_func in _acosl _asinl _atanl \
21980 _cosl _sinl _tanl \
21981 _coshl _sinhl _tanhl
21983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21984 echo "$as_me:$LINENO: checking for $ac_func" >&5
21985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21986 if eval "test \"\${$as_ac_var+set}\" = set"; then
21987 echo $ECHO_N "(cached) $ECHO_C" >&6
21988 else
21989 if test x$gcc_no_link = xyes; then
21990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21992 { (exit 1); exit 1; }; }
21994 cat >conftest.$ac_ext <<_ACEOF
21995 #line $LINENO "configure"
21996 /* confdefs.h. */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 /* System header to define __stub macros and hopefully few prototypes,
22002 which can conflict with char $ac_func (); below.
22003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22004 <limits.h> exists even on freestanding compilers. */
22005 #ifdef __STDC__
22006 # include <limits.h>
22007 #else
22008 # include <assert.h>
22009 #endif
22010 /* Override any gcc2 internal prototype to avoid an error. */
22011 #ifdef __cplusplus
22012 extern "C"
22014 #endif
22015 /* We use char because int might match the return type of a gcc2
22016 builtin and then its argument prototype would still apply. */
22017 char $ac_func ();
22018 /* The GNU C library defines this for functions which it implements
22019 to always fail with ENOSYS. Some functions are actually named
22020 something starting with __ and the normal name is an alias. */
22021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22022 choke me
22023 #else
22024 char (*f) () = $ac_func;
22025 #endif
22026 #ifdef __cplusplus
22028 #endif
22031 main ()
22033 return f != $ac_func;
22035 return 0;
22037 _ACEOF
22038 rm -f conftest.$ac_objext conftest$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040 (eval $ac_link) 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 eval "$as_ac_var=yes"
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22055 eval "$as_ac_var=no"
22057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22061 if test `eval echo '${'$as_ac_var'}'` = yes; then
22062 cat >>confdefs.h <<_ACEOF
22063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22064 _ACEOF
22067 done
22072 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22073 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22074 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22075 echo $ECHO_N "(cached) $ECHO_C" >&6
22076 else
22080 ac_ext=cc
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22086 cat >conftest.$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22088 /* confdefs.h. */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 #include <math.h>
22095 main ()
22097 `for x in _ceill _floorl; do echo "$x (0);"; done`
22099 return 0;
22101 _ACEOF
22102 rm -f conftest.$ac_objext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22104 (eval $ac_compile) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } &&
22108 { ac_try='test -s conftest.$ac_objext'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 glibcxx_cv_func__long_double_round_use=yes
22115 else
22116 echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22119 glibcxx_cv_func__long_double_round_use=no
22121 rm -f conftest.$ac_objext conftest.$ac_ext
22122 ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22131 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22132 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22135 for ac_func in _ceill _floorl
22137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22138 echo "$as_me:$LINENO: checking for $ac_func" >&5
22139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22140 if eval "test \"\${$as_ac_var+set}\" = set"; then
22141 echo $ECHO_N "(cached) $ECHO_C" >&6
22142 else
22143 if test x$gcc_no_link = xyes; then
22144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22146 { (exit 1); exit 1; }; }
22148 cat >conftest.$ac_ext <<_ACEOF
22149 #line $LINENO "configure"
22150 /* confdefs.h. */
22151 _ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 /* System header to define __stub macros and hopefully few prototypes,
22156 which can conflict with char $ac_func (); below.
22157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22158 <limits.h> exists even on freestanding compilers. */
22159 #ifdef __STDC__
22160 # include <limits.h>
22161 #else
22162 # include <assert.h>
22163 #endif
22164 /* Override any gcc2 internal prototype to avoid an error. */
22165 #ifdef __cplusplus
22166 extern "C"
22168 #endif
22169 /* We use char because int might match the return type of a gcc2
22170 builtin and then its argument prototype would still apply. */
22171 char $ac_func ();
22172 /* The GNU C library defines this for functions which it implements
22173 to always fail with ENOSYS. Some functions are actually named
22174 something starting with __ and the normal name is an alias. */
22175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22176 choke me
22177 #else
22178 char (*f) () = $ac_func;
22179 #endif
22180 #ifdef __cplusplus
22182 #endif
22185 main ()
22187 return f != $ac_func;
22189 return 0;
22191 _ACEOF
22192 rm -f conftest.$ac_objext conftest$ac_exeext
22193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22194 (eval $ac_link) 2>&5
22195 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try='test -s conftest$ac_exeext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 eval "$as_ac_var=yes"
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 eval "$as_ac_var=no"
22211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22215 if test `eval echo '${'$as_ac_var'}'` = yes; then
22216 cat >>confdefs.h <<_ACEOF
22217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22218 _ACEOF
22221 done
22226 LIBS="$ac_save_LIBS"
22227 CXXFLAGS="$ac_save_CXXFLAGS"
22231 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22232 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22233 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22234 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22240 ac_ext=cc
22241 ac_cpp='$CXXCPP $CPPFLAGS'
22242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22246 cat >conftest.$ac_ext <<_ACEOF
22247 #line $LINENO "configure"
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #include <math.h>
22255 main ()
22257 __builtin_abs(0);
22259 return 0;
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -s conftest.$ac_objext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 glibcxx_cv_func___builtin_abs_use=yes
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22279 glibcxx_cv_func___builtin_abs_use=no
22281 rm -f conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22293 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22294 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22295 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22296 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22297 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22298 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22299 echo $ECHO_N "(cached) $ECHO_C" >&6
22300 else
22302 if test x$gcc_no_link = xyes; then
22303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22305 { (exit 1); exit 1; }; }
22307 cat >conftest.$ac_ext <<_ACEOF
22308 #line $LINENO "configure"
22309 /* confdefs.h. */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h. */
22314 #include <math.h>
22316 main ()
22318 __builtin_abs(0);
22320 return 0;
22322 _ACEOF
22323 rm -f conftest.$ac_objext conftest$ac_exeext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22325 (eval $ac_link) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } &&
22329 { ac_try='test -s conftest$ac_exeext'
22330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331 (eval $ac_try) 2>&5
22332 ac_status=$?
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 glibcxx_cv_func___builtin_abs_link=yes
22336 else
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22340 glibcxx_cv_func___builtin_abs_link=no
22342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22348 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22349 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22350 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22352 cat >>confdefs.h <<_ACEOF
22353 #define ${ac_tr_func} 1
22354 _ACEOF
22360 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22361 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22362 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22363 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22364 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 else
22369 ac_ext=cc
22370 ac_cpp='$CXXCPP $CPPFLAGS'
22371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22375 cat >conftest.$ac_ext <<_ACEOF
22376 #line $LINENO "configure"
22377 /* confdefs.h. */
22378 _ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22382 #include <math.h>
22384 main ()
22386 __builtin_fabsf(0);
22388 return 0;
22390 _ACEOF
22391 rm -f conftest.$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try='test -s conftest.$ac_objext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 glibcxx_cv_func___builtin_fabsf_use=yes
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22408 glibcxx_cv_func___builtin_fabsf_use=no
22410 rm -f conftest.$ac_objext conftest.$ac_ext
22411 ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22421 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22422 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22423 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22424 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22425 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22426 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22427 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22429 else
22431 if test x$gcc_no_link = xyes; then
22432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22434 { (exit 1); exit 1; }; }
22436 cat >conftest.$ac_ext <<_ACEOF
22437 #line $LINENO "configure"
22438 /* confdefs.h. */
22439 _ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22443 #include <math.h>
22445 main ()
22447 __builtin_fabsf(0);
22449 return 0;
22451 _ACEOF
22452 rm -f conftest.$ac_objext conftest$ac_exeext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454 (eval $ac_link) 2>&5
22455 ac_status=$?
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try='test -s conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 glibcxx_cv_func___builtin_fabsf_link=yes
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22469 glibcxx_cv_func___builtin_fabsf_link=no
22471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22477 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22478 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22479 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22481 cat >>confdefs.h <<_ACEOF
22482 #define ${ac_tr_func} 1
22483 _ACEOF
22489 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22490 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22491 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22492 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22493 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 else
22498 ac_ext=cc
22499 ac_cpp='$CXXCPP $CPPFLAGS'
22500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22504 cat >conftest.$ac_ext <<_ACEOF
22505 #line $LINENO "configure"
22506 /* confdefs.h. */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 #include <math.h>
22513 main ()
22515 __builtin_fabs(0);
22517 return 0;
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522 (eval $ac_compile) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } &&
22526 { ac_try='test -s conftest.$ac_objext'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 glibcxx_cv_func___builtin_fabs_use=yes
22533 else
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22537 glibcxx_cv_func___builtin_fabs_use=no
22539 rm -f conftest.$ac_objext conftest.$ac_ext
22540 ac_ext=c
22541 ac_cpp='$CPP $CPPFLAGS'
22542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22550 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22551 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22552 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22553 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22554 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22555 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22556 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 else
22560 if test x$gcc_no_link = xyes; then
22561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22563 { (exit 1); exit 1; }; }
22565 cat >conftest.$ac_ext <<_ACEOF
22566 #line $LINENO "configure"
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 #include <math.h>
22574 main ()
22576 __builtin_fabs(0);
22578 return 0;
22580 _ACEOF
22581 rm -f conftest.$ac_objext conftest$ac_exeext
22582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22583 (eval $ac_link) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } &&
22587 { ac_try='test -s conftest$ac_exeext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 glibcxx_cv_func___builtin_fabs_link=yes
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22598 glibcxx_cv_func___builtin_fabs_link=no
22600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22606 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22607 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22608 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22610 cat >>confdefs.h <<_ACEOF
22611 #define ${ac_tr_func} 1
22612 _ACEOF
22618 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22619 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22620 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22621 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22627 ac_ext=cc
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22633 cat >conftest.$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <math.h>
22642 main ()
22644 __builtin_fabsl(0);
22646 return 0;
22648 _ACEOF
22649 rm -f conftest.$ac_objext
22650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22651 (eval $ac_compile) 2>&5
22652 ac_status=$?
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } &&
22655 { ac_try='test -s conftest.$ac_objext'
22656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22657 (eval $ac_try) 2>&5
22658 ac_status=$?
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); }; }; then
22661 glibcxx_cv_func___builtin_fabsl_use=yes
22662 else
22663 echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.$ac_ext >&5
22666 glibcxx_cv_func___builtin_fabsl_use=no
22668 rm -f conftest.$ac_objext conftest.$ac_ext
22669 ac_ext=c
22670 ac_cpp='$CPP $CPPFLAGS'
22671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22679 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22680 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22681 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22682 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22683 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22684 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22685 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 else
22689 if test x$gcc_no_link = xyes; then
22690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22692 { (exit 1); exit 1; }; }
22694 cat >conftest.$ac_ext <<_ACEOF
22695 #line $LINENO "configure"
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 #include <math.h>
22703 main ()
22705 __builtin_fabsl(0);
22707 return 0;
22709 _ACEOF
22710 rm -f conftest.$ac_objext conftest$ac_exeext
22711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22712 (eval $ac_link) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -s conftest$ac_exeext'
22717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718 (eval $ac_try) 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; }; then
22722 glibcxx_cv_func___builtin_fabsl_link=yes
22723 else
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22727 glibcxx_cv_func___builtin_fabsl_link=no
22729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22734 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22735 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22736 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22737 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22739 cat >>confdefs.h <<_ACEOF
22740 #define ${ac_tr_func} 1
22741 _ACEOF
22747 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22748 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22749 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22750 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22756 ac_ext=cc
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22762 cat >conftest.$ac_ext <<_ACEOF
22763 #line $LINENO "configure"
22764 /* confdefs.h. */
22765 _ACEOF
22766 cat confdefs.h >>conftest.$ac_ext
22767 cat >>conftest.$ac_ext <<_ACEOF
22768 /* end confdefs.h. */
22769 #include <math.h>
22771 main ()
22773 __builtin_labs(0);
22775 return 0;
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22780 (eval $ac_compile) 2>&5
22781 ac_status=$?
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } &&
22784 { ac_try='test -s conftest.$ac_objext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22787 ac_status=$?
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 glibcxx_cv_func___builtin_labs_use=yes
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22795 glibcxx_cv_func___builtin_labs_use=no
22797 rm -f conftest.$ac_objext conftest.$ac_ext
22798 ac_ext=c
22799 ac_cpp='$CPP $CPPFLAGS'
22800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22809 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22810 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22811 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22812 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22813 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22814 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22815 echo $ECHO_N "(cached) $ECHO_C" >&6
22816 else
22818 if test x$gcc_no_link = xyes; then
22819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22821 { (exit 1); exit 1; }; }
22823 cat >conftest.$ac_ext <<_ACEOF
22824 #line $LINENO "configure"
22825 /* confdefs.h. */
22826 _ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22830 #include <math.h>
22832 main ()
22834 __builtin_labs(0);
22836 return 0;
22838 _ACEOF
22839 rm -f conftest.$ac_objext conftest$ac_exeext
22840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22841 (eval $ac_link) 2>&5
22842 ac_status=$?
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try='test -s conftest$ac_exeext'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; }; then
22851 glibcxx_cv_func___builtin_labs_link=yes
22852 else
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22856 glibcxx_cv_func___builtin_labs_link=no
22858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22864 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22865 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22866 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22868 cat >>confdefs.h <<_ACEOF
22869 #define ${ac_tr_func} 1
22870 _ACEOF
22877 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22878 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22879 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22880 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22881 echo $ECHO_N "(cached) $ECHO_C" >&6
22882 else
22886 ac_ext=cc
22887 ac_cpp='$CXXCPP $CPPFLAGS'
22888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22892 cat >conftest.$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22894 /* confdefs.h. */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899 #include <math.h>
22901 main ()
22903 __builtin_sqrtf(0);
22905 return 0;
22907 _ACEOF
22908 rm -f conftest.$ac_objext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22910 (eval $ac_compile) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 glibcxx_cv_func___builtin_sqrtf_use=yes
22921 else
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22925 glibcxx_cv_func___builtin_sqrtf_use=no
22927 rm -f conftest.$ac_objext conftest.$ac_ext
22928 ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22938 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22939 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22940 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22941 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22942 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22943 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22944 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22945 echo $ECHO_N "(cached) $ECHO_C" >&6
22946 else
22948 if test x$gcc_no_link = xyes; then
22949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22951 { (exit 1); exit 1; }; }
22953 cat >conftest.$ac_ext <<_ACEOF
22954 #line $LINENO "configure"
22955 /* confdefs.h. */
22956 _ACEOF
22957 cat confdefs.h >>conftest.$ac_ext
22958 cat >>conftest.$ac_ext <<_ACEOF
22959 /* end confdefs.h. */
22960 #include <math.h>
22962 main ()
22964 __builtin_sqrtf(0);
22966 return 0;
22968 _ACEOF
22969 rm -f conftest.$ac_objext conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } &&
22975 { ac_try='test -s conftest$ac_exeext'
22976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977 (eval $ac_try) 2>&5
22978 ac_status=$?
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); }; }; then
22981 glibcxx_cv_func___builtin_sqrtf_link=yes
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22986 glibcxx_cv_func___builtin_sqrtf_link=no
22988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
22994 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
22995 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
22996 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22998 cat >>confdefs.h <<_ACEOF
22999 #define ${ac_tr_func} 1
23000 _ACEOF
23006 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23007 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23008 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23009 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 else
23015 ac_ext=cc
23016 ac_cpp='$CXXCPP $CPPFLAGS'
23017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23021 cat >conftest.$ac_ext <<_ACEOF
23022 #line $LINENO "configure"
23023 /* confdefs.h. */
23024 _ACEOF
23025 cat confdefs.h >>conftest.$ac_ext
23026 cat >>conftest.$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23028 #include <math.h>
23030 main ()
23032 __builtin_sqrt(0);
23034 return 0;
23036 _ACEOF
23037 rm -f conftest.$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039 (eval $ac_compile) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 { ac_try='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 glibcxx_cv_func___builtin_sqrt_use=yes
23050 else
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23054 glibcxx_cv_func___builtin_sqrt_use=no
23056 rm -f conftest.$ac_objext conftest.$ac_ext
23057 ac_ext=c
23058 ac_cpp='$CPP $CPPFLAGS'
23059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23068 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23069 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23070 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23071 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23072 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23073 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 else
23077 if test x$gcc_no_link = xyes; then
23078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23080 { (exit 1); exit 1; }; }
23082 cat >conftest.$ac_ext <<_ACEOF
23083 #line $LINENO "configure"
23084 /* confdefs.h. */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 #include <math.h>
23091 main ()
23093 __builtin_sqrt(0);
23095 return 0;
23097 _ACEOF
23098 rm -f conftest.$ac_objext conftest$ac_exeext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23100 (eval $ac_link) 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } &&
23104 { ac_try='test -s conftest$ac_exeext'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; }; then
23110 glibcxx_cv_func___builtin_sqrt_link=yes
23111 else
23112 echo "$as_me: failed program was:" >&5
23113 sed 's/^/| /' conftest.$ac_ext >&5
23115 glibcxx_cv_func___builtin_sqrt_link=no
23117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23122 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23123 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23124 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23125 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23127 cat >>confdefs.h <<_ACEOF
23128 #define ${ac_tr_func} 1
23129 _ACEOF
23135 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23136 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23137 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23138 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23139 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 else
23144 ac_ext=cc
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150 cat >conftest.$ac_ext <<_ACEOF
23151 #line $LINENO "configure"
23152 /* confdefs.h. */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 #include <math.h>
23159 main ()
23161 __builtin_sqrtl(0);
23163 return 0;
23165 _ACEOF
23166 rm -f conftest.$ac_objext
23167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23168 (eval $ac_compile) 2>&5
23169 ac_status=$?
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } &&
23172 { ac_try='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 glibcxx_cv_func___builtin_sqrtl_use=yes
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23183 glibcxx_cv_func___builtin_sqrtl_use=no
23185 rm -f conftest.$ac_objext conftest.$ac_ext
23186 ac_ext=c
23187 ac_cpp='$CPP $CPPFLAGS'
23188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23197 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23198 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23199 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23200 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23202 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23206 if test x$gcc_no_link = xyes; then
23207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23209 { (exit 1); exit 1; }; }
23211 cat >conftest.$ac_ext <<_ACEOF
23212 #line $LINENO "configure"
23213 /* confdefs.h. */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218 #include <math.h>
23220 main ()
23222 __builtin_sqrtl(0);
23224 return 0;
23226 _ACEOF
23227 rm -f conftest.$ac_objext conftest$ac_exeext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229 (eval $ac_link) 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } &&
23233 { ac_try='test -s conftest$ac_exeext'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; }; then
23239 glibcxx_cv_func___builtin_sqrtl_link=yes
23240 else
23241 echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23244 glibcxx_cv_func___builtin_sqrtl_link=no
23246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23251 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23252 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23253 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23254 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23256 cat >>confdefs.h <<_ACEOF
23257 #define ${ac_tr_func} 1
23258 _ACEOF
23265 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23266 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23267 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23268 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23270 else
23274 ac_ext=cc
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23280 cat >conftest.$ac_ext <<_ACEOF
23281 #line $LINENO "configure"
23282 /* confdefs.h. */
23283 _ACEOF
23284 cat confdefs.h >>conftest.$ac_ext
23285 cat >>conftest.$ac_ext <<_ACEOF
23286 /* end confdefs.h. */
23287 #include <math.h>
23289 main ()
23291 __builtin_sinf(0);
23293 return 0;
23295 _ACEOF
23296 rm -f conftest.$ac_objext
23297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23298 (eval $ac_compile) 2>&5
23299 ac_status=$?
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try='test -s conftest.$ac_objext'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 glibcxx_cv_func___builtin_sinf_use=yes
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23313 glibcxx_cv_func___builtin_sinf_use=no
23315 rm -f conftest.$ac_objext conftest.$ac_ext
23316 ac_ext=c
23317 ac_cpp='$CPP $CPPFLAGS'
23318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23326 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23327 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23328 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23329 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23330 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23331 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23332 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 else
23336 if test x$gcc_no_link = xyes; then
23337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23339 { (exit 1); exit 1; }; }
23341 cat >conftest.$ac_ext <<_ACEOF
23342 #line $LINENO "configure"
23343 /* confdefs.h. */
23344 _ACEOF
23345 cat confdefs.h >>conftest.$ac_ext
23346 cat >>conftest.$ac_ext <<_ACEOF
23347 /* end confdefs.h. */
23348 #include <math.h>
23350 main ()
23352 __builtin_sinf(0);
23354 return 0;
23356 _ACEOF
23357 rm -f conftest.$ac_objext conftest$ac_exeext
23358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23359 (eval $ac_link) 2>&5
23360 ac_status=$?
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } &&
23363 { ac_try='test -s conftest$ac_exeext'
23364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23365 (eval $ac_try) 2>&5
23366 ac_status=$?
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); }; }; then
23369 glibcxx_cv_func___builtin_sinf_link=yes
23370 else
23371 echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.$ac_ext >&5
23374 glibcxx_cv_func___builtin_sinf_link=no
23376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23381 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23382 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23383 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23384 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23386 cat >>confdefs.h <<_ACEOF
23387 #define ${ac_tr_func} 1
23388 _ACEOF
23394 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23395 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23396 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23397 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23403 ac_ext=cc
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23409 cat >conftest.$ac_ext <<_ACEOF
23410 #line $LINENO "configure"
23411 /* confdefs.h. */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23416 #include <math.h>
23418 main ()
23420 __builtin_sin(0);
23422 return 0;
23424 _ACEOF
23425 rm -f conftest.$ac_objext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23427 (eval $ac_compile) 2>&5
23428 ac_status=$?
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } &&
23431 { ac_try='test -s conftest.$ac_objext'
23432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23433 (eval $ac_try) 2>&5
23434 ac_status=$?
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 glibcxx_cv_func___builtin_sin_use=yes
23438 else
23439 echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23442 glibcxx_cv_func___builtin_sin_use=no
23444 rm -f conftest.$ac_objext conftest.$ac_ext
23445 ac_ext=c
23446 ac_cpp='$CPP $CPPFLAGS'
23447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23455 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23457 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23458 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23459 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23460 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23461 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23465 if test x$gcc_no_link = xyes; then
23466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23468 { (exit 1); exit 1; }; }
23470 cat >conftest.$ac_ext <<_ACEOF
23471 #line $LINENO "configure"
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <math.h>
23479 main ()
23481 __builtin_sin(0);
23483 return 0;
23485 _ACEOF
23486 rm -f conftest.$ac_objext conftest$ac_exeext
23487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23488 (eval $ac_link) 2>&5
23489 ac_status=$?
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -s conftest$ac_exeext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23495 ac_status=$?
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 glibcxx_cv_func___builtin_sin_link=yes
23499 else
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.$ac_ext >&5
23503 glibcxx_cv_func___builtin_sin_link=no
23505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23510 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23511 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23512 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23513 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23515 cat >>confdefs.h <<_ACEOF
23516 #define ${ac_tr_func} 1
23517 _ACEOF
23523 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23524 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23525 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23526 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23532 ac_ext=cc
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538 cat >conftest.$ac_ext <<_ACEOF
23539 #line $LINENO "configure"
23540 /* confdefs.h. */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545 #include <math.h>
23547 main ()
23549 __builtin_sinl(0);
23551 return 0;
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>&5
23557 ac_status=$?
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } &&
23560 { ac_try='test -s conftest.$ac_objext'
23561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562 (eval $ac_try) 2>&5
23563 ac_status=$?
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); }; }; then
23566 glibcxx_cv_func___builtin_sinl_use=yes
23567 else
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23571 glibcxx_cv_func___builtin_sinl_use=no
23573 rm -f conftest.$ac_objext conftest.$ac_ext
23574 ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23586 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23587 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23588 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23589 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23590 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23591 echo $ECHO_N "(cached) $ECHO_C" >&6
23592 else
23594 if test x$gcc_no_link = xyes; then
23595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23597 { (exit 1); exit 1; }; }
23599 cat >conftest.$ac_ext <<_ACEOF
23600 #line $LINENO "configure"
23601 /* confdefs.h. */
23602 _ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 #include <math.h>
23608 main ()
23610 __builtin_sinl(0);
23612 return 0;
23614 _ACEOF
23615 rm -f conftest.$ac_objext conftest$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617 (eval $ac_link) 2>&5
23618 ac_status=$?
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } &&
23621 { ac_try='test -s conftest$ac_exeext'
23622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623 (eval $ac_try) 2>&5
23624 ac_status=$?
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); }; }; then
23627 glibcxx_cv_func___builtin_sinl_link=yes
23628 else
23629 echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.$ac_ext >&5
23632 glibcxx_cv_func___builtin_sinl_link=no
23634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23639 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23640 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23641 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23642 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23644 cat >>confdefs.h <<_ACEOF
23645 #define ${ac_tr_func} 1
23646 _ACEOF
23653 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23654 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23655 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23656 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23662 ac_ext=cc
23663 ac_cpp='$CXXCPP $CPPFLAGS'
23664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668 cat >conftest.$ac_ext <<_ACEOF
23669 #line $LINENO "configure"
23670 /* confdefs.h. */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 #include <math.h>
23677 main ()
23679 __builtin_cosf(0);
23681 return 0;
23683 _ACEOF
23684 rm -f conftest.$ac_objext
23685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23686 (eval $ac_compile) 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } &&
23690 { ac_try='test -s conftest.$ac_objext'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23693 ac_status=$?
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; }; then
23696 glibcxx_cv_func___builtin_cosf_use=yes
23697 else
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23701 glibcxx_cv_func___builtin_cosf_use=no
23703 rm -f conftest.$ac_objext conftest.$ac_ext
23704 ac_ext=c
23705 ac_cpp='$CPP $CPPFLAGS'
23706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23715 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23716 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23717 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23718 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23719 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23720 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23721 echo $ECHO_N "(cached) $ECHO_C" >&6
23722 else
23724 if test x$gcc_no_link = xyes; then
23725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23727 { (exit 1); exit 1; }; }
23729 cat >conftest.$ac_ext <<_ACEOF
23730 #line $LINENO "configure"
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 #include <math.h>
23738 main ()
23740 __builtin_cosf(0);
23742 return 0;
23744 _ACEOF
23745 rm -f conftest.$ac_objext conftest$ac_exeext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23747 (eval $ac_link) 2>&5
23748 ac_status=$?
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } &&
23751 { ac_try='test -s conftest$ac_exeext'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23754 ac_status=$?
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; }; then
23757 glibcxx_cv_func___builtin_cosf_link=yes
23758 else
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23762 glibcxx_cv_func___builtin_cosf_link=no
23764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23770 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23771 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23772 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23774 cat >>confdefs.h <<_ACEOF
23775 #define ${ac_tr_func} 1
23776 _ACEOF
23782 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23783 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23784 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23785 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23791 ac_ext=cc
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797 cat >conftest.$ac_ext <<_ACEOF
23798 #line $LINENO "configure"
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804 #include <math.h>
23806 main ()
23808 __builtin_cos(0);
23810 return 0;
23812 _ACEOF
23813 rm -f conftest.$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>&5
23816 ac_status=$?
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try='test -s conftest.$ac_objext'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23822 ac_status=$?
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; }; then
23825 glibcxx_cv_func___builtin_cos_use=yes
23826 else
23827 echo "$as_me: failed program was:" >&5
23828 sed 's/^/| /' conftest.$ac_ext >&5
23830 glibcxx_cv_func___builtin_cos_use=no
23832 rm -f conftest.$ac_objext conftest.$ac_ext
23833 ac_ext=c
23834 ac_cpp='$CPP $CPPFLAGS'
23835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23845 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23846 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23847 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23848 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23849 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23853 if test x$gcc_no_link = xyes; then
23854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23856 { (exit 1); exit 1; }; }
23858 cat >conftest.$ac_ext <<_ACEOF
23859 #line $LINENO "configure"
23860 /* confdefs.h. */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865 #include <math.h>
23867 main ()
23869 __builtin_cos(0);
23871 return 0;
23873 _ACEOF
23874 rm -f conftest.$ac_objext conftest$ac_exeext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23876 (eval $ac_link) 2>&5
23877 ac_status=$?
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -s conftest$ac_exeext'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23883 ac_status=$?
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; }; then
23886 glibcxx_cv_func___builtin_cos_link=yes
23887 else
23888 echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.$ac_ext >&5
23891 glibcxx_cv_func___builtin_cos_link=no
23893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23898 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23899 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23900 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23901 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23903 cat >>confdefs.h <<_ACEOF
23904 #define ${ac_tr_func} 1
23905 _ACEOF
23911 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23912 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23913 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23914 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23915 echo $ECHO_N "(cached) $ECHO_C" >&6
23916 else
23920 ac_ext=cc
23921 ac_cpp='$CXXCPP $CPPFLAGS'
23922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23926 cat >conftest.$ac_ext <<_ACEOF
23927 #line $LINENO "configure"
23928 /* confdefs.h. */
23929 _ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #include <math.h>
23935 main ()
23937 __builtin_cosl(0);
23939 return 0;
23941 _ACEOF
23942 rm -f conftest.$ac_objext
23943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23944 (eval $ac_compile) 2>&5
23945 ac_status=$?
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); } &&
23948 { ac_try='test -s conftest.$ac_objext'
23949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23950 (eval $ac_try) 2>&5
23951 ac_status=$?
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); }; }; then
23954 glibcxx_cv_func___builtin_cosl_use=yes
23955 else
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.$ac_ext >&5
23959 glibcxx_cv_func___builtin_cosl_use=no
23961 rm -f conftest.$ac_objext conftest.$ac_ext
23962 ac_ext=c
23963 ac_cpp='$CPP $CPPFLAGS'
23964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23973 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23974 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23975 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23976 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23977 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23978 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 else
23982 if test x$gcc_no_link = xyes; then
23983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23985 { (exit 1); exit 1; }; }
23987 cat >conftest.$ac_ext <<_ACEOF
23988 #line $LINENO "configure"
23989 /* confdefs.h. */
23990 _ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994 #include <math.h>
23996 main ()
23998 __builtin_cosl(0);
24000 return 0;
24002 _ACEOF
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005 (eval $ac_link) 2>&5
24006 ac_status=$?
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try='test -s conftest$ac_exeext'
24010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011 (eval $ac_try) 2>&5
24012 ac_status=$?
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 glibcxx_cv_func___builtin_cosl_link=yes
24016 else
24017 echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.$ac_ext >&5
24020 glibcxx_cv_func___builtin_cosl_link=no
24022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24027 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24028 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24029 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24030 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24032 cat >>confdefs.h <<_ACEOF
24033 #define ${ac_tr_func} 1
24034 _ACEOF
24042 echo "$as_me:$LINENO: checking for main in -lm" >&5
24043 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24044 if test "${ac_cv_lib_m_main+set}" = set; then
24045 echo $ECHO_N "(cached) $ECHO_C" >&6
24046 else
24047 ac_check_lib_save_LIBS=$LIBS
24048 LIBS="-lm $LIBS"
24049 if test x$gcc_no_link = xyes; then
24050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24052 { (exit 1); exit 1; }; }
24054 cat >conftest.$ac_ext <<_ACEOF
24055 #line $LINENO "configure"
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24064 main ()
24066 main ();
24068 return 0;
24070 _ACEOF
24071 rm -f conftest.$ac_objext conftest$ac_exeext
24072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24073 (eval $ac_link) 2>&5
24074 ac_status=$?
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); } &&
24077 { ac_try='test -s conftest$ac_exeext'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; }; then
24083 ac_cv_lib_m_main=yes
24084 else
24085 echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.$ac_ext >&5
24088 ac_cv_lib_m_main=no
24090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24091 LIBS=$ac_check_lib_save_LIBS
24093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24094 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24095 if test $ac_cv_lib_m_main = yes; then
24096 cat >>confdefs.h <<_ACEOF
24097 #define HAVE_LIBM 1
24098 _ACEOF
24100 LIBS="-lm $LIBS"
24105 for ac_func in copysignf
24107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24108 echo "$as_me:$LINENO: checking for $ac_func" >&5
24109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24110 if eval "test \"\${$as_ac_var+set}\" = set"; then
24111 echo $ECHO_N "(cached) $ECHO_C" >&6
24112 else
24113 if test x$gcc_no_link = xyes; then
24114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24116 { (exit 1); exit 1; }; }
24118 cat >conftest.$ac_ext <<_ACEOF
24119 #line $LINENO "configure"
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 /* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char $ac_func (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24129 #ifdef __STDC__
24130 # include <limits.h>
24131 #else
24132 # include <assert.h>
24133 #endif
24134 /* Override any gcc2 internal prototype to avoid an error. */
24135 #ifdef __cplusplus
24136 extern "C"
24138 #endif
24139 /* We use char because int might match the return type of a gcc2
24140 builtin and then its argument prototype would still apply. */
24141 char $ac_func ();
24142 /* The GNU C library defines this for functions which it implements
24143 to always fail with ENOSYS. Some functions are actually named
24144 something starting with __ and the normal name is an alias. */
24145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24146 choke me
24147 #else
24148 char (*f) () = $ac_func;
24149 #endif
24150 #ifdef __cplusplus
24152 #endif
24155 main ()
24157 return f != $ac_func;
24159 return 0;
24161 _ACEOF
24162 rm -f conftest.$ac_objext conftest$ac_exeext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24164 (eval $ac_link) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } &&
24168 { ac_try='test -s conftest$ac_exeext'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24171 ac_status=$?
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; }; then
24174 eval "$as_ac_var=yes"
24175 else
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24179 eval "$as_ac_var=no"
24181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24185 if test `eval echo '${'$as_ac_var'}'` = yes; then
24186 cat >>confdefs.h <<_ACEOF
24187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24188 _ACEOF
24190 else
24191 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24193 done
24197 for ac_func in __signbit
24199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 echo "$as_me:$LINENO: checking for $ac_func" >&5
24201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24202 if eval "test \"\${$as_ac_var+set}\" = set"; then
24203 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 else
24205 if test x$gcc_no_link = xyes; then
24206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24208 { (exit 1); exit 1; }; }
24210 cat >conftest.$ac_ext <<_ACEOF
24211 #line $LINENO "configure"
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217 /* System header to define __stub macros and hopefully few prototypes,
24218 which can conflict with char $ac_func (); below.
24219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24220 <limits.h> exists even on freestanding compilers. */
24221 #ifdef __STDC__
24222 # include <limits.h>
24223 #else
24224 # include <assert.h>
24225 #endif
24226 /* Override any gcc2 internal prototype to avoid an error. */
24227 #ifdef __cplusplus
24228 extern "C"
24230 #endif
24231 /* We use char because int might match the return type of a gcc2
24232 builtin and then its argument prototype would still apply. */
24233 char $ac_func ();
24234 /* The GNU C library defines this for functions which it implements
24235 to always fail with ENOSYS. Some functions are actually named
24236 something starting with __ and the normal name is an alias. */
24237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24238 choke me
24239 #else
24240 char (*f) () = $ac_func;
24241 #endif
24242 #ifdef __cplusplus
24244 #endif
24247 main ()
24249 return f != $ac_func;
24251 return 0;
24253 _ACEOF
24254 rm -f conftest.$ac_objext conftest$ac_exeext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24256 (eval $ac_link) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
24266 eval "$as_ac_var=yes"
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24271 eval "$as_ac_var=no"
24273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24277 if test `eval echo '${'$as_ac_var'}'` = yes; then
24278 cat >>confdefs.h <<_ACEOF
24279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24280 _ACEOF
24282 else
24283 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24285 done
24289 for ac_func in __signbitf
24291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24292 echo "$as_me:$LINENO: checking for $ac_func" >&5
24293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24294 if eval "test \"\${$as_ac_var+set}\" = set"; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297 if test x$gcc_no_link = xyes; then
24298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24300 { (exit 1); exit 1; }; }
24302 cat >conftest.$ac_ext <<_ACEOF
24303 #line $LINENO "configure"
24304 /* confdefs.h. */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 /* System header to define __stub macros and hopefully few prototypes,
24310 which can conflict with char $ac_func (); below.
24311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24312 <limits.h> exists even on freestanding compilers. */
24313 #ifdef __STDC__
24314 # include <limits.h>
24315 #else
24316 # include <assert.h>
24317 #endif
24318 /* Override any gcc2 internal prototype to avoid an error. */
24319 #ifdef __cplusplus
24320 extern "C"
24322 #endif
24323 /* We use char because int might match the return type of a gcc2
24324 builtin and then its argument prototype would still apply. */
24325 char $ac_func ();
24326 /* The GNU C library defines this for functions which it implements
24327 to always fail with ENOSYS. Some functions are actually named
24328 something starting with __ and the normal name is an alias. */
24329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24330 choke me
24331 #else
24332 char (*f) () = $ac_func;
24333 #endif
24334 #ifdef __cplusplus
24336 #endif
24339 main ()
24341 return f != $ac_func;
24343 return 0;
24345 _ACEOF
24346 rm -f conftest.$ac_objext conftest$ac_exeext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24348 (eval $ac_link) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -s conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24355 ac_status=$?
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 eval "$as_ac_var=yes"
24359 else
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.$ac_ext >&5
24363 eval "$as_ac_var=no"
24365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24369 if test `eval echo '${'$as_ac_var'}'` = yes; then
24370 cat >>confdefs.h <<_ACEOF
24371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24374 else
24375 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24377 done
24380 if test x$ac_cv_func_copysignl = x"yes"; then
24382 for ac_func in __signbitl
24384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24385 echo "$as_me:$LINENO: checking for $ac_func" >&5
24386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24387 if eval "test \"\${$as_ac_var+set}\" = set"; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 else
24390 if test x$gcc_no_link = xyes; then
24391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24393 { (exit 1); exit 1; }; }
24395 cat >conftest.$ac_ext <<_ACEOF
24396 #line $LINENO "configure"
24397 /* confdefs.h. */
24398 _ACEOF
24399 cat confdefs.h >>conftest.$ac_ext
24400 cat >>conftest.$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402 /* System header to define __stub macros and hopefully few prototypes,
24403 which can conflict with char $ac_func (); below.
24404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24405 <limits.h> exists even on freestanding compilers. */
24406 #ifdef __STDC__
24407 # include <limits.h>
24408 #else
24409 # include <assert.h>
24410 #endif
24411 /* Override any gcc2 internal prototype to avoid an error. */
24412 #ifdef __cplusplus
24413 extern "C"
24415 #endif
24416 /* We use char because int might match the return type of a gcc2
24417 builtin and then its argument prototype would still apply. */
24418 char $ac_func ();
24419 /* The GNU C library defines this for functions which it implements
24420 to always fail with ENOSYS. Some functions are actually named
24421 something starting with __ and the normal name is an alias. */
24422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24423 choke me
24424 #else
24425 char (*f) () = $ac_func;
24426 #endif
24427 #ifdef __cplusplus
24429 #endif
24432 main ()
24434 return f != $ac_func;
24436 return 0;
24438 _ACEOF
24439 rm -f conftest.$ac_objext conftest$ac_exeext
24440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24441 (eval $ac_link) 2>&5
24442 ac_status=$?
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } &&
24445 { ac_try='test -s conftest$ac_exeext'
24446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447 (eval $ac_try) 2>&5
24448 ac_status=$?
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; }; then
24451 eval "$as_ac_var=yes"
24452 else
24453 echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.$ac_ext >&5
24456 eval "$as_ac_var=no"
24458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24462 if test `eval echo '${'$as_ac_var'}'` = yes; then
24463 cat >>confdefs.h <<_ACEOF
24464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24465 _ACEOF
24467 else
24468 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24470 done
24474 # Used in libmath/Makefile.am.
24475 if test -n "$LIBMATHOBJS"; then
24476 need_libmath=yes
24481 # Test wchar.h for mbstate_t, which is needed for char_traits and
24482 # others even if wchar_t support is not on.
24483 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24484 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24485 cat >conftest.$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24487 /* confdefs.h. */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492 #include <wchar.h>
24494 main ()
24496 mbstate_t teststate;
24498 return 0;
24500 _ACEOF
24501 rm -f conftest.$ac_objext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24503 (eval $ac_compile) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } &&
24507 { ac_try='test -s conftest.$ac_objext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 have_mbstate_t=yes
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24518 have_mbstate_t=no
24520 rm -f conftest.$ac_objext conftest.$ac_ext
24521 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24522 echo "${ECHO_T}$have_mbstate_t" >&6
24523 if test x"$have_mbstate_t" = xyes; then
24524 cat >>confdefs.h <<\_ACEOF
24525 #define HAVE_MBSTATE_T 1
24526 _ACEOF
24530 # Sanity check for existence of ISO C99 headers for extended encoding.
24532 for ac_header in wchar.h
24534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24536 echo "$as_me:$LINENO: checking for $ac_header" >&5
24537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24539 echo $ECHO_N "(cached) $ECHO_C" >&6
24541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24543 else
24544 # Is the header compilable?
24545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24547 cat >conftest.$ac_ext <<_ACEOF
24548 #line $LINENO "configure"
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554 $ac_includes_default
24555 #include <$ac_header>
24556 _ACEOF
24557 rm -f conftest.$ac_objext
24558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24559 (eval $ac_compile) 2>&5
24560 ac_status=$?
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try='test -s conftest.$ac_objext'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24566 ac_status=$?
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; }; then
24569 ac_header_compiler=yes
24570 else
24571 echo "$as_me: failed program was:" >&5
24572 sed 's/^/| /' conftest.$ac_ext >&5
24574 ac_header_compiler=no
24576 rm -f conftest.$ac_objext conftest.$ac_ext
24577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24578 echo "${ECHO_T}$ac_header_compiler" >&6
24580 # Is the header present?
24581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24583 cat >conftest.$ac_ext <<_ACEOF
24584 #line $LINENO "configure"
24585 /* confdefs.h. */
24586 _ACEOF
24587 cat confdefs.h >>conftest.$ac_ext
24588 cat >>conftest.$ac_ext <<_ACEOF
24589 /* end confdefs.h. */
24590 #include <$ac_header>
24591 _ACEOF
24592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } >/dev/null; then
24600 if test -s conftest.err; then
24601 ac_cpp_err=$ac_c_preproc_warn_flag
24602 else
24603 ac_cpp_err=
24605 else
24606 ac_cpp_err=yes
24608 if test -z "$ac_cpp_err"; then
24609 ac_header_preproc=yes
24610 else
24611 echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.$ac_ext >&5
24614 ac_header_preproc=no
24616 rm -f conftest.err conftest.$ac_ext
24617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24618 echo "${ECHO_T}$ac_header_preproc" >&6
24620 # So? What about this header?
24621 case $ac_header_compiler:$ac_header_preproc in
24622 yes:no )
24623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24628 cat <<\_ASBOX
24629 ## ------------------------------------ ##
24630 ## Report this to bug-autoconf@gnu.org. ##
24631 ## ------------------------------------ ##
24632 _ASBOX
24634 sed "s/^/$as_me: WARNING: /" >&2
24636 no:yes )
24637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24644 cat <<\_ASBOX
24645 ## ------------------------------------ ##
24646 ## Report this to bug-autoconf@gnu.org. ##
24647 ## ------------------------------------ ##
24648 _ASBOX
24650 sed "s/^/$as_me: WARNING: /" >&2
24652 esac
24653 echo "$as_me:$LINENO: checking for $ac_header" >&5
24654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else
24658 eval "$as_ac_Header=$ac_header_preproc"
24660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24665 cat >>confdefs.h <<_ACEOF
24666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24667 _ACEOF
24668 ac_has_wchar_h=yes
24669 else
24670 ac_has_wchar_h=no
24673 done
24676 for ac_header in wctype.h
24678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24680 echo "$as_me:$LINENO: checking for $ac_header" >&5
24681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24683 echo $ECHO_N "(cached) $ECHO_C" >&6
24685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24687 else
24688 # Is the header compilable?
24689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24691 cat >conftest.$ac_ext <<_ACEOF
24692 #line $LINENO "configure"
24693 /* confdefs.h. */
24694 _ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24698 $ac_includes_default
24699 #include <$ac_header>
24700 _ACEOF
24701 rm -f conftest.$ac_objext
24702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24703 (eval $ac_compile) 2>&5
24704 ac_status=$?
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try='test -s conftest.$ac_objext'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24710 ac_status=$?
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; }; then
24713 ac_header_compiler=yes
24714 else
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24718 ac_header_compiler=no
24720 rm -f conftest.$ac_objext conftest.$ac_ext
24721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24722 echo "${ECHO_T}$ac_header_compiler" >&6
24724 # Is the header present?
24725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24727 cat >conftest.$ac_ext <<_ACEOF
24728 #line $LINENO "configure"
24729 /* confdefs.h. */
24730 _ACEOF
24731 cat confdefs.h >>conftest.$ac_ext
24732 cat >>conftest.$ac_ext <<_ACEOF
24733 /* end confdefs.h. */
24734 #include <$ac_header>
24735 _ACEOF
24736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24737 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
24744 if test -s conftest.err; then
24745 ac_cpp_err=$ac_c_preproc_warn_flag
24746 else
24747 ac_cpp_err=
24749 else
24750 ac_cpp_err=yes
24752 if test -z "$ac_cpp_err"; then
24753 ac_header_preproc=yes
24754 else
24755 echo "$as_me: failed program was:" >&5
24756 sed 's/^/| /' conftest.$ac_ext >&5
24758 ac_header_preproc=no
24760 rm -f conftest.err conftest.$ac_ext
24761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24762 echo "${ECHO_T}$ac_header_preproc" >&6
24764 # So? What about this header?
24765 case $ac_header_compiler:$ac_header_preproc in
24766 yes:no )
24767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24772 cat <<\_ASBOX
24773 ## ------------------------------------ ##
24774 ## Report this to bug-autoconf@gnu.org. ##
24775 ## ------------------------------------ ##
24776 _ASBOX
24778 sed "s/^/$as_me: WARNING: /" >&2
24780 no:yes )
24781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24788 cat <<\_ASBOX
24789 ## ------------------------------------ ##
24790 ## Report this to bug-autoconf@gnu.org. ##
24791 ## ------------------------------------ ##
24792 _ASBOX
24794 sed "s/^/$as_me: WARNING: /" >&2
24796 esac
24797 echo "$as_me:$LINENO: checking for $ac_header" >&5
24798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 else
24802 eval "$as_ac_Header=$ac_header_preproc"
24804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24809 cat >>confdefs.h <<_ACEOF
24810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24811 _ACEOF
24812 ac_has_wctype_h=yes
24813 else
24814 ac_has_wctype_h=no
24817 done
24820 # Only continue checking if the ISO C99 headers exist and support is on.
24821 if test x"$ac_has_wchar_h" = xyes &&
24822 test x"$ac_has_wctype_h" = xyes &&
24823 test x"$enable_c_mbchar" != xno; then
24825 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24826 # numeric_limits can instantiate type_traits<wchar_t>
24827 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24828 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24829 cat >conftest.$ac_ext <<_ACEOF
24830 #line $LINENO "configure"
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 #include <wchar.h>
24838 main ()
24840 int i = WCHAR_MIN; int j = WCHAR_MAX;
24842 return 0;
24844 _ACEOF
24845 rm -f conftest.$ac_objext
24846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24847 (eval $ac_compile) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); } &&
24851 { ac_try='test -s conftest.$ac_objext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24854 ac_status=$?
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 has_wchar_minmax=yes
24858 else
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24862 has_wchar_minmax=no
24864 rm -f conftest.$ac_objext conftest.$ac_ext
24865 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24866 echo "${ECHO_T}$has_wchar_minmax" >&6
24868 # Test wchar.h for WEOF, which is what we use to determine whether
24869 # to specialize for char_traits<wchar_t> or not.
24870 echo "$as_me:$LINENO: checking for WEOF" >&5
24871 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24872 cat >conftest.$ac_ext <<_ACEOF
24873 #line $LINENO "configure"
24874 /* confdefs.h. */
24875 _ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24880 #include <wchar.h>
24881 #include <stddef.h>
24883 main ()
24885 wint_t i = WEOF;
24887 return 0;
24889 _ACEOF
24890 rm -f conftest.$ac_objext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24892 (eval $ac_compile) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } &&
24896 { ac_try='test -s conftest.$ac_objext'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; }; then
24902 has_weof=yes
24903 else
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24907 has_weof=no
24909 rm -f conftest.$ac_objext conftest.$ac_ext
24910 echo "$as_me:$LINENO: result: $has_weof" >&5
24911 echo "${ECHO_T}$has_weof" >&6
24913 # Tests for wide character functions used in char_traits<wchar_t>.
24914 ac_wfuncs=yes
24921 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24924 echo "$as_me:$LINENO: checking for $ac_func" >&5
24925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24926 if eval "test \"\${$as_ac_var+set}\" = set"; then
24927 echo $ECHO_N "(cached) $ECHO_C" >&6
24928 else
24929 if test x$gcc_no_link = xyes; then
24930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24932 { (exit 1); exit 1; }; }
24934 cat >conftest.$ac_ext <<_ACEOF
24935 #line $LINENO "configure"
24936 /* confdefs.h. */
24937 _ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24941 /* System header to define __stub macros and hopefully few prototypes,
24942 which can conflict with char $ac_func (); below.
24943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24944 <limits.h> exists even on freestanding compilers. */
24945 #ifdef __STDC__
24946 # include <limits.h>
24947 #else
24948 # include <assert.h>
24949 #endif
24950 /* Override any gcc2 internal prototype to avoid an error. */
24951 #ifdef __cplusplus
24952 extern "C"
24954 #endif
24955 /* We use char because int might match the return type of a gcc2
24956 builtin and then its argument prototype would still apply. */
24957 char $ac_func ();
24958 /* The GNU C library defines this for functions which it implements
24959 to always fail with ENOSYS. Some functions are actually named
24960 something starting with __ and the normal name is an alias. */
24961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24962 choke me
24963 #else
24964 char (*f) () = $ac_func;
24965 #endif
24966 #ifdef __cplusplus
24968 #endif
24971 main ()
24973 return f != $ac_func;
24975 return 0;
24977 _ACEOF
24978 rm -f conftest.$ac_objext conftest$ac_exeext
24979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24980 (eval $ac_link) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 eval "$as_ac_var=yes"
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24995 eval "$as_ac_var=no"
24997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25001 if test `eval echo '${'$as_ac_var'}'` = yes; then
25002 cat >>confdefs.h <<_ACEOF
25003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25004 _ACEOF
25006 else
25007 ac_wfuncs=no
25009 done
25012 # Checks for names injected into std:: by the c_std headers.
25059 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25060 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25061 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25062 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25063 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25064 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25067 echo "$as_me:$LINENO: checking for $ac_func" >&5
25068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25069 if eval "test \"\${$as_ac_var+set}\" = set"; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072 if test x$gcc_no_link = xyes; then
25073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25075 { (exit 1); exit 1; }; }
25077 cat >conftest.$ac_ext <<_ACEOF
25078 #line $LINENO "configure"
25079 /* confdefs.h. */
25080 _ACEOF
25081 cat confdefs.h >>conftest.$ac_ext
25082 cat >>conftest.$ac_ext <<_ACEOF
25083 /* end confdefs.h. */
25084 /* System header to define __stub macros and hopefully few prototypes,
25085 which can conflict with char $ac_func (); below.
25086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25087 <limits.h> exists even on freestanding compilers. */
25088 #ifdef __STDC__
25089 # include <limits.h>
25090 #else
25091 # include <assert.h>
25092 #endif
25093 /* Override any gcc2 internal prototype to avoid an error. */
25094 #ifdef __cplusplus
25095 extern "C"
25097 #endif
25098 /* We use char because int might match the return type of a gcc2
25099 builtin and then its argument prototype would still apply. */
25100 char $ac_func ();
25101 /* The GNU C library defines this for functions which it implements
25102 to always fail with ENOSYS. Some functions are actually named
25103 something starting with __ and the normal name is an alias. */
25104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25105 choke me
25106 #else
25107 char (*f) () = $ac_func;
25108 #endif
25109 #ifdef __cplusplus
25111 #endif
25114 main ()
25116 return f != $ac_func;
25118 return 0;
25120 _ACEOF
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123 (eval $ac_link) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } &&
25127 { ac_try='test -s conftest$ac_exeext'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; }; then
25133 eval "$as_ac_var=yes"
25134 else
25135 echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.$ac_ext >&5
25138 eval "$as_ac_var=no"
25140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145 cat >>confdefs.h <<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25147 _ACEOF
25149 else
25150 ac_wfuncs=no
25152 done
25155 # Checks for wide character functions that are not required
25156 # for basic wchar_t support. Don't disable support if they are missing.
25157 # Injection of these is wrapped with guard macros.
25163 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25166 echo "$as_me:$LINENO: checking for $ac_func" >&5
25167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25168 if eval "test \"\${$as_ac_var+set}\" = set"; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25171 if test x$gcc_no_link = xyes; then
25172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25174 { (exit 1); exit 1; }; }
25176 cat >conftest.$ac_ext <<_ACEOF
25177 #line $LINENO "configure"
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 /* System header to define __stub macros and hopefully few prototypes,
25184 which can conflict with char $ac_func (); below.
25185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186 <limits.h> exists even on freestanding compilers. */
25187 #ifdef __STDC__
25188 # include <limits.h>
25189 #else
25190 # include <assert.h>
25191 #endif
25192 /* Override any gcc2 internal prototype to avoid an error. */
25193 #ifdef __cplusplus
25194 extern "C"
25196 #endif
25197 /* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25199 char $ac_func ();
25200 /* The GNU C library defines this for functions which it implements
25201 to always fail with ENOSYS. Some functions are actually named
25202 something starting with __ and the normal name is an alias. */
25203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25204 choke me
25205 #else
25206 char (*f) () = $ac_func;
25207 #endif
25208 #ifdef __cplusplus
25210 #endif
25213 main ()
25215 return f != $ac_func;
25217 return 0;
25219 _ACEOF
25220 rm -f conftest.$ac_objext conftest$ac_exeext
25221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25222 (eval $ac_link) 2>&5
25223 ac_status=$?
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); } &&
25226 { ac_try='test -s conftest$ac_exeext'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25229 ac_status=$?
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; }; then
25232 eval "$as_ac_var=yes"
25233 else
25234 echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.$ac_ext >&5
25237 eval "$as_ac_var=no"
25239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25243 if test `eval echo '${'$as_ac_var'}'` = yes; then
25244 cat >>confdefs.h <<_ACEOF
25245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25246 _ACEOF
25249 done
25252 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25253 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25254 if test x"$has_weof" = xyes &&
25255 test x"$has_wchar_minmax" = xyes &&
25256 test x"$ac_wfuncs" = xyes;
25257 then
25258 ac_isoC99_wchar_t=yes
25259 else
25260 ac_isoC99_wchar_t=no
25262 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25263 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25265 # Use iconv for wchar_t to char conversions. As such, check for
25266 # X/Open Portability Guide, version 2 features (XPG2).
25267 if test "${ac_cv_header_iconv_h+set}" = set; then
25268 echo "$as_me:$LINENO: checking for iconv.h" >&5
25269 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25270 if test "${ac_cv_header_iconv_h+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25274 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25275 else
25276 # Is the header compilable?
25277 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25278 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25279 cat >conftest.$ac_ext <<_ACEOF
25280 #line $LINENO "configure"
25281 /* confdefs.h. */
25282 _ACEOF
25283 cat confdefs.h >>conftest.$ac_ext
25284 cat >>conftest.$ac_ext <<_ACEOF
25285 /* end confdefs.h. */
25286 $ac_includes_default
25287 #include <iconv.h>
25288 _ACEOF
25289 rm -f conftest.$ac_objext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25291 (eval $ac_compile) 2>&5
25292 ac_status=$?
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -s conftest.$ac_objext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25301 ac_header_compiler=yes
25302 else
25303 echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25306 ac_header_compiler=no
25308 rm -f conftest.$ac_objext conftest.$ac_ext
25309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25310 echo "${ECHO_T}$ac_header_compiler" >&6
25312 # Is the header present?
25313 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25314 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25315 cat >conftest.$ac_ext <<_ACEOF
25316 #line $LINENO "configure"
25317 /* confdefs.h. */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25322 #include <iconv.h>
25323 _ACEOF
25324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } >/dev/null; then
25332 if test -s conftest.err; then
25333 ac_cpp_err=$ac_c_preproc_warn_flag
25334 else
25335 ac_cpp_err=
25337 else
25338 ac_cpp_err=yes
25340 if test -z "$ac_cpp_err"; then
25341 ac_header_preproc=yes
25342 else
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25346 ac_header_preproc=no
25348 rm -f conftest.err conftest.$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25350 echo "${ECHO_T}$ac_header_preproc" >&6
25352 # So? What about this header?
25353 case $ac_header_compiler:$ac_header_preproc in
25354 yes:no )
25355 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25356 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25357 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25358 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25360 cat <<\_ASBOX
25361 ## ------------------------------------ ##
25362 ## Report this to bug-autoconf@gnu.org. ##
25363 ## ------------------------------------ ##
25364 _ASBOX
25366 sed "s/^/$as_me: WARNING: /" >&2
25368 no:yes )
25369 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25370 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25371 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25372 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25373 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25374 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25376 cat <<\_ASBOX
25377 ## ------------------------------------ ##
25378 ## Report this to bug-autoconf@gnu.org. ##
25379 ## ------------------------------------ ##
25380 _ASBOX
25382 sed "s/^/$as_me: WARNING: /" >&2
25384 esac
25385 echo "$as_me:$LINENO: checking for iconv.h" >&5
25386 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25387 if test "${ac_cv_header_iconv_h+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 else
25390 ac_cv_header_iconv_h=$ac_header_preproc
25392 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25393 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25396 if test $ac_cv_header_iconv_h = yes; then
25397 ac_has_iconv_h=yes
25398 else
25399 ac_has_iconv_h=no
25403 if test "${ac_cv_header_langinfo_h+set}" = set; then
25404 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25405 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25406 if test "${ac_cv_header_langinfo_h+set}" = set; then
25407 echo $ECHO_N "(cached) $ECHO_C" >&6
25409 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25410 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25411 else
25412 # Is the header compilable?
25413 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25414 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25415 cat >conftest.$ac_ext <<_ACEOF
25416 #line $LINENO "configure"
25417 /* confdefs.h. */
25418 _ACEOF
25419 cat confdefs.h >>conftest.$ac_ext
25420 cat >>conftest.$ac_ext <<_ACEOF
25421 /* end confdefs.h. */
25422 $ac_includes_default
25423 #include <langinfo.h>
25424 _ACEOF
25425 rm -f conftest.$ac_objext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25427 (eval $ac_compile) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } &&
25431 { ac_try='test -s conftest.$ac_objext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 ac_header_compiler=yes
25438 else
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25442 ac_header_compiler=no
25444 rm -f conftest.$ac_objext conftest.$ac_ext
25445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25446 echo "${ECHO_T}$ac_header_compiler" >&6
25448 # Is the header present?
25449 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25450 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25451 cat >conftest.$ac_ext <<_ACEOF
25452 #line $LINENO "configure"
25453 /* confdefs.h. */
25454 _ACEOF
25455 cat confdefs.h >>conftest.$ac_ext
25456 cat >>conftest.$ac_ext <<_ACEOF
25457 /* end confdefs.h. */
25458 #include <langinfo.h>
25459 _ACEOF
25460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } >/dev/null; then
25468 if test -s conftest.err; then
25469 ac_cpp_err=$ac_c_preproc_warn_flag
25470 else
25471 ac_cpp_err=
25473 else
25474 ac_cpp_err=yes
25476 if test -z "$ac_cpp_err"; then
25477 ac_header_preproc=yes
25478 else
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25482 ac_header_preproc=no
25484 rm -f conftest.err conftest.$ac_ext
25485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25486 echo "${ECHO_T}$ac_header_preproc" >&6
25488 # So? What about this header?
25489 case $ac_header_compiler:$ac_header_preproc in
25490 yes:no )
25491 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25492 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25494 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25496 cat <<\_ASBOX
25497 ## ------------------------------------ ##
25498 ## Report this to bug-autoconf@gnu.org. ##
25499 ## ------------------------------------ ##
25500 _ASBOX
25502 sed "s/^/$as_me: WARNING: /" >&2
25504 no:yes )
25505 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25506 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25507 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25508 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25509 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25510 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25512 cat <<\_ASBOX
25513 ## ------------------------------------ ##
25514 ## Report this to bug-autoconf@gnu.org. ##
25515 ## ------------------------------------ ##
25516 _ASBOX
25518 sed "s/^/$as_me: WARNING: /" >&2
25520 esac
25521 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25522 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25523 if test "${ac_cv_header_langinfo_h+set}" = set; then
25524 echo $ECHO_N "(cached) $ECHO_C" >&6
25525 else
25526 ac_cv_header_langinfo_h=$ac_header_preproc
25528 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25529 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25532 if test $ac_cv_header_langinfo_h = yes; then
25533 ac_has_langinfo_h=yes
25534 else
25535 ac_has_langinfo_h=no
25540 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25541 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25542 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25543 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 ac_check_lib_save_LIBS=$LIBS
25547 LIBS="-liconv $LIBS"
25548 if test x$gcc_no_link = xyes; then
25549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551 { (exit 1); exit 1; }; }
25553 cat >conftest.$ac_ext <<_ACEOF
25554 #line $LINENO "configure"
25555 /* confdefs.h. */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25561 /* Override any gcc2 internal prototype to avoid an error. */
25562 #ifdef __cplusplus
25563 extern "C"
25564 #endif
25565 /* We use char because int might match the return type of a gcc2
25566 builtin and then its argument prototype would still apply. */
25567 char iconv ();
25569 main ()
25571 iconv ();
25573 return 0;
25575 _ACEOF
25576 rm -f conftest.$ac_objext conftest$ac_exeext
25577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25578 (eval $ac_link) 2>&5
25579 ac_status=$?
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); } &&
25582 { ac_try='test -s conftest$ac_exeext'
25583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584 (eval $ac_try) 2>&5
25585 ac_status=$?
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); }; }; then
25588 ac_cv_lib_iconv_iconv=yes
25589 else
25590 echo "$as_me: failed program was:" >&5
25591 sed 's/^/| /' conftest.$ac_ext >&5
25593 ac_cv_lib_iconv_iconv=no
25595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25596 LIBS=$ac_check_lib_save_LIBS
25598 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25599 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25600 if test $ac_cv_lib_iconv_iconv = yes; then
25601 libiconv="-liconv"
25604 ac_save_LIBS="$LIBS"
25605 LIBS="$LIBS $libiconv"
25611 for ac_func in iconv_open iconv_close iconv nl_langinfo
25613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25614 echo "$as_me:$LINENO: checking for $ac_func" >&5
25615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25616 if eval "test \"\${$as_ac_var+set}\" = set"; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619 if test x$gcc_no_link = xyes; then
25620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25622 { (exit 1); exit 1; }; }
25624 cat >conftest.$ac_ext <<_ACEOF
25625 #line $LINENO "configure"
25626 /* confdefs.h. */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 /* System header to define __stub macros and hopefully few prototypes,
25632 which can conflict with char $ac_func (); below.
25633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25634 <limits.h> exists even on freestanding compilers. */
25635 #ifdef __STDC__
25636 # include <limits.h>
25637 #else
25638 # include <assert.h>
25639 #endif
25640 /* Override any gcc2 internal prototype to avoid an error. */
25641 #ifdef __cplusplus
25642 extern "C"
25644 #endif
25645 /* We use char because int might match the return type of a gcc2
25646 builtin and then its argument prototype would still apply. */
25647 char $ac_func ();
25648 /* The GNU C library defines this for functions which it implements
25649 to always fail with ENOSYS. Some functions are actually named
25650 something starting with __ and the normal name is an alias. */
25651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25652 choke me
25653 #else
25654 char (*f) () = $ac_func;
25655 #endif
25656 #ifdef __cplusplus
25658 #endif
25661 main ()
25663 return f != $ac_func;
25665 return 0;
25667 _ACEOF
25668 rm -f conftest.$ac_objext conftest$ac_exeext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25670 (eval $ac_link) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); } &&
25674 { ac_try='test -s conftest$ac_exeext'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25677 ac_status=$?
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; }; then
25680 eval "$as_ac_var=yes"
25681 else
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25685 eval "$as_ac_var=no"
25687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25691 if test `eval echo '${'$as_ac_var'}'` = yes; then
25692 cat >>confdefs.h <<_ACEOF
25693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25694 _ACEOF
25695 ac_XPG2funcs=yes
25696 else
25697 ac_XPG2funcs=no
25699 done
25702 LIBS="$ac_save_LIBS"
25704 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25705 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25706 if test x"$ac_has_iconv_h" = xyes &&
25707 test x"$ac_has_langinfo_h" = xyes &&
25708 test x"$ac_XPG2funcs" = xyes;
25709 then
25710 ac_XPG2_wchar_t=yes
25711 else
25712 ac_XPG2_wchar_t=no
25714 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25715 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25717 # At the moment, only enable wchar_t specializations if all the
25718 # above support is present.
25719 if test x"$ac_isoC99_wchar_t" = xyes &&
25720 test x"$ac_XPG2_wchar_t" = xyes;
25721 then
25722 cat >>confdefs.h <<\_ACEOF
25723 #define _GLIBCXX_USE_WCHAR_T 1
25724 _ACEOF
25726 enable_wchar_t=yes
25729 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25730 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25731 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25732 echo "${ECHO_T}$enable_wchar_t" >&6
25735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25736 ac_save_CXXFLAGS="$CXXFLAGS"
25737 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25740 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25741 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25742 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25743 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25749 ac_ext=cc
25750 ac_cpp='$CXXCPP $CPPFLAGS'
25751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25755 cat >conftest.$ac_ext <<_ACEOF
25756 #line $LINENO "configure"
25757 /* confdefs.h. */
25758 _ACEOF
25759 cat confdefs.h >>conftest.$ac_ext
25760 cat >>conftest.$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25762 #include <stdlib.h>
25764 main ()
25766 strtold(0, 0);
25768 return 0;
25770 _ACEOF
25771 rm -f conftest.$ac_objext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25773 (eval $ac_compile) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } &&
25777 { ac_try='test -s conftest.$ac_objext'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; }; then
25783 glibcxx_cv_func_strtold_use=yes
25784 else
25785 echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25788 glibcxx_cv_func_strtold_use=no
25790 rm -f conftest.$ac_objext conftest.$ac_ext
25791 ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25802 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25803 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25805 for ac_func in strtold
25807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25808 echo "$as_me:$LINENO: checking for $ac_func" >&5
25809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25810 if eval "test \"\${$as_ac_var+set}\" = set"; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813 if test x$gcc_no_link = xyes; then
25814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25816 { (exit 1); exit 1; }; }
25818 cat >conftest.$ac_ext <<_ACEOF
25819 #line $LINENO "configure"
25820 /* confdefs.h. */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 /* System header to define __stub macros and hopefully few prototypes,
25826 which can conflict with char $ac_func (); below.
25827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25828 <limits.h> exists even on freestanding compilers. */
25829 #ifdef __STDC__
25830 # include <limits.h>
25831 #else
25832 # include <assert.h>
25833 #endif
25834 /* Override any gcc2 internal prototype to avoid an error. */
25835 #ifdef __cplusplus
25836 extern "C"
25838 #endif
25839 /* We use char because int might match the return type of a gcc2
25840 builtin and then its argument prototype would still apply. */
25841 char $ac_func ();
25842 /* The GNU C library defines this for functions which it implements
25843 to always fail with ENOSYS. Some functions are actually named
25844 something starting with __ and the normal name is an alias. */
25845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25846 choke me
25847 #else
25848 char (*f) () = $ac_func;
25849 #endif
25850 #ifdef __cplusplus
25852 #endif
25855 main ()
25857 return f != $ac_func;
25859 return 0;
25861 _ACEOF
25862 rm -f conftest.$ac_objext conftest$ac_exeext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25864 (eval $ac_link) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); } &&
25868 { ac_try='test -s conftest$ac_exeext'
25869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870 (eval $ac_try) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); }; }; then
25874 eval "$as_ac_var=yes"
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25879 eval "$as_ac_var=no"
25881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25885 if test `eval echo '${'$as_ac_var'}'` = yes; then
25886 cat >>confdefs.h <<_ACEOF
25887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25888 _ACEOF
25891 done
25896 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25897 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25898 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25899 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25905 ac_ext=cc
25906 ac_cpp='$CXXCPP $CPPFLAGS'
25907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25911 cat >conftest.$ac_ext <<_ACEOF
25912 #line $LINENO "configure"
25913 /* confdefs.h. */
25914 _ACEOF
25915 cat confdefs.h >>conftest.$ac_ext
25916 cat >>conftest.$ac_ext <<_ACEOF
25917 /* end confdefs.h. */
25918 #include <stdlib.h>
25920 main ()
25922 strtof(0, 0);
25924 return 0;
25926 _ACEOF
25927 rm -f conftest.$ac_objext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25929 (eval $ac_compile) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } &&
25933 { ac_try='test -s conftest.$ac_objext'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25936 ac_status=$?
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; }; then
25939 glibcxx_cv_func_strtof_use=yes
25940 else
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25944 glibcxx_cv_func_strtof_use=no
25946 rm -f conftest.$ac_objext conftest.$ac_ext
25947 ac_ext=c
25948 ac_cpp='$CPP $CPPFLAGS'
25949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25958 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25959 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25961 for ac_func in strtof
25963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25964 echo "$as_me:$LINENO: checking for $ac_func" >&5
25965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25966 if eval "test \"\${$as_ac_var+set}\" = set"; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969 if test x$gcc_no_link = xyes; then
25970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25972 { (exit 1); exit 1; }; }
25974 cat >conftest.$ac_ext <<_ACEOF
25975 #line $LINENO "configure"
25976 /* confdefs.h. */
25977 _ACEOF
25978 cat confdefs.h >>conftest.$ac_ext
25979 cat >>conftest.$ac_ext <<_ACEOF
25980 /* end confdefs.h. */
25981 /* System header to define __stub macros and hopefully few prototypes,
25982 which can conflict with char $ac_func (); below.
25983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25984 <limits.h> exists even on freestanding compilers. */
25985 #ifdef __STDC__
25986 # include <limits.h>
25987 #else
25988 # include <assert.h>
25989 #endif
25990 /* Override any gcc2 internal prototype to avoid an error. */
25991 #ifdef __cplusplus
25992 extern "C"
25994 #endif
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char $ac_func ();
25998 /* The GNU C library defines this for functions which it implements
25999 to always fail with ENOSYS. Some functions are actually named
26000 something starting with __ and the normal name is an alias. */
26001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26002 choke me
26003 #else
26004 char (*f) () = $ac_func;
26005 #endif
26006 #ifdef __cplusplus
26008 #endif
26011 main ()
26013 return f != $ac_func;
26015 return 0;
26017 _ACEOF
26018 rm -f conftest.$ac_objext conftest$ac_exeext
26019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26020 (eval $ac_link) 2>&5
26021 ac_status=$?
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } &&
26024 { ac_try='test -s conftest$ac_exeext'
26025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26026 (eval $ac_try) 2>&5
26027 ac_status=$?
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); }; }; then
26030 eval "$as_ac_var=yes"
26031 else
26032 echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.$ac_ext >&5
26035 eval "$as_ac_var=no"
26037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26041 if test `eval echo '${'$as_ac_var'}'` = yes; then
26042 cat >>confdefs.h <<_ACEOF
26043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26044 _ACEOF
26047 done
26052 CXXFLAGS="$ac_save_CXXFLAGS"
26055 # For showmanyc_helper().
26058 for ac_header in sys/ioctl.h sys/filio.h
26060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26062 echo "$as_me:$LINENO: checking for $ac_header" >&5
26063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26069 else
26070 # Is the header compilable?
26071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26073 cat >conftest.$ac_ext <<_ACEOF
26074 #line $LINENO "configure"
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080 $ac_includes_default
26081 #include <$ac_header>
26082 _ACEOF
26083 rm -f conftest.$ac_objext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26085 (eval $ac_compile) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try='test -s conftest.$ac_objext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 ac_header_compiler=yes
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26100 ac_header_compiler=no
26102 rm -f conftest.$ac_objext conftest.$ac_ext
26103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26104 echo "${ECHO_T}$ac_header_compiler" >&6
26106 # Is the header present?
26107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26109 cat >conftest.$ac_ext <<_ACEOF
26110 #line $LINENO "configure"
26111 /* confdefs.h. */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116 #include <$ac_header>
26117 _ACEOF
26118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26120 ac_status=$?
26121 grep -v '^ *+' conftest.er1 >conftest.err
26122 rm -f conftest.er1
26123 cat conftest.err >&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } >/dev/null; then
26126 if test -s conftest.err; then
26127 ac_cpp_err=$ac_c_preproc_warn_flag
26128 else
26129 ac_cpp_err=
26131 else
26132 ac_cpp_err=yes
26134 if test -z "$ac_cpp_err"; then
26135 ac_header_preproc=yes
26136 else
26137 echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.$ac_ext >&5
26140 ac_header_preproc=no
26142 rm -f conftest.err conftest.$ac_ext
26143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26144 echo "${ECHO_T}$ac_header_preproc" >&6
26146 # So? What about this header?
26147 case $ac_header_compiler:$ac_header_preproc in
26148 yes:no )
26149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26154 cat <<\_ASBOX
26155 ## ------------------------------------ ##
26156 ## Report this to bug-autoconf@gnu.org. ##
26157 ## ------------------------------------ ##
26158 _ASBOX
26160 sed "s/^/$as_me: WARNING: /" >&2
26162 no:yes )
26163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26170 cat <<\_ASBOX
26171 ## ------------------------------------ ##
26172 ## Report this to bug-autoconf@gnu.org. ##
26173 ## ------------------------------------ ##
26174 _ASBOX
26176 sed "s/^/$as_me: WARNING: /" >&2
26178 esac
26179 echo "$as_me:$LINENO: checking for $ac_header" >&5
26180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26184 eval "$as_ac_Header=$ac_header_preproc"
26186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26191 cat >>confdefs.h <<_ACEOF
26192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26193 _ACEOF
26197 done
26200 if test "${glibcxx_cv_POLL+set}" = set; then
26201 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 else
26204 if test x$gcc_no_link = xyes; then
26205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207 { (exit 1); exit 1; }; }
26209 cat >conftest.$ac_ext <<_ACEOF
26210 #line $LINENO "configure"
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 #include <poll.h>
26218 main ()
26220 struct pollfd pfd[1];
26221 pfd[0].events = POLLIN;
26222 poll(pfd, 1, 0);
26224 return 0;
26226 _ACEOF
26227 rm -f conftest.$ac_objext conftest$ac_exeext
26228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26229 (eval $ac_link) 2>&5
26230 ac_status=$?
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } &&
26233 { ac_try='test -s conftest$ac_exeext'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26236 ac_status=$?
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; }; then
26239 glibcxx_cv_POLL=yes
26240 else
26241 echo "$as_me: failed program was:" >&5
26242 sed 's/^/| /' conftest.$ac_ext >&5
26244 glibcxx_cv_POLL=no
26246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26250 if test $glibcxx_cv_POLL = yes; then
26251 cat >>confdefs.h <<\_ACEOF
26252 #define HAVE_POLL 1
26253 _ACEOF
26258 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26262 if test x$gcc_no_link = xyes; then
26263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26265 { (exit 1); exit 1; }; }
26267 cat >conftest.$ac_ext <<_ACEOF
26268 #line $LINENO "configure"
26269 /* confdefs.h. */
26270 _ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26274 #include <sys/stat.h>
26276 main ()
26278 struct stat buffer;
26279 fstat(0, &buffer);
26280 S_ISREG(buffer.st_mode);
26282 return 0;
26284 _ACEOF
26285 rm -f conftest.$ac_objext conftest$ac_exeext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26287 (eval $ac_link) 2>&5
26288 ac_status=$?
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); } &&
26291 { ac_try='test -s conftest$ac_exeext'
26292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26293 (eval $ac_try) 2>&5
26294 ac_status=$?
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); }; }; then
26297 glibcxx_cv_S_ISREG=yes
26298 else
26299 echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.$ac_ext >&5
26302 glibcxx_cv_S_ISREG=no
26304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26308 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26312 if test x$gcc_no_link = xyes; then
26313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26315 { (exit 1); exit 1; }; }
26317 cat >conftest.$ac_ext <<_ACEOF
26318 #line $LINENO "configure"
26319 /* confdefs.h. */
26320 _ACEOF
26321 cat confdefs.h >>conftest.$ac_ext
26322 cat >>conftest.$ac_ext <<_ACEOF
26323 /* end confdefs.h. */
26324 #include <sys/stat.h>
26326 main ()
26328 struct stat buffer;
26329 fstat(0, &buffer);
26330 S_IFREG & buffer.st_mode;
26332 return 0;
26334 _ACEOF
26335 rm -f conftest.$ac_objext conftest$ac_exeext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26337 (eval $ac_link) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } &&
26341 { ac_try='test -s conftest$ac_exeext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26344 ac_status=$?
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 glibcxx_cv_S_IFREG=yes
26348 else
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26352 glibcxx_cv_S_IFREG=no
26354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26358 if test $glibcxx_cv_S_ISREG = yes; then
26359 cat >>confdefs.h <<\_ACEOF
26360 #define HAVE_S_ISREG 1
26361 _ACEOF
26363 elif test $glibcxx_cv_S_IFREG = yes; then
26364 cat >>confdefs.h <<\_ACEOF
26365 #define HAVE_S_IFREG 1
26366 _ACEOF
26371 # For xsputn_2().
26373 for ac_header in sys/uio.h
26375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26377 echo "$as_me:$LINENO: checking for $ac_header" >&5
26378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26384 else
26385 # Is the header compilable?
26386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26388 cat >conftest.$ac_ext <<_ACEOF
26389 #line $LINENO "configure"
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 $ac_includes_default
26396 #include <$ac_header>
26397 _ACEOF
26398 rm -f conftest.$ac_objext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400 (eval $ac_compile) 2>&5
26401 ac_status=$?
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -s conftest.$ac_objext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26407 ac_status=$?
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 ac_header_compiler=yes
26411 else
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26415 ac_header_compiler=no
26417 rm -f conftest.$ac_objext conftest.$ac_ext
26418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26419 echo "${ECHO_T}$ac_header_compiler" >&6
26421 # Is the header present?
26422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26424 cat >conftest.$ac_ext <<_ACEOF
26425 #line $LINENO "configure"
26426 /* confdefs.h. */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h. */
26431 #include <$ac_header>
26432 _ACEOF
26433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26435 ac_status=$?
26436 grep -v '^ *+' conftest.er1 >conftest.err
26437 rm -f conftest.er1
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } >/dev/null; then
26441 if test -s conftest.err; then
26442 ac_cpp_err=$ac_c_preproc_warn_flag
26443 else
26444 ac_cpp_err=
26446 else
26447 ac_cpp_err=yes
26449 if test -z "$ac_cpp_err"; then
26450 ac_header_preproc=yes
26451 else
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26455 ac_header_preproc=no
26457 rm -f conftest.err conftest.$ac_ext
26458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26459 echo "${ECHO_T}$ac_header_preproc" >&6
26461 # So? What about this header?
26462 case $ac_header_compiler:$ac_header_preproc in
26463 yes:no )
26464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26469 cat <<\_ASBOX
26470 ## ------------------------------------ ##
26471 ## Report this to bug-autoconf@gnu.org. ##
26472 ## ------------------------------------ ##
26473 _ASBOX
26475 sed "s/^/$as_me: WARNING: /" >&2
26477 no:yes )
26478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26485 cat <<\_ASBOX
26486 ## ------------------------------------ ##
26487 ## Report this to bug-autoconf@gnu.org. ##
26488 ## ------------------------------------ ##
26489 _ASBOX
26491 sed "s/^/$as_me: WARNING: /" >&2
26493 esac
26494 echo "$as_me:$LINENO: checking for $ac_header" >&5
26495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26499 eval "$as_ac_Header=$ac_header_preproc"
26501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26506 cat >>confdefs.h <<_ACEOF
26507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26508 _ACEOF
26512 done
26515 if test "${glibcxx_cv_WRITEV+set}" = set; then
26516 echo $ECHO_N "(cached) $ECHO_C" >&6
26517 else
26519 if test x$gcc_no_link = xyes; then
26520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26522 { (exit 1); exit 1; }; }
26524 cat >conftest.$ac_ext <<_ACEOF
26525 #line $LINENO "configure"
26526 /* confdefs.h. */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26531 #include <sys/uio.h>
26533 main ()
26535 struct iovec iov[2];
26536 writev(0, iov, 0);
26538 return 0;
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>&5
26544 ac_status=$?
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } &&
26547 { ac_try='test -s conftest$ac_exeext'
26548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549 (eval $ac_try) 2>&5
26550 ac_status=$?
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); }; }; then
26553 glibcxx_cv_WRITEV=yes
26554 else
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26558 glibcxx_cv_WRITEV=no
26560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26564 if test $glibcxx_cv_WRITEV = yes; then
26565 cat >>confdefs.h <<\_ACEOF
26566 #define HAVE_WRITEV 1
26567 _ACEOF
26572 # For the __streamoff_base_type typedef.
26574 if test "${glibcxx_cv_INT64_T+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 else
26578 cat >conftest.$ac_ext <<_ACEOF
26579 #line $LINENO "configure"
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585 #include <stdint.h>
26587 main ()
26589 int64_t var;
26591 return 0;
26593 _ACEOF
26594 rm -f conftest.$ac_objext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26596 (eval $ac_compile) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try='test -s conftest.$ac_objext'
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_INT64_T=yes
26607 else
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26611 glibcxx_cv_INT64_T=no
26613 rm -f conftest.$ac_objext conftest.$ac_ext
26617 if test $glibcxx_cv_INT64_T = yes; then
26618 cat >>confdefs.h <<\_ACEOF
26619 #define HAVE_INT64_T 1
26620 _ACEOF
26625 # For LFS support.
26629 ac_ext=cc
26630 ac_cpp='$CXXCPP $CPPFLAGS'
26631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26635 ac_save_CXXFLAGS="$CXXFLAGS"
26636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
26637 if test "${glibcxx_cv_LFS+set}" = set; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26641 if test x$gcc_no_link = xyes; then
26642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26644 { (exit 1); exit 1; }; }
26646 cat >conftest.$ac_ext <<_ACEOF
26647 #line $LINENO "configure"
26648 /* confdefs.h. */
26649 _ACEOF
26650 cat confdefs.h >>conftest.$ac_ext
26651 cat >>conftest.$ac_ext <<_ACEOF
26652 /* end confdefs.h. */
26653 #include <unistd.h>
26654 #include <stdio.h>
26657 main ()
26659 FILE* fp;
26660 fopen64("t", "w");
26661 fseeko64(fp, 0, SEEK_CUR);
26662 ftello64(fp);
26663 lseek64(1, 0, SEEK_CUR);
26665 return 0;
26667 _ACEOF
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } &&
26674 { ac_try='test -s conftest$ac_exeext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 glibcxx_cv_LFS=yes
26681 else
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26685 glibcxx_cv_LFS=no
26687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26691 if test $glibcxx_cv_LFS = yes; then
26692 cat >>confdefs.h <<\_ACEOF
26693 #define _GLIBCXX_USE_LFS 1
26694 _ACEOF
26697 CXXFLAGS="$ac_save_CXXFLAGS"
26698 ac_ext=c
26699 ac_cpp='$CPP $CPPFLAGS'
26700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26707 if test "${ac_cv_header_locale_h+set}" = set; then
26708 echo "$as_me:$LINENO: checking for locale.h" >&5
26709 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26710 if test "${ac_cv_header_locale_h+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26714 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26715 else
26716 # Is the header compilable?
26717 echo "$as_me:$LINENO: checking locale.h usability" >&5
26718 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26719 cat >conftest.$ac_ext <<_ACEOF
26720 #line $LINENO "configure"
26721 /* confdefs.h. */
26722 _ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h. */
26726 $ac_includes_default
26727 #include <locale.h>
26728 _ACEOF
26729 rm -f conftest.$ac_objext
26730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26731 (eval $ac_compile) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 ac_header_compiler=yes
26742 else
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26746 ac_header_compiler=no
26748 rm -f conftest.$ac_objext conftest.$ac_ext
26749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26750 echo "${ECHO_T}$ac_header_compiler" >&6
26752 # Is the header present?
26753 echo "$as_me:$LINENO: checking locale.h presence" >&5
26754 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26755 cat >conftest.$ac_ext <<_ACEOF
26756 #line $LINENO "configure"
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762 #include <locale.h>
26763 _ACEOF
26764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26766 ac_status=$?
26767 grep -v '^ *+' conftest.er1 >conftest.err
26768 rm -f conftest.er1
26769 cat conftest.err >&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } >/dev/null; then
26772 if test -s conftest.err; then
26773 ac_cpp_err=$ac_c_preproc_warn_flag
26774 else
26775 ac_cpp_err=
26777 else
26778 ac_cpp_err=yes
26780 if test -z "$ac_cpp_err"; then
26781 ac_header_preproc=yes
26782 else
26783 echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.$ac_ext >&5
26786 ac_header_preproc=no
26788 rm -f conftest.err conftest.$ac_ext
26789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26790 echo "${ECHO_T}$ac_header_preproc" >&6
26792 # So? What about this header?
26793 case $ac_header_compiler:$ac_header_preproc in
26794 yes:no )
26795 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26796 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26797 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26798 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26800 cat <<\_ASBOX
26801 ## ------------------------------------ ##
26802 ## Report this to bug-autoconf@gnu.org. ##
26803 ## ------------------------------------ ##
26804 _ASBOX
26806 sed "s/^/$as_me: WARNING: /" >&2
26808 no:yes )
26809 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26810 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26811 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26812 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26813 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26814 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26816 cat <<\_ASBOX
26817 ## ------------------------------------ ##
26818 ## Report this to bug-autoconf@gnu.org. ##
26819 ## ------------------------------------ ##
26820 _ASBOX
26822 sed "s/^/$as_me: WARNING: /" >&2
26824 esac
26825 echo "$as_me:$LINENO: checking for locale.h" >&5
26826 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26827 if test "${ac_cv_header_locale_h+set}" = set; then
26828 echo $ECHO_N "(cached) $ECHO_C" >&6
26829 else
26830 ac_cv_header_locale_h=$ac_header_preproc
26832 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26833 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26836 if test $ac_cv_header_locale_h = yes; then
26838 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26839 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26840 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 else
26843 if test x$gcc_no_link = xyes; then
26844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26846 { (exit 1); exit 1; }; }
26848 cat >conftest.$ac_ext <<_ACEOF
26849 #line $LINENO "configure"
26850 /* confdefs.h. */
26851 _ACEOF
26852 cat confdefs.h >>conftest.$ac_ext
26853 cat >>conftest.$ac_ext <<_ACEOF
26854 /* end confdefs.h. */
26855 #include <locale.h>
26857 main ()
26859 return LC_MESSAGES
26861 return 0;
26863 _ACEOF
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26866 (eval $ac_link) 2>&5
26867 ac_status=$?
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } &&
26870 { ac_try='test -s conftest$ac_exeext'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26873 ac_status=$?
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; }; then
26876 ac_cv_val_LC_MESSAGES=yes
26877 else
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26881 ac_cv_val_LC_MESSAGES=no
26883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26885 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26886 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26887 if test $ac_cv_val_LC_MESSAGES = yes; then
26888 cat >>confdefs.h <<\_ACEOF
26889 #define HAVE_LC_MESSAGES 1
26890 _ACEOF
26899 cat >conftest.$ac_ext <<_ACEOF
26900 #line $LINENO "configure"
26901 /* confdefs.h. */
26902 _ACEOF
26903 cat confdefs.h >>conftest.$ac_ext
26904 cat >>conftest.$ac_ext <<_ACEOF
26905 /* end confdefs.h. */
26906 #include <setjmp.h>
26908 main ()
26910 sigjmp_buf env;
26911 while (! sigsetjmp (env, 1))
26912 siglongjmp (env, 1);
26915 return 0;
26917 _ACEOF
26918 rm -f conftest.$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>&5
26921 ac_status=$?
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try='test -s conftest.$ac_objext'
26925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 (eval $ac_try) 2>&5
26927 ac_status=$?
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); }; }; then
26931 cat >>confdefs.h <<\_ACEOF
26932 #define HAVE_SIGSETJMP 1
26933 _ACEOF
26935 else
26936 echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.$ac_ext >&5
26940 rm -f conftest.$ac_objext conftest.$ac_ext
26942 if test x$gcc_no_link = xyes; then
26943 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26944 ac_cv_func_mmap_fixed_mapped=no
26947 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26950 for ac_header in stdlib.h unistd.h
26952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26954 echo "$as_me:$LINENO: checking for $ac_header" >&5
26955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26957 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26961 else
26962 # Is the header compilable?
26963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26965 cat >conftest.$ac_ext <<_ACEOF
26966 #line $LINENO "configure"
26967 /* confdefs.h. */
26968 _ACEOF
26969 cat confdefs.h >>conftest.$ac_ext
26970 cat >>conftest.$ac_ext <<_ACEOF
26971 /* end confdefs.h. */
26972 $ac_includes_default
26973 #include <$ac_header>
26974 _ACEOF
26975 rm -f conftest.$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 ac_header_compiler=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26992 ac_header_compiler=no
26994 rm -f conftest.$ac_objext conftest.$ac_ext
26995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26996 echo "${ECHO_T}$ac_header_compiler" >&6
26998 # Is the header present?
26999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27001 cat >conftest.$ac_ext <<_ACEOF
27002 #line $LINENO "configure"
27003 /* confdefs.h. */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <$ac_header>
27009 _ACEOF
27010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27012 ac_status=$?
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } >/dev/null; then
27018 if test -s conftest.err; then
27019 ac_cpp_err=$ac_c_preproc_warn_flag
27020 else
27021 ac_cpp_err=
27023 else
27024 ac_cpp_err=yes
27026 if test -z "$ac_cpp_err"; then
27027 ac_header_preproc=yes
27028 else
27029 echo "$as_me: failed program was:" >&5
27030 sed 's/^/| /' conftest.$ac_ext >&5
27032 ac_header_preproc=no
27034 rm -f conftest.err conftest.$ac_ext
27035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27036 echo "${ECHO_T}$ac_header_preproc" >&6
27038 # So? What about this header?
27039 case $ac_header_compiler:$ac_header_preproc in
27040 yes:no )
27041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27046 cat <<\_ASBOX
27047 ## ------------------------------------ ##
27048 ## Report this to bug-autoconf@gnu.org. ##
27049 ## ------------------------------------ ##
27050 _ASBOX
27052 sed "s/^/$as_me: WARNING: /" >&2
27054 no:yes )
27055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27062 cat <<\_ASBOX
27063 ## ------------------------------------ ##
27064 ## Report this to bug-autoconf@gnu.org. ##
27065 ## ------------------------------------ ##
27066 _ASBOX
27068 sed "s/^/$as_me: WARNING: /" >&2
27070 esac
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076 eval "$as_ac_Header=$ac_header_preproc"
27078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27083 cat >>confdefs.h <<_ACEOF
27084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27085 _ACEOF
27089 done
27092 for ac_func in getpagesize
27094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27095 echo "$as_me:$LINENO: checking for $ac_func" >&5
27096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27097 if eval "test \"\${$as_ac_var+set}\" = set"; then
27098 echo $ECHO_N "(cached) $ECHO_C" >&6
27099 else
27100 if test x$gcc_no_link = xyes; then
27101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27103 { (exit 1); exit 1; }; }
27105 cat >conftest.$ac_ext <<_ACEOF
27106 #line $LINENO "configure"
27107 /* confdefs.h. */
27108 _ACEOF
27109 cat confdefs.h >>conftest.$ac_ext
27110 cat >>conftest.$ac_ext <<_ACEOF
27111 /* end confdefs.h. */
27112 /* System header to define __stub macros and hopefully few prototypes,
27113 which can conflict with char $ac_func (); below.
27114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27115 <limits.h> exists even on freestanding compilers. */
27116 #ifdef __STDC__
27117 # include <limits.h>
27118 #else
27119 # include <assert.h>
27120 #endif
27121 /* Override any gcc2 internal prototype to avoid an error. */
27122 #ifdef __cplusplus
27123 extern "C"
27125 #endif
27126 /* We use char because int might match the return type of a gcc2
27127 builtin and then its argument prototype would still apply. */
27128 char $ac_func ();
27129 /* The GNU C library defines this for functions which it implements
27130 to always fail with ENOSYS. Some functions are actually named
27131 something starting with __ and the normal name is an alias. */
27132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27133 choke me
27134 #else
27135 char (*f) () = $ac_func;
27136 #endif
27137 #ifdef __cplusplus
27139 #endif
27142 main ()
27144 return f != $ac_func;
27146 return 0;
27148 _ACEOF
27149 rm -f conftest.$ac_objext conftest$ac_exeext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27151 (eval $ac_link) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -s conftest$ac_exeext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 eval "$as_ac_var=yes"
27162 else
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27166 eval "$as_ac_var=no"
27168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27172 if test `eval echo '${'$as_ac_var'}'` = yes; then
27173 cat >>confdefs.h <<_ACEOF
27174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27175 _ACEOF
27178 done
27180 echo "$as_me:$LINENO: checking for working mmap" >&5
27181 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27182 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 else
27185 if test "$cross_compiling" = yes; then
27186 ac_cv_func_mmap_fixed_mapped=no
27187 else
27188 cat >conftest.$ac_ext <<_ACEOF
27189 #line $LINENO "configure"
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195 $ac_includes_default
27196 /* malloc might have been renamed as rpl_malloc. */
27197 #undef malloc
27199 /* Thanks to Mike Haertel and Jim Avera for this test.
27200 Here is a matrix of mmap possibilities:
27201 mmap private not fixed
27202 mmap private fixed at somewhere currently unmapped
27203 mmap private fixed at somewhere already mapped
27204 mmap shared not fixed
27205 mmap shared fixed at somewhere currently unmapped
27206 mmap shared fixed at somewhere already mapped
27207 For private mappings, we should verify that changes cannot be read()
27208 back from the file, nor mmap's back from the file at a different
27209 address. (There have been systems where private was not correctly
27210 implemented like the infamous i386 svr4.0, and systems where the
27211 VM page cache was not coherent with the file system buffer cache
27212 like early versions of FreeBSD and possibly contemporary NetBSD.)
27213 For shared mappings, we should conversely verify that changes get
27214 propagated back to all the places they're supposed to be.
27216 Grep wants private fixed already mapped.
27217 The main things grep needs to know about mmap are:
27218 * does it exist and is it safe to write into the mmap'd area
27219 * how to use it (BSD variants) */
27221 #include <fcntl.h>
27222 #include <sys/mman.h>
27224 #if !STDC_HEADERS && !HAVE_STDLIB_H
27225 char *malloc ();
27226 #endif
27228 /* This mess was copied from the GNU getpagesize.h. */
27229 #if !HAVE_GETPAGESIZE
27230 /* Assume that all systems that can run configure have sys/param.h. */
27231 # if !HAVE_SYS_PARAM_H
27232 # define HAVE_SYS_PARAM_H 1
27233 # endif
27235 # ifdef _SC_PAGESIZE
27236 # define getpagesize() sysconf(_SC_PAGESIZE)
27237 # else /* no _SC_PAGESIZE */
27238 # if HAVE_SYS_PARAM_H
27239 # include <sys/param.h>
27240 # ifdef EXEC_PAGESIZE
27241 # define getpagesize() EXEC_PAGESIZE
27242 # else /* no EXEC_PAGESIZE */
27243 # ifdef NBPG
27244 # define getpagesize() NBPG * CLSIZE
27245 # ifndef CLSIZE
27246 # define CLSIZE 1
27247 # endif /* no CLSIZE */
27248 # else /* no NBPG */
27249 # ifdef NBPC
27250 # define getpagesize() NBPC
27251 # else /* no NBPC */
27252 # ifdef PAGESIZE
27253 # define getpagesize() PAGESIZE
27254 # endif /* PAGESIZE */
27255 # endif /* no NBPC */
27256 # endif /* no NBPG */
27257 # endif /* no EXEC_PAGESIZE */
27258 # else /* no HAVE_SYS_PARAM_H */
27259 # define getpagesize() 8192 /* punt totally */
27260 # endif /* no HAVE_SYS_PARAM_H */
27261 # endif /* no _SC_PAGESIZE */
27263 #endif /* no HAVE_GETPAGESIZE */
27266 main ()
27268 char *data, *data2, *data3;
27269 int i, pagesize;
27270 int fd;
27272 pagesize = getpagesize ();
27274 /* First, make a file with some known garbage in it. */
27275 data = (char *) malloc (pagesize);
27276 if (!data)
27277 exit (1);
27278 for (i = 0; i < pagesize; ++i)
27279 *(data + i) = rand ();
27280 umask (0);
27281 fd = creat ("conftest.mmap", 0600);
27282 if (fd < 0)
27283 exit (1);
27284 if (write (fd, data, pagesize) != pagesize)
27285 exit (1);
27286 close (fd);
27288 /* Next, try to mmap the file at a fixed address which already has
27289 something else allocated at it. If we can, also make sure that
27290 we see the same garbage. */
27291 fd = open ("conftest.mmap", O_RDWR);
27292 if (fd < 0)
27293 exit (1);
27294 data2 = (char *) malloc (2 * pagesize);
27295 if (!data2)
27296 exit (1);
27297 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27298 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27299 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27300 exit (1);
27301 for (i = 0; i < pagesize; ++i)
27302 if (*(data + i) != *(data2 + i))
27303 exit (1);
27305 /* Finally, make sure that changes to the mapped area do not
27306 percolate back to the file as seen by read(). (This is a bug on
27307 some variants of i386 svr4.0.) */
27308 for (i = 0; i < pagesize; ++i)
27309 *(data2 + i) = *(data2 + i) + 1;
27310 data3 = (char *) malloc (pagesize);
27311 if (!data3)
27312 exit (1);
27313 if (read (fd, data3, pagesize) != pagesize)
27314 exit (1);
27315 for (i = 0; i < pagesize; ++i)
27316 if (*(data + i) != *(data3 + i))
27317 exit (1);
27318 close (fd);
27319 exit (0);
27321 _ACEOF
27322 rm -f conftest$ac_exeext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27324 (eval $ac_link) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329 (eval $ac_try) 2>&5
27330 ac_status=$?
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; }; then
27333 ac_cv_func_mmap_fixed_mapped=yes
27334 else
27335 echo "$as_me: program exited with status $ac_status" >&5
27336 echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27339 ( exit $ac_status )
27340 ac_cv_func_mmap_fixed_mapped=no
27342 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27345 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27346 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27347 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27349 cat >>confdefs.h <<\_ACEOF
27350 #define HAVE_MMAP 1
27351 _ACEOF
27354 rm -f conftest.mmap
27358 else
27360 # This lets us hard-code the functionality we know we'll have in the cross
27361 # target environment. "Let" is a sugar-coated word placed on an especially
27362 # dull and tedious hack, actually.
27364 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27365 # that involve linking, can't be used:
27366 # "cannot open sim-crt0.o"
27367 # "cannot open crt0.o"
27368 # etc. All this is because there currently exists no unified, consistent
27369 # way for top level CC information to be passed down to target directories:
27370 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27371 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27372 # crosses can be removed.
27374 # If Canadian cross, then don't pick up tools from the build directory.
27375 # Used only in GLIBCXX_EXPORT_INCLUDES.
27376 if test -n "$with_cross_host" &&
27377 test x"$build_alias" != x"$with_cross_host" &&
27378 test x"$build" != x"$target";
27379 then
27380 CANADIAN=yes
27381 else
27382 CANADIAN=no
27385 # Construct crosses by hand, eliminating bits that need ld...
27386 # GLIBCXX_CHECK_COMPILER_FEATURES
27387 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27388 # GLIBCXX_CHECK_MATH_SUPPORT
27390 # First, test for "known" system libraries. We may be using newlib even
27391 # on a hosted environment.
27392 if test "x${with_newlib}" = "xyes"; then
27393 os_include_dir="os/newlib"
27394 cat >>confdefs.h <<\_ACEOF
27395 #define HAVE_HYPOT 1
27396 _ACEOF
27399 # GLIBCXX_CHECK_STDLIB_SUPPORT
27400 cat >>confdefs.h <<\_ACEOF
27401 #define HAVE_STRTOF 1
27402 _ACEOF
27404 cat >>confdefs.h <<\_ACEOF
27405 #define HAVE_STRTOLD 1
27406 _ACEOF
27408 # AC_FUNC_MMAP
27409 cat >>confdefs.h <<\_ACEOF
27410 #define HAVE_MMAP 1
27411 _ACEOF
27414 cat >>confdefs.h <<\_ACEOF
27415 #define HAVE_ACOSF 1
27416 _ACEOF
27418 cat >>confdefs.h <<\_ACEOF
27419 #define HAVE_ASINF 1
27420 _ACEOF
27422 cat >>confdefs.h <<\_ACEOF
27423 #define HAVE_ATAN2F 1
27424 _ACEOF
27426 cat >>confdefs.h <<\_ACEOF
27427 #define HAVE_ATANF 1
27428 _ACEOF
27430 cat >>confdefs.h <<\_ACEOF
27431 #define HAVE_CEILF 1
27432 _ACEOF
27434 cat >>confdefs.h <<\_ACEOF
27435 #define HAVE_COPYSIGN 1
27436 _ACEOF
27438 cat >>confdefs.h <<\_ACEOF
27439 #define HAVE_COPYSIGNF 1
27440 _ACEOF
27442 cat >>confdefs.h <<\_ACEOF
27443 #define HAVE_COSF 1
27444 _ACEOF
27446 cat >>confdefs.h <<\_ACEOF
27447 #define HAVE_COSHF 1
27448 _ACEOF
27450 cat >>confdefs.h <<\_ACEOF
27451 #define HAVE_EXPF 1
27452 _ACEOF
27454 cat >>confdefs.h <<\_ACEOF
27455 #define HAVE_FABSF 1
27456 _ACEOF
27458 cat >>confdefs.h <<\_ACEOF
27459 #define HAVE_FLOORF 1
27460 _ACEOF
27462 cat >>confdefs.h <<\_ACEOF
27463 #define HAVE_FMODF 1
27464 _ACEOF
27466 cat >>confdefs.h <<\_ACEOF
27467 #define HAVE_FREXPF 1
27468 _ACEOF
27470 cat >>confdefs.h <<\_ACEOF
27471 #define HAVE_LDEXPF 1
27472 _ACEOF
27474 cat >>confdefs.h <<\_ACEOF
27475 #define HAVE_LOG10F 1
27476 _ACEOF
27478 cat >>confdefs.h <<\_ACEOF
27479 #define HAVE_LOGF 1
27480 _ACEOF
27482 cat >>confdefs.h <<\_ACEOF
27483 #define HAVE_MODFF 1
27484 _ACEOF
27486 cat >>confdefs.h <<\_ACEOF
27487 #define HAVE_POWF 1
27488 _ACEOF
27490 cat >>confdefs.h <<\_ACEOF
27491 #define HAVE_SINF 1
27492 _ACEOF
27494 cat >>confdefs.h <<\_ACEOF
27495 #define HAVE_SINHF 1
27496 _ACEOF
27498 cat >>confdefs.h <<\_ACEOF
27499 #define HAVE_SQRTF 1
27500 _ACEOF
27502 cat >>confdefs.h <<\_ACEOF
27503 #define HAVE_TANF 1
27504 _ACEOF
27506 cat >>confdefs.h <<\_ACEOF
27507 #define HAVE_TANHF 1
27508 _ACEOF
27511 cat >>confdefs.h <<\_ACEOF
27512 #define HAVE_S_ISREG 1
27513 _ACEOF
27515 cat >>confdefs.h <<\_ACEOF
27516 #define HAVE_S_IFREG 1
27517 _ACEOF
27519 else
27521 # Base decisions on target environment.
27522 case "${host}" in
27523 *-darwin*)
27524 # Darwin versions vary, but the linker should work in a cross environment,
27525 # so we just check for all the features here.
27526 # Check for available headers.
27540 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27541 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27542 sys/types.h
27544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27546 echo "$as_me:$LINENO: checking for $ac_header" >&5
27547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27553 else
27554 # Is the header compilable?
27555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27557 cat >conftest.$ac_ext <<_ACEOF
27558 #line $LINENO "configure"
27559 /* confdefs.h. */
27560 _ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27564 $ac_includes_default
27565 #include <$ac_header>
27566 _ACEOF
27567 rm -f conftest.$ac_objext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27569 (eval $ac_compile) 2>&5
27570 ac_status=$?
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try='test -s conftest.$ac_objext'
27574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575 (eval $ac_try) 2>&5
27576 ac_status=$?
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; }; then
27579 ac_header_compiler=yes
27580 else
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27584 ac_header_compiler=no
27586 rm -f conftest.$ac_objext conftest.$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27588 echo "${ECHO_T}$ac_header_compiler" >&6
27590 # Is the header present?
27591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27593 cat >conftest.$ac_ext <<_ACEOF
27594 #line $LINENO "configure"
27595 /* confdefs.h. */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 #include <$ac_header>
27601 _ACEOF
27602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27604 ac_status=$?
27605 grep -v '^ *+' conftest.er1 >conftest.err
27606 rm -f conftest.er1
27607 cat conftest.err >&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } >/dev/null; then
27610 if test -s conftest.err; then
27611 ac_cpp_err=$ac_c_preproc_warn_flag
27612 else
27613 ac_cpp_err=
27615 else
27616 ac_cpp_err=yes
27618 if test -z "$ac_cpp_err"; then
27619 ac_header_preproc=yes
27620 else
27621 echo "$as_me: failed program was:" >&5
27622 sed 's/^/| /' conftest.$ac_ext >&5
27624 ac_header_preproc=no
27626 rm -f conftest.err conftest.$ac_ext
27627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27628 echo "${ECHO_T}$ac_header_preproc" >&6
27630 # So? What about this header?
27631 case $ac_header_compiler:$ac_header_preproc in
27632 yes:no )
27633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27638 cat <<\_ASBOX
27639 ## ------------------------------------ ##
27640 ## Report this to bug-autoconf@gnu.org. ##
27641 ## ------------------------------------ ##
27642 _ASBOX
27644 sed "s/^/$as_me: WARNING: /" >&2
27646 no:yes )
27647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27654 cat <<\_ASBOX
27655 ## ------------------------------------ ##
27656 ## Report this to bug-autoconf@gnu.org. ##
27657 ## ------------------------------------ ##
27658 _ASBOX
27660 sed "s/^/$as_me: WARNING: /" >&2
27662 esac
27663 echo "$as_me:$LINENO: checking for $ac_header" >&5
27664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27666 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 else
27668 eval "$as_ac_Header=$ac_header_preproc"
27670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27675 cat >>confdefs.h <<_ACEOF
27676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27677 _ACEOF
27681 done
27685 # All these tests are for C++; save the language and the compiler flags.
27686 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27687 # found in GLIBCXX_CONFIGURE.
27690 ac_ext=cc
27691 ac_cpp='$CXXCPP $CPPFLAGS'
27692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27696 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27697 ac_save_CXXFLAGS="$CXXFLAGS"
27699 # Check for maintainer-mode bits.
27700 if test x"$USE_MAINTAINER_MODE" = xno; then
27701 WERROR=''
27702 else
27703 WERROR='-Werror'
27706 # Check for -ffunction-sections -fdata-sections
27707 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27708 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27709 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27710 cat >conftest.$ac_ext <<_ACEOF
27711 #line $LINENO "configure"
27712 /* confdefs.h. */
27713 _ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27719 main ()
27721 int foo;
27723 return 0;
27725 _ACEOF
27726 rm -f conftest.$ac_objext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27728 (eval $ac_compile) 2>&5
27729 ac_status=$?
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); } &&
27732 { ac_try='test -s conftest.$ac_objext'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27735 ac_status=$?
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; }; then
27738 ac_fdsections=yes
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27743 ac_fdsections=no
27745 rm -f conftest.$ac_objext conftest.$ac_ext
27746 if test "$ac_test_CXXFLAGS" = set; then
27747 CXXFLAGS="$ac_save_CXXFLAGS"
27748 else
27749 # this is the suspicious part
27750 CXXFLAGS=''
27752 if test x"$ac_fdsections" = x"yes"; then
27753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27755 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27756 echo "${ECHO_T}$ac_fdsections" >&6
27758 ac_ext=c
27759 ac_cpp='$CPP $CPPFLAGS'
27760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27767 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27769 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27770 ac_save_CXXFLAGS="$CXXFLAGS"
27771 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27773 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27774 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27775 if test "${ac_cv_lib_m_sin+set}" = set; then
27776 echo $ECHO_N "(cached) $ECHO_C" >&6
27777 else
27778 ac_check_lib_save_LIBS=$LIBS
27779 LIBS="-lm $LIBS"
27780 if test x$gcc_no_link = xyes; then
27781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27783 { (exit 1); exit 1; }; }
27785 cat >conftest.$ac_ext <<_ACEOF
27786 #line $LINENO "configure"
27787 /* confdefs.h. */
27788 _ACEOF
27789 cat confdefs.h >>conftest.$ac_ext
27790 cat >>conftest.$ac_ext <<_ACEOF
27791 /* end confdefs.h. */
27793 /* Override any gcc2 internal prototype to avoid an error. */
27794 #ifdef __cplusplus
27795 extern "C"
27796 #endif
27797 /* We use char because int might match the return type of a gcc2
27798 builtin and then its argument prototype would still apply. */
27799 char sin ();
27801 main ()
27803 sin ();
27805 return 0;
27807 _ACEOF
27808 rm -f conftest.$ac_objext conftest$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try='test -s conftest$ac_exeext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_cv_lib_m_sin=yes
27821 else
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27825 ac_cv_lib_m_sin=no
27827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27828 LIBS=$ac_check_lib_save_LIBS
27830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27831 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27832 if test $ac_cv_lib_m_sin = yes; then
27833 libm="-lm"
27836 ac_save_LIBS="$LIBS"
27837 LIBS="$LIBS $libm"
27841 echo "$as_me:$LINENO: checking for isinf declaration" >&5
27842 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27843 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27844 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27850 ac_ext=cc
27851 ac_cpp='$CXXCPP $CPPFLAGS'
27852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27856 cat >conftest.$ac_ext <<_ACEOF
27857 #line $LINENO "configure"
27858 /* confdefs.h. */
27859 _ACEOF
27860 cat confdefs.h >>conftest.$ac_ext
27861 cat >>conftest.$ac_ext <<_ACEOF
27862 /* end confdefs.h. */
27863 #include <math.h>
27864 #ifdef HAVE_IEEEFP_H
27865 #include <ieeefp.h>
27866 #endif
27869 main ()
27871 isinf(0);
27873 return 0;
27875 _ACEOF
27876 rm -f conftest.$ac_objext
27877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27878 (eval $ac_compile) 2>&5
27879 ac_status=$?
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try='test -s conftest.$ac_objext'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27885 ac_status=$?
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; }; then
27888 glibcxx_cv_func_isinf_use=yes
27889 else
27890 echo "$as_me: failed program was:" >&5
27891 sed 's/^/| /' conftest.$ac_ext >&5
27893 glibcxx_cv_func_isinf_use=no
27895 rm -f conftest.$ac_objext conftest.$ac_ext
27896 ac_ext=c
27897 ac_cpp='$CPP $CPPFLAGS'
27898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27907 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27909 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27911 for ac_func in isinf
27913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27914 echo "$as_me:$LINENO: checking for $ac_func" >&5
27915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27916 if eval "test \"\${$as_ac_var+set}\" = set"; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919 if test x$gcc_no_link = xyes; then
27920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27922 { (exit 1); exit 1; }; }
27924 cat >conftest.$ac_ext <<_ACEOF
27925 #line $LINENO "configure"
27926 /* confdefs.h. */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27931 /* System header to define __stub macros and hopefully few prototypes,
27932 which can conflict with char $ac_func (); below.
27933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27934 <limits.h> exists even on freestanding compilers. */
27935 #ifdef __STDC__
27936 # include <limits.h>
27937 #else
27938 # include <assert.h>
27939 #endif
27940 /* Override any gcc2 internal prototype to avoid an error. */
27941 #ifdef __cplusplus
27942 extern "C"
27944 #endif
27945 /* We use char because int might match the return type of a gcc2
27946 builtin and then its argument prototype would still apply. */
27947 char $ac_func ();
27948 /* The GNU C library defines this for functions which it implements
27949 to always fail with ENOSYS. Some functions are actually named
27950 something starting with __ and the normal name is an alias. */
27951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27952 choke me
27953 #else
27954 char (*f) () = $ac_func;
27955 #endif
27956 #ifdef __cplusplus
27958 #endif
27961 main ()
27963 return f != $ac_func;
27965 return 0;
27967 _ACEOF
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27970 (eval $ac_link) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try='test -s conftest$ac_exeext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27977 ac_status=$?
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 eval "$as_ac_var=yes"
27981 else
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.$ac_ext >&5
27985 eval "$as_ac_var=no"
27987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27991 if test `eval echo '${'$as_ac_var'}'` = yes; then
27992 cat >>confdefs.h <<_ACEOF
27993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27994 _ACEOF
27997 done
27999 else
28001 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28002 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28003 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28004 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 else
28010 ac_ext=cc
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016 cat >conftest.$ac_ext <<_ACEOF
28017 #line $LINENO "configure"
28018 /* confdefs.h. */
28019 _ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023 #include <math.h>
28024 #ifdef HAVE_IEEEFP_H
28025 #include <ieeefp.h>
28026 #endif
28029 main ()
28031 _isinf(0);
28033 return 0;
28035 _ACEOF
28036 rm -f conftest.$ac_objext
28037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28038 (eval $ac_compile) 2>&5
28039 ac_status=$?
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try='test -s conftest.$ac_objext'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28045 ac_status=$?
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; }; then
28048 glibcxx_cv_func__isinf_use=yes
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28053 glibcxx_cv_func__isinf_use=no
28055 rm -f conftest.$ac_objext conftest.$ac_ext
28056 ac_ext=c
28057 ac_cpp='$CPP $CPPFLAGS'
28058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28067 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28069 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28071 for ac_func in _isinf
28073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28074 echo "$as_me:$LINENO: checking for $ac_func" >&5
28075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28076 if eval "test \"\${$as_ac_var+set}\" = set"; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 else
28079 if test x$gcc_no_link = xyes; then
28080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28082 { (exit 1); exit 1; }; }
28084 cat >conftest.$ac_ext <<_ACEOF
28085 #line $LINENO "configure"
28086 /* confdefs.h. */
28087 _ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28091 /* System header to define __stub macros and hopefully few prototypes,
28092 which can conflict with char $ac_func (); below.
28093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28094 <limits.h> exists even on freestanding compilers. */
28095 #ifdef __STDC__
28096 # include <limits.h>
28097 #else
28098 # include <assert.h>
28099 #endif
28100 /* Override any gcc2 internal prototype to avoid an error. */
28101 #ifdef __cplusplus
28102 extern "C"
28104 #endif
28105 /* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28107 char $ac_func ();
28108 /* The GNU C library defines this for functions which it implements
28109 to always fail with ENOSYS. Some functions are actually named
28110 something starting with __ and the normal name is an alias. */
28111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28112 choke me
28113 #else
28114 char (*f) () = $ac_func;
28115 #endif
28116 #ifdef __cplusplus
28118 #endif
28121 main ()
28123 return f != $ac_func;
28125 return 0;
28127 _ACEOF
28128 rm -f conftest.$ac_objext conftest$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>&5
28131 ac_status=$?
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); } &&
28134 { ac_try='test -s conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 eval "$as_ac_var=yes"
28141 else
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.$ac_ext >&5
28145 eval "$as_ac_var=no"
28147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28151 if test `eval echo '${'$as_ac_var'}'` = yes; then
28152 cat >>confdefs.h <<_ACEOF
28153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28154 _ACEOF
28157 done
28164 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28165 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28166 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28167 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28169 else
28173 ac_ext=cc
28174 ac_cpp='$CXXCPP $CPPFLAGS'
28175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28179 cat >conftest.$ac_ext <<_ACEOF
28180 #line $LINENO "configure"
28181 /* confdefs.h. */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 #include <math.h>
28187 #ifdef HAVE_IEEEFP_H
28188 #include <ieeefp.h>
28189 #endif
28192 main ()
28194 isnan(0);
28196 return 0;
28198 _ACEOF
28199 rm -f conftest.$ac_objext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28201 (eval $ac_compile) 2>&5
28202 ac_status=$?
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } &&
28205 { ac_try='test -s conftest.$ac_objext'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; }; then
28211 glibcxx_cv_func_isnan_use=yes
28212 else
28213 echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.$ac_ext >&5
28216 glibcxx_cv_func_isnan_use=no
28218 rm -f conftest.$ac_objext conftest.$ac_ext
28219 ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28230 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28232 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28234 for ac_func in isnan
28236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28237 echo "$as_me:$LINENO: checking for $ac_func" >&5
28238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28239 if eval "test \"\${$as_ac_var+set}\" = set"; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 else
28242 if test x$gcc_no_link = xyes; then
28243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28245 { (exit 1); exit 1; }; }
28247 cat >conftest.$ac_ext <<_ACEOF
28248 #line $LINENO "configure"
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254 /* System header to define __stub macros and hopefully few prototypes,
28255 which can conflict with char $ac_func (); below.
28256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28257 <limits.h> exists even on freestanding compilers. */
28258 #ifdef __STDC__
28259 # include <limits.h>
28260 #else
28261 # include <assert.h>
28262 #endif
28263 /* Override any gcc2 internal prototype to avoid an error. */
28264 #ifdef __cplusplus
28265 extern "C"
28267 #endif
28268 /* We use char because int might match the return type of a gcc2
28269 builtin and then its argument prototype would still apply. */
28270 char $ac_func ();
28271 /* The GNU C library defines this for functions which it implements
28272 to always fail with ENOSYS. Some functions are actually named
28273 something starting with __ and the normal name is an alias. */
28274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28275 choke me
28276 #else
28277 char (*f) () = $ac_func;
28278 #endif
28279 #ifdef __cplusplus
28281 #endif
28284 main ()
28286 return f != $ac_func;
28288 return 0;
28290 _ACEOF
28291 rm -f conftest.$ac_objext conftest$ac_exeext
28292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28293 (eval $ac_link) 2>&5
28294 ac_status=$?
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } &&
28297 { ac_try='test -s conftest$ac_exeext'
28298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 (eval $ac_try) 2>&5
28300 ac_status=$?
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); }; }; then
28303 eval "$as_ac_var=yes"
28304 else
28305 echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.$ac_ext >&5
28308 eval "$as_ac_var=no"
28310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28314 if test `eval echo '${'$as_ac_var'}'` = yes; then
28315 cat >>confdefs.h <<_ACEOF
28316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28317 _ACEOF
28320 done
28322 else
28324 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28325 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28326 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28327 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28333 ac_ext=cc
28334 ac_cpp='$CXXCPP $CPPFLAGS'
28335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28339 cat >conftest.$ac_ext <<_ACEOF
28340 #line $LINENO "configure"
28341 /* confdefs.h. */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346 #include <math.h>
28347 #ifdef HAVE_IEEEFP_H
28348 #include <ieeefp.h>
28349 #endif
28352 main ()
28354 _isnan(0);
28356 return 0;
28358 _ACEOF
28359 rm -f conftest.$ac_objext
28360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28361 (eval $ac_compile) 2>&5
28362 ac_status=$?
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); } &&
28365 { ac_try='test -s conftest.$ac_objext'
28366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367 (eval $ac_try) 2>&5
28368 ac_status=$?
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); }; }; then
28371 glibcxx_cv_func__isnan_use=yes
28372 else
28373 echo "$as_me: failed program was:" >&5
28374 sed 's/^/| /' conftest.$ac_ext >&5
28376 glibcxx_cv_func__isnan_use=no
28378 rm -f conftest.$ac_objext conftest.$ac_ext
28379 ac_ext=c
28380 ac_cpp='$CPP $CPPFLAGS'
28381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28390 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28392 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28394 for ac_func in _isnan
28396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28397 echo "$as_me:$LINENO: checking for $ac_func" >&5
28398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28399 if eval "test \"\${$as_ac_var+set}\" = set"; then
28400 echo $ECHO_N "(cached) $ECHO_C" >&6
28401 else
28402 if test x$gcc_no_link = xyes; then
28403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28405 { (exit 1); exit 1; }; }
28407 cat >conftest.$ac_ext <<_ACEOF
28408 #line $LINENO "configure"
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414 /* System header to define __stub macros and hopefully few prototypes,
28415 which can conflict with char $ac_func (); below.
28416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417 <limits.h> exists even on freestanding compilers. */
28418 #ifdef __STDC__
28419 # include <limits.h>
28420 #else
28421 # include <assert.h>
28422 #endif
28423 /* Override any gcc2 internal prototype to avoid an error. */
28424 #ifdef __cplusplus
28425 extern "C"
28427 #endif
28428 /* We use char because int might match the return type of a gcc2
28429 builtin and then its argument prototype would still apply. */
28430 char $ac_func ();
28431 /* The GNU C library defines this for functions which it implements
28432 to always fail with ENOSYS. Some functions are actually named
28433 something starting with __ and the normal name is an alias. */
28434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28435 choke me
28436 #else
28437 char (*f) () = $ac_func;
28438 #endif
28439 #ifdef __cplusplus
28441 #endif
28444 main ()
28446 return f != $ac_func;
28448 return 0;
28450 _ACEOF
28451 rm -f conftest.$ac_objext conftest$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453 (eval $ac_link) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); } &&
28457 { ac_try='test -s conftest$ac_exeext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 eval "$as_ac_var=yes"
28464 else
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28468 eval "$as_ac_var=no"
28470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28474 if test `eval echo '${'$as_ac_var'}'` = yes; then
28475 cat >>confdefs.h <<_ACEOF
28476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28477 _ACEOF
28480 done
28487 echo "$as_me:$LINENO: checking for finite declaration" >&5
28488 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28489 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28490 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28491 echo $ECHO_N "(cached) $ECHO_C" >&6
28492 else
28496 ac_ext=cc
28497 ac_cpp='$CXXCPP $CPPFLAGS'
28498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28502 cat >conftest.$ac_ext <<_ACEOF
28503 #line $LINENO "configure"
28504 /* confdefs.h. */
28505 _ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 #include <math.h>
28510 #ifdef HAVE_IEEEFP_H
28511 #include <ieeefp.h>
28512 #endif
28515 main ()
28517 finite(0);
28519 return 0;
28521 _ACEOF
28522 rm -f conftest.$ac_objext
28523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28524 (eval $ac_compile) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); } &&
28528 { ac_try='test -s conftest.$ac_objext'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; }; then
28534 glibcxx_cv_func_finite_use=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28539 glibcxx_cv_func_finite_use=no
28541 rm -f conftest.$ac_objext conftest.$ac_ext
28542 ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28553 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28555 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28557 for ac_func in finite
28559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28560 echo "$as_me:$LINENO: checking for $ac_func" >&5
28561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28562 if eval "test \"\${$as_ac_var+set}\" = set"; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28564 else
28565 if test x$gcc_no_link = xyes; then
28566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28568 { (exit 1); exit 1; }; }
28570 cat >conftest.$ac_ext <<_ACEOF
28571 #line $LINENO "configure"
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577 /* System header to define __stub macros and hopefully few prototypes,
28578 which can conflict with char $ac_func (); below.
28579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28580 <limits.h> exists even on freestanding compilers. */
28581 #ifdef __STDC__
28582 # include <limits.h>
28583 #else
28584 # include <assert.h>
28585 #endif
28586 /* Override any gcc2 internal prototype to avoid an error. */
28587 #ifdef __cplusplus
28588 extern "C"
28590 #endif
28591 /* We use char because int might match the return type of a gcc2
28592 builtin and then its argument prototype would still apply. */
28593 char $ac_func ();
28594 /* The GNU C library defines this for functions which it implements
28595 to always fail with ENOSYS. Some functions are actually named
28596 something starting with __ and the normal name is an alias. */
28597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28598 choke me
28599 #else
28600 char (*f) () = $ac_func;
28601 #endif
28602 #ifdef __cplusplus
28604 #endif
28607 main ()
28609 return f != $ac_func;
28611 return 0;
28613 _ACEOF
28614 rm -f conftest.$ac_objext conftest$ac_exeext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28616 (eval $ac_link) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try='test -s conftest$ac_exeext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28623 ac_status=$?
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 eval "$as_ac_var=yes"
28627 else
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28631 eval "$as_ac_var=no"
28633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28637 if test `eval echo '${'$as_ac_var'}'` = yes; then
28638 cat >>confdefs.h <<_ACEOF
28639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28640 _ACEOF
28643 done
28645 else
28647 echo "$as_me:$LINENO: checking for _finite declaration" >&5
28648 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28649 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28650 if test "${glibcxx_cv_func__finite_use+set}" = set; then
28651 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 else
28656 ac_ext=cc
28657 ac_cpp='$CXXCPP $CPPFLAGS'
28658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28662 cat >conftest.$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28664 /* confdefs.h. */
28665 _ACEOF
28666 cat confdefs.h >>conftest.$ac_ext
28667 cat >>conftest.$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669 #include <math.h>
28670 #ifdef HAVE_IEEEFP_H
28671 #include <ieeefp.h>
28672 #endif
28675 main ()
28677 _finite(0);
28679 return 0;
28681 _ACEOF
28682 rm -f conftest.$ac_objext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28684 (eval $ac_compile) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); } &&
28688 { ac_try='test -s conftest.$ac_objext'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28691 ac_status=$?
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; }; then
28694 glibcxx_cv_func__finite_use=yes
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28699 glibcxx_cv_func__finite_use=no
28701 rm -f conftest.$ac_objext conftest.$ac_ext
28702 ac_ext=c
28703 ac_cpp='$CPP $CPPFLAGS'
28704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28713 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28715 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28717 for ac_func in _finite
28719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28720 echo "$as_me:$LINENO: checking for $ac_func" >&5
28721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28722 if eval "test \"\${$as_ac_var+set}\" = set"; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 else
28725 if test x$gcc_no_link = xyes; then
28726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28728 { (exit 1); exit 1; }; }
28730 cat >conftest.$ac_ext <<_ACEOF
28731 #line $LINENO "configure"
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 /* System header to define __stub macros and hopefully few prototypes,
28738 which can conflict with char $ac_func (); below.
28739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28740 <limits.h> exists even on freestanding compilers. */
28741 #ifdef __STDC__
28742 # include <limits.h>
28743 #else
28744 # include <assert.h>
28745 #endif
28746 /* Override any gcc2 internal prototype to avoid an error. */
28747 #ifdef __cplusplus
28748 extern "C"
28750 #endif
28751 /* We use char because int might match the return type of a gcc2
28752 builtin and then its argument prototype would still apply. */
28753 char $ac_func ();
28754 /* The GNU C library defines this for functions which it implements
28755 to always fail with ENOSYS. Some functions are actually named
28756 something starting with __ and the normal name is an alias. */
28757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28758 choke me
28759 #else
28760 char (*f) () = $ac_func;
28761 #endif
28762 #ifdef __cplusplus
28764 #endif
28767 main ()
28769 return f != $ac_func;
28771 return 0;
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } &&
28780 { ac_try='test -s conftest$ac_exeext'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; }; then
28786 eval "$as_ac_var=yes"
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28791 eval "$as_ac_var=no"
28793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28797 if test `eval echo '${'$as_ac_var'}'` = yes; then
28798 cat >>confdefs.h <<_ACEOF
28799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 _ACEOF
28803 done
28810 echo "$as_me:$LINENO: checking for copysign declaration" >&5
28811 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28812 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28813 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28814 echo $ECHO_N "(cached) $ECHO_C" >&6
28815 else
28819 ac_ext=cc
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825 cat >conftest.$ac_ext <<_ACEOF
28826 #line $LINENO "configure"
28827 /* confdefs.h. */
28828 _ACEOF
28829 cat confdefs.h >>conftest.$ac_ext
28830 cat >>conftest.$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28832 #include <math.h>
28834 main ()
28836 copysign(0, 0);
28838 return 0;
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843 (eval $ac_compile) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); } &&
28847 { ac_try='test -s conftest.$ac_objext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 glibcxx_cv_func_copysign_use=yes
28854 else
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28858 glibcxx_cv_func_copysign_use=no
28860 rm -f conftest.$ac_objext conftest.$ac_ext
28861 ac_ext=c
28862 ac_cpp='$CPP $CPPFLAGS'
28863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28872 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28874 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28876 for ac_func in copysign
28878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28879 echo "$as_me:$LINENO: checking for $ac_func" >&5
28880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28881 if eval "test \"\${$as_ac_var+set}\" = set"; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884 if test x$gcc_no_link = xyes; then
28885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28887 { (exit 1); exit 1; }; }
28889 cat >conftest.$ac_ext <<_ACEOF
28890 #line $LINENO "configure"
28891 /* confdefs.h. */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28896 /* System header to define __stub macros and hopefully few prototypes,
28897 which can conflict with char $ac_func (); below.
28898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28899 <limits.h> exists even on freestanding compilers. */
28900 #ifdef __STDC__
28901 # include <limits.h>
28902 #else
28903 # include <assert.h>
28904 #endif
28905 /* Override any gcc2 internal prototype to avoid an error. */
28906 #ifdef __cplusplus
28907 extern "C"
28909 #endif
28910 /* We use char because int might match the return type of a gcc2
28911 builtin and then its argument prototype would still apply. */
28912 char $ac_func ();
28913 /* The GNU C library defines this for functions which it implements
28914 to always fail with ENOSYS. Some functions are actually named
28915 something starting with __ and the normal name is an alias. */
28916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28917 choke me
28918 #else
28919 char (*f) () = $ac_func;
28920 #endif
28921 #ifdef __cplusplus
28923 #endif
28926 main ()
28928 return f != $ac_func;
28930 return 0;
28932 _ACEOF
28933 rm -f conftest.$ac_objext conftest$ac_exeext
28934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28935 (eval $ac_link) 2>&5
28936 ac_status=$?
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try='test -s conftest$ac_exeext'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28942 ac_status=$?
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; }; then
28945 eval "$as_ac_var=yes"
28946 else
28947 echo "$as_me: failed program was:" >&5
28948 sed 's/^/| /' conftest.$ac_ext >&5
28950 eval "$as_ac_var=no"
28952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28956 if test `eval echo '${'$as_ac_var'}'` = yes; then
28957 cat >>confdefs.h <<_ACEOF
28958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 _ACEOF
28962 done
28964 else
28966 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
28967 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
28968 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
28969 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
28970 echo $ECHO_N "(cached) $ECHO_C" >&6
28971 else
28975 ac_ext=cc
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28981 cat >conftest.$ac_ext <<_ACEOF
28982 #line $LINENO "configure"
28983 /* confdefs.h. */
28984 _ACEOF
28985 cat confdefs.h >>conftest.$ac_ext
28986 cat >>conftest.$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28988 #include <math.h>
28990 main ()
28992 _copysign(0, 0);
28994 return 0;
28996 _ACEOF
28997 rm -f conftest.$ac_objext
28998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28999 (eval $ac_compile) 2>&5
29000 ac_status=$?
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } &&
29003 { ac_try='test -s conftest.$ac_objext'
29004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29005 (eval $ac_try) 2>&5
29006 ac_status=$?
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; }; then
29009 glibcxx_cv_func__copysign_use=yes
29010 else
29011 echo "$as_me: failed program was:" >&5
29012 sed 's/^/| /' conftest.$ac_ext >&5
29014 glibcxx_cv_func__copysign_use=no
29016 rm -f conftest.$ac_objext conftest.$ac_ext
29017 ac_ext=c
29018 ac_cpp='$CPP $CPPFLAGS'
29019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29028 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29030 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29032 for ac_func in _copysign
29034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035 echo "$as_me:$LINENO: checking for $ac_func" >&5
29036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29037 if eval "test \"\${$as_ac_var+set}\" = set"; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040 if test x$gcc_no_link = xyes; then
29041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29043 { (exit 1); exit 1; }; }
29045 cat >conftest.$ac_ext <<_ACEOF
29046 #line $LINENO "configure"
29047 /* confdefs.h. */
29048 _ACEOF
29049 cat confdefs.h >>conftest.$ac_ext
29050 cat >>conftest.$ac_ext <<_ACEOF
29051 /* end confdefs.h. */
29052 /* System header to define __stub macros and hopefully few prototypes,
29053 which can conflict with char $ac_func (); below.
29054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29055 <limits.h> exists even on freestanding compilers. */
29056 #ifdef __STDC__
29057 # include <limits.h>
29058 #else
29059 # include <assert.h>
29060 #endif
29061 /* Override any gcc2 internal prototype to avoid an error. */
29062 #ifdef __cplusplus
29063 extern "C"
29065 #endif
29066 /* We use char because int might match the return type of a gcc2
29067 builtin and then its argument prototype would still apply. */
29068 char $ac_func ();
29069 /* The GNU C library defines this for functions which it implements
29070 to always fail with ENOSYS. Some functions are actually named
29071 something starting with __ and the normal name is an alias. */
29072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29073 choke me
29074 #else
29075 char (*f) () = $ac_func;
29076 #endif
29077 #ifdef __cplusplus
29079 #endif
29082 main ()
29084 return f != $ac_func;
29086 return 0;
29088 _ACEOF
29089 rm -f conftest.$ac_objext conftest$ac_exeext
29090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29091 (eval $ac_link) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -s conftest$ac_exeext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101 eval "$as_ac_var=yes"
29102 else
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29106 eval "$as_ac_var=no"
29108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29112 if test `eval echo '${'$as_ac_var'}'` = yes; then
29113 cat >>confdefs.h <<_ACEOF
29114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29115 _ACEOF
29118 done
29125 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29126 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29127 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29128 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29130 else
29134 ac_ext=cc
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29140 cat >conftest.$ac_ext <<_ACEOF
29141 #line $LINENO "configure"
29142 /* confdefs.h. */
29143 _ACEOF
29144 cat confdefs.h >>conftest.$ac_ext
29145 cat >>conftest.$ac_ext <<_ACEOF
29146 /* end confdefs.h. */
29147 #include <math.h>
29149 main ()
29151 sincos(0, 0, 0);
29153 return 0;
29155 _ACEOF
29156 rm -f conftest.$ac_objext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29158 (eval $ac_compile) 2>&5
29159 ac_status=$?
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); } &&
29162 { ac_try='test -s conftest.$ac_objext'
29163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164 (eval $ac_try) 2>&5
29165 ac_status=$?
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; }; then
29168 glibcxx_cv_func_sincos_use=yes
29169 else
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29173 glibcxx_cv_func_sincos_use=no
29175 rm -f conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29187 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29189 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29191 for ac_func in sincos
29193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29194 echo "$as_me:$LINENO: checking for $ac_func" >&5
29195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29196 if eval "test \"\${$as_ac_var+set}\" = set"; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29199 if test x$gcc_no_link = xyes; then
29200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29202 { (exit 1); exit 1; }; }
29204 cat >conftest.$ac_ext <<_ACEOF
29205 #line $LINENO "configure"
29206 /* confdefs.h. */
29207 _ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29211 /* System header to define __stub macros and hopefully few prototypes,
29212 which can conflict with char $ac_func (); below.
29213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29214 <limits.h> exists even on freestanding compilers. */
29215 #ifdef __STDC__
29216 # include <limits.h>
29217 #else
29218 # include <assert.h>
29219 #endif
29220 /* Override any gcc2 internal prototype to avoid an error. */
29221 #ifdef __cplusplus
29222 extern "C"
29224 #endif
29225 /* We use char because int might match the return type of a gcc2
29226 builtin and then its argument prototype would still apply. */
29227 char $ac_func ();
29228 /* The GNU C library defines this for functions which it implements
29229 to always fail with ENOSYS. Some functions are actually named
29230 something starting with __ and the normal name is an alias. */
29231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29232 choke me
29233 #else
29234 char (*f) () = $ac_func;
29235 #endif
29236 #ifdef __cplusplus
29238 #endif
29241 main ()
29243 return f != $ac_func;
29245 return 0;
29247 _ACEOF
29248 rm -f conftest.$ac_objext conftest$ac_exeext
29249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29250 (eval $ac_link) 2>&5
29251 ac_status=$?
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); } &&
29254 { ac_try='test -s conftest$ac_exeext'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; }; then
29260 eval "$as_ac_var=yes"
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 eval "$as_ac_var=no"
29267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29271 if test `eval echo '${'$as_ac_var'}'` = yes; then
29272 cat >>confdefs.h <<_ACEOF
29273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29274 _ACEOF
29277 done
29279 else
29281 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29282 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29283 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29284 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29290 ac_ext=cc
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29296 cat >conftest.$ac_ext <<_ACEOF
29297 #line $LINENO "configure"
29298 /* confdefs.h. */
29299 _ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h. */
29303 #include <math.h>
29305 main ()
29307 _sincos(0, 0, 0);
29309 return 0;
29311 _ACEOF
29312 rm -f conftest.$ac_objext
29313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29314 (eval $ac_compile) 2>&5
29315 ac_status=$?
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } &&
29318 { ac_try='test -s conftest.$ac_objext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29321 ac_status=$?
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 glibcxx_cv_func__sincos_use=yes
29325 else
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29329 glibcxx_cv_func__sincos_use=no
29331 rm -f conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29343 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29345 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29347 for ac_func in _sincos
29349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29350 echo "$as_me:$LINENO: checking for $ac_func" >&5
29351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29352 if eval "test \"\${$as_ac_var+set}\" = set"; then
29353 echo $ECHO_N "(cached) $ECHO_C" >&6
29354 else
29355 if test x$gcc_no_link = xyes; then
29356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29358 { (exit 1); exit 1; }; }
29360 cat >conftest.$ac_ext <<_ACEOF
29361 #line $LINENO "configure"
29362 /* confdefs.h. */
29363 _ACEOF
29364 cat confdefs.h >>conftest.$ac_ext
29365 cat >>conftest.$ac_ext <<_ACEOF
29366 /* end confdefs.h. */
29367 /* System header to define __stub macros and hopefully few prototypes,
29368 which can conflict with char $ac_func (); below.
29369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29370 <limits.h> exists even on freestanding compilers. */
29371 #ifdef __STDC__
29372 # include <limits.h>
29373 #else
29374 # include <assert.h>
29375 #endif
29376 /* Override any gcc2 internal prototype to avoid an error. */
29377 #ifdef __cplusplus
29378 extern "C"
29380 #endif
29381 /* We use char because int might match the return type of a gcc2
29382 builtin and then its argument prototype would still apply. */
29383 char $ac_func ();
29384 /* The GNU C library defines this for functions which it implements
29385 to always fail with ENOSYS. Some functions are actually named
29386 something starting with __ and the normal name is an alias. */
29387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29388 choke me
29389 #else
29390 char (*f) () = $ac_func;
29391 #endif
29392 #ifdef __cplusplus
29394 #endif
29397 main ()
29399 return f != $ac_func;
29401 return 0;
29403 _ACEOF
29404 rm -f conftest.$ac_objext conftest$ac_exeext
29405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29406 (eval $ac_link) 2>&5
29407 ac_status=$?
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); } &&
29410 { ac_try='test -s conftest$ac_exeext'
29411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412 (eval $ac_try) 2>&5
29413 ac_status=$?
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); }; }; then
29416 eval "$as_ac_var=yes"
29417 else
29418 echo "$as_me: failed program was:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29421 eval "$as_ac_var=no"
29423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29427 if test `eval echo '${'$as_ac_var'}'` = yes; then
29428 cat >>confdefs.h <<_ACEOF
29429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29430 _ACEOF
29433 done
29440 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29441 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29442 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29443 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29444 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 else
29449 ac_ext=cc
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29455 cat >conftest.$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29457 /* confdefs.h. */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <math.h>
29463 #ifdef HAVE_IEEEFP_H
29464 #include <ieeefp.h>
29465 #endif
29468 main ()
29470 fpclass(0);
29472 return 0;
29474 _ACEOF
29475 rm -f conftest.$ac_objext
29476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29477 (eval $ac_compile) 2>&5
29478 ac_status=$?
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); } &&
29481 { ac_try='test -s conftest.$ac_objext'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29484 ac_status=$?
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; }; then
29487 glibcxx_cv_func_fpclass_use=yes
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29492 glibcxx_cv_func_fpclass_use=no
29494 rm -f conftest.$ac_objext conftest.$ac_ext
29495 ac_ext=c
29496 ac_cpp='$CPP $CPPFLAGS'
29497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29506 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29508 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29510 for ac_func in fpclass
29512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29513 echo "$as_me:$LINENO: checking for $ac_func" >&5
29514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29515 if eval "test \"\${$as_ac_var+set}\" = set"; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 else
29518 if test x$gcc_no_link = xyes; then
29519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29521 { (exit 1); exit 1; }; }
29523 cat >conftest.$ac_ext <<_ACEOF
29524 #line $LINENO "configure"
29525 /* confdefs.h. */
29526 _ACEOF
29527 cat confdefs.h >>conftest.$ac_ext
29528 cat >>conftest.$ac_ext <<_ACEOF
29529 /* end confdefs.h. */
29530 /* System header to define __stub macros and hopefully few prototypes,
29531 which can conflict with char $ac_func (); below.
29532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29533 <limits.h> exists even on freestanding compilers. */
29534 #ifdef __STDC__
29535 # include <limits.h>
29536 #else
29537 # include <assert.h>
29538 #endif
29539 /* Override any gcc2 internal prototype to avoid an error. */
29540 #ifdef __cplusplus
29541 extern "C"
29543 #endif
29544 /* We use char because int might match the return type of a gcc2
29545 builtin and then its argument prototype would still apply. */
29546 char $ac_func ();
29547 /* The GNU C library defines this for functions which it implements
29548 to always fail with ENOSYS. Some functions are actually named
29549 something starting with __ and the normal name is an alias. */
29550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29551 choke me
29552 #else
29553 char (*f) () = $ac_func;
29554 #endif
29555 #ifdef __cplusplus
29557 #endif
29560 main ()
29562 return f != $ac_func;
29564 return 0;
29566 _ACEOF
29567 rm -f conftest.$ac_objext conftest$ac_exeext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29569 (eval $ac_link) 2>&5
29570 ac_status=$?
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try='test -s conftest$ac_exeext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 eval "$as_ac_var=yes"
29580 else
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29584 eval "$as_ac_var=no"
29586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29590 if test `eval echo '${'$as_ac_var'}'` = yes; then
29591 cat >>confdefs.h <<_ACEOF
29592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29593 _ACEOF
29596 done
29598 else
29600 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29601 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29602 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29603 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29604 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 else
29609 ac_ext=cc
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29615 cat >conftest.$ac_ext <<_ACEOF
29616 #line $LINENO "configure"
29617 /* confdefs.h. */
29618 _ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h. */
29622 #include <math.h>
29623 #ifdef HAVE_IEEEFP_H
29624 #include <ieeefp.h>
29625 #endif
29628 main ()
29630 _fpclass(0);
29632 return 0;
29634 _ACEOF
29635 rm -f conftest.$ac_objext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29637 (eval $ac_compile) 2>&5
29638 ac_status=$?
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try='test -s conftest.$ac_objext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29644 ac_status=$?
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 glibcxx_cv_func__fpclass_use=yes
29648 else
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29652 glibcxx_cv_func__fpclass_use=no
29654 rm -f conftest.$ac_objext conftest.$ac_ext
29655 ac_ext=c
29656 ac_cpp='$CPP $CPPFLAGS'
29657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29666 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29668 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29670 for ac_func in _fpclass
29672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29673 echo "$as_me:$LINENO: checking for $ac_func" >&5
29674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29675 if eval "test \"\${$as_ac_var+set}\" = set"; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678 if test x$gcc_no_link = xyes; then
29679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29681 { (exit 1); exit 1; }; }
29683 cat >conftest.$ac_ext <<_ACEOF
29684 #line $LINENO "configure"
29685 /* confdefs.h. */
29686 _ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690 /* System header to define __stub macros and hopefully few prototypes,
29691 which can conflict with char $ac_func (); below.
29692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29693 <limits.h> exists even on freestanding compilers. */
29694 #ifdef __STDC__
29695 # include <limits.h>
29696 #else
29697 # include <assert.h>
29698 #endif
29699 /* Override any gcc2 internal prototype to avoid an error. */
29700 #ifdef __cplusplus
29701 extern "C"
29703 #endif
29704 /* We use char because int might match the return type of a gcc2
29705 builtin and then its argument prototype would still apply. */
29706 char $ac_func ();
29707 /* The GNU C library defines this for functions which it implements
29708 to always fail with ENOSYS. Some functions are actually named
29709 something starting with __ and the normal name is an alias. */
29710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29711 choke me
29712 #else
29713 char (*f) () = $ac_func;
29714 #endif
29715 #ifdef __cplusplus
29717 #endif
29720 main ()
29722 return f != $ac_func;
29724 return 0;
29726 _ACEOF
29727 rm -f conftest.$ac_objext conftest$ac_exeext
29728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29729 (eval $ac_link) 2>&5
29730 ac_status=$?
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); } &&
29733 { ac_try='test -s conftest$ac_exeext'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; }; then
29739 eval "$as_ac_var=yes"
29740 else
29741 echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29744 eval "$as_ac_var=no"
29746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29750 if test `eval echo '${'$as_ac_var'}'` = yes; then
29751 cat >>confdefs.h <<_ACEOF
29752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29753 _ACEOF
29756 done
29763 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29764 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29765 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29766 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29772 ac_ext=cc
29773 ac_cpp='$CXXCPP $CPPFLAGS'
29774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29778 cat >conftest.$ac_ext <<_ACEOF
29779 #line $LINENO "configure"
29780 /* confdefs.h. */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785 #include <math.h>
29786 #ifdef HAVE_IEEEFP_H
29787 #include <ieeefp.h>
29788 #endif
29791 main ()
29793 qfpclass(0);
29795 return 0;
29797 _ACEOF
29798 rm -f conftest.$ac_objext
29799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29800 (eval $ac_compile) 2>&5
29801 ac_status=$?
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try='test -s conftest.$ac_objext'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; }; then
29810 glibcxx_cv_func_qfpclass_use=yes
29811 else
29812 echo "$as_me: failed program was:" >&5
29813 sed 's/^/| /' conftest.$ac_ext >&5
29815 glibcxx_cv_func_qfpclass_use=no
29817 rm -f conftest.$ac_objext conftest.$ac_ext
29818 ac_ext=c
29819 ac_cpp='$CPP $CPPFLAGS'
29820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29829 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29831 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29833 for ac_func in qfpclass
29835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29836 echo "$as_me:$LINENO: checking for $ac_func" >&5
29837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29838 if eval "test \"\${$as_ac_var+set}\" = set"; then
29839 echo $ECHO_N "(cached) $ECHO_C" >&6
29840 else
29841 if test x$gcc_no_link = xyes; then
29842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29844 { (exit 1); exit 1; }; }
29846 cat >conftest.$ac_ext <<_ACEOF
29847 #line $LINENO "configure"
29848 /* confdefs.h. */
29849 _ACEOF
29850 cat confdefs.h >>conftest.$ac_ext
29851 cat >>conftest.$ac_ext <<_ACEOF
29852 /* end confdefs.h. */
29853 /* System header to define __stub macros and hopefully few prototypes,
29854 which can conflict with char $ac_func (); below.
29855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29856 <limits.h> exists even on freestanding compilers. */
29857 #ifdef __STDC__
29858 # include <limits.h>
29859 #else
29860 # include <assert.h>
29861 #endif
29862 /* Override any gcc2 internal prototype to avoid an error. */
29863 #ifdef __cplusplus
29864 extern "C"
29866 #endif
29867 /* We use char because int might match the return type of a gcc2
29868 builtin and then its argument prototype would still apply. */
29869 char $ac_func ();
29870 /* The GNU C library defines this for functions which it implements
29871 to always fail with ENOSYS. Some functions are actually named
29872 something starting with __ and the normal name is an alias. */
29873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29874 choke me
29875 #else
29876 char (*f) () = $ac_func;
29877 #endif
29878 #ifdef __cplusplus
29880 #endif
29883 main ()
29885 return f != $ac_func;
29887 return 0;
29889 _ACEOF
29890 rm -f conftest.$ac_objext conftest$ac_exeext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29892 (eval $ac_link) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); } &&
29896 { ac_try='test -s conftest$ac_exeext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 eval "$as_ac_var=yes"
29903 else
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 eval "$as_ac_var=no"
29909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29913 if test `eval echo '${'$as_ac_var'}'` = yes; then
29914 cat >>confdefs.h <<_ACEOF
29915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29916 _ACEOF
29919 done
29921 else
29923 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29924 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
29925 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29926 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
29927 echo $ECHO_N "(cached) $ECHO_C" >&6
29928 else
29932 ac_ext=cc
29933 ac_cpp='$CXXCPP $CPPFLAGS'
29934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29938 cat >conftest.$ac_ext <<_ACEOF
29939 #line $LINENO "configure"
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945 #include <math.h>
29946 #ifdef HAVE_IEEEFP_H
29947 #include <ieeefp.h>
29948 #endif
29951 main ()
29953 _qfpclass(0);
29955 return 0;
29957 _ACEOF
29958 rm -f conftest.$ac_objext
29959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29960 (eval $ac_compile) 2>&5
29961 ac_status=$?
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } &&
29964 { ac_try='test -s conftest.$ac_objext'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; }; then
29970 glibcxx_cv_func__qfpclass_use=yes
29971 else
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.$ac_ext >&5
29975 glibcxx_cv_func__qfpclass_use=no
29977 rm -f conftest.$ac_objext conftest.$ac_ext
29978 ac_ext=c
29979 ac_cpp='$CPP $CPPFLAGS'
29980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
29989 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
29991 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29993 for ac_func in _qfpclass
29995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29996 echo "$as_me:$LINENO: checking for $ac_func" >&5
29997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29998 if eval "test \"\${$as_ac_var+set}\" = set"; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30000 else
30001 if test x$gcc_no_link = xyes; then
30002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30004 { (exit 1); exit 1; }; }
30006 cat >conftest.$ac_ext <<_ACEOF
30007 #line $LINENO "configure"
30008 /* confdefs.h. */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* System header to define __stub macros and hopefully few prototypes,
30014 which can conflict with char $ac_func (); below.
30015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30016 <limits.h> exists even on freestanding compilers. */
30017 #ifdef __STDC__
30018 # include <limits.h>
30019 #else
30020 # include <assert.h>
30021 #endif
30022 /* Override any gcc2 internal prototype to avoid an error. */
30023 #ifdef __cplusplus
30024 extern "C"
30026 #endif
30027 /* We use char because int might match the return type of a gcc2
30028 builtin and then its argument prototype would still apply. */
30029 char $ac_func ();
30030 /* The GNU C library defines this for functions which it implements
30031 to always fail with ENOSYS. Some functions are actually named
30032 something starting with __ and the normal name is an alias. */
30033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30034 choke me
30035 #else
30036 char (*f) () = $ac_func;
30037 #endif
30038 #ifdef __cplusplus
30040 #endif
30043 main ()
30045 return f != $ac_func;
30047 return 0;
30049 _ACEOF
30050 rm -f conftest.$ac_objext conftest$ac_exeext
30051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30052 (eval $ac_link) 2>&5
30053 ac_status=$?
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } &&
30056 { ac_try='test -s conftest$ac_exeext'
30057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058 (eval $ac_try) 2>&5
30059 ac_status=$?
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); }; }; then
30062 eval "$as_ac_var=yes"
30063 else
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30067 eval "$as_ac_var=no"
30069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30073 if test `eval echo '${'$as_ac_var'}'` = yes; then
30074 cat >>confdefs.h <<_ACEOF
30075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30076 _ACEOF
30079 done
30086 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30087 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30088 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30089 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 else
30095 ac_ext=cc
30096 ac_cpp='$CXXCPP $CPPFLAGS'
30097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30101 cat >conftest.$ac_ext <<_ACEOF
30102 #line $LINENO "configure"
30103 /* confdefs.h. */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <math.h>
30110 main ()
30112 hypot(0, 0);
30114 return 0;
30116 _ACEOF
30117 rm -f conftest.$ac_objext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30119 (eval $ac_compile) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try='test -s conftest.$ac_objext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30129 glibcxx_cv_func_hypot_use=yes
30130 else
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30134 glibcxx_cv_func_hypot_use=no
30136 rm -f conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30148 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30150 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30152 for ac_func in hypot
30154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30155 echo "$as_me:$LINENO: checking for $ac_func" >&5
30156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30157 if eval "test \"\${$as_ac_var+set}\" = set"; then
30158 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 else
30160 if test x$gcc_no_link = xyes; then
30161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30163 { (exit 1); exit 1; }; }
30165 cat >conftest.$ac_ext <<_ACEOF
30166 #line $LINENO "configure"
30167 /* confdefs.h. */
30168 _ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30172 /* System header to define __stub macros and hopefully few prototypes,
30173 which can conflict with char $ac_func (); below.
30174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30175 <limits.h> exists even on freestanding compilers. */
30176 #ifdef __STDC__
30177 # include <limits.h>
30178 #else
30179 # include <assert.h>
30180 #endif
30181 /* Override any gcc2 internal prototype to avoid an error. */
30182 #ifdef __cplusplus
30183 extern "C"
30185 #endif
30186 /* We use char because int might match the return type of a gcc2
30187 builtin and then its argument prototype would still apply. */
30188 char $ac_func ();
30189 /* The GNU C library defines this for functions which it implements
30190 to always fail with ENOSYS. Some functions are actually named
30191 something starting with __ and the normal name is an alias. */
30192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30193 choke me
30194 #else
30195 char (*f) () = $ac_func;
30196 #endif
30197 #ifdef __cplusplus
30199 #endif
30202 main ()
30204 return f != $ac_func;
30206 return 0;
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211 (eval $ac_link) 2>&5
30212 ac_status=$?
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try='test -s conftest$ac_exeext'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; }; then
30221 eval "$as_ac_var=yes"
30222 else
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30226 eval "$as_ac_var=no"
30228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30232 if test `eval echo '${'$as_ac_var'}'` = yes; then
30233 cat >>confdefs.h <<_ACEOF
30234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30235 _ACEOF
30238 done
30240 else
30242 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30243 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30244 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30245 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 else
30251 ac_ext=cc
30252 ac_cpp='$CXXCPP $CPPFLAGS'
30253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30257 cat >conftest.$ac_ext <<_ACEOF
30258 #line $LINENO "configure"
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 #include <math.h>
30266 main ()
30268 _hypot(0, 0);
30270 return 0;
30272 _ACEOF
30273 rm -f conftest.$ac_objext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30275 (eval $ac_compile) 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); } &&
30279 { ac_try='test -s conftest.$ac_objext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 glibcxx_cv_func__hypot_use=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 glibcxx_cv_func__hypot_use=no
30292 rm -f conftest.$ac_objext conftest.$ac_ext
30293 ac_ext=c
30294 ac_cpp='$CPP $CPPFLAGS'
30295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30304 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30306 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30308 for ac_func in _hypot
30310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30311 echo "$as_me:$LINENO: checking for $ac_func" >&5
30312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30313 if eval "test \"\${$as_ac_var+set}\" = set"; then
30314 echo $ECHO_N "(cached) $ECHO_C" >&6
30315 else
30316 if test x$gcc_no_link = xyes; then
30317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30319 { (exit 1); exit 1; }; }
30321 cat >conftest.$ac_ext <<_ACEOF
30322 #line $LINENO "configure"
30323 /* confdefs.h. */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30328 /* System header to define __stub macros and hopefully few prototypes,
30329 which can conflict with char $ac_func (); below.
30330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30331 <limits.h> exists even on freestanding compilers. */
30332 #ifdef __STDC__
30333 # include <limits.h>
30334 #else
30335 # include <assert.h>
30336 #endif
30337 /* Override any gcc2 internal prototype to avoid an error. */
30338 #ifdef __cplusplus
30339 extern "C"
30341 #endif
30342 /* We use char because int might match the return type of a gcc2
30343 builtin and then its argument prototype would still apply. */
30344 char $ac_func ();
30345 /* The GNU C library defines this for functions which it implements
30346 to always fail with ENOSYS. Some functions are actually named
30347 something starting with __ and the normal name is an alias. */
30348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30349 choke me
30350 #else
30351 char (*f) () = $ac_func;
30352 #endif
30353 #ifdef __cplusplus
30355 #endif
30358 main ()
30360 return f != $ac_func;
30362 return 0;
30364 _ACEOF
30365 rm -f conftest.$ac_objext conftest$ac_exeext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30367 (eval $ac_link) 2>&5
30368 ac_status=$?
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } &&
30371 { ac_try='test -s conftest$ac_exeext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30374 ac_status=$?
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30377 eval "$as_ac_var=yes"
30378 else
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30382 eval "$as_ac_var=no"
30384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30388 if test `eval echo '${'$as_ac_var'}'` = yes; then
30389 cat >>confdefs.h <<_ACEOF
30390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30391 _ACEOF
30394 done
30401 echo "$as_me:$LINENO: checking for float trig functions" >&5
30402 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30403 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30404 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 else
30409 ac_ext=cc
30410 ac_cpp='$CXXCPP $CPPFLAGS'
30411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415 cat >conftest.$ac_ext <<_ACEOF
30416 #line $LINENO "configure"
30417 /* confdefs.h. */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422 #include <math.h>
30424 main ()
30426 `for x in acosf asinf atanf \
30427 cosf sinf tanf \
30428 coshf sinhf tanhf; do echo "$x (0);"; done`
30430 return 0;
30432 _ACEOF
30433 rm -f conftest.$ac_objext
30434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30435 (eval $ac_compile) 2>&5
30436 ac_status=$?
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try='test -s conftest.$ac_objext'
30440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441 (eval $ac_try) 2>&5
30442 ac_status=$?
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; }; then
30445 glibcxx_cv_func_float_trig_use=yes
30446 else
30447 echo "$as_me: failed program was:" >&5
30448 sed 's/^/| /' conftest.$ac_ext >&5
30450 glibcxx_cv_func_float_trig_use=no
30452 rm -f conftest.$ac_objext conftest.$ac_ext
30453 ac_ext=c
30454 ac_cpp='$CPP $CPPFLAGS'
30455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30462 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30463 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30473 for ac_func in acosf asinf atanf \
30474 cosf sinf tanf \
30475 coshf sinhf tanhf
30477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30478 echo "$as_me:$LINENO: checking for $ac_func" >&5
30479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30480 if eval "test \"\${$as_ac_var+set}\" = set"; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 else
30483 if test x$gcc_no_link = xyes; then
30484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30486 { (exit 1); exit 1; }; }
30488 cat >conftest.$ac_ext <<_ACEOF
30489 #line $LINENO "configure"
30490 /* confdefs.h. */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495 /* System header to define __stub macros and hopefully few prototypes,
30496 which can conflict with char $ac_func (); below.
30497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30498 <limits.h> exists even on freestanding compilers. */
30499 #ifdef __STDC__
30500 # include <limits.h>
30501 #else
30502 # include <assert.h>
30503 #endif
30504 /* Override any gcc2 internal prototype to avoid an error. */
30505 #ifdef __cplusplus
30506 extern "C"
30508 #endif
30509 /* We use char because int might match the return type of a gcc2
30510 builtin and then its argument prototype would still apply. */
30511 char $ac_func ();
30512 /* The GNU C library defines this for functions which it implements
30513 to always fail with ENOSYS. Some functions are actually named
30514 something starting with __ and the normal name is an alias. */
30515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30516 choke me
30517 #else
30518 char (*f) () = $ac_func;
30519 #endif
30520 #ifdef __cplusplus
30522 #endif
30525 main ()
30527 return f != $ac_func;
30529 return 0;
30531 _ACEOF
30532 rm -f conftest.$ac_objext conftest$ac_exeext
30533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30534 (eval $ac_link) 2>&5
30535 ac_status=$?
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); } &&
30538 { ac_try='test -s conftest$ac_exeext'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30544 eval "$as_ac_var=yes"
30545 else
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30549 eval "$as_ac_var=no"
30551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30555 if test `eval echo '${'$as_ac_var'}'` = yes; then
30556 cat >>confdefs.h <<_ACEOF
30557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30558 _ACEOF
30561 done
30566 echo "$as_me:$LINENO: checking for float round functions" >&5
30567 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30568 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 else
30574 ac_ext=cc
30575 ac_cpp='$CXXCPP $CPPFLAGS'
30576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30580 cat >conftest.$ac_ext <<_ACEOF
30581 #line $LINENO "configure"
30582 /* confdefs.h. */
30583 _ACEOF
30584 cat confdefs.h >>conftest.$ac_ext
30585 cat >>conftest.$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30587 #include <math.h>
30589 main ()
30591 `for x in ceilf floorf; do echo "$x (0);"; done`
30593 return 0;
30595 _ACEOF
30596 rm -f conftest.$ac_objext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30598 (eval $ac_compile) 2>&5
30599 ac_status=$?
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); } &&
30602 { ac_try='test -s conftest.$ac_objext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 glibcxx_cv_func_float_round_use=yes
30609 else
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30613 glibcxx_cv_func_float_round_use=no
30615 rm -f conftest.$ac_objext conftest.$ac_ext
30616 ac_ext=c
30617 ac_cpp='$CPP $CPPFLAGS'
30618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30625 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30626 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30629 for ac_func in ceilf floorf
30631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30632 echo "$as_me:$LINENO: checking for $ac_func" >&5
30633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30634 if eval "test \"\${$as_ac_var+set}\" = set"; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 else
30637 if test x$gcc_no_link = xyes; then
30638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30640 { (exit 1); exit 1; }; }
30642 cat >conftest.$ac_ext <<_ACEOF
30643 #line $LINENO "configure"
30644 /* confdefs.h. */
30645 _ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30649 /* System header to define __stub macros and hopefully few prototypes,
30650 which can conflict with char $ac_func (); below.
30651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30652 <limits.h> exists even on freestanding compilers. */
30653 #ifdef __STDC__
30654 # include <limits.h>
30655 #else
30656 # include <assert.h>
30657 #endif
30658 /* Override any gcc2 internal prototype to avoid an error. */
30659 #ifdef __cplusplus
30660 extern "C"
30662 #endif
30663 /* We use char because int might match the return type of a gcc2
30664 builtin and then its argument prototype would still apply. */
30665 char $ac_func ();
30666 /* The GNU C library defines this for functions which it implements
30667 to always fail with ENOSYS. Some functions are actually named
30668 something starting with __ and the normal name is an alias. */
30669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30670 choke me
30671 #else
30672 char (*f) () = $ac_func;
30673 #endif
30674 #ifdef __cplusplus
30676 #endif
30679 main ()
30681 return f != $ac_func;
30683 return 0;
30685 _ACEOF
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30688 (eval $ac_link) 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } &&
30692 { ac_try='test -s conftest$ac_exeext'
30693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694 (eval $ac_try) 2>&5
30695 ac_status=$?
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); }; }; then
30698 eval "$as_ac_var=yes"
30699 else
30700 echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30703 eval "$as_ac_var=no"
30705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30709 if test `eval echo '${'$as_ac_var'}'` = yes; then
30710 cat >>confdefs.h <<_ACEOF
30711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30712 _ACEOF
30715 done
30721 echo "$as_me:$LINENO: checking for expf declaration" >&5
30722 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30723 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30724 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30725 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 else
30730 ac_ext=cc
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30736 cat >conftest.$ac_ext <<_ACEOF
30737 #line $LINENO "configure"
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 #include <math.h>
30744 #ifdef HAVE_IEEEFP_H
30745 #include <ieeefp.h>
30746 #endif
30749 main ()
30751 expf(0);
30753 return 0;
30755 _ACEOF
30756 rm -f conftest.$ac_objext
30757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30758 (eval $ac_compile) 2>&5
30759 ac_status=$?
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); } &&
30762 { ac_try='test -s conftest.$ac_objext'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30765 ac_status=$?
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; }; then
30768 glibcxx_cv_func_expf_use=yes
30769 else
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30773 glibcxx_cv_func_expf_use=no
30775 rm -f conftest.$ac_objext conftest.$ac_ext
30776 ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30787 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30789 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30791 for ac_func in expf
30793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30794 echo "$as_me:$LINENO: checking for $ac_func" >&5
30795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30796 if eval "test \"\${$as_ac_var+set}\" = set"; then
30797 echo $ECHO_N "(cached) $ECHO_C" >&6
30798 else
30799 if test x$gcc_no_link = xyes; then
30800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30802 { (exit 1); exit 1; }; }
30804 cat >conftest.$ac_ext <<_ACEOF
30805 #line $LINENO "configure"
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 /* System header to define __stub macros and hopefully few prototypes,
30812 which can conflict with char $ac_func (); below.
30813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30814 <limits.h> exists even on freestanding compilers. */
30815 #ifdef __STDC__
30816 # include <limits.h>
30817 #else
30818 # include <assert.h>
30819 #endif
30820 /* Override any gcc2 internal prototype to avoid an error. */
30821 #ifdef __cplusplus
30822 extern "C"
30824 #endif
30825 /* We use char because int might match the return type of a gcc2
30826 builtin and then its argument prototype would still apply. */
30827 char $ac_func ();
30828 /* The GNU C library defines this for functions which it implements
30829 to always fail with ENOSYS. Some functions are actually named
30830 something starting with __ and the normal name is an alias. */
30831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30832 choke me
30833 #else
30834 char (*f) () = $ac_func;
30835 #endif
30836 #ifdef __cplusplus
30838 #endif
30841 main ()
30843 return f != $ac_func;
30845 return 0;
30847 _ACEOF
30848 rm -f conftest.$ac_objext conftest$ac_exeext
30849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30850 (eval $ac_link) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -s conftest$ac_exeext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 eval "$as_ac_var=yes"
30861 else
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30865 eval "$as_ac_var=no"
30867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30871 if test `eval echo '${'$as_ac_var'}'` = yes; then
30872 cat >>confdefs.h <<_ACEOF
30873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30874 _ACEOF
30877 done
30879 else
30881 echo "$as_me:$LINENO: checking for _expf declaration" >&5
30882 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30883 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30884 if test "${glibcxx_cv_func__expf_use+set}" = set; then
30885 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 else
30890 ac_ext=cc
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30896 cat >conftest.$ac_ext <<_ACEOF
30897 #line $LINENO "configure"
30898 /* confdefs.h. */
30899 _ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903 #include <math.h>
30904 #ifdef HAVE_IEEEFP_H
30905 #include <ieeefp.h>
30906 #endif
30909 main ()
30911 _expf(0);
30913 return 0;
30915 _ACEOF
30916 rm -f conftest.$ac_objext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30918 (eval $ac_compile) 2>&5
30919 ac_status=$?
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); } &&
30922 { ac_try='test -s conftest.$ac_objext'
30923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30924 (eval $ac_try) 2>&5
30925 ac_status=$?
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); }; }; then
30928 glibcxx_cv_func__expf_use=yes
30929 else
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30933 glibcxx_cv_func__expf_use=no
30935 rm -f conftest.$ac_objext conftest.$ac_ext
30936 ac_ext=c
30937 ac_cpp='$CPP $CPPFLAGS'
30938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30946 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
30947 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
30949 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30951 for ac_func in _expf
30953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30954 echo "$as_me:$LINENO: checking for $ac_func" >&5
30955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30956 if eval "test \"\${$as_ac_var+set}\" = set"; then
30957 echo $ECHO_N "(cached) $ECHO_C" >&6
30958 else
30959 if test x$gcc_no_link = xyes; then
30960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30962 { (exit 1); exit 1; }; }
30964 cat >conftest.$ac_ext <<_ACEOF
30965 #line $LINENO "configure"
30966 /* confdefs.h. */
30967 _ACEOF
30968 cat confdefs.h >>conftest.$ac_ext
30969 cat >>conftest.$ac_ext <<_ACEOF
30970 /* end confdefs.h. */
30971 /* System header to define __stub macros and hopefully few prototypes,
30972 which can conflict with char $ac_func (); below.
30973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30974 <limits.h> exists even on freestanding compilers. */
30975 #ifdef __STDC__
30976 # include <limits.h>
30977 #else
30978 # include <assert.h>
30979 #endif
30980 /* Override any gcc2 internal prototype to avoid an error. */
30981 #ifdef __cplusplus
30982 extern "C"
30984 #endif
30985 /* We use char because int might match the return type of a gcc2
30986 builtin and then its argument prototype would still apply. */
30987 char $ac_func ();
30988 /* The GNU C library defines this for functions which it implements
30989 to always fail with ENOSYS. Some functions are actually named
30990 something starting with __ and the normal name is an alias. */
30991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30992 choke me
30993 #else
30994 char (*f) () = $ac_func;
30995 #endif
30996 #ifdef __cplusplus
30998 #endif
31001 main ()
31003 return f != $ac_func;
31005 return 0;
31007 _ACEOF
31008 rm -f conftest.$ac_objext conftest$ac_exeext
31009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31010 (eval $ac_link) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } &&
31014 { ac_try='test -s conftest$ac_exeext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 eval "$as_ac_var=yes"
31021 else
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31025 eval "$as_ac_var=no"
31027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31031 if test `eval echo '${'$as_ac_var'}'` = yes; then
31032 cat >>confdefs.h <<_ACEOF
31033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31034 _ACEOF
31037 done
31044 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31045 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31046 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31047 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31048 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 else
31053 ac_ext=cc
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059 cat >conftest.$ac_ext <<_ACEOF
31060 #line $LINENO "configure"
31061 /* confdefs.h. */
31062 _ACEOF
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h. */
31066 #include <math.h>
31067 #ifdef HAVE_IEEEFP_H
31068 #include <ieeefp.h>
31069 #endif
31072 main ()
31074 isnanf(0);
31076 return 0;
31078 _ACEOF
31079 rm -f conftest.$ac_objext
31080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31081 (eval $ac_compile) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); } &&
31085 { ac_try='test -s conftest.$ac_objext'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; }; then
31091 glibcxx_cv_func_isnanf_use=yes
31092 else
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31096 glibcxx_cv_func_isnanf_use=no
31098 rm -f conftest.$ac_objext conftest.$ac_ext
31099 ac_ext=c
31100 ac_cpp='$CPP $CPPFLAGS'
31101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31110 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31112 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31114 for ac_func in isnanf
31116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31117 echo "$as_me:$LINENO: checking for $ac_func" >&5
31118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31119 if eval "test \"\${$as_ac_var+set}\" = set"; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122 if test x$gcc_no_link = xyes; then
31123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31125 { (exit 1); exit 1; }; }
31127 cat >conftest.$ac_ext <<_ACEOF
31128 #line $LINENO "configure"
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 /* System header to define __stub macros and hopefully few prototypes,
31135 which can conflict with char $ac_func (); below.
31136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137 <limits.h> exists even on freestanding compilers. */
31138 #ifdef __STDC__
31139 # include <limits.h>
31140 #else
31141 # include <assert.h>
31142 #endif
31143 /* Override any gcc2 internal prototype to avoid an error. */
31144 #ifdef __cplusplus
31145 extern "C"
31147 #endif
31148 /* We use char because int might match the return type of a gcc2
31149 builtin and then its argument prototype would still apply. */
31150 char $ac_func ();
31151 /* The GNU C library defines this for functions which it implements
31152 to always fail with ENOSYS. Some functions are actually named
31153 something starting with __ and the normal name is an alias. */
31154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31155 choke me
31156 #else
31157 char (*f) () = $ac_func;
31158 #endif
31159 #ifdef __cplusplus
31161 #endif
31164 main ()
31166 return f != $ac_func;
31168 return 0;
31170 _ACEOF
31171 rm -f conftest.$ac_objext conftest$ac_exeext
31172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31173 (eval $ac_link) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -s conftest$ac_exeext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 eval "$as_ac_var=yes"
31184 else
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31188 eval "$as_ac_var=no"
31190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31194 if test `eval echo '${'$as_ac_var'}'` = yes; then
31195 cat >>confdefs.h <<_ACEOF
31196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31197 _ACEOF
31200 done
31202 else
31204 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31205 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31206 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31207 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 else
31213 ac_ext=cc
31214 ac_cpp='$CXXCPP $CPPFLAGS'
31215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31219 cat >conftest.$ac_ext <<_ACEOF
31220 #line $LINENO "configure"
31221 /* confdefs.h. */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226 #include <math.h>
31227 #ifdef HAVE_IEEEFP_H
31228 #include <ieeefp.h>
31229 #endif
31232 main ()
31234 _isnanf(0);
31236 return 0;
31238 _ACEOF
31239 rm -f conftest.$ac_objext
31240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31241 (eval $ac_compile) 2>&5
31242 ac_status=$?
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); } &&
31245 { ac_try='test -s conftest.$ac_objext'
31246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247 (eval $ac_try) 2>&5
31248 ac_status=$?
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); }; }; then
31251 glibcxx_cv_func__isnanf_use=yes
31252 else
31253 echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.$ac_ext >&5
31256 glibcxx_cv_func__isnanf_use=no
31258 rm -f conftest.$ac_objext conftest.$ac_ext
31259 ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31270 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31272 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31274 for ac_func in _isnanf
31276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31277 echo "$as_me:$LINENO: checking for $ac_func" >&5
31278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31279 if eval "test \"\${$as_ac_var+set}\" = set"; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 else
31282 if test x$gcc_no_link = xyes; then
31283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31285 { (exit 1); exit 1; }; }
31287 cat >conftest.$ac_ext <<_ACEOF
31288 #line $LINENO "configure"
31289 /* confdefs.h. */
31290 _ACEOF
31291 cat confdefs.h >>conftest.$ac_ext
31292 cat >>conftest.$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31294 /* System header to define __stub macros and hopefully few prototypes,
31295 which can conflict with char $ac_func (); below.
31296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31297 <limits.h> exists even on freestanding compilers. */
31298 #ifdef __STDC__
31299 # include <limits.h>
31300 #else
31301 # include <assert.h>
31302 #endif
31303 /* Override any gcc2 internal prototype to avoid an error. */
31304 #ifdef __cplusplus
31305 extern "C"
31307 #endif
31308 /* We use char because int might match the return type of a gcc2
31309 builtin and then its argument prototype would still apply. */
31310 char $ac_func ();
31311 /* The GNU C library defines this for functions which it implements
31312 to always fail with ENOSYS. Some functions are actually named
31313 something starting with __ and the normal name is an alias. */
31314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31315 choke me
31316 #else
31317 char (*f) () = $ac_func;
31318 #endif
31319 #ifdef __cplusplus
31321 #endif
31324 main ()
31326 return f != $ac_func;
31328 return 0;
31330 _ACEOF
31331 rm -f conftest.$ac_objext conftest$ac_exeext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31333 (eval $ac_link) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try='test -s conftest$ac_exeext'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31340 ac_status=$?
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31343 eval "$as_ac_var=yes"
31344 else
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.$ac_ext >&5
31348 eval "$as_ac_var=no"
31350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31354 if test `eval echo '${'$as_ac_var'}'` = yes; then
31355 cat >>confdefs.h <<_ACEOF
31356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31357 _ACEOF
31360 done
31367 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31368 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31369 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31370 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31371 echo $ECHO_N "(cached) $ECHO_C" >&6
31372 else
31376 ac_ext=cc
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31382 cat >conftest.$ac_ext <<_ACEOF
31383 #line $LINENO "configure"
31384 /* confdefs.h. */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389 #include <math.h>
31390 #ifdef HAVE_IEEEFP_H
31391 #include <ieeefp.h>
31392 #endif
31395 main ()
31397 isinff(0);
31399 return 0;
31401 _ACEOF
31402 rm -f conftest.$ac_objext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31404 (eval $ac_compile) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest.$ac_objext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 glibcxx_cv_func_isinff_use=yes
31415 else
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31419 glibcxx_cv_func_isinff_use=no
31421 rm -f conftest.$ac_objext conftest.$ac_ext
31422 ac_ext=c
31423 ac_cpp='$CPP $CPPFLAGS'
31424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31433 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31435 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31437 for ac_func in isinff
31439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31440 echo "$as_me:$LINENO: checking for $ac_func" >&5
31441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31442 if eval "test \"\${$as_ac_var+set}\" = set"; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 if test x$gcc_no_link = xyes; then
31446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31448 { (exit 1); exit 1; }; }
31450 cat >conftest.$ac_ext <<_ACEOF
31451 #line $LINENO "configure"
31452 /* confdefs.h. */
31453 _ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 /* System header to define __stub macros and hopefully few prototypes,
31458 which can conflict with char $ac_func (); below.
31459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31460 <limits.h> exists even on freestanding compilers. */
31461 #ifdef __STDC__
31462 # include <limits.h>
31463 #else
31464 # include <assert.h>
31465 #endif
31466 /* Override any gcc2 internal prototype to avoid an error. */
31467 #ifdef __cplusplus
31468 extern "C"
31470 #endif
31471 /* We use char because int might match the return type of a gcc2
31472 builtin and then its argument prototype would still apply. */
31473 char $ac_func ();
31474 /* The GNU C library defines this for functions which it implements
31475 to always fail with ENOSYS. Some functions are actually named
31476 something starting with __ and the normal name is an alias. */
31477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31478 choke me
31479 #else
31480 char (*f) () = $ac_func;
31481 #endif
31482 #ifdef __cplusplus
31484 #endif
31487 main ()
31489 return f != $ac_func;
31491 return 0;
31493 _ACEOF
31494 rm -f conftest.$ac_objext conftest$ac_exeext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31496 (eval $ac_link) 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } &&
31500 { ac_try='test -s conftest$ac_exeext'
31501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31502 (eval $ac_try) 2>&5
31503 ac_status=$?
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); }; }; then
31506 eval "$as_ac_var=yes"
31507 else
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31511 eval "$as_ac_var=no"
31513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31517 if test `eval echo '${'$as_ac_var'}'` = yes; then
31518 cat >>confdefs.h <<_ACEOF
31519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31520 _ACEOF
31523 done
31525 else
31527 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31528 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31529 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31530 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 else
31536 ac_ext=cc
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat >conftest.$ac_ext <<_ACEOF
31543 #line $LINENO "configure"
31544 /* confdefs.h. */
31545 _ACEOF
31546 cat confdefs.h >>conftest.$ac_ext
31547 cat >>conftest.$ac_ext <<_ACEOF
31548 /* end confdefs.h. */
31549 #include <math.h>
31550 #ifdef HAVE_IEEEFP_H
31551 #include <ieeefp.h>
31552 #endif
31555 main ()
31557 _isinff(0);
31559 return 0;
31561 _ACEOF
31562 rm -f conftest.$ac_objext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31564 (eval $ac_compile) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); } &&
31568 { ac_try='test -s conftest.$ac_objext'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31571 ac_status=$?
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; }; then
31574 glibcxx_cv_func__isinff_use=yes
31575 else
31576 echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.$ac_ext >&5
31579 glibcxx_cv_func__isinff_use=no
31581 rm -f conftest.$ac_objext conftest.$ac_ext
31582 ac_ext=c
31583 ac_cpp='$CPP $CPPFLAGS'
31584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31593 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31595 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31597 for ac_func in _isinff
31599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31600 echo "$as_me:$LINENO: checking for $ac_func" >&5
31601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31602 if eval "test \"\${$as_ac_var+set}\" = set"; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605 if test x$gcc_no_link = xyes; then
31606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31608 { (exit 1); exit 1; }; }
31610 cat >conftest.$ac_ext <<_ACEOF
31611 #line $LINENO "configure"
31612 /* confdefs.h. */
31613 _ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31617 /* System header to define __stub macros and hopefully few prototypes,
31618 which can conflict with char $ac_func (); below.
31619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31620 <limits.h> exists even on freestanding compilers. */
31621 #ifdef __STDC__
31622 # include <limits.h>
31623 #else
31624 # include <assert.h>
31625 #endif
31626 /* Override any gcc2 internal prototype to avoid an error. */
31627 #ifdef __cplusplus
31628 extern "C"
31630 #endif
31631 /* We use char because int might match the return type of a gcc2
31632 builtin and then its argument prototype would still apply. */
31633 char $ac_func ();
31634 /* The GNU C library defines this for functions which it implements
31635 to always fail with ENOSYS. Some functions are actually named
31636 something starting with __ and the normal name is an alias. */
31637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31638 choke me
31639 #else
31640 char (*f) () = $ac_func;
31641 #endif
31642 #ifdef __cplusplus
31644 #endif
31647 main ()
31649 return f != $ac_func;
31651 return 0;
31653 _ACEOF
31654 rm -f conftest.$ac_objext conftest$ac_exeext
31655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31656 (eval $ac_link) 2>&5
31657 ac_status=$?
31658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659 (exit $ac_status); } &&
31660 { ac_try='test -s conftest$ac_exeext'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31663 ac_status=$?
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; }; then
31666 eval "$as_ac_var=yes"
31667 else
31668 echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.$ac_ext >&5
31671 eval "$as_ac_var=no"
31673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31677 if test `eval echo '${'$as_ac_var'}'` = yes; then
31678 cat >>confdefs.h <<_ACEOF
31679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31680 _ACEOF
31683 done
31690 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31691 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31692 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31693 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31699 ac_ext=cc
31700 ac_cpp='$CXXCPP $CPPFLAGS'
31701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31705 cat >conftest.$ac_ext <<_ACEOF
31706 #line $LINENO "configure"
31707 /* confdefs.h. */
31708 _ACEOF
31709 cat confdefs.h >>conftest.$ac_ext
31710 cat >>conftest.$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31712 #include <math.h>
31714 main ()
31716 atan2f(0, 0);
31718 return 0;
31720 _ACEOF
31721 rm -f conftest.$ac_objext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31723 (eval $ac_compile) 2>&5
31724 ac_status=$?
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); } &&
31727 { ac_try='test -s conftest.$ac_objext'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31730 ac_status=$?
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; }; then
31733 glibcxx_cv_func_atan2f_use=yes
31734 else
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.$ac_ext >&5
31738 glibcxx_cv_func_atan2f_use=no
31740 rm -f conftest.$ac_objext conftest.$ac_ext
31741 ac_ext=c
31742 ac_cpp='$CPP $CPPFLAGS'
31743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31752 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31754 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31756 for ac_func in atan2f
31758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764 if test x$gcc_no_link = xyes; then
31765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31767 { (exit 1); exit 1; }; }
31769 cat >conftest.$ac_ext <<_ACEOF
31770 #line $LINENO "configure"
31771 /* confdefs.h. */
31772 _ACEOF
31773 cat confdefs.h >>conftest.$ac_ext
31774 cat >>conftest.$ac_ext <<_ACEOF
31775 /* end confdefs.h. */
31776 /* System header to define __stub macros and hopefully few prototypes,
31777 which can conflict with char $ac_func (); below.
31778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31779 <limits.h> exists even on freestanding compilers. */
31780 #ifdef __STDC__
31781 # include <limits.h>
31782 #else
31783 # include <assert.h>
31784 #endif
31785 /* Override any gcc2 internal prototype to avoid an error. */
31786 #ifdef __cplusplus
31787 extern "C"
31789 #endif
31790 /* We use char because int might match the return type of a gcc2
31791 builtin and then its argument prototype would still apply. */
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794 to always fail with ENOSYS. Some functions are actually named
31795 something starting with __ and the normal name is an alias. */
31796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31797 choke me
31798 #else
31799 char (*f) () = $ac_func;
31800 #endif
31801 #ifdef __cplusplus
31803 #endif
31806 main ()
31808 return f != $ac_func;
31810 return 0;
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815 (eval $ac_link) 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); } &&
31819 { ac_try='test -s conftest$ac_exeext'
31820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821 (eval $ac_try) 2>&5
31822 ac_status=$?
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; }; then
31825 eval "$as_ac_var=yes"
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31830 eval "$as_ac_var=no"
31832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31836 if test `eval echo '${'$as_ac_var'}'` = yes; then
31837 cat >>confdefs.h <<_ACEOF
31838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31839 _ACEOF
31842 done
31844 else
31846 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31847 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31848 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31849 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 else
31855 ac_ext=cc
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861 cat >conftest.$ac_ext <<_ACEOF
31862 #line $LINENO "configure"
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868 #include <math.h>
31870 main ()
31872 _atan2f(0, 0);
31874 return 0;
31876 _ACEOF
31877 rm -f conftest.$ac_objext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31879 (eval $ac_compile) 2>&5
31880 ac_status=$?
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } &&
31883 { ac_try='test -s conftest.$ac_objext'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31886 ac_status=$?
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; }; then
31889 glibcxx_cv_func__atan2f_use=yes
31890 else
31891 echo "$as_me: failed program was:" >&5
31892 sed 's/^/| /' conftest.$ac_ext >&5
31894 glibcxx_cv_func__atan2f_use=no
31896 rm -f conftest.$ac_objext conftest.$ac_ext
31897 ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31908 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31910 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31912 for ac_func in _atan2f
31914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31915 echo "$as_me:$LINENO: checking for $ac_func" >&5
31916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31917 if eval "test \"\${$as_ac_var+set}\" = set"; then
31918 echo $ECHO_N "(cached) $ECHO_C" >&6
31919 else
31920 if test x$gcc_no_link = xyes; then
31921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31923 { (exit 1); exit 1; }; }
31925 cat >conftest.$ac_ext <<_ACEOF
31926 #line $LINENO "configure"
31927 /* confdefs.h. */
31928 _ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31932 /* System header to define __stub macros and hopefully few prototypes,
31933 which can conflict with char $ac_func (); below.
31934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31935 <limits.h> exists even on freestanding compilers. */
31936 #ifdef __STDC__
31937 # include <limits.h>
31938 #else
31939 # include <assert.h>
31940 #endif
31941 /* Override any gcc2 internal prototype to avoid an error. */
31942 #ifdef __cplusplus
31943 extern "C"
31945 #endif
31946 /* We use char because int might match the return type of a gcc2
31947 builtin and then its argument prototype would still apply. */
31948 char $ac_func ();
31949 /* The GNU C library defines this for functions which it implements
31950 to always fail with ENOSYS. Some functions are actually named
31951 something starting with __ and the normal name is an alias. */
31952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31953 choke me
31954 #else
31955 char (*f) () = $ac_func;
31956 #endif
31957 #ifdef __cplusplus
31959 #endif
31962 main ()
31964 return f != $ac_func;
31966 return 0;
31968 _ACEOF
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971 (eval $ac_link) 2>&5
31972 ac_status=$?
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); } &&
31975 { ac_try='test -s conftest$ac_exeext'
31976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977 (eval $ac_try) 2>&5
31978 ac_status=$?
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; }; then
31981 eval "$as_ac_var=yes"
31982 else
31983 echo "$as_me: failed program was:" >&5
31984 sed 's/^/| /' conftest.$ac_ext >&5
31986 eval "$as_ac_var=no"
31988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31992 if test `eval echo '${'$as_ac_var'}'` = yes; then
31993 cat >>confdefs.h <<_ACEOF
31994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31995 _ACEOF
31998 done
32005 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32006 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32007 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32008 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 else
32014 ac_ext=cc
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020 cat >conftest.$ac_ext <<_ACEOF
32021 #line $LINENO "configure"
32022 /* confdefs.h. */
32023 _ACEOF
32024 cat confdefs.h >>conftest.$ac_ext
32025 cat >>conftest.$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32027 #include <math.h>
32028 #ifdef HAVE_IEEEFP_H
32029 #include <ieeefp.h>
32030 #endif
32033 main ()
32035 fabsf(0);
32037 return 0;
32039 _ACEOF
32040 rm -f conftest.$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } &&
32046 { ac_try='test -s conftest.$ac_objext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 glibcxx_cv_func_fabsf_use=yes
32053 else
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32057 glibcxx_cv_func_fabsf_use=no
32059 rm -f conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32071 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32073 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32075 for ac_func in fabsf
32077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32078 echo "$as_me:$LINENO: checking for $ac_func" >&5
32079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32080 if eval "test \"\${$as_ac_var+set}\" = set"; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083 if test x$gcc_no_link = xyes; then
32084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32086 { (exit 1); exit 1; }; }
32088 cat >conftest.$ac_ext <<_ACEOF
32089 #line $LINENO "configure"
32090 /* confdefs.h. */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095 /* System header to define __stub macros and hopefully few prototypes,
32096 which can conflict with char $ac_func (); below.
32097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32098 <limits.h> exists even on freestanding compilers. */
32099 #ifdef __STDC__
32100 # include <limits.h>
32101 #else
32102 # include <assert.h>
32103 #endif
32104 /* Override any gcc2 internal prototype to avoid an error. */
32105 #ifdef __cplusplus
32106 extern "C"
32108 #endif
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32111 char $ac_func ();
32112 /* The GNU C library defines this for functions which it implements
32113 to always fail with ENOSYS. Some functions are actually named
32114 something starting with __ and the normal name is an alias. */
32115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32116 choke me
32117 #else
32118 char (*f) () = $ac_func;
32119 #endif
32120 #ifdef __cplusplus
32122 #endif
32125 main ()
32127 return f != $ac_func;
32129 return 0;
32131 _ACEOF
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134 (eval $ac_link) 2>&5
32135 ac_status=$?
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -s conftest$ac_exeext'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 eval "$as_ac_var=yes"
32145 else
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32149 eval "$as_ac_var=no"
32151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32155 if test `eval echo '${'$as_ac_var'}'` = yes; then
32156 cat >>confdefs.h <<_ACEOF
32157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32158 _ACEOF
32161 done
32163 else
32165 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32166 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32167 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32168 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32174 ac_ext=cc
32175 ac_cpp='$CXXCPP $CPPFLAGS'
32176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32180 cat >conftest.$ac_ext <<_ACEOF
32181 #line $LINENO "configure"
32182 /* confdefs.h. */
32183 _ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32187 #include <math.h>
32188 #ifdef HAVE_IEEEFP_H
32189 #include <ieeefp.h>
32190 #endif
32193 main ()
32195 _fabsf(0);
32197 return 0;
32199 _ACEOF
32200 rm -f conftest.$ac_objext
32201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32202 (eval $ac_compile) 2>&5
32203 ac_status=$?
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try='test -s conftest.$ac_objext'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32209 ac_status=$?
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; }; then
32212 glibcxx_cv_func__fabsf_use=yes
32213 else
32214 echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32217 glibcxx_cv_func__fabsf_use=no
32219 rm -f conftest.$ac_objext conftest.$ac_ext
32220 ac_ext=c
32221 ac_cpp='$CPP $CPPFLAGS'
32222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32231 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32233 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32235 for ac_func in _fabsf
32237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32238 echo "$as_me:$LINENO: checking for $ac_func" >&5
32239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32240 if eval "test \"\${$as_ac_var+set}\" = set"; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32242 else
32243 if test x$gcc_no_link = xyes; then
32244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32246 { (exit 1); exit 1; }; }
32248 cat >conftest.$ac_ext <<_ACEOF
32249 #line $LINENO "configure"
32250 /* confdefs.h. */
32251 _ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32255 /* System header to define __stub macros and hopefully few prototypes,
32256 which can conflict with char $ac_func (); below.
32257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32258 <limits.h> exists even on freestanding compilers. */
32259 #ifdef __STDC__
32260 # include <limits.h>
32261 #else
32262 # include <assert.h>
32263 #endif
32264 /* Override any gcc2 internal prototype to avoid an error. */
32265 #ifdef __cplusplus
32266 extern "C"
32268 #endif
32269 /* We use char because int might match the return type of a gcc2
32270 builtin and then its argument prototype would still apply. */
32271 char $ac_func ();
32272 /* The GNU C library defines this for functions which it implements
32273 to always fail with ENOSYS. Some functions are actually named
32274 something starting with __ and the normal name is an alias. */
32275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32276 choke me
32277 #else
32278 char (*f) () = $ac_func;
32279 #endif
32280 #ifdef __cplusplus
32282 #endif
32285 main ()
32287 return f != $ac_func;
32289 return 0;
32291 _ACEOF
32292 rm -f conftest.$ac_objext conftest$ac_exeext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32294 (eval $ac_link) 2>&5
32295 ac_status=$?
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); } &&
32298 { ac_try='test -s conftest$ac_exeext'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32301 ac_status=$?
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; }; then
32304 eval "$as_ac_var=yes"
32305 else
32306 echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.$ac_ext >&5
32309 eval "$as_ac_var=no"
32311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32315 if test `eval echo '${'$as_ac_var'}'` = yes; then
32316 cat >>confdefs.h <<_ACEOF
32317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32318 _ACEOF
32321 done
32328 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32329 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32330 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32331 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32337 ac_ext=cc
32338 ac_cpp='$CXXCPP $CPPFLAGS'
32339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32343 cat >conftest.$ac_ext <<_ACEOF
32344 #line $LINENO "configure"
32345 /* confdefs.h. */
32346 _ACEOF
32347 cat confdefs.h >>conftest.$ac_ext
32348 cat >>conftest.$ac_ext <<_ACEOF
32349 /* end confdefs.h. */
32350 #include <math.h>
32352 main ()
32354 fmodf(0, 0);
32356 return 0;
32358 _ACEOF
32359 rm -f conftest.$ac_objext
32360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32361 (eval $ac_compile) 2>&5
32362 ac_status=$?
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); } &&
32365 { ac_try='test -s conftest.$ac_objext'
32366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 (eval $ac_try) 2>&5
32368 ac_status=$?
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); }; }; then
32371 glibcxx_cv_func_fmodf_use=yes
32372 else
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32376 glibcxx_cv_func_fmodf_use=no
32378 rm -f conftest.$ac_objext conftest.$ac_ext
32379 ac_ext=c
32380 ac_cpp='$CPP $CPPFLAGS'
32381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32390 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32392 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32394 for ac_func in fmodf
32396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32397 echo "$as_me:$LINENO: checking for $ac_func" >&5
32398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32399 if eval "test \"\${$as_ac_var+set}\" = set"; then
32400 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 else
32402 if test x$gcc_no_link = xyes; then
32403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32405 { (exit 1); exit 1; }; }
32407 cat >conftest.$ac_ext <<_ACEOF
32408 #line $LINENO "configure"
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414 /* System header to define __stub macros and hopefully few prototypes,
32415 which can conflict with char $ac_func (); below.
32416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32417 <limits.h> exists even on freestanding compilers. */
32418 #ifdef __STDC__
32419 # include <limits.h>
32420 #else
32421 # include <assert.h>
32422 #endif
32423 /* Override any gcc2 internal prototype to avoid an error. */
32424 #ifdef __cplusplus
32425 extern "C"
32427 #endif
32428 /* We use char because int might match the return type of a gcc2
32429 builtin and then its argument prototype would still apply. */
32430 char $ac_func ();
32431 /* The GNU C library defines this for functions which it implements
32432 to always fail with ENOSYS. Some functions are actually named
32433 something starting with __ and the normal name is an alias. */
32434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32435 choke me
32436 #else
32437 char (*f) () = $ac_func;
32438 #endif
32439 #ifdef __cplusplus
32441 #endif
32444 main ()
32446 return f != $ac_func;
32448 return 0;
32450 _ACEOF
32451 rm -f conftest.$ac_objext conftest$ac_exeext
32452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32453 (eval $ac_link) 2>&5
32454 ac_status=$?
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); } &&
32457 { ac_try='test -s conftest$ac_exeext'
32458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459 (eval $ac_try) 2>&5
32460 ac_status=$?
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); }; }; then
32463 eval "$as_ac_var=yes"
32464 else
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.$ac_ext >&5
32468 eval "$as_ac_var=no"
32470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32474 if test `eval echo '${'$as_ac_var'}'` = yes; then
32475 cat >>confdefs.h <<_ACEOF
32476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32477 _ACEOF
32480 done
32482 else
32484 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32485 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32486 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32487 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32493 ac_ext=cc
32494 ac_cpp='$CXXCPP $CPPFLAGS'
32495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32499 cat >conftest.$ac_ext <<_ACEOF
32500 #line $LINENO "configure"
32501 /* confdefs.h. */
32502 _ACEOF
32503 cat confdefs.h >>conftest.$ac_ext
32504 cat >>conftest.$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32506 #include <math.h>
32508 main ()
32510 _fmodf(0, 0);
32512 return 0;
32514 _ACEOF
32515 rm -f conftest.$ac_objext
32516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32517 (eval $ac_compile) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } &&
32521 { ac_try='test -s conftest.$ac_objext'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32524 ac_status=$?
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; }; then
32527 glibcxx_cv_func__fmodf_use=yes
32528 else
32529 echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.$ac_ext >&5
32532 glibcxx_cv_func__fmodf_use=no
32534 rm -f conftest.$ac_objext conftest.$ac_ext
32535 ac_ext=c
32536 ac_cpp='$CPP $CPPFLAGS'
32537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32546 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32548 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32550 for ac_func in _fmodf
32552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32553 echo "$as_me:$LINENO: checking for $ac_func" >&5
32554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32555 if eval "test \"\${$as_ac_var+set}\" = set"; then
32556 echo $ECHO_N "(cached) $ECHO_C" >&6
32557 else
32558 if test x$gcc_no_link = xyes; then
32559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32561 { (exit 1); exit 1; }; }
32563 cat >conftest.$ac_ext <<_ACEOF
32564 #line $LINENO "configure"
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570 /* System header to define __stub macros and hopefully few prototypes,
32571 which can conflict with char $ac_func (); below.
32572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32573 <limits.h> exists even on freestanding compilers. */
32574 #ifdef __STDC__
32575 # include <limits.h>
32576 #else
32577 # include <assert.h>
32578 #endif
32579 /* Override any gcc2 internal prototype to avoid an error. */
32580 #ifdef __cplusplus
32581 extern "C"
32583 #endif
32584 /* We use char because int might match the return type of a gcc2
32585 builtin and then its argument prototype would still apply. */
32586 char $ac_func ();
32587 /* The GNU C library defines this for functions which it implements
32588 to always fail with ENOSYS. Some functions are actually named
32589 something starting with __ and the normal name is an alias. */
32590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32591 choke me
32592 #else
32593 char (*f) () = $ac_func;
32594 #endif
32595 #ifdef __cplusplus
32597 #endif
32600 main ()
32602 return f != $ac_func;
32604 return 0;
32606 _ACEOF
32607 rm -f conftest.$ac_objext conftest$ac_exeext
32608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32609 (eval $ac_link) 2>&5
32610 ac_status=$?
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } &&
32613 { ac_try='test -s conftest$ac_exeext'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32616 ac_status=$?
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; }; then
32619 eval "$as_ac_var=yes"
32620 else
32621 echo "$as_me: failed program was:" >&5
32622 sed 's/^/| /' conftest.$ac_ext >&5
32624 eval "$as_ac_var=no"
32626 rm -f conftest.$ac_objext 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 frexpf declaration" >&5
32644 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32645 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32646 if test "${glibcxx_cv_func_frexpf_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 #line $LINENO "configure"
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665 #include <math.h>
32667 main ()
32669 frexpf(0, 0);
32671 return 0;
32673 _ACEOF
32674 rm -f conftest.$ac_objext
32675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32676 (eval $ac_compile) 2>&5
32677 ac_status=$?
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } &&
32680 { ac_try='test -s conftest.$ac_objext'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; }; then
32686 glibcxx_cv_func_frexpf_use=yes
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32691 glibcxx_cv_func_frexpf_use=no
32693 rm -f conftest.$ac_objext conftest.$ac_ext
32694 ac_ext=c
32695 ac_cpp='$CPP $CPPFLAGS'
32696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32705 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32707 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32709 for ac_func in frexpf
32711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32712 echo "$as_me:$LINENO: checking for $ac_func" >&5
32713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32714 if eval "test \"\${$as_ac_var+set}\" = set"; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32716 else
32717 if test x$gcc_no_link = xyes; then
32718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32720 { (exit 1); exit 1; }; }
32722 cat >conftest.$ac_ext <<_ACEOF
32723 #line $LINENO "configure"
32724 /* confdefs.h. */
32725 _ACEOF
32726 cat confdefs.h >>conftest.$ac_ext
32727 cat >>conftest.$ac_ext <<_ACEOF
32728 /* end confdefs.h. */
32729 /* System header to define __stub macros and hopefully few prototypes,
32730 which can conflict with char $ac_func (); below.
32731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32732 <limits.h> exists even on freestanding compilers. */
32733 #ifdef __STDC__
32734 # include <limits.h>
32735 #else
32736 # include <assert.h>
32737 #endif
32738 /* Override any gcc2 internal prototype to avoid an error. */
32739 #ifdef __cplusplus
32740 extern "C"
32742 #endif
32743 /* We use char because int might match the return type of a gcc2
32744 builtin and then its argument prototype would still apply. */
32745 char $ac_func ();
32746 /* The GNU C library defines this for functions which it implements
32747 to always fail with ENOSYS. Some functions are actually named
32748 something starting with __ and the normal name is an alias. */
32749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32750 choke me
32751 #else
32752 char (*f) () = $ac_func;
32753 #endif
32754 #ifdef __cplusplus
32756 #endif
32759 main ()
32761 return f != $ac_func;
32763 return 0;
32765 _ACEOF
32766 rm -f conftest.$ac_objext conftest$ac_exeext
32767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32768 (eval $ac_link) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -s conftest$ac_exeext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_var=yes"
32779 else
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32783 eval "$as_ac_var=no"
32785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32789 if test `eval echo '${'$as_ac_var'}'` = yes; then
32790 cat >>confdefs.h <<_ACEOF
32791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32792 _ACEOF
32795 done
32797 else
32799 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32800 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32801 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32802 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32808 ac_ext=cc
32809 ac_cpp='$CXXCPP $CPPFLAGS'
32810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32814 cat >conftest.$ac_ext <<_ACEOF
32815 #line $LINENO "configure"
32816 /* confdefs.h. */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32821 #include <math.h>
32823 main ()
32825 _frexpf(0, 0);
32827 return 0;
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832 (eval $ac_compile) 2>&5
32833 ac_status=$?
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } &&
32836 { ac_try='test -s conftest.$ac_objext'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; }; then
32842 glibcxx_cv_func__frexpf_use=yes
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32847 glibcxx_cv_func__frexpf_use=no
32849 rm -f conftest.$ac_objext conftest.$ac_ext
32850 ac_ext=c
32851 ac_cpp='$CPP $CPPFLAGS'
32852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32861 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32863 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32865 for ac_func in _frexpf
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 if test x$gcc_no_link = xyes; then
32874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32876 { (exit 1); exit 1; }; }
32878 cat >conftest.$ac_ext <<_ACEOF
32879 #line $LINENO "configure"
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* System header to define __stub macros and hopefully few prototypes,
32886 which can conflict with char $ac_func (); below.
32887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32888 <limits.h> exists even on freestanding compilers. */
32889 #ifdef __STDC__
32890 # include <limits.h>
32891 #else
32892 # include <assert.h>
32893 #endif
32894 /* Override any gcc2 internal prototype to avoid an error. */
32895 #ifdef __cplusplus
32896 extern "C"
32898 #endif
32899 /* We use char because int might match the return type of a gcc2
32900 builtin and then its argument prototype would still apply. */
32901 char $ac_func ();
32902 /* The GNU C library defines this for functions which it implements
32903 to always fail with ENOSYS. Some functions are actually named
32904 something starting with __ and the normal name is an alias. */
32905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32906 choke me
32907 #else
32908 char (*f) () = $ac_func;
32909 #endif
32910 #ifdef __cplusplus
32912 #endif
32915 main ()
32917 return f != $ac_func;
32919 return 0;
32921 _ACEOF
32922 rm -f conftest.$ac_objext conftest$ac_exeext
32923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32924 (eval $ac_link) 2>&5
32925 ac_status=$?
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); } &&
32928 { ac_try='test -s conftest$ac_exeext'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32931 ac_status=$?
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; }; then
32934 eval "$as_ac_var=yes"
32935 else
32936 echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.$ac_ext >&5
32939 eval "$as_ac_var=no"
32941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32945 if test `eval echo '${'$as_ac_var'}'` = yes; then
32946 cat >>confdefs.h <<_ACEOF
32947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32948 _ACEOF
32951 done
32958 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
32959 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
32960 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32961 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 else
32967 ac_ext=cc
32968 ac_cpp='$CXXCPP $CPPFLAGS'
32969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32973 cat >conftest.$ac_ext <<_ACEOF
32974 #line $LINENO "configure"
32975 /* confdefs.h. */
32976 _ACEOF
32977 cat confdefs.h >>conftest.$ac_ext
32978 cat >>conftest.$ac_ext <<_ACEOF
32979 /* end confdefs.h. */
32980 #include <math.h>
32982 main ()
32984 hypotf(0, 0);
32986 return 0;
32988 _ACEOF
32989 rm -f conftest.$ac_objext
32990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32991 (eval $ac_compile) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } &&
32995 { ac_try='test -s conftest.$ac_objext'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; }; then
33001 glibcxx_cv_func_hypotf_use=yes
33002 else
33003 echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.$ac_ext >&5
33006 glibcxx_cv_func_hypotf_use=no
33008 rm -f conftest.$ac_objext conftest.$ac_ext
33009 ac_ext=c
33010 ac_cpp='$CPP $CPPFLAGS'
33011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33020 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33022 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33024 for ac_func in hypotf
33026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33027 echo "$as_me:$LINENO: checking for $ac_func" >&5
33028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33029 if eval "test \"\${$as_ac_var+set}\" = set"; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 if test x$gcc_no_link = xyes; then
33033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33035 { (exit 1); exit 1; }; }
33037 cat >conftest.$ac_ext <<_ACEOF
33038 #line $LINENO "configure"
33039 /* confdefs.h. */
33040 _ACEOF
33041 cat confdefs.h >>conftest.$ac_ext
33042 cat >>conftest.$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33044 /* System header to define __stub macros and hopefully few prototypes,
33045 which can conflict with char $ac_func (); below.
33046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33047 <limits.h> exists even on freestanding compilers. */
33048 #ifdef __STDC__
33049 # include <limits.h>
33050 #else
33051 # include <assert.h>
33052 #endif
33053 /* Override any gcc2 internal prototype to avoid an error. */
33054 #ifdef __cplusplus
33055 extern "C"
33057 #endif
33058 /* We use char because int might match the return type of a gcc2
33059 builtin and then its argument prototype would still apply. */
33060 char $ac_func ();
33061 /* The GNU C library defines this for functions which it implements
33062 to always fail with ENOSYS. Some functions are actually named
33063 something starting with __ and the normal name is an alias. */
33064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33065 choke me
33066 #else
33067 char (*f) () = $ac_func;
33068 #endif
33069 #ifdef __cplusplus
33071 #endif
33074 main ()
33076 return f != $ac_func;
33078 return 0;
33080 _ACEOF
33081 rm -f conftest.$ac_objext conftest$ac_exeext
33082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33083 (eval $ac_link) 2>&5
33084 ac_status=$?
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } &&
33087 { ac_try='test -s conftest$ac_exeext'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33090 ac_status=$?
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093 eval "$as_ac_var=yes"
33094 else
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.$ac_ext >&5
33098 eval "$as_ac_var=no"
33100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33104 if test `eval echo '${'$as_ac_var'}'` = yes; then
33105 cat >>confdefs.h <<_ACEOF
33106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33107 _ACEOF
33110 done
33112 else
33114 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33115 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33117 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33123 ac_ext=cc
33124 ac_cpp='$CXXCPP $CPPFLAGS'
33125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33129 cat >conftest.$ac_ext <<_ACEOF
33130 #line $LINENO "configure"
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136 #include <math.h>
33138 main ()
33140 _hypotf(0, 0);
33142 return 0;
33144 _ACEOF
33145 rm -f conftest.$ac_objext
33146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33147 (eval $ac_compile) 2>&5
33148 ac_status=$?
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); } &&
33151 { ac_try='test -s conftest.$ac_objext'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33154 ac_status=$?
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 glibcxx_cv_func__hypotf_use=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 glibcxx_cv_func__hypotf_use=no
33164 rm -f conftest.$ac_objext conftest.$ac_ext
33165 ac_ext=c
33166 ac_cpp='$CPP $CPPFLAGS'
33167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33176 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33178 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33180 for ac_func in _hypotf
33182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33183 echo "$as_me:$LINENO: checking for $ac_func" >&5
33184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33185 if eval "test \"\${$as_ac_var+set}\" = set"; then
33186 echo $ECHO_N "(cached) $ECHO_C" >&6
33187 else
33188 if test x$gcc_no_link = xyes; then
33189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33191 { (exit 1); exit 1; }; }
33193 cat >conftest.$ac_ext <<_ACEOF
33194 #line $LINENO "configure"
33195 /* confdefs.h. */
33196 _ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33200 /* System header to define __stub macros and hopefully few prototypes,
33201 which can conflict with char $ac_func (); below.
33202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33203 <limits.h> exists even on freestanding compilers. */
33204 #ifdef __STDC__
33205 # include <limits.h>
33206 #else
33207 # include <assert.h>
33208 #endif
33209 /* Override any gcc2 internal prototype to avoid an error. */
33210 #ifdef __cplusplus
33211 extern "C"
33213 #endif
33214 /* We use char because int might match the return type of a gcc2
33215 builtin and then its argument prototype would still apply. */
33216 char $ac_func ();
33217 /* The GNU C library defines this for functions which it implements
33218 to always fail with ENOSYS. Some functions are actually named
33219 something starting with __ and the normal name is an alias. */
33220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33221 choke me
33222 #else
33223 char (*f) () = $ac_func;
33224 #endif
33225 #ifdef __cplusplus
33227 #endif
33230 main ()
33232 return f != $ac_func;
33234 return 0;
33236 _ACEOF
33237 rm -f conftest.$ac_objext conftest$ac_exeext
33238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33239 (eval $ac_link) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } &&
33243 { ac_try='test -s conftest$ac_exeext'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; }; then
33249 eval "$as_ac_var=yes"
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33254 eval "$as_ac_var=no"
33256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33260 if test `eval echo '${'$as_ac_var'}'` = yes; then
33261 cat >>confdefs.h <<_ACEOF
33262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33263 _ACEOF
33266 done
33273 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33274 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33275 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33276 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33282 ac_ext=cc
33283 ac_cpp='$CXXCPP $CPPFLAGS'
33284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33288 cat >conftest.$ac_ext <<_ACEOF
33289 #line $LINENO "configure"
33290 /* confdefs.h. */
33291 _ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33295 #include <math.h>
33297 main ()
33299 ldexpf(0, 0);
33301 return 0;
33303 _ACEOF
33304 rm -f conftest.$ac_objext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33306 (eval $ac_compile) 2>&5
33307 ac_status=$?
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } &&
33310 { ac_try='test -s conftest.$ac_objext'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33313 ac_status=$?
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; }; then
33316 glibcxx_cv_func_ldexpf_use=yes
33317 else
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33321 glibcxx_cv_func_ldexpf_use=no
33323 rm -f conftest.$ac_objext conftest.$ac_ext
33324 ac_ext=c
33325 ac_cpp='$CPP $CPPFLAGS'
33326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33335 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33337 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33339 for ac_func in ldexpf
33341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33342 echo "$as_me:$LINENO: checking for $ac_func" >&5
33343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33344 if eval "test \"\${$as_ac_var+set}\" = set"; then
33345 echo $ECHO_N "(cached) $ECHO_C" >&6
33346 else
33347 if test x$gcc_no_link = xyes; then
33348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33350 { (exit 1); exit 1; }; }
33352 cat >conftest.$ac_ext <<_ACEOF
33353 #line $LINENO "configure"
33354 /* confdefs.h. */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359 /* System header to define __stub macros and hopefully few prototypes,
33360 which can conflict with char $ac_func (); below.
33361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33362 <limits.h> exists even on freestanding compilers. */
33363 #ifdef __STDC__
33364 # include <limits.h>
33365 #else
33366 # include <assert.h>
33367 #endif
33368 /* Override any gcc2 internal prototype to avoid an error. */
33369 #ifdef __cplusplus
33370 extern "C"
33372 #endif
33373 /* We use char because int might match the return type of a gcc2
33374 builtin and then its argument prototype would still apply. */
33375 char $ac_func ();
33376 /* The GNU C library defines this for functions which it implements
33377 to always fail with ENOSYS. Some functions are actually named
33378 something starting with __ and the normal name is an alias. */
33379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33380 choke me
33381 #else
33382 char (*f) () = $ac_func;
33383 #endif
33384 #ifdef __cplusplus
33386 #endif
33389 main ()
33391 return f != $ac_func;
33393 return 0;
33395 _ACEOF
33396 rm -f conftest.$ac_objext conftest$ac_exeext
33397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33398 (eval $ac_link) 2>&5
33399 ac_status=$?
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } &&
33402 { ac_try='test -s conftest$ac_exeext'
33403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404 (eval $ac_try) 2>&5
33405 ac_status=$?
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; }; then
33408 eval "$as_ac_var=yes"
33409 else
33410 echo "$as_me: failed program was:" >&5
33411 sed 's/^/| /' conftest.$ac_ext >&5
33413 eval "$as_ac_var=no"
33415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33419 if test `eval echo '${'$as_ac_var'}'` = yes; then
33420 cat >>confdefs.h <<_ACEOF
33421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33422 _ACEOF
33425 done
33427 else
33429 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33430 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33431 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33432 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33438 ac_ext=cc
33439 ac_cpp='$CXXCPP $CPPFLAGS'
33440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33444 cat >conftest.$ac_ext <<_ACEOF
33445 #line $LINENO "configure"
33446 /* confdefs.h. */
33447 _ACEOF
33448 cat confdefs.h >>conftest.$ac_ext
33449 cat >>conftest.$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33451 #include <math.h>
33453 main ()
33455 _ldexpf(0, 0);
33457 return 0;
33459 _ACEOF
33460 rm -f conftest.$ac_objext
33461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33462 (eval $ac_compile) 2>&5
33463 ac_status=$?
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } &&
33466 { ac_try='test -s conftest.$ac_objext'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33469 ac_status=$?
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; }; then
33472 glibcxx_cv_func__ldexpf_use=yes
33473 else
33474 echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.$ac_ext >&5
33477 glibcxx_cv_func__ldexpf_use=no
33479 rm -f conftest.$ac_objext conftest.$ac_ext
33480 ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33491 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33493 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33495 for ac_func in _ldexpf
33497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33498 echo "$as_me:$LINENO: checking for $ac_func" >&5
33499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33500 if eval "test \"\${$as_ac_var+set}\" = set"; then
33501 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 else
33503 if test x$gcc_no_link = xyes; then
33504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33506 { (exit 1); exit 1; }; }
33508 cat >conftest.$ac_ext <<_ACEOF
33509 #line $LINENO "configure"
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 /* System header to define __stub macros and hopefully few prototypes,
33516 which can conflict with char $ac_func (); below.
33517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33518 <limits.h> exists even on freestanding compilers. */
33519 #ifdef __STDC__
33520 # include <limits.h>
33521 #else
33522 # include <assert.h>
33523 #endif
33524 /* Override any gcc2 internal prototype to avoid an error. */
33525 #ifdef __cplusplus
33526 extern "C"
33528 #endif
33529 /* We use char because int might match the return type of a gcc2
33530 builtin and then its argument prototype would still apply. */
33531 char $ac_func ();
33532 /* The GNU C library defines this for functions which it implements
33533 to always fail with ENOSYS. Some functions are actually named
33534 something starting with __ and the normal name is an alias. */
33535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33536 choke me
33537 #else
33538 char (*f) () = $ac_func;
33539 #endif
33540 #ifdef __cplusplus
33542 #endif
33545 main ()
33547 return f != $ac_func;
33549 return 0;
33551 _ACEOF
33552 rm -f conftest.$ac_objext conftest$ac_exeext
33553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33554 (eval $ac_link) 2>&5
33555 ac_status=$?
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); } &&
33558 { ac_try='test -s conftest$ac_exeext'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33561 ac_status=$?
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; }; then
33564 eval "$as_ac_var=yes"
33565 else
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.$ac_ext >&5
33569 eval "$as_ac_var=no"
33571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33575 if test `eval echo '${'$as_ac_var'}'` = yes; then
33576 cat >>confdefs.h <<_ACEOF
33577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33578 _ACEOF
33581 done
33588 echo "$as_me:$LINENO: checking for logf declaration" >&5
33589 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33590 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33591 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33593 else
33597 ac_ext=cc
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33603 cat >conftest.$ac_ext <<_ACEOF
33604 #line $LINENO "configure"
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <math.h>
33611 #ifdef HAVE_IEEEFP_H
33612 #include <ieeefp.h>
33613 #endif
33616 main ()
33618 logf(0);
33620 return 0;
33622 _ACEOF
33623 rm -f conftest.$ac_objext
33624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33625 (eval $ac_compile) 2>&5
33626 ac_status=$?
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } &&
33629 { ac_try='test -s conftest.$ac_objext'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33632 ac_status=$?
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; }; then
33635 glibcxx_cv_func_logf_use=yes
33636 else
33637 echo "$as_me: failed program was:" >&5
33638 sed 's/^/| /' conftest.$ac_ext >&5
33640 glibcxx_cv_func_logf_use=no
33642 rm -f conftest.$ac_objext conftest.$ac_ext
33643 ac_ext=c
33644 ac_cpp='$CPP $CPPFLAGS'
33645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33654 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33656 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33658 for ac_func in logf
33660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33661 echo "$as_me:$LINENO: checking for $ac_func" >&5
33662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33663 if eval "test \"\${$as_ac_var+set}\" = set"; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33665 else
33666 if test x$gcc_no_link = xyes; then
33667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33669 { (exit 1); exit 1; }; }
33671 cat >conftest.$ac_ext <<_ACEOF
33672 #line $LINENO "configure"
33673 /* confdefs.h. */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 /* System header to define __stub macros and hopefully few prototypes,
33679 which can conflict with char $ac_func (); below.
33680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33681 <limits.h> exists even on freestanding compilers. */
33682 #ifdef __STDC__
33683 # include <limits.h>
33684 #else
33685 # include <assert.h>
33686 #endif
33687 /* Override any gcc2 internal prototype to avoid an error. */
33688 #ifdef __cplusplus
33689 extern "C"
33691 #endif
33692 /* We use char because int might match the return type of a gcc2
33693 builtin and then its argument prototype would still apply. */
33694 char $ac_func ();
33695 /* The GNU C library defines this for functions which it implements
33696 to always fail with ENOSYS. Some functions are actually named
33697 something starting with __ and the normal name is an alias. */
33698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33699 choke me
33700 #else
33701 char (*f) () = $ac_func;
33702 #endif
33703 #ifdef __cplusplus
33705 #endif
33708 main ()
33710 return f != $ac_func;
33712 return 0;
33714 _ACEOF
33715 rm -f conftest.$ac_objext conftest$ac_exeext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33717 (eval $ac_link) 2>&5
33718 ac_status=$?
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); } &&
33721 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33727 eval "$as_ac_var=yes"
33728 else
33729 echo "$as_me: failed program was:" >&5
33730 sed 's/^/| /' conftest.$ac_ext >&5
33732 eval "$as_ac_var=no"
33734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33738 if test `eval echo '${'$as_ac_var'}'` = yes; then
33739 cat >>confdefs.h <<_ACEOF
33740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33741 _ACEOF
33744 done
33746 else
33748 echo "$as_me:$LINENO: checking for _logf declaration" >&5
33749 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33750 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33751 if test "${glibcxx_cv_func__logf_use+set}" = set; then
33752 echo $ECHO_N "(cached) $ECHO_C" >&6
33753 else
33757 ac_ext=cc
33758 ac_cpp='$CXXCPP $CPPFLAGS'
33759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763 cat >conftest.$ac_ext <<_ACEOF
33764 #line $LINENO "configure"
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 #include <math.h>
33771 #ifdef HAVE_IEEEFP_H
33772 #include <ieeefp.h>
33773 #endif
33776 main ()
33778 _logf(0);
33780 return 0;
33782 _ACEOF
33783 rm -f conftest.$ac_objext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33785 (eval $ac_compile) 2>&5
33786 ac_status=$?
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } &&
33789 { ac_try='test -s conftest.$ac_objext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33795 glibcxx_cv_func__logf_use=yes
33796 else
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33800 glibcxx_cv_func__logf_use=no
33802 rm -f conftest.$ac_objext conftest.$ac_ext
33803 ac_ext=c
33804 ac_cpp='$CPP $CPPFLAGS'
33805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33814 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33816 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33818 for ac_func in _logf
33820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33821 echo "$as_me:$LINENO: checking for $ac_func" >&5
33822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33823 if eval "test \"\${$as_ac_var+set}\" = set"; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 else
33826 if test x$gcc_no_link = xyes; then
33827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33829 { (exit 1); exit 1; }; }
33831 cat >conftest.$ac_ext <<_ACEOF
33832 #line $LINENO "configure"
33833 /* confdefs.h. */
33834 _ACEOF
33835 cat confdefs.h >>conftest.$ac_ext
33836 cat >>conftest.$ac_ext <<_ACEOF
33837 /* end confdefs.h. */
33838 /* System header to define __stub macros and hopefully few prototypes,
33839 which can conflict with char $ac_func (); below.
33840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33841 <limits.h> exists even on freestanding compilers. */
33842 #ifdef __STDC__
33843 # include <limits.h>
33844 #else
33845 # include <assert.h>
33846 #endif
33847 /* Override any gcc2 internal prototype to avoid an error. */
33848 #ifdef __cplusplus
33849 extern "C"
33851 #endif
33852 /* We use char because int might match the return type of a gcc2
33853 builtin and then its argument prototype would still apply. */
33854 char $ac_func ();
33855 /* The GNU C library defines this for functions which it implements
33856 to always fail with ENOSYS. Some functions are actually named
33857 something starting with __ and the normal name is an alias. */
33858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33859 choke me
33860 #else
33861 char (*f) () = $ac_func;
33862 #endif
33863 #ifdef __cplusplus
33865 #endif
33868 main ()
33870 return f != $ac_func;
33872 return 0;
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877 (eval $ac_link) 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try='test -s conftest$ac_exeext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 eval "$as_ac_var=yes"
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33892 eval "$as_ac_var=no"
33894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33898 if test `eval echo '${'$as_ac_var'}'` = yes; then
33899 cat >>confdefs.h <<_ACEOF
33900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33901 _ACEOF
33904 done
33911 echo "$as_me:$LINENO: checking for log10f declaration" >&5
33912 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33913 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33914 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33915 echo $ECHO_N "(cached) $ECHO_C" >&6
33916 else
33920 ac_ext=cc
33921 ac_cpp='$CXXCPP $CPPFLAGS'
33922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33926 cat >conftest.$ac_ext <<_ACEOF
33927 #line $LINENO "configure"
33928 /* confdefs.h. */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933 #include <math.h>
33934 #ifdef HAVE_IEEEFP_H
33935 #include <ieeefp.h>
33936 #endif
33939 main ()
33941 log10f(0);
33943 return 0;
33945 _ACEOF
33946 rm -f conftest.$ac_objext
33947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33948 (eval $ac_compile) 2>&5
33949 ac_status=$?
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try='test -s conftest.$ac_objext'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33955 ac_status=$?
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; }; then
33958 glibcxx_cv_func_log10f_use=yes
33959 else
33960 echo "$as_me: failed program was:" >&5
33961 sed 's/^/| /' conftest.$ac_ext >&5
33963 glibcxx_cv_func_log10f_use=no
33965 rm -f conftest.$ac_objext conftest.$ac_ext
33966 ac_ext=c
33967 ac_cpp='$CPP $CPPFLAGS'
33968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
33977 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
33979 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33981 for ac_func in log10f
33983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33984 echo "$as_me:$LINENO: checking for $ac_func" >&5
33985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33986 if eval "test \"\${$as_ac_var+set}\" = set"; then
33987 echo $ECHO_N "(cached) $ECHO_C" >&6
33988 else
33989 if test x$gcc_no_link = xyes; then
33990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33992 { (exit 1); exit 1; }; }
33994 cat >conftest.$ac_ext <<_ACEOF
33995 #line $LINENO "configure"
33996 /* confdefs.h. */
33997 _ACEOF
33998 cat confdefs.h >>conftest.$ac_ext
33999 cat >>conftest.$ac_ext <<_ACEOF
34000 /* end confdefs.h. */
34001 /* System header to define __stub macros and hopefully few prototypes,
34002 which can conflict with char $ac_func (); below.
34003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34004 <limits.h> exists even on freestanding compilers. */
34005 #ifdef __STDC__
34006 # include <limits.h>
34007 #else
34008 # include <assert.h>
34009 #endif
34010 /* Override any gcc2 internal prototype to avoid an error. */
34011 #ifdef __cplusplus
34012 extern "C"
34014 #endif
34015 /* We use char because int might match the return type of a gcc2
34016 builtin and then its argument prototype would still apply. */
34017 char $ac_func ();
34018 /* The GNU C library defines this for functions which it implements
34019 to always fail with ENOSYS. Some functions are actually named
34020 something starting with __ and the normal name is an alias. */
34021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34022 choke me
34023 #else
34024 char (*f) () = $ac_func;
34025 #endif
34026 #ifdef __cplusplus
34028 #endif
34031 main ()
34033 return f != $ac_func;
34035 return 0;
34037 _ACEOF
34038 rm -f conftest.$ac_objext conftest$ac_exeext
34039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34040 (eval $ac_link) 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try='test -s conftest$ac_exeext'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34047 ac_status=$?
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; }; then
34050 eval "$as_ac_var=yes"
34051 else
34052 echo "$as_me: failed program was:" >&5
34053 sed 's/^/| /' conftest.$ac_ext >&5
34055 eval "$as_ac_var=no"
34057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062 cat >>confdefs.h <<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34064 _ACEOF
34067 done
34069 else
34071 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34072 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34073 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34074 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 else
34080 ac_ext=cc
34081 ac_cpp='$CXXCPP $CPPFLAGS'
34082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34086 cat >conftest.$ac_ext <<_ACEOF
34087 #line $LINENO "configure"
34088 /* confdefs.h. */
34089 _ACEOF
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h. */
34093 #include <math.h>
34094 #ifdef HAVE_IEEEFP_H
34095 #include <ieeefp.h>
34096 #endif
34099 main ()
34101 _log10f(0);
34103 return 0;
34105 _ACEOF
34106 rm -f conftest.$ac_objext
34107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34108 (eval $ac_compile) 2>&5
34109 ac_status=$?
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } &&
34112 { ac_try='test -s conftest.$ac_objext'
34113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 (eval $ac_try) 2>&5
34115 ac_status=$?
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; }; then
34118 glibcxx_cv_func__log10f_use=yes
34119 else
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.$ac_ext >&5
34123 glibcxx_cv_func__log10f_use=no
34125 rm -f conftest.$ac_objext conftest.$ac_ext
34126 ac_ext=c
34127 ac_cpp='$CPP $CPPFLAGS'
34128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34137 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34139 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34141 for ac_func in _log10f
34143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34144 echo "$as_me:$LINENO: checking for $ac_func" >&5
34145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34146 if eval "test \"\${$as_ac_var+set}\" = set"; then
34147 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 else
34149 if test x$gcc_no_link = xyes; then
34150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34152 { (exit 1); exit 1; }; }
34154 cat >conftest.$ac_ext <<_ACEOF
34155 #line $LINENO "configure"
34156 /* confdefs.h. */
34157 _ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34161 /* System header to define __stub macros and hopefully few prototypes,
34162 which can conflict with char $ac_func (); below.
34163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34164 <limits.h> exists even on freestanding compilers. */
34165 #ifdef __STDC__
34166 # include <limits.h>
34167 #else
34168 # include <assert.h>
34169 #endif
34170 /* Override any gcc2 internal prototype to avoid an error. */
34171 #ifdef __cplusplus
34172 extern "C"
34174 #endif
34175 /* We use char because int might match the return type of a gcc2
34176 builtin and then its argument prototype would still apply. */
34177 char $ac_func ();
34178 /* The GNU C library defines this for functions which it implements
34179 to always fail with ENOSYS. Some functions are actually named
34180 something starting with __ and the normal name is an alias. */
34181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34182 choke me
34183 #else
34184 char (*f) () = $ac_func;
34185 #endif
34186 #ifdef __cplusplus
34188 #endif
34191 main ()
34193 return f != $ac_func;
34195 return 0;
34197 _ACEOF
34198 rm -f conftest.$ac_objext conftest$ac_exeext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34200 (eval $ac_link) 2>&5
34201 ac_status=$?
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); } &&
34204 { ac_try='test -s conftest$ac_exeext'
34205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34206 (eval $ac_try) 2>&5
34207 ac_status=$?
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); }; }; then
34210 eval "$as_ac_var=yes"
34211 else
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.$ac_ext >&5
34215 eval "$as_ac_var=no"
34217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34221 if test `eval echo '${'$as_ac_var'}'` = yes; then
34222 cat >>confdefs.h <<_ACEOF
34223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34224 _ACEOF
34227 done
34234 echo "$as_me:$LINENO: checking for modff declaration" >&5
34235 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34236 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34237 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 else
34243 ac_ext=cc
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249 cat >conftest.$ac_ext <<_ACEOF
34250 #line $LINENO "configure"
34251 /* confdefs.h. */
34252 _ACEOF
34253 cat confdefs.h >>conftest.$ac_ext
34254 cat >>conftest.$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34256 #include <math.h>
34258 main ()
34260 modff(0, 0);
34262 return 0;
34264 _ACEOF
34265 rm -f conftest.$ac_objext
34266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34267 (eval $ac_compile) 2>&5
34268 ac_status=$?
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } &&
34271 { ac_try='test -s conftest.$ac_objext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34274 ac_status=$?
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 glibcxx_cv_func_modff_use=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34282 glibcxx_cv_func_modff_use=no
34284 rm -f conftest.$ac_objext conftest.$ac_ext
34285 ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34296 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34298 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34300 for ac_func in modff
34302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34303 echo "$as_me:$LINENO: checking for $ac_func" >&5
34304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34305 if eval "test \"\${$as_ac_var+set}\" = set"; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 else
34308 if test x$gcc_no_link = xyes; then
34309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34311 { (exit 1); exit 1; }; }
34313 cat >conftest.$ac_ext <<_ACEOF
34314 #line $LINENO "configure"
34315 /* confdefs.h. */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34320 /* System header to define __stub macros and hopefully few prototypes,
34321 which can conflict with char $ac_func (); below.
34322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34323 <limits.h> exists even on freestanding compilers. */
34324 #ifdef __STDC__
34325 # include <limits.h>
34326 #else
34327 # include <assert.h>
34328 #endif
34329 /* Override any gcc2 internal prototype to avoid an error. */
34330 #ifdef __cplusplus
34331 extern "C"
34333 #endif
34334 /* We use char because int might match the return type of a gcc2
34335 builtin and then its argument prototype would still apply. */
34336 char $ac_func ();
34337 /* The GNU C library defines this for functions which it implements
34338 to always fail with ENOSYS. Some functions are actually named
34339 something starting with __ and the normal name is an alias. */
34340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34341 choke me
34342 #else
34343 char (*f) () = $ac_func;
34344 #endif
34345 #ifdef __cplusplus
34347 #endif
34350 main ()
34352 return f != $ac_func;
34354 return 0;
34356 _ACEOF
34357 rm -f conftest.$ac_objext conftest$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>&5
34360 ac_status=$?
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); } &&
34363 { ac_try='test -s conftest$ac_exeext'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34366 ac_status=$?
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; }; then
34369 eval "$as_ac_var=yes"
34370 else
34371 echo "$as_me: failed program was:" >&5
34372 sed 's/^/| /' conftest.$ac_ext >&5
34374 eval "$as_ac_var=no"
34376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34380 if test `eval echo '${'$as_ac_var'}'` = yes; then
34381 cat >>confdefs.h <<_ACEOF
34382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34383 _ACEOF
34386 done
34388 else
34390 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34391 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34392 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34393 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34399 ac_ext=cc
34400 ac_cpp='$CXXCPP $CPPFLAGS'
34401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34405 cat >conftest.$ac_ext <<_ACEOF
34406 #line $LINENO "configure"
34407 /* confdefs.h. */
34408 _ACEOF
34409 cat confdefs.h >>conftest.$ac_ext
34410 cat >>conftest.$ac_ext <<_ACEOF
34411 /* end confdefs.h. */
34412 #include <math.h>
34414 main ()
34416 _modff(0, 0);
34418 return 0;
34420 _ACEOF
34421 rm -f conftest.$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423 (eval $ac_compile) 2>&5
34424 ac_status=$?
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } &&
34427 { ac_try='test -s conftest.$ac_objext'
34428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34429 (eval $ac_try) 2>&5
34430 ac_status=$?
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); }; }; then
34433 glibcxx_cv_func__modff_use=yes
34434 else
34435 echo "$as_me: failed program was:" >&5
34436 sed 's/^/| /' conftest.$ac_ext >&5
34438 glibcxx_cv_func__modff_use=no
34440 rm -f conftest.$ac_objext conftest.$ac_ext
34441 ac_ext=c
34442 ac_cpp='$CPP $CPPFLAGS'
34443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34452 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34454 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34456 for ac_func in _modff
34458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 echo "$as_me:$LINENO: checking for $ac_func" >&5
34460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34461 if eval "test \"\${$as_ac_var+set}\" = set"; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34464 if test x$gcc_no_link = xyes; then
34465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34467 { (exit 1); exit 1; }; }
34469 cat >conftest.$ac_ext <<_ACEOF
34470 #line $LINENO "configure"
34471 /* confdefs.h. */
34472 _ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34476 /* System header to define __stub macros and hopefully few prototypes,
34477 which can conflict with char $ac_func (); below.
34478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479 <limits.h> exists even on freestanding compilers. */
34480 #ifdef __STDC__
34481 # include <limits.h>
34482 #else
34483 # include <assert.h>
34484 #endif
34485 /* Override any gcc2 internal prototype to avoid an error. */
34486 #ifdef __cplusplus
34487 extern "C"
34489 #endif
34490 /* We use char because int might match the return type of a gcc2
34491 builtin and then its argument prototype would still apply. */
34492 char $ac_func ();
34493 /* The GNU C library defines this for functions which it implements
34494 to always fail with ENOSYS. Some functions are actually named
34495 something starting with __ and the normal name is an alias. */
34496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34497 choke me
34498 #else
34499 char (*f) () = $ac_func;
34500 #endif
34501 #ifdef __cplusplus
34503 #endif
34506 main ()
34508 return f != $ac_func;
34510 return 0;
34512 _ACEOF
34513 rm -f conftest.$ac_objext conftest$ac_exeext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34515 (eval $ac_link) 2>&5
34516 ac_status=$?
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); } &&
34519 { ac_try='test -s conftest$ac_exeext'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; }; then
34525 eval "$as_ac_var=yes"
34526 else
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34530 eval "$as_ac_var=no"
34532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34536 if test `eval echo '${'$as_ac_var'}'` = yes; then
34537 cat >>confdefs.h <<_ACEOF
34538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34539 _ACEOF
34542 done
34549 echo "$as_me:$LINENO: checking for powf declaration" >&5
34550 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34551 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34552 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34558 ac_ext=cc
34559 ac_cpp='$CXXCPP $CPPFLAGS'
34560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34564 cat >conftest.$ac_ext <<_ACEOF
34565 #line $LINENO "configure"
34566 /* confdefs.h. */
34567 _ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 #include <math.h>
34573 main ()
34575 powf(0, 0);
34577 return 0;
34579 _ACEOF
34580 rm -f conftest.$ac_objext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34582 (eval $ac_compile) 2>&5
34583 ac_status=$?
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); } &&
34586 { ac_try='test -s conftest.$ac_objext'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34589 ac_status=$?
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34592 glibcxx_cv_func_powf_use=yes
34593 else
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34597 glibcxx_cv_func_powf_use=no
34599 rm -f conftest.$ac_objext conftest.$ac_ext
34600 ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34610 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34611 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34613 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34615 for ac_func in powf
34617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34618 echo "$as_me:$LINENO: checking for $ac_func" >&5
34619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34620 if eval "test \"\${$as_ac_var+set}\" = set"; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34623 if test x$gcc_no_link = xyes; then
34624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34626 { (exit 1); exit 1; }; }
34628 cat >conftest.$ac_ext <<_ACEOF
34629 #line $LINENO "configure"
34630 /* confdefs.h. */
34631 _ACEOF
34632 cat confdefs.h >>conftest.$ac_ext
34633 cat >>conftest.$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34635 /* System header to define __stub macros and hopefully few prototypes,
34636 which can conflict with char $ac_func (); below.
34637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34638 <limits.h> exists even on freestanding compilers. */
34639 #ifdef __STDC__
34640 # include <limits.h>
34641 #else
34642 # include <assert.h>
34643 #endif
34644 /* Override any gcc2 internal prototype to avoid an error. */
34645 #ifdef __cplusplus
34646 extern "C"
34648 #endif
34649 /* We use char because int might match the return type of a gcc2
34650 builtin and then its argument prototype would still apply. */
34651 char $ac_func ();
34652 /* The GNU C library defines this for functions which it implements
34653 to always fail with ENOSYS. Some functions are actually named
34654 something starting with __ and the normal name is an alias. */
34655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34656 choke me
34657 #else
34658 char (*f) () = $ac_func;
34659 #endif
34660 #ifdef __cplusplus
34662 #endif
34665 main ()
34667 return f != $ac_func;
34669 return 0;
34671 _ACEOF
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34674 (eval $ac_link) 2>&5
34675 ac_status=$?
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } &&
34678 { ac_try='test -s conftest$ac_exeext'
34679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34680 (eval $ac_try) 2>&5
34681 ac_status=$?
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); }; }; then
34684 eval "$as_ac_var=yes"
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34689 eval "$as_ac_var=no"
34691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34695 if test `eval echo '${'$as_ac_var'}'` = yes; then
34696 cat >>confdefs.h <<_ACEOF
34697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34698 _ACEOF
34701 done
34703 else
34705 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34706 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34707 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34708 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34709 echo $ECHO_N "(cached) $ECHO_C" >&6
34710 else
34714 ac_ext=cc
34715 ac_cpp='$CXXCPP $CPPFLAGS'
34716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34720 cat >conftest.$ac_ext <<_ACEOF
34721 #line $LINENO "configure"
34722 /* confdefs.h. */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727 #include <math.h>
34729 main ()
34731 _powf(0, 0);
34733 return 0;
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34738 (eval $ac_compile) 2>&5
34739 ac_status=$?
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); } &&
34742 { ac_try='test -s conftest.$ac_objext'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34745 ac_status=$?
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; }; then
34748 glibcxx_cv_func__powf_use=yes
34749 else
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.$ac_ext >&5
34753 glibcxx_cv_func__powf_use=no
34755 rm -f conftest.$ac_objext conftest.$ac_ext
34756 ac_ext=c
34757 ac_cpp='$CPP $CPPFLAGS'
34758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34767 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34769 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34771 for ac_func in _powf
34773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34774 echo "$as_me:$LINENO: checking for $ac_func" >&5
34775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34776 if eval "test \"\${$as_ac_var+set}\" = set"; then
34777 echo $ECHO_N "(cached) $ECHO_C" >&6
34778 else
34779 if test x$gcc_no_link = xyes; then
34780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34782 { (exit 1); exit 1; }; }
34784 cat >conftest.$ac_ext <<_ACEOF
34785 #line $LINENO "configure"
34786 /* confdefs.h. */
34787 _ACEOF
34788 cat confdefs.h >>conftest.$ac_ext
34789 cat >>conftest.$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
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. */
34795 #ifdef __STDC__
34796 # include <limits.h>
34797 #else
34798 # include <assert.h>
34799 #endif
34800 /* Override any gcc2 internal prototype to avoid an error. */
34801 #ifdef __cplusplus
34802 extern "C"
34804 #endif
34805 /* We use char because int might match the return type of a gcc2
34806 builtin and then its argument prototype would still apply. */
34807 char $ac_func ();
34808 /* The GNU C library defines this for functions which it implements
34809 to always fail with ENOSYS. Some functions are actually named
34810 something starting with __ and the normal name is an alias. */
34811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34812 choke me
34813 #else
34814 char (*f) () = $ac_func;
34815 #endif
34816 #ifdef __cplusplus
34818 #endif
34821 main ()
34823 return f != $ac_func;
34825 return 0;
34827 _ACEOF
34828 rm -f conftest.$ac_objext conftest$ac_exeext
34829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34830 (eval $ac_link) 2>&5
34831 ac_status=$?
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); } &&
34834 { ac_try='test -s conftest$ac_exeext'
34835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34836 (eval $ac_try) 2>&5
34837 ac_status=$?
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); }; }; then
34840 eval "$as_ac_var=yes"
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34845 eval "$as_ac_var=no"
34847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852 cat >>confdefs.h <<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 _ACEOF
34857 done
34864 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34865 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34866 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34867 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34868 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 else
34873 ac_ext=cc
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879 cat >conftest.$ac_ext <<_ACEOF
34880 #line $LINENO "configure"
34881 /* confdefs.h. */
34882 _ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 #ifdef HAVE_IEEEFP_H
34888 #include <ieeefp.h>
34889 #endif
34892 main ()
34894 sqrtf(0);
34896 return 0;
34898 _ACEOF
34899 rm -f conftest.$ac_objext
34900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34901 (eval $ac_compile) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); } &&
34905 { ac_try='test -s conftest.$ac_objext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 glibcxx_cv_func_sqrtf_use=yes
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34916 glibcxx_cv_func_sqrtf_use=no
34918 rm -f conftest.$ac_objext conftest.$ac_ext
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
34930 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
34932 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34934 for ac_func in sqrtf
34936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34937 echo "$as_me:$LINENO: checking for $ac_func" >&5
34938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34939 if eval "test \"\${$as_ac_var+set}\" = set"; then
34940 echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34942 if test x$gcc_no_link = xyes; then
34943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34945 { (exit 1); exit 1; }; }
34947 cat >conftest.$ac_ext <<_ACEOF
34948 #line $LINENO "configure"
34949 /* confdefs.h. */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954 /* System header to define __stub macros and hopefully few prototypes,
34955 which can conflict with char $ac_func (); below.
34956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34957 <limits.h> exists even on freestanding compilers. */
34958 #ifdef __STDC__
34959 # include <limits.h>
34960 #else
34961 # include <assert.h>
34962 #endif
34963 /* Override any gcc2 internal prototype to avoid an error. */
34964 #ifdef __cplusplus
34965 extern "C"
34967 #endif
34968 /* We use char because int might match the return type of a gcc2
34969 builtin and then its argument prototype would still apply. */
34970 char $ac_func ();
34971 /* The GNU C library defines this for functions which it implements
34972 to always fail with ENOSYS. Some functions are actually named
34973 something starting with __ and the normal name is an alias. */
34974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34975 choke me
34976 #else
34977 char (*f) () = $ac_func;
34978 #endif
34979 #ifdef __cplusplus
34981 #endif
34984 main ()
34986 return f != $ac_func;
34988 return 0;
34990 _ACEOF
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34993 (eval $ac_link) 2>&5
34994 ac_status=$?
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); } &&
34997 { ac_try='test -s conftest$ac_exeext'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35000 ac_status=$?
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; }; then
35003 eval "$as_ac_var=yes"
35004 else
35005 echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.$ac_ext >&5
35008 eval "$as_ac_var=no"
35010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35014 if test `eval echo '${'$as_ac_var'}'` = yes; then
35015 cat >>confdefs.h <<_ACEOF
35016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35017 _ACEOF
35020 done
35022 else
35024 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35025 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35026 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35027 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35029 else
35033 ac_ext=cc
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35039 cat >conftest.$ac_ext <<_ACEOF
35040 #line $LINENO "configure"
35041 /* confdefs.h. */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 #include <math.h>
35047 #ifdef HAVE_IEEEFP_H
35048 #include <ieeefp.h>
35049 #endif
35052 main ()
35054 _sqrtf(0);
35056 return 0;
35058 _ACEOF
35059 rm -f conftest.$ac_objext
35060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35061 (eval $ac_compile) 2>&5
35062 ac_status=$?
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); } &&
35065 { ac_try='test -s conftest.$ac_objext'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35068 ac_status=$?
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; }; then
35071 glibcxx_cv_func__sqrtf_use=yes
35072 else
35073 echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.$ac_ext >&5
35076 glibcxx_cv_func__sqrtf_use=no
35078 rm -f conftest.$ac_objext conftest.$ac_ext
35079 ac_ext=c
35080 ac_cpp='$CPP $CPPFLAGS'
35081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35090 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35092 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35094 for ac_func in _sqrtf
35096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35097 echo "$as_me:$LINENO: checking for $ac_func" >&5
35098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35099 if eval "test \"\${$as_ac_var+set}\" = set"; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102 if test x$gcc_no_link = xyes; then
35103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35105 { (exit 1); exit 1; }; }
35107 cat >conftest.$ac_ext <<_ACEOF
35108 #line $LINENO "configure"
35109 /* confdefs.h. */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 /* System header to define __stub macros and hopefully few prototypes,
35115 which can conflict with char $ac_func (); below.
35116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35117 <limits.h> exists even on freestanding compilers. */
35118 #ifdef __STDC__
35119 # include <limits.h>
35120 #else
35121 # include <assert.h>
35122 #endif
35123 /* Override any gcc2 internal prototype to avoid an error. */
35124 #ifdef __cplusplus
35125 extern "C"
35127 #endif
35128 /* We use char because int might match the return type of a gcc2
35129 builtin and then its argument prototype would still apply. */
35130 char $ac_func ();
35131 /* The GNU C library defines this for functions which it implements
35132 to always fail with ENOSYS. Some functions are actually named
35133 something starting with __ and the normal name is an alias. */
35134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35135 choke me
35136 #else
35137 char (*f) () = $ac_func;
35138 #endif
35139 #ifdef __cplusplus
35141 #endif
35144 main ()
35146 return f != $ac_func;
35148 return 0;
35150 _ACEOF
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35153 (eval $ac_link) 2>&5
35154 ac_status=$?
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); } &&
35157 { ac_try='test -s conftest$ac_exeext'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35160 ac_status=$?
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; }; then
35163 eval "$as_ac_var=yes"
35164 else
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35168 eval "$as_ac_var=no"
35170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35174 if test `eval echo '${'$as_ac_var'}'` = yes; then
35175 cat >>confdefs.h <<_ACEOF
35176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35177 _ACEOF
35180 done
35187 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35188 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35189 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35190 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35191 echo $ECHO_N "(cached) $ECHO_C" >&6
35192 else
35196 ac_ext=cc
35197 ac_cpp='$CXXCPP $CPPFLAGS'
35198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35202 cat >conftest.$ac_ext <<_ACEOF
35203 #line $LINENO "configure"
35204 /* confdefs.h. */
35205 _ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 #include <math.h>
35211 main ()
35213 sincosf(0, 0, 0);
35215 return 0;
35217 _ACEOF
35218 rm -f conftest.$ac_objext
35219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35220 (eval $ac_compile) 2>&5
35221 ac_status=$?
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } &&
35224 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func_sincosf_use=yes
35231 else
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35235 glibcxx_cv_func_sincosf_use=no
35237 rm -f conftest.$ac_objext conftest.$ac_ext
35238 ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35249 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35251 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35253 for ac_func in sincosf
35255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35256 echo "$as_me:$LINENO: checking for $ac_func" >&5
35257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35258 if eval "test \"\${$as_ac_var+set}\" = set"; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35261 if test x$gcc_no_link = xyes; then
35262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35264 { (exit 1); exit 1; }; }
35266 cat >conftest.$ac_ext <<_ACEOF
35267 #line $LINENO "configure"
35268 /* confdefs.h. */
35269 _ACEOF
35270 cat confdefs.h >>conftest.$ac_ext
35271 cat >>conftest.$ac_ext <<_ACEOF
35272 /* end confdefs.h. */
35273 /* System header to define __stub macros and hopefully few prototypes,
35274 which can conflict with char $ac_func (); below.
35275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35276 <limits.h> exists even on freestanding compilers. */
35277 #ifdef __STDC__
35278 # include <limits.h>
35279 #else
35280 # include <assert.h>
35281 #endif
35282 /* Override any gcc2 internal prototype to avoid an error. */
35283 #ifdef __cplusplus
35284 extern "C"
35286 #endif
35287 /* We use char because int might match the return type of a gcc2
35288 builtin and then its argument prototype would still apply. */
35289 char $ac_func ();
35290 /* The GNU C library defines this for functions which it implements
35291 to always fail with ENOSYS. Some functions are actually named
35292 something starting with __ and the normal name is an alias. */
35293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35294 choke me
35295 #else
35296 char (*f) () = $ac_func;
35297 #endif
35298 #ifdef __cplusplus
35300 #endif
35303 main ()
35305 return f != $ac_func;
35307 return 0;
35309 _ACEOF
35310 rm -f conftest.$ac_objext conftest$ac_exeext
35311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35312 (eval $ac_link) 2>&5
35313 ac_status=$?
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); } &&
35316 { ac_try='test -s conftest$ac_exeext'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; }; then
35322 eval "$as_ac_var=yes"
35323 else
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35327 eval "$as_ac_var=no"
35329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35333 if test `eval echo '${'$as_ac_var'}'` = yes; then
35334 cat >>confdefs.h <<_ACEOF
35335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35336 _ACEOF
35339 done
35341 else
35343 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35344 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35345 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35346 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35348 else
35352 ac_ext=cc
35353 ac_cpp='$CXXCPP $CPPFLAGS'
35354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358 cat >conftest.$ac_ext <<_ACEOF
35359 #line $LINENO "configure"
35360 /* confdefs.h. */
35361 _ACEOF
35362 cat confdefs.h >>conftest.$ac_ext
35363 cat >>conftest.$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35365 #include <math.h>
35367 main ()
35369 _sincosf(0, 0, 0);
35371 return 0;
35373 _ACEOF
35374 rm -f conftest.$ac_objext
35375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35376 (eval $ac_compile) 2>&5
35377 ac_status=$?
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); } &&
35380 { ac_try='test -s conftest.$ac_objext'
35381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35382 (eval $ac_try) 2>&5
35383 ac_status=$?
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); }; }; then
35386 glibcxx_cv_func__sincosf_use=yes
35387 else
35388 echo "$as_me: failed program was:" >&5
35389 sed 's/^/| /' conftest.$ac_ext >&5
35391 glibcxx_cv_func__sincosf_use=no
35393 rm -f conftest.$ac_objext conftest.$ac_ext
35394 ac_ext=c
35395 ac_cpp='$CPP $CPPFLAGS'
35396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35405 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35407 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35409 for ac_func in _sincosf
35411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35412 echo "$as_me:$LINENO: checking for $ac_func" >&5
35413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35414 if eval "test \"\${$as_ac_var+set}\" = set"; then
35415 echo $ECHO_N "(cached) $ECHO_C" >&6
35416 else
35417 if test x$gcc_no_link = xyes; then
35418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35420 { (exit 1); exit 1; }; }
35422 cat >conftest.$ac_ext <<_ACEOF
35423 #line $LINENO "configure"
35424 /* confdefs.h. */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35429 /* System header to define __stub macros and hopefully few prototypes,
35430 which can conflict with char $ac_func (); below.
35431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35432 <limits.h> exists even on freestanding compilers. */
35433 #ifdef __STDC__
35434 # include <limits.h>
35435 #else
35436 # include <assert.h>
35437 #endif
35438 /* Override any gcc2 internal prototype to avoid an error. */
35439 #ifdef __cplusplus
35440 extern "C"
35442 #endif
35443 /* We use char because int might match the return type of a gcc2
35444 builtin and then its argument prototype would still apply. */
35445 char $ac_func ();
35446 /* The GNU C library defines this for functions which it implements
35447 to always fail with ENOSYS. Some functions are actually named
35448 something starting with __ and the normal name is an alias. */
35449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35450 choke me
35451 #else
35452 char (*f) () = $ac_func;
35453 #endif
35454 #ifdef __cplusplus
35456 #endif
35459 main ()
35461 return f != $ac_func;
35463 return 0;
35465 _ACEOF
35466 rm -f conftest.$ac_objext conftest$ac_exeext
35467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35468 (eval $ac_link) 2>&5
35469 ac_status=$?
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); } &&
35472 { ac_try='test -s conftest$ac_exeext'
35473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35474 (eval $ac_try) 2>&5
35475 ac_status=$?
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); }; }; then
35478 eval "$as_ac_var=yes"
35479 else
35480 echo "$as_me: failed program was:" >&5
35481 sed 's/^/| /' conftest.$ac_ext >&5
35483 eval "$as_ac_var=no"
35485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35489 if test `eval echo '${'$as_ac_var'}'` = yes; then
35490 cat >>confdefs.h <<_ACEOF
35491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35492 _ACEOF
35495 done
35502 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35503 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35504 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35505 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35507 else
35511 ac_ext=cc
35512 ac_cpp='$CXXCPP $CPPFLAGS'
35513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35517 cat >conftest.$ac_ext <<_ACEOF
35518 #line $LINENO "configure"
35519 /* confdefs.h. */
35520 _ACEOF
35521 cat confdefs.h >>conftest.$ac_ext
35522 cat >>conftest.$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35524 #include <math.h>
35525 #ifdef HAVE_IEEEFP_H
35526 #include <ieeefp.h>
35527 #endif
35530 main ()
35532 finitef(0);
35534 return 0;
35536 _ACEOF
35537 rm -f conftest.$ac_objext
35538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35539 (eval $ac_compile) 2>&5
35540 ac_status=$?
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try='test -s conftest.$ac_objext'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; }; then
35549 glibcxx_cv_func_finitef_use=yes
35550 else
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35554 glibcxx_cv_func_finitef_use=no
35556 rm -f conftest.$ac_objext conftest.$ac_ext
35557 ac_ext=c
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35568 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35570 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35572 for ac_func in finitef
35574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35575 echo "$as_me:$LINENO: checking for $ac_func" >&5
35576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35577 if eval "test \"\${$as_ac_var+set}\" = set"; then
35578 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 else
35580 if test x$gcc_no_link = xyes; then
35581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35583 { (exit 1); exit 1; }; }
35585 cat >conftest.$ac_ext <<_ACEOF
35586 #line $LINENO "configure"
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592 /* System header to define __stub macros and hopefully few prototypes,
35593 which can conflict with char $ac_func (); below.
35594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35595 <limits.h> exists even on freestanding compilers. */
35596 #ifdef __STDC__
35597 # include <limits.h>
35598 #else
35599 # include <assert.h>
35600 #endif
35601 /* Override any gcc2 internal prototype to avoid an error. */
35602 #ifdef __cplusplus
35603 extern "C"
35605 #endif
35606 /* We use char because int might match the return type of a gcc2
35607 builtin and then its argument prototype would still apply. */
35608 char $ac_func ();
35609 /* The GNU C library defines this for functions which it implements
35610 to always fail with ENOSYS. Some functions are actually named
35611 something starting with __ and the normal name is an alias. */
35612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35613 choke me
35614 #else
35615 char (*f) () = $ac_func;
35616 #endif
35617 #ifdef __cplusplus
35619 #endif
35622 main ()
35624 return f != $ac_func;
35626 return 0;
35628 _ACEOF
35629 rm -f conftest.$ac_objext conftest$ac_exeext
35630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35631 (eval $ac_link) 2>&5
35632 ac_status=$?
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } &&
35635 { ac_try='test -s conftest$ac_exeext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 eval "$as_ac_var=yes"
35642 else
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35646 eval "$as_ac_var=no"
35648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35652 if test `eval echo '${'$as_ac_var'}'` = yes; then
35653 cat >>confdefs.h <<_ACEOF
35654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35655 _ACEOF
35658 done
35660 else
35662 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35663 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35664 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35665 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35666 echo $ECHO_N "(cached) $ECHO_C" >&6
35667 else
35671 ac_ext=cc
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35677 cat >conftest.$ac_ext <<_ACEOF
35678 #line $LINENO "configure"
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 #include <math.h>
35685 #ifdef HAVE_IEEEFP_H
35686 #include <ieeefp.h>
35687 #endif
35690 main ()
35692 _finitef(0);
35694 return 0;
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699 (eval $ac_compile) 2>&5
35700 ac_status=$?
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); } &&
35703 { ac_try='test -s conftest.$ac_objext'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35706 ac_status=$?
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; }; then
35709 glibcxx_cv_func__finitef_use=yes
35710 else
35711 echo "$as_me: failed program was:" >&5
35712 sed 's/^/| /' conftest.$ac_ext >&5
35714 glibcxx_cv_func__finitef_use=no
35716 rm -f conftest.$ac_objext conftest.$ac_ext
35717 ac_ext=c
35718 ac_cpp='$CPP $CPPFLAGS'
35719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35728 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35730 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35732 for ac_func in _finitef
35734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35735 echo "$as_me:$LINENO: checking for $ac_func" >&5
35736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35737 if eval "test \"\${$as_ac_var+set}\" = set"; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35739 else
35740 if test x$gcc_no_link = xyes; then
35741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35743 { (exit 1); exit 1; }; }
35745 cat >conftest.$ac_ext <<_ACEOF
35746 #line $LINENO "configure"
35747 /* confdefs.h. */
35748 _ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35752 /* System header to define __stub macros and hopefully few prototypes,
35753 which can conflict with char $ac_func (); below.
35754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35755 <limits.h> exists even on freestanding compilers. */
35756 #ifdef __STDC__
35757 # include <limits.h>
35758 #else
35759 # include <assert.h>
35760 #endif
35761 /* Override any gcc2 internal prototype to avoid an error. */
35762 #ifdef __cplusplus
35763 extern "C"
35765 #endif
35766 /* We use char because int might match the return type of a gcc2
35767 builtin and then its argument prototype would still apply. */
35768 char $ac_func ();
35769 /* The GNU C library defines this for functions which it implements
35770 to always fail with ENOSYS. Some functions are actually named
35771 something starting with __ and the normal name is an alias. */
35772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35773 choke me
35774 #else
35775 char (*f) () = $ac_func;
35776 #endif
35777 #ifdef __cplusplus
35779 #endif
35782 main ()
35784 return f != $ac_func;
35786 return 0;
35788 _ACEOF
35789 rm -f conftest.$ac_objext conftest$ac_exeext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35791 (eval $ac_link) 2>&5
35792 ac_status=$?
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try='test -s conftest$ac_exeext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35798 ac_status=$?
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 eval "$as_ac_var=yes"
35802 else
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35806 eval "$as_ac_var=no"
35808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813 cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35818 done
35825 echo "$as_me:$LINENO: checking for long double trig functions" >&5
35826 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35827 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35833 ac_ext=cc
35834 ac_cpp='$CXXCPP $CPPFLAGS'
35835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839 cat >conftest.$ac_ext <<_ACEOF
35840 #line $LINENO "configure"
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 #include <math.h>
35848 main ()
35850 `for x in acosl asinl atanl \
35851 cosl sinl tanl \
35852 coshl sinhl tanhl; do echo "$x (0);"; done`
35854 return 0;
35856 _ACEOF
35857 rm -f conftest.$ac_objext
35858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35859 (eval $ac_compile) 2>&5
35860 ac_status=$?
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); } &&
35863 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
35869 glibcxx_cv_func_long_double_trig_use=yes
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35874 glibcxx_cv_func_long_double_trig_use=no
35876 rm -f conftest.$ac_objext conftest.$ac_ext
35877 ac_ext=c
35878 ac_cpp='$CPP $CPPFLAGS'
35879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35886 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35887 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35897 for ac_func in acosl asinl atanl \
35898 cosl sinl tanl \
35899 coshl sinhl tanhl
35901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35902 echo "$as_me:$LINENO: checking for $ac_func" >&5
35903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35904 if eval "test \"\${$as_ac_var+set}\" = set"; then
35905 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 else
35907 if test x$gcc_no_link = xyes; then
35908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35910 { (exit 1); exit 1; }; }
35912 cat >conftest.$ac_ext <<_ACEOF
35913 #line $LINENO "configure"
35914 /* confdefs.h. */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 /* System header to define __stub macros and hopefully few prototypes,
35920 which can conflict with char $ac_func (); below.
35921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35922 <limits.h> exists even on freestanding compilers. */
35923 #ifdef __STDC__
35924 # include <limits.h>
35925 #else
35926 # include <assert.h>
35927 #endif
35928 /* Override any gcc2 internal prototype to avoid an error. */
35929 #ifdef __cplusplus
35930 extern "C"
35932 #endif
35933 /* We use char because int might match the return type of a gcc2
35934 builtin and then its argument prototype would still apply. */
35935 char $ac_func ();
35936 /* The GNU C library defines this for functions which it implements
35937 to always fail with ENOSYS. Some functions are actually named
35938 something starting with __ and the normal name is an alias. */
35939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35940 choke me
35941 #else
35942 char (*f) () = $ac_func;
35943 #endif
35944 #ifdef __cplusplus
35946 #endif
35949 main ()
35951 return f != $ac_func;
35953 return 0;
35955 _ACEOF
35956 rm -f conftest.$ac_objext conftest$ac_exeext
35957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35958 (eval $ac_link) 2>&5
35959 ac_status=$?
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } &&
35962 { ac_try='test -s conftest$ac_exeext'
35963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964 (eval $ac_try) 2>&5
35965 ac_status=$?
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); }; }; then
35968 eval "$as_ac_var=yes"
35969 else
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.$ac_ext >&5
35973 eval "$as_ac_var=no"
35975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h <<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 _ACEOF
35985 done
35990 echo "$as_me:$LINENO: checking for long double round functions" >&5
35991 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
35992 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
35993 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 else
35998 ac_ext=cc
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004 cat >conftest.$ac_ext <<_ACEOF
36005 #line $LINENO "configure"
36006 /* confdefs.h. */
36007 _ACEOF
36008 cat confdefs.h >>conftest.$ac_ext
36009 cat >>conftest.$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 #include <math.h>
36013 main ()
36015 `for x in ceill floorl; do echo "$x (0);"; done`
36017 return 0;
36019 _ACEOF
36020 rm -f conftest.$ac_objext
36021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36022 (eval $ac_compile) 2>&5
36023 ac_status=$?
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } &&
36026 { ac_try='test -s conftest.$ac_objext'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; }; then
36032 glibcxx_cv_func_long_double_round_use=yes
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36037 glibcxx_cv_func_long_double_round_use=no
36039 rm -f conftest.$ac_objext conftest.$ac_ext
36040 ac_ext=c
36041 ac_cpp='$CPP $CPPFLAGS'
36042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36049 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36050 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36053 for ac_func in ceill floorl
36055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36056 echo "$as_me:$LINENO: checking for $ac_func" >&5
36057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36058 if eval "test \"\${$as_ac_var+set}\" = set"; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061 if test x$gcc_no_link = xyes; then
36062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36064 { (exit 1); exit 1; }; }
36066 cat >conftest.$ac_ext <<_ACEOF
36067 #line $LINENO "configure"
36068 /* confdefs.h. */
36069 _ACEOF
36070 cat confdefs.h >>conftest.$ac_ext
36071 cat >>conftest.$ac_ext <<_ACEOF
36072 /* end confdefs.h. */
36073 /* System header to define __stub macros and hopefully few prototypes,
36074 which can conflict with char $ac_func (); below.
36075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36076 <limits.h> exists even on freestanding compilers. */
36077 #ifdef __STDC__
36078 # include <limits.h>
36079 #else
36080 # include <assert.h>
36081 #endif
36082 /* Override any gcc2 internal prototype to avoid an error. */
36083 #ifdef __cplusplus
36084 extern "C"
36086 #endif
36087 /* We use char because int might match the return type of a gcc2
36088 builtin and then its argument prototype would still apply. */
36089 char $ac_func ();
36090 /* The GNU C library defines this for functions which it implements
36091 to always fail with ENOSYS. Some functions are actually named
36092 something starting with __ and the normal name is an alias. */
36093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36094 choke me
36095 #else
36096 char (*f) () = $ac_func;
36097 #endif
36098 #ifdef __cplusplus
36100 #endif
36103 main ()
36105 return f != $ac_func;
36107 return 0;
36109 _ACEOF
36110 rm -f conftest.$ac_objext conftest$ac_exeext
36111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36112 (eval $ac_link) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } &&
36116 { ac_try='test -s conftest$ac_exeext'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36119 ac_status=$?
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; }; then
36122 eval "$as_ac_var=yes"
36123 else
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36127 eval "$as_ac_var=no"
36129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36133 if test `eval echo '${'$as_ac_var'}'` = yes; then
36134 cat >>confdefs.h <<_ACEOF
36135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36136 _ACEOF
36139 done
36145 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36146 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36147 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36148 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36149 echo $ECHO_N "(cached) $ECHO_C" >&6
36150 else
36154 ac_ext=cc
36155 ac_cpp='$CXXCPP $CPPFLAGS'
36156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36160 cat >conftest.$ac_ext <<_ACEOF
36161 #line $LINENO "configure"
36162 /* confdefs.h. */
36163 _ACEOF
36164 cat confdefs.h >>conftest.$ac_ext
36165 cat >>conftest.$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167 #include <math.h>
36168 #ifdef HAVE_IEEEFP_H
36169 #include <ieeefp.h>
36170 #endif
36173 main ()
36175 isnanl(0);
36177 return 0;
36179 _ACEOF
36180 rm -f conftest.$ac_objext
36181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36182 (eval $ac_compile) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); } &&
36186 { ac_try='test -s conftest.$ac_objext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 glibcxx_cv_func_isnanl_use=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36197 glibcxx_cv_func_isnanl_use=no
36199 rm -f conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36213 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36215 for ac_func in isnanl
36217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36218 echo "$as_me:$LINENO: checking for $ac_func" >&5
36219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36220 if eval "test \"\${$as_ac_var+set}\" = set"; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223 if test x$gcc_no_link = xyes; then
36224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36226 { (exit 1); exit 1; }; }
36228 cat >conftest.$ac_ext <<_ACEOF
36229 #line $LINENO "configure"
36230 /* confdefs.h. */
36231 _ACEOF
36232 cat confdefs.h >>conftest.$ac_ext
36233 cat >>conftest.$ac_ext <<_ACEOF
36234 /* end confdefs.h. */
36235 /* System header to define __stub macros and hopefully few prototypes,
36236 which can conflict with char $ac_func (); below.
36237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36238 <limits.h> exists even on freestanding compilers. */
36239 #ifdef __STDC__
36240 # include <limits.h>
36241 #else
36242 # include <assert.h>
36243 #endif
36244 /* Override any gcc2 internal prototype to avoid an error. */
36245 #ifdef __cplusplus
36246 extern "C"
36248 #endif
36249 /* We use char because int might match the return type of a gcc2
36250 builtin and then its argument prototype would still apply. */
36251 char $ac_func ();
36252 /* The GNU C library defines this for functions which it implements
36253 to always fail with ENOSYS. Some functions are actually named
36254 something starting with __ and the normal name is an alias. */
36255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36256 choke me
36257 #else
36258 char (*f) () = $ac_func;
36259 #endif
36260 #ifdef __cplusplus
36262 #endif
36265 main ()
36267 return f != $ac_func;
36269 return 0;
36271 _ACEOF
36272 rm -f conftest.$ac_objext conftest$ac_exeext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36274 (eval $ac_link) 2>&5
36275 ac_status=$?
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } &&
36278 { ac_try='test -s conftest$ac_exeext'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36281 ac_status=$?
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; }; then
36284 eval "$as_ac_var=yes"
36285 else
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36289 eval "$as_ac_var=no"
36291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36295 if test `eval echo '${'$as_ac_var'}'` = yes; then
36296 cat >>confdefs.h <<_ACEOF
36297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36298 _ACEOF
36301 done
36303 else
36305 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36306 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36307 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36308 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36309 echo $ECHO_N "(cached) $ECHO_C" >&6
36310 else
36314 ac_ext=cc
36315 ac_cpp='$CXXCPP $CPPFLAGS'
36316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36320 cat >conftest.$ac_ext <<_ACEOF
36321 #line $LINENO "configure"
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 #include <math.h>
36328 #ifdef HAVE_IEEEFP_H
36329 #include <ieeefp.h>
36330 #endif
36333 main ()
36335 _isnanl(0);
36337 return 0;
36339 _ACEOF
36340 rm -f conftest.$ac_objext
36341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36342 (eval $ac_compile) 2>&5
36343 ac_status=$?
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } &&
36346 { ac_try='test -s conftest.$ac_objext'
36347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348 (eval $ac_try) 2>&5
36349 ac_status=$?
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); }; }; then
36352 glibcxx_cv_func__isnanl_use=yes
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36357 glibcxx_cv_func__isnanl_use=no
36359 rm -f conftest.$ac_objext conftest.$ac_ext
36360 ac_ext=c
36361 ac_cpp='$CPP $CPPFLAGS'
36362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36371 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36373 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36375 for ac_func in _isnanl
36377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36378 echo "$as_me:$LINENO: checking for $ac_func" >&5
36379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36380 if eval "test \"\${$as_ac_var+set}\" = set"; then
36381 echo $ECHO_N "(cached) $ECHO_C" >&6
36382 else
36383 if test x$gcc_no_link = xyes; then
36384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36386 { (exit 1); exit 1; }; }
36388 cat >conftest.$ac_ext <<_ACEOF
36389 #line $LINENO "configure"
36390 /* confdefs.h. */
36391 _ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36395 /* System header to define __stub macros and hopefully few prototypes,
36396 which can conflict with char $ac_func (); below.
36397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36398 <limits.h> exists even on freestanding compilers. */
36399 #ifdef __STDC__
36400 # include <limits.h>
36401 #else
36402 # include <assert.h>
36403 #endif
36404 /* Override any gcc2 internal prototype to avoid an error. */
36405 #ifdef __cplusplus
36406 extern "C"
36408 #endif
36409 /* We use char because int might match the return type of a gcc2
36410 builtin and then its argument prototype would still apply. */
36411 char $ac_func ();
36412 /* The GNU C library defines this for functions which it implements
36413 to always fail with ENOSYS. Some functions are actually named
36414 something starting with __ and the normal name is an alias. */
36415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36416 choke me
36417 #else
36418 char (*f) () = $ac_func;
36419 #endif
36420 #ifdef __cplusplus
36422 #endif
36425 main ()
36427 return f != $ac_func;
36429 return 0;
36431 _ACEOF
36432 rm -f conftest.$ac_objext conftest$ac_exeext
36433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36434 (eval $ac_link) 2>&5
36435 ac_status=$?
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); } &&
36438 { ac_try='test -s conftest$ac_exeext'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; }; then
36444 eval "$as_ac_var=yes"
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36449 eval "$as_ac_var=no"
36451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36455 if test `eval echo '${'$as_ac_var'}'` = yes; then
36456 cat >>confdefs.h <<_ACEOF
36457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36458 _ACEOF
36461 done
36468 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36469 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36470 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36471 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36472 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36477 ac_ext=cc
36478 ac_cpp='$CXXCPP $CPPFLAGS'
36479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36483 cat >conftest.$ac_ext <<_ACEOF
36484 #line $LINENO "configure"
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <math.h>
36491 #ifdef HAVE_IEEEFP_H
36492 #include <ieeefp.h>
36493 #endif
36496 main ()
36498 isinfl(0);
36500 return 0;
36502 _ACEOF
36503 rm -f conftest.$ac_objext
36504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36505 (eval $ac_compile) 2>&5
36506 ac_status=$?
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } &&
36509 { ac_try='test -s conftest.$ac_objext'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36512 ac_status=$?
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; }; then
36515 glibcxx_cv_func_isinfl_use=yes
36516 else
36517 echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.$ac_ext >&5
36520 glibcxx_cv_func_isinfl_use=no
36522 rm -f conftest.$ac_objext conftest.$ac_ext
36523 ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36534 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36536 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36538 for ac_func in isinfl
36540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36541 echo "$as_me:$LINENO: checking for $ac_func" >&5
36542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36543 if eval "test \"\${$as_ac_var+set}\" = set"; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 else
36546 if test x$gcc_no_link = xyes; then
36547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36549 { (exit 1); exit 1; }; }
36551 cat >conftest.$ac_ext <<_ACEOF
36552 #line $LINENO "configure"
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 /* System header to define __stub macros and hopefully few prototypes,
36559 which can conflict with char $ac_func (); below.
36560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36561 <limits.h> exists even on freestanding compilers. */
36562 #ifdef __STDC__
36563 # include <limits.h>
36564 #else
36565 # include <assert.h>
36566 #endif
36567 /* Override any gcc2 internal prototype to avoid an error. */
36568 #ifdef __cplusplus
36569 extern "C"
36571 #endif
36572 /* We use char because int might match the return type of a gcc2
36573 builtin and then its argument prototype would still apply. */
36574 char $ac_func ();
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36579 choke me
36580 #else
36581 char (*f) () = $ac_func;
36582 #endif
36583 #ifdef __cplusplus
36585 #endif
36588 main ()
36590 return f != $ac_func;
36592 return 0;
36594 _ACEOF
36595 rm -f conftest.$ac_objext conftest$ac_exeext
36596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36597 (eval $ac_link) 2>&5
36598 ac_status=$?
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try='test -s conftest$ac_exeext'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36604 ac_status=$?
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; }; then
36607 eval "$as_ac_var=yes"
36608 else
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36612 eval "$as_ac_var=no"
36614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36618 if test `eval echo '${'$as_ac_var'}'` = yes; then
36619 cat >>confdefs.h <<_ACEOF
36620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36621 _ACEOF
36624 done
36626 else
36628 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36629 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36630 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36631 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36632 echo $ECHO_N "(cached) $ECHO_C" >&6
36633 else
36637 ac_ext=cc
36638 ac_cpp='$CXXCPP $CPPFLAGS'
36639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36643 cat >conftest.$ac_ext <<_ACEOF
36644 #line $LINENO "configure"
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 #include <math.h>
36651 #ifdef HAVE_IEEEFP_H
36652 #include <ieeefp.h>
36653 #endif
36656 main ()
36658 _isinfl(0);
36660 return 0;
36662 _ACEOF
36663 rm -f conftest.$ac_objext
36664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36665 (eval $ac_compile) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); } &&
36669 { ac_try='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 glibcxx_cv_func__isinfl_use=yes
36676 else
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36680 glibcxx_cv_func__isinfl_use=no
36682 rm -f conftest.$ac_objext conftest.$ac_ext
36683 ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36694 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36696 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36698 for ac_func in _isinfl
36700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 echo "$as_me:$LINENO: checking for $ac_func" >&5
36702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_var+set}\" = set"; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706 if test x$gcc_no_link = xyes; then
36707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36709 { (exit 1); exit 1; }; }
36711 cat >conftest.$ac_ext <<_ACEOF
36712 #line $LINENO "configure"
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 /* System header to define __stub macros and hopefully few prototypes,
36719 which can conflict with char $ac_func (); below.
36720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36721 <limits.h> exists even on freestanding compilers. */
36722 #ifdef __STDC__
36723 # include <limits.h>
36724 #else
36725 # include <assert.h>
36726 #endif
36727 /* Override any gcc2 internal prototype to avoid an error. */
36728 #ifdef __cplusplus
36729 extern "C"
36731 #endif
36732 /* We use char because int might match the return type of a gcc2
36733 builtin and then its argument prototype would still apply. */
36734 char $ac_func ();
36735 /* The GNU C library defines this for functions which it implements
36736 to always fail with ENOSYS. Some functions are actually named
36737 something starting with __ and the normal name is an alias. */
36738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36739 choke me
36740 #else
36741 char (*f) () = $ac_func;
36742 #endif
36743 #ifdef __cplusplus
36745 #endif
36748 main ()
36750 return f != $ac_func;
36752 return 0;
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36757 (eval $ac_link) 2>&5
36758 ac_status=$?
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try='test -s conftest$ac_exeext'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36764 ac_status=$?
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }; then
36767 eval "$as_ac_var=yes"
36768 else
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36772 eval "$as_ac_var=no"
36774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36778 if test `eval echo '${'$as_ac_var'}'` = yes; then
36779 cat >>confdefs.h <<_ACEOF
36780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36781 _ACEOF
36784 done
36791 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36792 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36793 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36794 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36795 echo $ECHO_N "(cached) $ECHO_C" >&6
36796 else
36800 ac_ext=cc
36801 ac_cpp='$CXXCPP $CPPFLAGS'
36802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36806 cat >conftest.$ac_ext <<_ACEOF
36807 #line $LINENO "configure"
36808 /* confdefs.h. */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h. */
36813 #include <math.h>
36815 main ()
36817 copysignl(0, 0);
36819 return 0;
36821 _ACEOF
36822 rm -f conftest.$ac_objext
36823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36824 (eval $ac_compile) 2>&5
36825 ac_status=$?
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); } &&
36828 { ac_try='test -s conftest.$ac_objext'
36829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830 (eval $ac_try) 2>&5
36831 ac_status=$?
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); }; }; then
36834 glibcxx_cv_func_copysignl_use=yes
36835 else
36836 echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36839 glibcxx_cv_func_copysignl_use=no
36841 rm -f conftest.$ac_objext conftest.$ac_ext
36842 ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36853 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36855 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36857 for ac_func in copysignl
36859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36860 echo "$as_me:$LINENO: checking for $ac_func" >&5
36861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36862 if eval "test \"\${$as_ac_var+set}\" = set"; then
36863 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 else
36865 if test x$gcc_no_link = xyes; then
36866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36868 { (exit 1); exit 1; }; }
36870 cat >conftest.$ac_ext <<_ACEOF
36871 #line $LINENO "configure"
36872 /* confdefs.h. */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36877 /* System header to define __stub macros and hopefully few prototypes,
36878 which can conflict with char $ac_func (); below.
36879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36880 <limits.h> exists even on freestanding compilers. */
36881 #ifdef __STDC__
36882 # include <limits.h>
36883 #else
36884 # include <assert.h>
36885 #endif
36886 /* Override any gcc2 internal prototype to avoid an error. */
36887 #ifdef __cplusplus
36888 extern "C"
36890 #endif
36891 /* We use char because int might match the return type of a gcc2
36892 builtin and then its argument prototype would still apply. */
36893 char $ac_func ();
36894 /* The GNU C library defines this for functions which it implements
36895 to always fail with ENOSYS. Some functions are actually named
36896 something starting with __ and the normal name is an alias. */
36897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36898 choke me
36899 #else
36900 char (*f) () = $ac_func;
36901 #endif
36902 #ifdef __cplusplus
36904 #endif
36907 main ()
36909 return f != $ac_func;
36911 return 0;
36913 _ACEOF
36914 rm -f conftest.$ac_objext conftest$ac_exeext
36915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36916 (eval $ac_link) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } &&
36920 { ac_try='test -s conftest$ac_exeext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36923 ac_status=$?
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 eval "$as_ac_var=yes"
36927 else
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36931 eval "$as_ac_var=no"
36933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36937 if test `eval echo '${'$as_ac_var'}'` = yes; then
36938 cat >>confdefs.h <<_ACEOF
36939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36940 _ACEOF
36943 done
36945 else
36947 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
36948 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
36949 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
36950 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36952 else
36956 ac_ext=cc
36957 ac_cpp='$CXXCPP $CPPFLAGS'
36958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36962 cat >conftest.$ac_ext <<_ACEOF
36963 #line $LINENO "configure"
36964 /* confdefs.h. */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36969 #include <math.h>
36971 main ()
36973 _copysignl(0, 0);
36975 return 0;
36977 _ACEOF
36978 rm -f conftest.$ac_objext
36979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36980 (eval $ac_compile) 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__copysignl_use=yes
36991 else
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36995 glibcxx_cv_func__copysignl_use=no
36997 rm -f 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__copysignl_use" >&5
37009 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37011 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37013 for ac_func in _copysignl
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 #line $LINENO "configure"
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033 /* System header to define __stub macros and hopefully few prototypes,
37034 which can conflict with char $ac_func (); below.
37035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37036 <limits.h> exists even on freestanding compilers. */
37037 #ifdef __STDC__
37038 # include <limits.h>
37039 #else
37040 # include <assert.h>
37041 #endif
37042 /* Override any gcc2 internal prototype to avoid an error. */
37043 #ifdef __cplusplus
37044 extern "C"
37046 #endif
37047 /* We use char because int might match the return type of a gcc2
37048 builtin and then its argument prototype would still apply. */
37049 char $ac_func ();
37050 /* The GNU C library defines this for functions which it implements
37051 to always fail with ENOSYS. Some functions are actually named
37052 something starting with __ and the normal name is an alias. */
37053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37054 choke me
37055 #else
37056 char (*f) () = $ac_func;
37057 #endif
37058 #ifdef __cplusplus
37060 #endif
37063 main ()
37065 return f != $ac_func;
37067 return 0;
37069 _ACEOF
37070 rm -f conftest.$ac_objext conftest$ac_exeext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37072 (eval $ac_link) 2>&5
37073 ac_status=$?
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); } &&
37076 { ac_try='test -s conftest$ac_exeext'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; }; then
37082 eval "$as_ac_var=yes"
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37087 eval "$as_ac_var=no"
37089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37093 if test `eval echo '${'$as_ac_var'}'` = yes; then
37094 cat >>confdefs.h <<_ACEOF
37095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37096 _ACEOF
37099 done
37106 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37107 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37108 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37109 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37115 ac_ext=cc
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121 cat >conftest.$ac_ext <<_ACEOF
37122 #line $LINENO "configure"
37123 /* confdefs.h. */
37124 _ACEOF
37125 cat confdefs.h >>conftest.$ac_ext
37126 cat >>conftest.$ac_ext <<_ACEOF
37127 /* end confdefs.h. */
37128 #include <math.h>
37130 main ()
37132 atan2l(0, 0);
37134 return 0;
37136 _ACEOF
37137 rm -f conftest.$ac_objext
37138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37139 (eval $ac_compile) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); } &&
37143 { ac_try='test -s conftest.$ac_objext'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37146 ac_status=$?
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; }; then
37149 glibcxx_cv_func_atan2l_use=yes
37150 else
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37154 glibcxx_cv_func_atan2l_use=no
37156 rm -f conftest.$ac_objext conftest.$ac_ext
37157 ac_ext=c
37158 ac_cpp='$CPP $CPPFLAGS'
37159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37168 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37170 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37172 for ac_func in atan2l
37174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37175 echo "$as_me:$LINENO: checking for $ac_func" >&5
37176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37177 if eval "test \"\${$as_ac_var+set}\" = set"; then
37178 echo $ECHO_N "(cached) $ECHO_C" >&6
37179 else
37180 if test x$gcc_no_link = xyes; then
37181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37183 { (exit 1); exit 1; }; }
37185 cat >conftest.$ac_ext <<_ACEOF
37186 #line $LINENO "configure"
37187 /* confdefs.h. */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37192 /* System header to define __stub macros and hopefully few prototypes,
37193 which can conflict with char $ac_func (); below.
37194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37195 <limits.h> exists even on freestanding compilers. */
37196 #ifdef __STDC__
37197 # include <limits.h>
37198 #else
37199 # include <assert.h>
37200 #endif
37201 /* Override any gcc2 internal prototype to avoid an error. */
37202 #ifdef __cplusplus
37203 extern "C"
37205 #endif
37206 /* We use char because int might match the return type of a gcc2
37207 builtin and then its argument prototype would still apply. */
37208 char $ac_func ();
37209 /* The GNU C library defines this for functions which it implements
37210 to always fail with ENOSYS. Some functions are actually named
37211 something starting with __ and the normal name is an alias. */
37212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37213 choke me
37214 #else
37215 char (*f) () = $ac_func;
37216 #endif
37217 #ifdef __cplusplus
37219 #endif
37222 main ()
37224 return f != $ac_func;
37226 return 0;
37228 _ACEOF
37229 rm -f conftest.$ac_objext conftest$ac_exeext
37230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37231 (eval $ac_link) 2>&5
37232 ac_status=$?
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); } &&
37235 { ac_try='test -s conftest$ac_exeext'
37236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37237 (eval $ac_try) 2>&5
37238 ac_status=$?
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); }; }; then
37241 eval "$as_ac_var=yes"
37242 else
37243 echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.$ac_ext >&5
37246 eval "$as_ac_var=no"
37248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37252 if test `eval echo '${'$as_ac_var'}'` = yes; then
37253 cat >>confdefs.h <<_ACEOF
37254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37255 _ACEOF
37258 done
37260 else
37262 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37263 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37264 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37265 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37266 echo $ECHO_N "(cached) $ECHO_C" >&6
37267 else
37271 ac_ext=cc
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277 cat >conftest.$ac_ext <<_ACEOF
37278 #line $LINENO "configure"
37279 /* confdefs.h. */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37284 #include <math.h>
37286 main ()
37288 _atan2l(0, 0);
37290 return 0;
37292 _ACEOF
37293 rm -f conftest.$ac_objext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37295 (eval $ac_compile) 2>&5
37296 ac_status=$?
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } &&
37299 { ac_try='test -s conftest.$ac_objext'
37300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301 (eval $ac_try) 2>&5
37302 ac_status=$?
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); }; }; then
37305 glibcxx_cv_func__atan2l_use=yes
37306 else
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37310 glibcxx_cv_func__atan2l_use=no
37312 rm -f conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37324 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37326 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37328 for ac_func in _atan2l
37330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37331 echo "$as_me:$LINENO: checking for $ac_func" >&5
37332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37333 if eval "test \"\${$as_ac_var+set}\" = set"; then
37334 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 else
37336 if test x$gcc_no_link = xyes; then
37337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37339 { (exit 1); exit 1; }; }
37341 cat >conftest.$ac_ext <<_ACEOF
37342 #line $LINENO "configure"
37343 /* confdefs.h. */
37344 _ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h. */
37348 /* System header to define __stub macros and hopefully few prototypes,
37349 which can conflict with char $ac_func (); below.
37350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37351 <limits.h> exists even on freestanding compilers. */
37352 #ifdef __STDC__
37353 # include <limits.h>
37354 #else
37355 # include <assert.h>
37356 #endif
37357 /* Override any gcc2 internal prototype to avoid an error. */
37358 #ifdef __cplusplus
37359 extern "C"
37361 #endif
37362 /* We use char because int might match the return type of a gcc2
37363 builtin and then its argument prototype would still apply. */
37364 char $ac_func ();
37365 /* The GNU C library defines this for functions which it implements
37366 to always fail with ENOSYS. Some functions are actually named
37367 something starting with __ and the normal name is an alias. */
37368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37369 choke me
37370 #else
37371 char (*f) () = $ac_func;
37372 #endif
37373 #ifdef __cplusplus
37375 #endif
37378 main ()
37380 return f != $ac_func;
37382 return 0;
37384 _ACEOF
37385 rm -f conftest.$ac_objext conftest$ac_exeext
37386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37387 (eval $ac_link) 2>&5
37388 ac_status=$?
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } &&
37391 { ac_try='test -s conftest$ac_exeext'
37392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37393 (eval $ac_try) 2>&5
37394 ac_status=$?
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); }; }; then
37397 eval "$as_ac_var=yes"
37398 else
37399 echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.$ac_ext >&5
37402 eval "$as_ac_var=no"
37404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37408 if test `eval echo '${'$as_ac_var'}'` = yes; then
37409 cat >>confdefs.h <<_ACEOF
37410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37411 _ACEOF
37414 done
37421 echo "$as_me:$LINENO: checking for expl declaration" >&5
37422 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37423 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37424 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37425 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 else
37430 ac_ext=cc
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37436 cat >conftest.$ac_ext <<_ACEOF
37437 #line $LINENO "configure"
37438 /* confdefs.h. */
37439 _ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 #include <math.h>
37444 #ifdef HAVE_IEEEFP_H
37445 #include <ieeefp.h>
37446 #endif
37449 main ()
37451 expl(0);
37453 return 0;
37455 _ACEOF
37456 rm -f conftest.$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458 (eval $ac_compile) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); } &&
37462 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func_expl_use=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 glibcxx_cv_func_expl_use=no
37475 rm -f conftest.$ac_objext conftest.$ac_ext
37476 ac_ext=c
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37487 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37489 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37491 for ac_func in expl
37493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37494 echo "$as_me:$LINENO: checking for $ac_func" >&5
37495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37496 if eval "test \"\${$as_ac_var+set}\" = set"; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 else
37499 if test x$gcc_no_link = xyes; then
37500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37502 { (exit 1); exit 1; }; }
37504 cat >conftest.$ac_ext <<_ACEOF
37505 #line $LINENO "configure"
37506 /* confdefs.h. */
37507 _ACEOF
37508 cat confdefs.h >>conftest.$ac_ext
37509 cat >>conftest.$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37511 /* System header to define __stub macros and hopefully few prototypes,
37512 which can conflict with char $ac_func (); below.
37513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37514 <limits.h> exists even on freestanding compilers. */
37515 #ifdef __STDC__
37516 # include <limits.h>
37517 #else
37518 # include <assert.h>
37519 #endif
37520 /* Override any gcc2 internal prototype to avoid an error. */
37521 #ifdef __cplusplus
37522 extern "C"
37524 #endif
37525 /* We use char because int might match the return type of a gcc2
37526 builtin and then its argument prototype would still apply. */
37527 char $ac_func ();
37528 /* The GNU C library defines this for functions which it implements
37529 to always fail with ENOSYS. Some functions are actually named
37530 something starting with __ and the normal name is an alias. */
37531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37532 choke me
37533 #else
37534 char (*f) () = $ac_func;
37535 #endif
37536 #ifdef __cplusplus
37538 #endif
37541 main ()
37543 return f != $ac_func;
37545 return 0;
37547 _ACEOF
37548 rm -f conftest.$ac_objext conftest$ac_exeext
37549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37550 (eval $ac_link) 2>&5
37551 ac_status=$?
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try='test -s conftest$ac_exeext'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; }; then
37560 eval "$as_ac_var=yes"
37561 else
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37565 eval "$as_ac_var=no"
37567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37571 if test `eval echo '${'$as_ac_var'}'` = yes; then
37572 cat >>confdefs.h <<_ACEOF
37573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37574 _ACEOF
37577 done
37579 else
37581 echo "$as_me:$LINENO: checking for _expl declaration" >&5
37582 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37583 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37584 if test "${glibcxx_cv_func__expl_use+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37590 ac_ext=cc
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37596 cat >conftest.$ac_ext <<_ACEOF
37597 #line $LINENO "configure"
37598 /* confdefs.h. */
37599 _ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37603 #include <math.h>
37604 #ifdef HAVE_IEEEFP_H
37605 #include <ieeefp.h>
37606 #endif
37609 main ()
37611 _expl(0);
37613 return 0;
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>&5
37619 ac_status=$?
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try='test -s conftest.$ac_objext'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37625 ac_status=$?
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; }; then
37628 glibcxx_cv_func__expl_use=yes
37629 else
37630 echo "$as_me: failed program was:" >&5
37631 sed 's/^/| /' conftest.$ac_ext >&5
37633 glibcxx_cv_func__expl_use=no
37635 rm -f conftest.$ac_objext conftest.$ac_ext
37636 ac_ext=c
37637 ac_cpp='$CPP $CPPFLAGS'
37638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37647 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37649 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37651 for ac_func in _expl
37653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 echo "$as_me:$LINENO: checking for $ac_func" >&5
37655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37656 if eval "test \"\${$as_ac_var+set}\" = set"; then
37657 echo $ECHO_N "(cached) $ECHO_C" >&6
37658 else
37659 if test x$gcc_no_link = xyes; then
37660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37662 { (exit 1); exit 1; }; }
37664 cat >conftest.$ac_ext <<_ACEOF
37665 #line $LINENO "configure"
37666 /* confdefs.h. */
37667 _ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37671 /* System header to define __stub macros and hopefully few prototypes,
37672 which can conflict with char $ac_func (); below.
37673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37674 <limits.h> exists even on freestanding compilers. */
37675 #ifdef __STDC__
37676 # include <limits.h>
37677 #else
37678 # include <assert.h>
37679 #endif
37680 /* Override any gcc2 internal prototype to avoid an error. */
37681 #ifdef __cplusplus
37682 extern "C"
37684 #endif
37685 /* We use char because int might match the return type of a gcc2
37686 builtin and then its argument prototype would still apply. */
37687 char $ac_func ();
37688 /* The GNU C library defines this for functions which it implements
37689 to always fail with ENOSYS. Some functions are actually named
37690 something starting with __ and the normal name is an alias. */
37691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37692 choke me
37693 #else
37694 char (*f) () = $ac_func;
37695 #endif
37696 #ifdef __cplusplus
37698 #endif
37701 main ()
37703 return f != $ac_func;
37705 return 0;
37707 _ACEOF
37708 rm -f conftest.$ac_objext conftest$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710 (eval $ac_link) 2>&5
37711 ac_status=$?
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } &&
37714 { ac_try='test -s conftest$ac_exeext'
37715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37716 (eval $ac_try) 2>&5
37717 ac_status=$?
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); }; }; then
37720 eval "$as_ac_var=yes"
37721 else
37722 echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37725 eval "$as_ac_var=no"
37727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37731 if test `eval echo '${'$as_ac_var'}'` = yes; then
37732 cat >>confdefs.h <<_ACEOF
37733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37734 _ACEOF
37737 done
37744 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37745 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37746 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37747 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37748 echo $ECHO_N "(cached) $ECHO_C" >&6
37749 else
37753 ac_ext=cc
37754 ac_cpp='$CXXCPP $CPPFLAGS'
37755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37759 cat >conftest.$ac_ext <<_ACEOF
37760 #line $LINENO "configure"
37761 /* confdefs.h. */
37762 _ACEOF
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37766 #include <math.h>
37767 #ifdef HAVE_IEEEFP_H
37768 #include <ieeefp.h>
37769 #endif
37772 main ()
37774 fabsl(0);
37776 return 0;
37778 _ACEOF
37779 rm -f conftest.$ac_objext
37780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37781 (eval $ac_compile) 2>&5
37782 ac_status=$?
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); } &&
37785 { ac_try='test -s conftest.$ac_objext'
37786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37787 (eval $ac_try) 2>&5
37788 ac_status=$?
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); }; }; then
37791 glibcxx_cv_func_fabsl_use=yes
37792 else
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37796 glibcxx_cv_func_fabsl_use=no
37798 rm -f conftest.$ac_objext conftest.$ac_ext
37799 ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37810 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37812 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37814 for ac_func in fabsl
37816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37817 echo "$as_me:$LINENO: checking for $ac_func" >&5
37818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37819 if eval "test \"\${$as_ac_var+set}\" = set"; then
37820 echo $ECHO_N "(cached) $ECHO_C" >&6
37821 else
37822 if test x$gcc_no_link = xyes; then
37823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37825 { (exit 1); exit 1; }; }
37827 cat >conftest.$ac_ext <<_ACEOF
37828 #line $LINENO "configure"
37829 /* confdefs.h. */
37830 _ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37838 #ifdef __STDC__
37839 # include <limits.h>
37840 #else
37841 # include <assert.h>
37842 #endif
37843 /* Override any gcc2 internal prototype to avoid an error. */
37844 #ifdef __cplusplus
37845 extern "C"
37847 #endif
37848 /* We use char because int might match the return type of a gcc2
37849 builtin and then its argument prototype would still apply. */
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37855 choke me
37856 #else
37857 char (*f) () = $ac_func;
37858 #endif
37859 #ifdef __cplusplus
37861 #endif
37864 main ()
37866 return f != $ac_func;
37868 return 0;
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873 (eval $ac_link) 2>&5
37874 ac_status=$?
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); } &&
37877 { ac_try='test -s conftest$ac_exeext'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37880 ac_status=$?
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; }; then
37883 eval "$as_ac_var=yes"
37884 else
37885 echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.$ac_ext >&5
37888 eval "$as_ac_var=no"
37890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37894 if test `eval echo '${'$as_ac_var'}'` = yes; then
37895 cat >>confdefs.h <<_ACEOF
37896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37897 _ACEOF
37900 done
37902 else
37904 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37905 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
37906 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37907 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37913 ac_ext=cc
37914 ac_cpp='$CXXCPP $CPPFLAGS'
37915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37919 cat >conftest.$ac_ext <<_ACEOF
37920 #line $LINENO "configure"
37921 /* confdefs.h. */
37922 _ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926 #include <math.h>
37927 #ifdef HAVE_IEEEFP_H
37928 #include <ieeefp.h>
37929 #endif
37932 main ()
37934 _fabsl(0);
37936 return 0;
37938 _ACEOF
37939 rm -f conftest.$ac_objext
37940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37941 (eval $ac_compile) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } &&
37945 { ac_try='test -s conftest.$ac_objext'
37946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37947 (eval $ac_try) 2>&5
37948 ac_status=$?
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); }; }; then
37951 glibcxx_cv_func__fabsl_use=yes
37952 else
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37956 glibcxx_cv_func__fabsl_use=no
37958 rm -f conftest.$ac_objext conftest.$ac_ext
37959 ac_ext=c
37960 ac_cpp='$CPP $CPPFLAGS'
37961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
37970 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
37972 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37974 for ac_func in _fabsl
37976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37977 echo "$as_me:$LINENO: checking for $ac_func" >&5
37978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37979 if eval "test \"\${$as_ac_var+set}\" = set"; then
37980 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37982 if test x$gcc_no_link = xyes; then
37983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37985 { (exit 1); exit 1; }; }
37987 cat >conftest.$ac_ext <<_ACEOF
37988 #line $LINENO "configure"
37989 /* confdefs.h. */
37990 _ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char $ac_func (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
37998 #ifdef __STDC__
37999 # include <limits.h>
38000 #else
38001 # include <assert.h>
38002 #endif
38003 /* Override any gcc2 internal prototype to avoid an error. */
38004 #ifdef __cplusplus
38005 extern "C"
38007 #endif
38008 /* We use char because int might match the return type of a gcc2
38009 builtin and then its argument prototype would still apply. */
38010 char $ac_func ();
38011 /* The GNU C library defines this for functions which it implements
38012 to always fail with ENOSYS. Some functions are actually named
38013 something starting with __ and the normal name is an alias. */
38014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38015 choke me
38016 #else
38017 char (*f) () = $ac_func;
38018 #endif
38019 #ifdef __cplusplus
38021 #endif
38024 main ()
38026 return f != $ac_func;
38028 return 0;
38030 _ACEOF
38031 rm -f conftest.$ac_objext conftest$ac_exeext
38032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38033 (eval $ac_link) 2>&5
38034 ac_status=$?
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } &&
38037 { ac_try='test -s conftest$ac_exeext'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38040 ac_status=$?
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; }; then
38043 eval "$as_ac_var=yes"
38044 else
38045 echo "$as_me: failed program was:" >&5
38046 sed 's/^/| /' conftest.$ac_ext >&5
38048 eval "$as_ac_var=no"
38050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38054 if test `eval echo '${'$as_ac_var'}'` = yes; then
38055 cat >>confdefs.h <<_ACEOF
38056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38057 _ACEOF
38060 done
38067 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38068 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38069 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38070 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 else
38076 ac_ext=cc
38077 ac_cpp='$CXXCPP $CPPFLAGS'
38078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38082 cat >conftest.$ac_ext <<_ACEOF
38083 #line $LINENO "configure"
38084 /* confdefs.h. */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 #include <math.h>
38091 main ()
38093 fmodl(0, 0);
38095 return 0;
38097 _ACEOF
38098 rm -f conftest.$ac_objext
38099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38100 (eval $ac_compile) 2>&5
38101 ac_status=$?
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } &&
38104 { ac_try='test -s conftest.$ac_objext'
38105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38106 (eval $ac_try) 2>&5
38107 ac_status=$?
38108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109 (exit $ac_status); }; }; then
38110 glibcxx_cv_func_fmodl_use=yes
38111 else
38112 echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38115 glibcxx_cv_func_fmodl_use=no
38117 rm -f conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38129 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38131 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38133 for ac_func in fmodl
38135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38136 echo "$as_me:$LINENO: checking for $ac_func" >&5
38137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38138 if eval "test \"\${$as_ac_var+set}\" = set"; then
38139 echo $ECHO_N "(cached) $ECHO_C" >&6
38140 else
38141 if test x$gcc_no_link = xyes; then
38142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38144 { (exit 1); exit 1; }; }
38146 cat >conftest.$ac_ext <<_ACEOF
38147 #line $LINENO "configure"
38148 /* confdefs.h. */
38149 _ACEOF
38150 cat confdefs.h >>conftest.$ac_ext
38151 cat >>conftest.$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153 /* System header to define __stub macros and hopefully few prototypes,
38154 which can conflict with char $ac_func (); below.
38155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38156 <limits.h> exists even on freestanding compilers. */
38157 #ifdef __STDC__
38158 # include <limits.h>
38159 #else
38160 # include <assert.h>
38161 #endif
38162 /* Override any gcc2 internal prototype to avoid an error. */
38163 #ifdef __cplusplus
38164 extern "C"
38166 #endif
38167 /* We use char because int might match the return type of a gcc2
38168 builtin and then its argument prototype would still apply. */
38169 char $ac_func ();
38170 /* The GNU C library defines this for functions which it implements
38171 to always fail with ENOSYS. Some functions are actually named
38172 something starting with __ and the normal name is an alias. */
38173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38174 choke me
38175 #else
38176 char (*f) () = $ac_func;
38177 #endif
38178 #ifdef __cplusplus
38180 #endif
38183 main ()
38185 return f != $ac_func;
38187 return 0;
38189 _ACEOF
38190 rm -f conftest.$ac_objext conftest$ac_exeext
38191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38192 (eval $ac_link) 2>&5
38193 ac_status=$?
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try='test -s conftest$ac_exeext'
38197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38198 (eval $ac_try) 2>&5
38199 ac_status=$?
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); }; }; then
38202 eval "$as_ac_var=yes"
38203 else
38204 echo "$as_me: failed program was:" >&5
38205 sed 's/^/| /' conftest.$ac_ext >&5
38207 eval "$as_ac_var=no"
38209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38213 if test `eval echo '${'$as_ac_var'}'` = yes; then
38214 cat >>confdefs.h <<_ACEOF
38215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38216 _ACEOF
38219 done
38221 else
38223 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38224 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38225 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38226 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38232 ac_ext=cc
38233 ac_cpp='$CXXCPP $CPPFLAGS'
38234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38238 cat >conftest.$ac_ext <<_ACEOF
38239 #line $LINENO "configure"
38240 /* confdefs.h. */
38241 _ACEOF
38242 cat confdefs.h >>conftest.$ac_ext
38243 cat >>conftest.$ac_ext <<_ACEOF
38244 /* end confdefs.h. */
38245 #include <math.h>
38247 main ()
38249 _fmodl(0, 0);
38251 return 0;
38253 _ACEOF
38254 rm -f conftest.$ac_objext
38255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38256 (eval $ac_compile) 2>&5
38257 ac_status=$?
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } &&
38260 { ac_try='test -s conftest.$ac_objext'
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38263 ac_status=$?
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; }; then
38266 glibcxx_cv_func__fmodl_use=yes
38267 else
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38271 glibcxx_cv_func__fmodl_use=no
38273 rm -f conftest.$ac_objext conftest.$ac_ext
38274 ac_ext=c
38275 ac_cpp='$CPP $CPPFLAGS'
38276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38285 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38287 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38289 for ac_func in _fmodl
38291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38292 echo "$as_me:$LINENO: checking for $ac_func" >&5
38293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38294 if eval "test \"\${$as_ac_var+set}\" = set"; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38297 if test x$gcc_no_link = xyes; then
38298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38300 { (exit 1); exit 1; }; }
38302 cat >conftest.$ac_ext <<_ACEOF
38303 #line $LINENO "configure"
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309 /* System header to define __stub macros and hopefully few prototypes,
38310 which can conflict with char $ac_func (); below.
38311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312 <limits.h> exists even on freestanding compilers. */
38313 #ifdef __STDC__
38314 # include <limits.h>
38315 #else
38316 # include <assert.h>
38317 #endif
38318 /* Override any gcc2 internal prototype to avoid an error. */
38319 #ifdef __cplusplus
38320 extern "C"
38322 #endif
38323 /* We use char because int might match the return type of a gcc2
38324 builtin and then its argument prototype would still apply. */
38325 char $ac_func ();
38326 /* The GNU C library defines this for functions which it implements
38327 to always fail with ENOSYS. Some functions are actually named
38328 something starting with __ and the normal name is an alias. */
38329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38330 choke me
38331 #else
38332 char (*f) () = $ac_func;
38333 #endif
38334 #ifdef __cplusplus
38336 #endif
38339 main ()
38341 return f != $ac_func;
38343 return 0;
38345 _ACEOF
38346 rm -f conftest.$ac_objext conftest$ac_exeext
38347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38348 (eval $ac_link) 2>&5
38349 ac_status=$?
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); } &&
38352 { ac_try='test -s conftest$ac_exeext'
38353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354 (eval $ac_try) 2>&5
38355 ac_status=$?
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); }; }; then
38358 eval "$as_ac_var=yes"
38359 else
38360 echo "$as_me: failed program was:" >&5
38361 sed 's/^/| /' conftest.$ac_ext >&5
38363 eval "$as_ac_var=no"
38365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38369 if test `eval echo '${'$as_ac_var'}'` = yes; then
38370 cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38372 _ACEOF
38375 done
38382 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38383 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38384 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38385 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38391 ac_ext=cc
38392 ac_cpp='$CXXCPP $CPPFLAGS'
38393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38397 cat >conftest.$ac_ext <<_ACEOF
38398 #line $LINENO "configure"
38399 /* confdefs.h. */
38400 _ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 #include <math.h>
38406 main ()
38408 frexpl(0, 0);
38410 return 0;
38412 _ACEOF
38413 rm -f conftest.$ac_objext
38414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38415 (eval $ac_compile) 2>&5
38416 ac_status=$?
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } &&
38419 { ac_try='test -s conftest.$ac_objext'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38422 ac_status=$?
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; }; then
38425 glibcxx_cv_func_frexpl_use=yes
38426 else
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38430 glibcxx_cv_func_frexpl_use=no
38432 rm -f conftest.$ac_objext conftest.$ac_ext
38433 ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38444 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38446 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38448 for ac_func in frexpl
38450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38451 echo "$as_me:$LINENO: checking for $ac_func" >&5
38452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38453 if eval "test \"\${$as_ac_var+set}\" = set"; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 else
38456 if test x$gcc_no_link = xyes; then
38457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38459 { (exit 1); exit 1; }; }
38461 cat >conftest.$ac_ext <<_ACEOF
38462 #line $LINENO "configure"
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468 /* System header to define __stub macros and hopefully few prototypes,
38469 which can conflict with char $ac_func (); below.
38470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38471 <limits.h> exists even on freestanding compilers. */
38472 #ifdef __STDC__
38473 # include <limits.h>
38474 #else
38475 # include <assert.h>
38476 #endif
38477 /* Override any gcc2 internal prototype to avoid an error. */
38478 #ifdef __cplusplus
38479 extern "C"
38481 #endif
38482 /* We use char because int might match the return type of a gcc2
38483 builtin and then its argument prototype would still apply. */
38484 char $ac_func ();
38485 /* The GNU C library defines this for functions which it implements
38486 to always fail with ENOSYS. Some functions are actually named
38487 something starting with __ and the normal name is an alias. */
38488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38489 choke me
38490 #else
38491 char (*f) () = $ac_func;
38492 #endif
38493 #ifdef __cplusplus
38495 #endif
38498 main ()
38500 return f != $ac_func;
38502 return 0;
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38507 (eval $ac_link) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } &&
38511 { ac_try='test -s conftest$ac_exeext'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38514 ac_status=$?
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; }; then
38517 eval "$as_ac_var=yes"
38518 else
38519 echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.$ac_ext >&5
38522 eval "$as_ac_var=no"
38524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38528 if test `eval echo '${'$as_ac_var'}'` = yes; then
38529 cat >>confdefs.h <<_ACEOF
38530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38531 _ACEOF
38534 done
38536 else
38538 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38539 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38540 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38541 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38547 ac_ext=cc
38548 ac_cpp='$CXXCPP $CPPFLAGS'
38549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38553 cat >conftest.$ac_ext <<_ACEOF
38554 #line $LINENO "configure"
38555 /* confdefs.h. */
38556 _ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38560 #include <math.h>
38562 main ()
38564 _frexpl(0, 0);
38566 return 0;
38568 _ACEOF
38569 rm -f conftest.$ac_objext
38570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38571 (eval $ac_compile) 2>&5
38572 ac_status=$?
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); } &&
38575 { ac_try='test -s conftest.$ac_objext'
38576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38577 (eval $ac_try) 2>&5
38578 ac_status=$?
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); }; }; then
38581 glibcxx_cv_func__frexpl_use=yes
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38586 glibcxx_cv_func__frexpl_use=no
38588 rm -f conftest.$ac_objext conftest.$ac_ext
38589 ac_ext=c
38590 ac_cpp='$CPP $CPPFLAGS'
38591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38600 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38602 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38604 for ac_func in _frexpl
38606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38607 echo "$as_me:$LINENO: checking for $ac_func" >&5
38608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38609 if eval "test \"\${$as_ac_var+set}\" = set"; then
38610 echo $ECHO_N "(cached) $ECHO_C" >&6
38611 else
38612 if test x$gcc_no_link = xyes; then
38613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38615 { (exit 1); exit 1; }; }
38617 cat >conftest.$ac_ext <<_ACEOF
38618 #line $LINENO "configure"
38619 /* confdefs.h. */
38620 _ACEOF
38621 cat confdefs.h >>conftest.$ac_ext
38622 cat >>conftest.$ac_ext <<_ACEOF
38623 /* end confdefs.h. */
38624 /* System header to define __stub macros and hopefully few prototypes,
38625 which can conflict with char $ac_func (); below.
38626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38627 <limits.h> exists even on freestanding compilers. */
38628 #ifdef __STDC__
38629 # include <limits.h>
38630 #else
38631 # include <assert.h>
38632 #endif
38633 /* Override any gcc2 internal prototype to avoid an error. */
38634 #ifdef __cplusplus
38635 extern "C"
38637 #endif
38638 /* We use char because int might match the return type of a gcc2
38639 builtin and then its argument prototype would still apply. */
38640 char $ac_func ();
38641 /* The GNU C library defines this for functions which it implements
38642 to always fail with ENOSYS. Some functions are actually named
38643 something starting with __ and the normal name is an alias. */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38645 choke me
38646 #else
38647 char (*f) () = $ac_func;
38648 #endif
38649 #ifdef __cplusplus
38651 #endif
38654 main ()
38656 return f != $ac_func;
38658 return 0;
38660 _ACEOF
38661 rm -f conftest.$ac_objext conftest$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663 (eval $ac_link) 2>&5
38664 ac_status=$?
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } &&
38667 { ac_try='test -s conftest$ac_exeext'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38670 ac_status=$?
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; }; then
38673 eval "$as_ac_var=yes"
38674 else
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 eval "$as_ac_var=no"
38680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685 cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38690 done
38697 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38698 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38699 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38700 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38701 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 else
38706 ac_ext=cc
38707 ac_cpp='$CXXCPP $CPPFLAGS'
38708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38712 cat >conftest.$ac_ext <<_ACEOF
38713 #line $LINENO "configure"
38714 /* confdefs.h. */
38715 _ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 #include <math.h>
38721 main ()
38723 hypotl(0, 0);
38725 return 0;
38727 _ACEOF
38728 rm -f conftest.$ac_objext
38729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38730 (eval $ac_compile) 2>&5
38731 ac_status=$?
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } &&
38734 { ac_try='test -s conftest.$ac_objext'
38735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38736 (eval $ac_try) 2>&5
38737 ac_status=$?
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); }; }; then
38740 glibcxx_cv_func_hypotl_use=yes
38741 else
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38745 glibcxx_cv_func_hypotl_use=no
38747 rm -f conftest.$ac_objext conftest.$ac_ext
38748 ac_ext=c
38749 ac_cpp='$CPP $CPPFLAGS'
38750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38759 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38761 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38763 for ac_func in hypotl
38765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38766 echo "$as_me:$LINENO: checking for $ac_func" >&5
38767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38768 if eval "test \"\${$as_ac_var+set}\" = set"; then
38769 echo $ECHO_N "(cached) $ECHO_C" >&6
38770 else
38771 if test x$gcc_no_link = xyes; then
38772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38774 { (exit 1); exit 1; }; }
38776 cat >conftest.$ac_ext <<_ACEOF
38777 #line $LINENO "configure"
38778 /* confdefs.h. */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 /* System header to define __stub macros and hopefully few prototypes,
38784 which can conflict with char $ac_func (); below.
38785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38786 <limits.h> exists even on freestanding compilers. */
38787 #ifdef __STDC__
38788 # include <limits.h>
38789 #else
38790 # include <assert.h>
38791 #endif
38792 /* Override any gcc2 internal prototype to avoid an error. */
38793 #ifdef __cplusplus
38794 extern "C"
38796 #endif
38797 /* We use char because int might match the return type of a gcc2
38798 builtin and then its argument prototype would still apply. */
38799 char $ac_func ();
38800 /* The GNU C library defines this for functions which it implements
38801 to always fail with ENOSYS. Some functions are actually named
38802 something starting with __ and the normal name is an alias. */
38803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38804 choke me
38805 #else
38806 char (*f) () = $ac_func;
38807 #endif
38808 #ifdef __cplusplus
38810 #endif
38813 main ()
38815 return f != $ac_func;
38817 return 0;
38819 _ACEOF
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38822 (eval $ac_link) 2>&5
38823 ac_status=$?
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); } &&
38826 { ac_try='test -s conftest$ac_exeext'
38827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38828 (eval $ac_try) 2>&5
38829 ac_status=$?
38830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831 (exit $ac_status); }; }; then
38832 eval "$as_ac_var=yes"
38833 else
38834 echo "$as_me: failed program was:" >&5
38835 sed 's/^/| /' conftest.$ac_ext >&5
38837 eval "$as_ac_var=no"
38839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38843 if test `eval echo '${'$as_ac_var'}'` = yes; then
38844 cat >>confdefs.h <<_ACEOF
38845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38846 _ACEOF
38849 done
38851 else
38853 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38854 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38855 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38856 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38857 echo $ECHO_N "(cached) $ECHO_C" >&6
38858 else
38862 ac_ext=cc
38863 ac_cpp='$CXXCPP $CPPFLAGS'
38864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38868 cat >conftest.$ac_ext <<_ACEOF
38869 #line $LINENO "configure"
38870 /* confdefs.h. */
38871 _ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h. */
38875 #include <math.h>
38877 main ()
38879 _hypotl(0, 0);
38881 return 0;
38883 _ACEOF
38884 rm -f conftest.$ac_objext
38885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38886 (eval $ac_compile) 2>&5
38887 ac_status=$?
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } &&
38890 { ac_try='test -s conftest.$ac_objext'
38891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38892 (eval $ac_try) 2>&5
38893 ac_status=$?
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); }; }; then
38896 glibcxx_cv_func__hypotl_use=yes
38897 else
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38901 glibcxx_cv_func__hypotl_use=no
38903 rm -f conftest.$ac_objext conftest.$ac_ext
38904 ac_ext=c
38905 ac_cpp='$CPP $CPPFLAGS'
38906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
38915 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
38917 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38919 for ac_func in _hypotl
38921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38922 echo "$as_me:$LINENO: checking for $ac_func" >&5
38923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38924 if eval "test \"\${$as_ac_var+set}\" = set"; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927 if test x$gcc_no_link = xyes; then
38928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38930 { (exit 1); exit 1; }; }
38932 cat >conftest.$ac_ext <<_ACEOF
38933 #line $LINENO "configure"
38934 /* confdefs.h. */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939 /* System header to define __stub macros and hopefully few prototypes,
38940 which can conflict with char $ac_func (); below.
38941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38942 <limits.h> exists even on freestanding compilers. */
38943 #ifdef __STDC__
38944 # include <limits.h>
38945 #else
38946 # include <assert.h>
38947 #endif
38948 /* Override any gcc2 internal prototype to avoid an error. */
38949 #ifdef __cplusplus
38950 extern "C"
38952 #endif
38953 /* We use char because int might match the return type of a gcc2
38954 builtin and then its argument prototype would still apply. */
38955 char $ac_func ();
38956 /* The GNU C library defines this for functions which it implements
38957 to always fail with ENOSYS. Some functions are actually named
38958 something starting with __ and the normal name is an alias. */
38959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38960 choke me
38961 #else
38962 char (*f) () = $ac_func;
38963 #endif
38964 #ifdef __cplusplus
38966 #endif
38969 main ()
38971 return f != $ac_func;
38973 return 0;
38975 _ACEOF
38976 rm -f conftest.$ac_objext conftest$ac_exeext
38977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38978 (eval $ac_link) 2>&5
38979 ac_status=$?
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); } &&
38982 { ac_try='test -s conftest$ac_exeext'
38983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38984 (eval $ac_try) 2>&5
38985 ac_status=$?
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); }; }; then
38988 eval "$as_ac_var=yes"
38989 else
38990 echo "$as_me: failed program was:" >&5
38991 sed 's/^/| /' conftest.$ac_ext >&5
38993 eval "$as_ac_var=no"
38995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38999 if test `eval echo '${'$as_ac_var'}'` = yes; then
39000 cat >>confdefs.h <<_ACEOF
39001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39002 _ACEOF
39005 done
39012 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39013 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39014 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39015 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39021 ac_ext=cc
39022 ac_cpp='$CXXCPP $CPPFLAGS'
39023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39027 cat >conftest.$ac_ext <<_ACEOF
39028 #line $LINENO "configure"
39029 /* confdefs.h. */
39030 _ACEOF
39031 cat confdefs.h >>conftest.$ac_ext
39032 cat >>conftest.$ac_ext <<_ACEOF
39033 /* end confdefs.h. */
39034 #include <math.h>
39036 main ()
39038 ldexpl(0, 0);
39040 return 0;
39042 _ACEOF
39043 rm -f conftest.$ac_objext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39045 (eval $ac_compile) 2>&5
39046 ac_status=$?
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } &&
39049 { ac_try='test -s conftest.$ac_objext'
39050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39051 (eval $ac_try) 2>&5
39052 ac_status=$?
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); }; }; then
39055 glibcxx_cv_func_ldexpl_use=yes
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39060 glibcxx_cv_func_ldexpl_use=no
39062 rm -f conftest.$ac_objext conftest.$ac_ext
39063 ac_ext=c
39064 ac_cpp='$CPP $CPPFLAGS'
39065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39074 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39076 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39078 for ac_func in ldexpl
39080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39081 echo "$as_me:$LINENO: checking for $ac_func" >&5
39082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39083 if eval "test \"\${$as_ac_var+set}\" = set"; then
39084 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086 if test x$gcc_no_link = xyes; then
39087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39089 { (exit 1); exit 1; }; }
39091 cat >conftest.$ac_ext <<_ACEOF
39092 #line $LINENO "configure"
39093 /* confdefs.h. */
39094 _ACEOF
39095 cat confdefs.h >>conftest.$ac_ext
39096 cat >>conftest.$ac_ext <<_ACEOF
39097 /* end confdefs.h. */
39098 /* System header to define __stub macros and hopefully few prototypes,
39099 which can conflict with char $ac_func (); below.
39100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39101 <limits.h> exists even on freestanding compilers. */
39102 #ifdef __STDC__
39103 # include <limits.h>
39104 #else
39105 # include <assert.h>
39106 #endif
39107 /* Override any gcc2 internal prototype to avoid an error. */
39108 #ifdef __cplusplus
39109 extern "C"
39111 #endif
39112 /* We use char because int might match the return type of a gcc2
39113 builtin and then its argument prototype would still apply. */
39114 char $ac_func ();
39115 /* The GNU C library defines this for functions which it implements
39116 to always fail with ENOSYS. Some functions are actually named
39117 something starting with __ and the normal name is an alias. */
39118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39119 choke me
39120 #else
39121 char (*f) () = $ac_func;
39122 #endif
39123 #ifdef __cplusplus
39125 #endif
39128 main ()
39130 return f != $ac_func;
39132 return 0;
39134 _ACEOF
39135 rm -f conftest.$ac_objext conftest$ac_exeext
39136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39137 (eval $ac_link) 2>&5
39138 ac_status=$?
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); } &&
39141 { ac_try='test -s conftest$ac_exeext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39144 ac_status=$?
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 eval "$as_ac_var=yes"
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39152 eval "$as_ac_var=no"
39154 rm -f conftest.$ac_objext 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 _ldexpl declaration" >&5
39169 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39170 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39171 if test "${glibcxx_cv_func__ldexpl_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 #line $LINENO "configure"
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 #include <math.h>
39192 main ()
39194 _ldexpl(0, 0);
39196 return 0;
39198 _ACEOF
39199 rm -f conftest.$ac_objext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39201 (eval $ac_compile) 2>&5
39202 ac_status=$?
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } &&
39205 { ac_try='test -s conftest.$ac_objext'
39206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207 (eval $ac_try) 2>&5
39208 ac_status=$?
39209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210 (exit $ac_status); }; }; then
39211 glibcxx_cv_func__ldexpl_use=yes
39212 else
39213 echo "$as_me: failed program was:" >&5
39214 sed 's/^/| /' conftest.$ac_ext >&5
39216 glibcxx_cv_func__ldexpl_use=no
39218 rm -f conftest.$ac_objext conftest.$ac_ext
39219 ac_ext=c
39220 ac_cpp='$CPP $CPPFLAGS'
39221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39230 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39232 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39234 for ac_func in _ldexpl
39236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39237 echo "$as_me:$LINENO: checking for $ac_func" >&5
39238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39239 if eval "test \"\${$as_ac_var+set}\" = set"; then
39240 echo $ECHO_N "(cached) $ECHO_C" >&6
39241 else
39242 if test x$gcc_no_link = xyes; then
39243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39245 { (exit 1); exit 1; }; }
39247 cat >conftest.$ac_ext <<_ACEOF
39248 #line $LINENO "configure"
39249 /* confdefs.h. */
39250 _ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h. */
39254 /* System header to define __stub macros and hopefully few prototypes,
39255 which can conflict with char $ac_func (); below.
39256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39257 <limits.h> exists even on freestanding compilers. */
39258 #ifdef __STDC__
39259 # include <limits.h>
39260 #else
39261 # include <assert.h>
39262 #endif
39263 /* Override any gcc2 internal prototype to avoid an error. */
39264 #ifdef __cplusplus
39265 extern "C"
39267 #endif
39268 /* We use char because int might match the return type of a gcc2
39269 builtin and then its argument prototype would still apply. */
39270 char $ac_func ();
39271 /* The GNU C library defines this for functions which it implements
39272 to always fail with ENOSYS. Some functions are actually named
39273 something starting with __ and the normal name is an alias. */
39274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39275 choke me
39276 #else
39277 char (*f) () = $ac_func;
39278 #endif
39279 #ifdef __cplusplus
39281 #endif
39284 main ()
39286 return f != $ac_func;
39288 return 0;
39290 _ACEOF
39291 rm -f conftest.$ac_objext conftest$ac_exeext
39292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39293 (eval $ac_link) 2>&5
39294 ac_status=$?
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); } &&
39297 { ac_try='test -s conftest$ac_exeext'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39300 ac_status=$?
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; }; then
39303 eval "$as_ac_var=yes"
39304 else
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39308 eval "$as_ac_var=no"
39310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39314 if test `eval echo '${'$as_ac_var'}'` = yes; then
39315 cat >>confdefs.h <<_ACEOF
39316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39317 _ACEOF
39320 done
39327 echo "$as_me:$LINENO: checking for logl declaration" >&5
39328 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39329 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39330 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39331 echo $ECHO_N "(cached) $ECHO_C" >&6
39332 else
39336 ac_ext=cc
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342 cat >conftest.$ac_ext <<_ACEOF
39343 #line $LINENO "configure"
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 #include <math.h>
39350 #ifdef HAVE_IEEEFP_H
39351 #include <ieeefp.h>
39352 #endif
39355 main ()
39357 logl(0);
39359 return 0;
39361 _ACEOF
39362 rm -f conftest.$ac_objext
39363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39364 (eval $ac_compile) 2>&5
39365 ac_status=$?
39366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367 (exit $ac_status); } &&
39368 { ac_try='test -s conftest.$ac_objext'
39369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370 (eval $ac_try) 2>&5
39371 ac_status=$?
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); }; }; then
39374 glibcxx_cv_func_logl_use=yes
39375 else
39376 echo "$as_me: failed program was:" >&5
39377 sed 's/^/| /' conftest.$ac_ext >&5
39379 glibcxx_cv_func_logl_use=no
39381 rm -f conftest.$ac_objext conftest.$ac_ext
39382 ac_ext=c
39383 ac_cpp='$CPP $CPPFLAGS'
39384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39393 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39395 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39397 for ac_func in logl
39399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39400 echo "$as_me:$LINENO: checking for $ac_func" >&5
39401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39402 if eval "test \"\${$as_ac_var+set}\" = set"; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 else
39405 if test x$gcc_no_link = xyes; then
39406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39408 { (exit 1); exit 1; }; }
39410 cat >conftest.$ac_ext <<_ACEOF
39411 #line $LINENO "configure"
39412 /* confdefs.h. */
39413 _ACEOF
39414 cat confdefs.h >>conftest.$ac_ext
39415 cat >>conftest.$ac_ext <<_ACEOF
39416 /* end confdefs.h. */
39417 /* System header to define __stub macros and hopefully few prototypes,
39418 which can conflict with char $ac_func (); below.
39419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39420 <limits.h> exists even on freestanding compilers. */
39421 #ifdef __STDC__
39422 # include <limits.h>
39423 #else
39424 # include <assert.h>
39425 #endif
39426 /* Override any gcc2 internal prototype to avoid an error. */
39427 #ifdef __cplusplus
39428 extern "C"
39430 #endif
39431 /* We use char because int might match the return type of a gcc2
39432 builtin and then its argument prototype would still apply. */
39433 char $ac_func ();
39434 /* The GNU C library defines this for functions which it implements
39435 to always fail with ENOSYS. Some functions are actually named
39436 something starting with __ and the normal name is an alias. */
39437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39438 choke me
39439 #else
39440 char (*f) () = $ac_func;
39441 #endif
39442 #ifdef __cplusplus
39444 #endif
39447 main ()
39449 return f != $ac_func;
39451 return 0;
39453 _ACEOF
39454 rm -f conftest.$ac_objext conftest$ac_exeext
39455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39456 (eval $ac_link) 2>&5
39457 ac_status=$?
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } &&
39460 { ac_try='test -s conftest$ac_exeext'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39463 ac_status=$?
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; }; then
39466 eval "$as_ac_var=yes"
39467 else
39468 echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.$ac_ext >&5
39471 eval "$as_ac_var=no"
39473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39477 if test `eval echo '${'$as_ac_var'}'` = yes; then
39478 cat >>confdefs.h <<_ACEOF
39479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39480 _ACEOF
39483 done
39485 else
39487 echo "$as_me:$LINENO: checking for _logl declaration" >&5
39488 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39489 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39490 if test "${glibcxx_cv_func__logl_use+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39496 ac_ext=cc
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502 cat >conftest.$ac_ext <<_ACEOF
39503 #line $LINENO "configure"
39504 /* confdefs.h. */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 #include <math.h>
39510 #ifdef HAVE_IEEEFP_H
39511 #include <ieeefp.h>
39512 #endif
39515 main ()
39517 _logl(0);
39519 return 0;
39521 _ACEOF
39522 rm -f conftest.$ac_objext
39523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39524 (eval $ac_compile) 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); } &&
39528 { ac_try='test -s conftest.$ac_objext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39531 ac_status=$?
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39534 glibcxx_cv_func__logl_use=yes
39535 else
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.$ac_ext >&5
39539 glibcxx_cv_func__logl_use=no
39541 rm -f conftest.$ac_objext conftest.$ac_ext
39542 ac_ext=c
39543 ac_cpp='$CPP $CPPFLAGS'
39544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39553 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39555 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39557 for ac_func in _logl
39559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39560 echo "$as_me:$LINENO: checking for $ac_func" >&5
39561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39562 if eval "test \"\${$as_ac_var+set}\" = set"; then
39563 echo $ECHO_N "(cached) $ECHO_C" >&6
39564 else
39565 if test x$gcc_no_link = xyes; then
39566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39568 { (exit 1); exit 1; }; }
39570 cat >conftest.$ac_ext <<_ACEOF
39571 #line $LINENO "configure"
39572 /* confdefs.h. */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 /* System header to define __stub macros and hopefully few prototypes,
39578 which can conflict with char $ac_func (); below.
39579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580 <limits.h> exists even on freestanding compilers. */
39581 #ifdef __STDC__
39582 # include <limits.h>
39583 #else
39584 # include <assert.h>
39585 #endif
39586 /* Override any gcc2 internal prototype to avoid an error. */
39587 #ifdef __cplusplus
39588 extern "C"
39590 #endif
39591 /* We use char because int might match the return type of a gcc2
39592 builtin and then its argument prototype would still apply. */
39593 char $ac_func ();
39594 /* The GNU C library defines this for functions which it implements
39595 to always fail with ENOSYS. Some functions are actually named
39596 something starting with __ and the normal name is an alias. */
39597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39598 choke me
39599 #else
39600 char (*f) () = $ac_func;
39601 #endif
39602 #ifdef __cplusplus
39604 #endif
39607 main ()
39609 return f != $ac_func;
39611 return 0;
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39616 (eval $ac_link) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -s conftest$ac_exeext'
39621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622 (eval $ac_try) 2>&5
39623 ac_status=$?
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); }; }; then
39626 eval "$as_ac_var=yes"
39627 else
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39631 eval "$as_ac_var=no"
39633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39637 if test `eval echo '${'$as_ac_var'}'` = yes; then
39638 cat >>confdefs.h <<_ACEOF
39639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39640 _ACEOF
39643 done
39650 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39651 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39652 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39653 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39659 ac_ext=cc
39660 ac_cpp='$CXXCPP $CPPFLAGS'
39661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39665 cat >conftest.$ac_ext <<_ACEOF
39666 #line $LINENO "configure"
39667 /* confdefs.h. */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 #include <math.h>
39673 #ifdef HAVE_IEEEFP_H
39674 #include <ieeefp.h>
39675 #endif
39678 main ()
39680 log10l(0);
39682 return 0;
39684 _ACEOF
39685 rm -f conftest.$ac_objext
39686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39687 (eval $ac_compile) 2>&5
39688 ac_status=$?
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); } &&
39691 { ac_try='test -s conftest.$ac_objext'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39694 ac_status=$?
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; }; then
39697 glibcxx_cv_func_log10l_use=yes
39698 else
39699 echo "$as_me: failed program was:" >&5
39700 sed 's/^/| /' conftest.$ac_ext >&5
39702 glibcxx_cv_func_log10l_use=no
39704 rm -f conftest.$ac_objext conftest.$ac_ext
39705 ac_ext=c
39706 ac_cpp='$CPP $CPPFLAGS'
39707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39716 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39718 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39720 for ac_func in log10l
39722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39723 echo "$as_me:$LINENO: checking for $ac_func" >&5
39724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39725 if eval "test \"\${$as_ac_var+set}\" = set"; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728 if test x$gcc_no_link = xyes; then
39729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39731 { (exit 1); exit 1; }; }
39733 cat >conftest.$ac_ext <<_ACEOF
39734 #line $LINENO "configure"
39735 /* confdefs.h. */
39736 _ACEOF
39737 cat confdefs.h >>conftest.$ac_ext
39738 cat >>conftest.$ac_ext <<_ACEOF
39739 /* end confdefs.h. */
39740 /* System header to define __stub macros and hopefully few prototypes,
39741 which can conflict with char $ac_func (); below.
39742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39743 <limits.h> exists even on freestanding compilers. */
39744 #ifdef __STDC__
39745 # include <limits.h>
39746 #else
39747 # include <assert.h>
39748 #endif
39749 /* Override any gcc2 internal prototype to avoid an error. */
39750 #ifdef __cplusplus
39751 extern "C"
39753 #endif
39754 /* We use char because int might match the return type of a gcc2
39755 builtin and then its argument prototype would still apply. */
39756 char $ac_func ();
39757 /* The GNU C library defines this for functions which it implements
39758 to always fail with ENOSYS. Some functions are actually named
39759 something starting with __ and the normal name is an alias. */
39760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39761 choke me
39762 #else
39763 char (*f) () = $ac_func;
39764 #endif
39765 #ifdef __cplusplus
39767 #endif
39770 main ()
39772 return f != $ac_func;
39774 return 0;
39776 _ACEOF
39777 rm -f conftest.$ac_objext conftest$ac_exeext
39778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39779 (eval $ac_link) 2>&5
39780 ac_status=$?
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } &&
39783 { ac_try='test -s conftest$ac_exeext'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39786 ac_status=$?
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; }; then
39789 eval "$as_ac_var=yes"
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39794 eval "$as_ac_var=no"
39796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39800 if test `eval echo '${'$as_ac_var'}'` = yes; then
39801 cat >>confdefs.h <<_ACEOF
39802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39803 _ACEOF
39806 done
39808 else
39810 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39811 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39812 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39813 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 else
39819 ac_ext=cc
39820 ac_cpp='$CXXCPP $CPPFLAGS'
39821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39825 cat >conftest.$ac_ext <<_ACEOF
39826 #line $LINENO "configure"
39827 /* confdefs.h. */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 #include <math.h>
39833 #ifdef HAVE_IEEEFP_H
39834 #include <ieeefp.h>
39835 #endif
39838 main ()
39840 _log10l(0);
39842 return 0;
39844 _ACEOF
39845 rm -f conftest.$ac_objext
39846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39847 (eval $ac_compile) 2>&5
39848 ac_status=$?
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } &&
39851 { ac_try='test -s conftest.$ac_objext'
39852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39853 (eval $ac_try) 2>&5
39854 ac_status=$?
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); }; }; then
39857 glibcxx_cv_func__log10l_use=yes
39858 else
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39862 glibcxx_cv_func__log10l_use=no
39864 rm -f conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39876 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39878 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39880 for ac_func in _log10l
39882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39883 echo "$as_me:$LINENO: checking for $ac_func" >&5
39884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39885 if eval "test \"\${$as_ac_var+set}\" = set"; then
39886 echo $ECHO_N "(cached) $ECHO_C" >&6
39887 else
39888 if test x$gcc_no_link = xyes; then
39889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39891 { (exit 1); exit 1; }; }
39893 cat >conftest.$ac_ext <<_ACEOF
39894 #line $LINENO "configure"
39895 /* confdefs.h. */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h. */
39900 /* System header to define __stub macros and hopefully few prototypes,
39901 which can conflict with char $ac_func (); below.
39902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39903 <limits.h> exists even on freestanding compilers. */
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39909 /* Override any gcc2 internal prototype to avoid an error. */
39910 #ifdef __cplusplus
39911 extern "C"
39913 #endif
39914 /* We use char because int might match the return type of a gcc2
39915 builtin and then its argument prototype would still apply. */
39916 char $ac_func ();
39917 /* The GNU C library defines this for functions which it implements
39918 to always fail with ENOSYS. Some functions are actually named
39919 something starting with __ and the normal name is an alias. */
39920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39921 choke me
39922 #else
39923 char (*f) () = $ac_func;
39924 #endif
39925 #ifdef __cplusplus
39927 #endif
39930 main ()
39932 return f != $ac_func;
39934 return 0;
39936 _ACEOF
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39939 (eval $ac_link) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); } &&
39943 { ac_try='test -s conftest$ac_exeext'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39946 ac_status=$?
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; }; then
39949 eval "$as_ac_var=yes"
39950 else
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39954 eval "$as_ac_var=no"
39956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39960 if test `eval echo '${'$as_ac_var'}'` = yes; then
39961 cat >>confdefs.h <<_ACEOF
39962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39963 _ACEOF
39966 done
39973 echo "$as_me:$LINENO: checking for modfl declaration" >&5
39974 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
39975 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39976 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 else
39982 ac_ext=cc
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39988 cat >conftest.$ac_ext <<_ACEOF
39989 #line $LINENO "configure"
39990 /* confdefs.h. */
39991 _ACEOF
39992 cat confdefs.h >>conftest.$ac_ext
39993 cat >>conftest.$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39995 #include <math.h>
39997 main ()
39999 modfl(0, 0);
40001 return 0;
40003 _ACEOF
40004 rm -f conftest.$ac_objext
40005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40006 (eval $ac_compile) 2>&5
40007 ac_status=$?
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try='test -s conftest.$ac_objext'
40011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012 (eval $ac_try) 2>&5
40013 ac_status=$?
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); }; }; then
40016 glibcxx_cv_func_modfl_use=yes
40017 else
40018 echo "$as_me: failed program was:" >&5
40019 sed 's/^/| /' conftest.$ac_ext >&5
40021 glibcxx_cv_func_modfl_use=no
40023 rm -f conftest.$ac_objext conftest.$ac_ext
40024 ac_ext=c
40025 ac_cpp='$CPP $CPPFLAGS'
40026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40035 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40037 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40039 for ac_func in modfl
40041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40042 echo "$as_me:$LINENO: checking for $ac_func" >&5
40043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40044 if eval "test \"\${$as_ac_var+set}\" = set"; then
40045 echo $ECHO_N "(cached) $ECHO_C" >&6
40046 else
40047 if test x$gcc_no_link = xyes; then
40048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40050 { (exit 1); exit 1; }; }
40052 cat >conftest.$ac_ext <<_ACEOF
40053 #line $LINENO "configure"
40054 /* confdefs.h. */
40055 _ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h. */
40059 /* System header to define __stub macros and hopefully few prototypes,
40060 which can conflict with char $ac_func (); below.
40061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40062 <limits.h> exists even on freestanding compilers. */
40063 #ifdef __STDC__
40064 # include <limits.h>
40065 #else
40066 # include <assert.h>
40067 #endif
40068 /* Override any gcc2 internal prototype to avoid an error. */
40069 #ifdef __cplusplus
40070 extern "C"
40072 #endif
40073 /* We use char because int might match the return type of a gcc2
40074 builtin and then its argument prototype would still apply. */
40075 char $ac_func ();
40076 /* The GNU C library defines this for functions which it implements
40077 to always fail with ENOSYS. Some functions are actually named
40078 something starting with __ and the normal name is an alias. */
40079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40080 choke me
40081 #else
40082 char (*f) () = $ac_func;
40083 #endif
40084 #ifdef __cplusplus
40086 #endif
40089 main ()
40091 return f != $ac_func;
40093 return 0;
40095 _ACEOF
40096 rm -f conftest.$ac_objext conftest$ac_exeext
40097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40098 (eval $ac_link) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } &&
40102 { ac_try='test -s conftest$ac_exeext'
40103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104 (eval $ac_try) 2>&5
40105 ac_status=$?
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); }; }; then
40108 eval "$as_ac_var=yes"
40109 else
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40113 eval "$as_ac_var=no"
40115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40119 if test `eval echo '${'$as_ac_var'}'` = yes; then
40120 cat >>confdefs.h <<_ACEOF
40121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40122 _ACEOF
40125 done
40127 else
40129 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40130 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40131 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40132 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 else
40138 ac_ext=cc
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144 cat >conftest.$ac_ext <<_ACEOF
40145 #line $LINENO "configure"
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 #include <math.h>
40153 main ()
40155 _modfl(0, 0);
40157 return 0;
40159 _ACEOF
40160 rm -f conftest.$ac_objext
40161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40162 (eval $ac_compile) 2>&5
40163 ac_status=$?
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } &&
40166 { ac_try='test -s conftest.$ac_objext'
40167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40168 (eval $ac_try) 2>&5
40169 ac_status=$?
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); }; }; then
40172 glibcxx_cv_func__modfl_use=yes
40173 else
40174 echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40177 glibcxx_cv_func__modfl_use=no
40179 rm -f conftest.$ac_objext conftest.$ac_ext
40180 ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40191 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40193 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40195 for ac_func in _modfl
40197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40198 echo "$as_me:$LINENO: checking for $ac_func" >&5
40199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40200 if eval "test \"\${$as_ac_var+set}\" = set"; then
40201 echo $ECHO_N "(cached) $ECHO_C" >&6
40202 else
40203 if test x$gcc_no_link = xyes; then
40204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40206 { (exit 1); exit 1; }; }
40208 cat >conftest.$ac_ext <<_ACEOF
40209 #line $LINENO "configure"
40210 /* confdefs.h. */
40211 _ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 /* System header to define __stub macros and hopefully few prototypes,
40216 which can conflict with char $ac_func (); below.
40217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40218 <limits.h> exists even on freestanding compilers. */
40219 #ifdef __STDC__
40220 # include <limits.h>
40221 #else
40222 # include <assert.h>
40223 #endif
40224 /* Override any gcc2 internal prototype to avoid an error. */
40225 #ifdef __cplusplus
40226 extern "C"
40228 #endif
40229 /* We use char because int might match the return type of a gcc2
40230 builtin and then its argument prototype would still apply. */
40231 char $ac_func ();
40232 /* The GNU C library defines this for functions which it implements
40233 to always fail with ENOSYS. Some functions are actually named
40234 something starting with __ and the normal name is an alias. */
40235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40236 choke me
40237 #else
40238 char (*f) () = $ac_func;
40239 #endif
40240 #ifdef __cplusplus
40242 #endif
40245 main ()
40247 return f != $ac_func;
40249 return 0;
40251 _ACEOF
40252 rm -f conftest.$ac_objext conftest$ac_exeext
40253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40254 (eval $ac_link) 2>&5
40255 ac_status=$?
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); } &&
40258 { ac_try='test -s conftest$ac_exeext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 eval "$as_ac_var=yes"
40265 else
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40269 eval "$as_ac_var=no"
40271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40275 if test `eval echo '${'$as_ac_var'}'` = yes; then
40276 cat >>confdefs.h <<_ACEOF
40277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40278 _ACEOF
40281 done
40288 echo "$as_me:$LINENO: checking for powl declaration" >&5
40289 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40290 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40291 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40293 else
40297 ac_ext=cc
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40303 cat >conftest.$ac_ext <<_ACEOF
40304 #line $LINENO "configure"
40305 /* confdefs.h. */
40306 _ACEOF
40307 cat confdefs.h >>conftest.$ac_ext
40308 cat >>conftest.$ac_ext <<_ACEOF
40309 /* end confdefs.h. */
40310 #include <math.h>
40312 main ()
40314 powl(0, 0);
40316 return 0;
40318 _ACEOF
40319 rm -f conftest.$ac_objext
40320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40321 (eval $ac_compile) 2>&5
40322 ac_status=$?
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try='test -s conftest.$ac_objext'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40328 ac_status=$?
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; }; then
40331 glibcxx_cv_func_powl_use=yes
40332 else
40333 echo "$as_me: failed program was:" >&5
40334 sed 's/^/| /' conftest.$ac_ext >&5
40336 glibcxx_cv_func_powl_use=no
40338 rm -f conftest.$ac_objext conftest.$ac_ext
40339 ac_ext=c
40340 ac_cpp='$CPP $CPPFLAGS'
40341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40350 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40352 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40354 for ac_func in powl
40356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40357 echo "$as_me:$LINENO: checking for $ac_func" >&5
40358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40359 if eval "test \"\${$as_ac_var+set}\" = set"; then
40360 echo $ECHO_N "(cached) $ECHO_C" >&6
40361 else
40362 if test x$gcc_no_link = xyes; then
40363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40365 { (exit 1); exit 1; }; }
40367 cat >conftest.$ac_ext <<_ACEOF
40368 #line $LINENO "configure"
40369 /* confdefs.h. */
40370 _ACEOF
40371 cat confdefs.h >>conftest.$ac_ext
40372 cat >>conftest.$ac_ext <<_ACEOF
40373 /* end confdefs.h. */
40374 /* System header to define __stub macros and hopefully few prototypes,
40375 which can conflict with char $ac_func (); below.
40376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40377 <limits.h> exists even on freestanding compilers. */
40378 #ifdef __STDC__
40379 # include <limits.h>
40380 #else
40381 # include <assert.h>
40382 #endif
40383 /* Override any gcc2 internal prototype to avoid an error. */
40384 #ifdef __cplusplus
40385 extern "C"
40387 #endif
40388 /* We use char because int might match the return type of a gcc2
40389 builtin and then its argument prototype would still apply. */
40390 char $ac_func ();
40391 /* The GNU C library defines this for functions which it implements
40392 to always fail with ENOSYS. Some functions are actually named
40393 something starting with __ and the normal name is an alias. */
40394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40395 choke me
40396 #else
40397 char (*f) () = $ac_func;
40398 #endif
40399 #ifdef __cplusplus
40401 #endif
40404 main ()
40406 return f != $ac_func;
40408 return 0;
40410 _ACEOF
40411 rm -f conftest.$ac_objext conftest$ac_exeext
40412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40413 (eval $ac_link) 2>&5
40414 ac_status=$?
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } &&
40417 { ac_try='test -s conftest$ac_exeext'
40418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419 (eval $ac_try) 2>&5
40420 ac_status=$?
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); }; }; then
40423 eval "$as_ac_var=yes"
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40428 eval "$as_ac_var=no"
40430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40434 if test `eval echo '${'$as_ac_var'}'` = yes; then
40435 cat >>confdefs.h <<_ACEOF
40436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40437 _ACEOF
40440 done
40442 else
40444 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40445 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40446 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40447 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40449 else
40453 ac_ext=cc
40454 ac_cpp='$CXXCPP $CPPFLAGS'
40455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40459 cat >conftest.$ac_ext <<_ACEOF
40460 #line $LINENO "configure"
40461 /* confdefs.h. */
40462 _ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h. */
40466 #include <math.h>
40468 main ()
40470 _powl(0, 0);
40472 return 0;
40474 _ACEOF
40475 rm -f conftest.$ac_objext
40476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40477 (eval $ac_compile) 2>&5
40478 ac_status=$?
40479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40480 (exit $ac_status); } &&
40481 { ac_try='test -s conftest.$ac_objext'
40482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40483 (eval $ac_try) 2>&5
40484 ac_status=$?
40485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486 (exit $ac_status); }; }; then
40487 glibcxx_cv_func__powl_use=yes
40488 else
40489 echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.$ac_ext >&5
40492 glibcxx_cv_func__powl_use=no
40494 rm -f conftest.$ac_objext conftest.$ac_ext
40495 ac_ext=c
40496 ac_cpp='$CPP $CPPFLAGS'
40497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40505 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40506 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40508 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40510 for ac_func in _powl
40512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40513 echo "$as_me:$LINENO: checking for $ac_func" >&5
40514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40515 if eval "test \"\${$as_ac_var+set}\" = set"; then
40516 echo $ECHO_N "(cached) $ECHO_C" >&6
40517 else
40518 if test x$gcc_no_link = xyes; then
40519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40521 { (exit 1); exit 1; }; }
40523 cat >conftest.$ac_ext <<_ACEOF
40524 #line $LINENO "configure"
40525 /* confdefs.h. */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530 /* System header to define __stub macros and hopefully few prototypes,
40531 which can conflict with char $ac_func (); below.
40532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40533 <limits.h> exists even on freestanding compilers. */
40534 #ifdef __STDC__
40535 # include <limits.h>
40536 #else
40537 # include <assert.h>
40538 #endif
40539 /* Override any gcc2 internal prototype to avoid an error. */
40540 #ifdef __cplusplus
40541 extern "C"
40543 #endif
40544 /* We use char because int might match the return type of a gcc2
40545 builtin and then its argument prototype would still apply. */
40546 char $ac_func ();
40547 /* The GNU C library defines this for functions which it implements
40548 to always fail with ENOSYS. Some functions are actually named
40549 something starting with __ and the normal name is an alias. */
40550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40551 choke me
40552 #else
40553 char (*f) () = $ac_func;
40554 #endif
40555 #ifdef __cplusplus
40557 #endif
40560 main ()
40562 return f != $ac_func;
40564 return 0;
40566 _ACEOF
40567 rm -f conftest.$ac_objext conftest$ac_exeext
40568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40569 (eval $ac_link) 2>&5
40570 ac_status=$?
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } &&
40573 { ac_try='test -s conftest$ac_exeext'
40574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40575 (eval $ac_try) 2>&5
40576 ac_status=$?
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); }; }; then
40579 eval "$as_ac_var=yes"
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40584 eval "$as_ac_var=no"
40586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40590 if test `eval echo '${'$as_ac_var'}'` = yes; then
40591 cat >>confdefs.h <<_ACEOF
40592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40593 _ACEOF
40596 done
40603 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40604 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40605 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40606 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 else
40612 ac_ext=cc
40613 ac_cpp='$CXXCPP $CPPFLAGS'
40614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40618 cat >conftest.$ac_ext <<_ACEOF
40619 #line $LINENO "configure"
40620 /* confdefs.h. */
40621 _ACEOF
40622 cat confdefs.h >>conftest.$ac_ext
40623 cat >>conftest.$ac_ext <<_ACEOF
40624 /* end confdefs.h. */
40625 #include <math.h>
40626 #ifdef HAVE_IEEEFP_H
40627 #include <ieeefp.h>
40628 #endif
40631 main ()
40633 sqrtl(0);
40635 return 0;
40637 _ACEOF
40638 rm -f conftest.$ac_objext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40640 (eval $ac_compile) 2>&5
40641 ac_status=$?
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); } &&
40644 { ac_try='test -s conftest.$ac_objext'
40645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646 (eval $ac_try) 2>&5
40647 ac_status=$?
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); }; }; then
40650 glibcxx_cv_func_sqrtl_use=yes
40651 else
40652 echo "$as_me: failed program was:" >&5
40653 sed 's/^/| /' conftest.$ac_ext >&5
40655 glibcxx_cv_func_sqrtl_use=no
40657 rm -f conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40669 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40671 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40673 for ac_func in sqrtl
40675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40676 echo "$as_me:$LINENO: checking for $ac_func" >&5
40677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40678 if eval "test \"\${$as_ac_var+set}\" = set"; then
40679 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681 if test x$gcc_no_link = xyes; then
40682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40684 { (exit 1); exit 1; }; }
40686 cat >conftest.$ac_ext <<_ACEOF
40687 #line $LINENO "configure"
40688 /* confdefs.h. */
40689 _ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40693 /* System header to define __stub macros and hopefully few prototypes,
40694 which can conflict with char $ac_func (); below.
40695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40696 <limits.h> exists even on freestanding compilers. */
40697 #ifdef __STDC__
40698 # include <limits.h>
40699 #else
40700 # include <assert.h>
40701 #endif
40702 /* Override any gcc2 internal prototype to avoid an error. */
40703 #ifdef __cplusplus
40704 extern "C"
40706 #endif
40707 /* We use char because int might match the return type of a gcc2
40708 builtin and then its argument prototype would still apply. */
40709 char $ac_func ();
40710 /* The GNU C library defines this for functions which it implements
40711 to always fail with ENOSYS. Some functions are actually named
40712 something starting with __ and the normal name is an alias. */
40713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40714 choke me
40715 #else
40716 char (*f) () = $ac_func;
40717 #endif
40718 #ifdef __cplusplus
40720 #endif
40723 main ()
40725 return f != $ac_func;
40727 return 0;
40729 _ACEOF
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40732 (eval $ac_link) 2>&5
40733 ac_status=$?
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } &&
40736 { ac_try='test -s conftest$ac_exeext'
40737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738 (eval $ac_try) 2>&5
40739 ac_status=$?
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); }; }; then
40742 eval "$as_ac_var=yes"
40743 else
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40747 eval "$as_ac_var=no"
40749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40753 if test `eval echo '${'$as_ac_var'}'` = yes; then
40754 cat >>confdefs.h <<_ACEOF
40755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40756 _ACEOF
40759 done
40761 else
40763 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40764 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40765 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40766 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 else
40772 ac_ext=cc
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat >conftest.$ac_ext <<_ACEOF
40779 #line $LINENO "configure"
40780 /* confdefs.h. */
40781 _ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40785 #include <math.h>
40786 #ifdef HAVE_IEEEFP_H
40787 #include <ieeefp.h>
40788 #endif
40791 main ()
40793 _sqrtl(0);
40795 return 0;
40797 _ACEOF
40798 rm -f conftest.$ac_objext
40799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40800 (eval $ac_compile) 2>&5
40801 ac_status=$?
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); } &&
40804 { ac_try='test -s conftest.$ac_objext'
40805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806 (eval $ac_try) 2>&5
40807 ac_status=$?
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); }; }; then
40810 glibcxx_cv_func__sqrtl_use=yes
40811 else
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40815 glibcxx_cv_func__sqrtl_use=no
40817 rm -f conftest.$ac_objext conftest.$ac_ext
40818 ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40829 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40831 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40833 for ac_func in _sqrtl
40835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40836 echo "$as_me:$LINENO: checking for $ac_func" >&5
40837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40838 if eval "test \"\${$as_ac_var+set}\" = set"; then
40839 echo $ECHO_N "(cached) $ECHO_C" >&6
40840 else
40841 if test x$gcc_no_link = xyes; then
40842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40844 { (exit 1); exit 1; }; }
40846 cat >conftest.$ac_ext <<_ACEOF
40847 #line $LINENO "configure"
40848 /* confdefs.h. */
40849 _ACEOF
40850 cat confdefs.h >>conftest.$ac_ext
40851 cat >>conftest.$ac_ext <<_ACEOF
40852 /* end confdefs.h. */
40853 /* System header to define __stub macros and hopefully few prototypes,
40854 which can conflict with char $ac_func (); below.
40855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40856 <limits.h> exists even on freestanding compilers. */
40857 #ifdef __STDC__
40858 # include <limits.h>
40859 #else
40860 # include <assert.h>
40861 #endif
40862 /* Override any gcc2 internal prototype to avoid an error. */
40863 #ifdef __cplusplus
40864 extern "C"
40866 #endif
40867 /* We use char because int might match the return type of a gcc2
40868 builtin and then its argument prototype would still apply. */
40869 char $ac_func ();
40870 /* The GNU C library defines this for functions which it implements
40871 to always fail with ENOSYS. Some functions are actually named
40872 something starting with __ and the normal name is an alias. */
40873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40874 choke me
40875 #else
40876 char (*f) () = $ac_func;
40877 #endif
40878 #ifdef __cplusplus
40880 #endif
40883 main ()
40885 return f != $ac_func;
40887 return 0;
40889 _ACEOF
40890 rm -f conftest.$ac_objext conftest$ac_exeext
40891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40892 (eval $ac_link) 2>&5
40893 ac_status=$?
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } &&
40896 { ac_try='test -s conftest$ac_exeext'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; }; then
40902 eval "$as_ac_var=yes"
40903 else
40904 echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40907 eval "$as_ac_var=no"
40909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40913 if test `eval echo '${'$as_ac_var'}'` = yes; then
40914 cat >>confdefs.h <<_ACEOF
40915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40916 _ACEOF
40919 done
40926 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
40927 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
40928 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40929 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40931 else
40935 ac_ext=cc
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat >conftest.$ac_ext <<_ACEOF
40942 #line $LINENO "configure"
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 #include <math.h>
40950 main ()
40952 sincosl(0, 0, 0);
40954 return 0;
40956 _ACEOF
40957 rm -f conftest.$ac_objext
40958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40959 (eval $ac_compile) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } &&
40963 { ac_try='test -s conftest.$ac_objext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40966 ac_status=$?
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 glibcxx_cv_func_sincosl_use=yes
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40974 glibcxx_cv_func_sincosl_use=no
40976 rm -f conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40988 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40990 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40992 for ac_func in sincosl
40994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40995 echo "$as_me:$LINENO: checking for $ac_func" >&5
40996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40997 if eval "test \"\${$as_ac_var+set}\" = set"; then
40998 echo $ECHO_N "(cached) $ECHO_C" >&6
40999 else
41000 if test x$gcc_no_link = xyes; then
41001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41003 { (exit 1); exit 1; }; }
41005 cat >conftest.$ac_ext <<_ACEOF
41006 #line $LINENO "configure"
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012 /* System header to define __stub macros and hopefully few prototypes,
41013 which can conflict with char $ac_func (); below.
41014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015 <limits.h> exists even on freestanding compilers. */
41016 #ifdef __STDC__
41017 # include <limits.h>
41018 #else
41019 # include <assert.h>
41020 #endif
41021 /* Override any gcc2 internal prototype to avoid an error. */
41022 #ifdef __cplusplus
41023 extern "C"
41025 #endif
41026 /* We use char because int might match the return type of a gcc2
41027 builtin and then its argument prototype would still apply. */
41028 char $ac_func ();
41029 /* The GNU C library defines this for functions which it implements
41030 to always fail with ENOSYS. Some functions are actually named
41031 something starting with __ and the normal name is an alias. */
41032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41033 choke me
41034 #else
41035 char (*f) () = $ac_func;
41036 #endif
41037 #ifdef __cplusplus
41039 #endif
41042 main ()
41044 return f != $ac_func;
41046 return 0;
41048 _ACEOF
41049 rm -f conftest.$ac_objext conftest$ac_exeext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41051 (eval $ac_link) 2>&5
41052 ac_status=$?
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); } &&
41055 { ac_try='test -s conftest$ac_exeext'
41056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41057 (eval $ac_try) 2>&5
41058 ac_status=$?
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); }; }; then
41061 eval "$as_ac_var=yes"
41062 else
41063 echo "$as_me: failed program was:" >&5
41064 sed 's/^/| /' conftest.$ac_ext >&5
41066 eval "$as_ac_var=no"
41068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41072 if test `eval echo '${'$as_ac_var'}'` = yes; then
41073 cat >>confdefs.h <<_ACEOF
41074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41075 _ACEOF
41078 done
41080 else
41082 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41083 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41084 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41085 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41086 echo $ECHO_N "(cached) $ECHO_C" >&6
41087 else
41091 ac_ext=cc
41092 ac_cpp='$CXXCPP $CPPFLAGS'
41093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41097 cat >conftest.$ac_ext <<_ACEOF
41098 #line $LINENO "configure"
41099 /* confdefs.h. */
41100 _ACEOF
41101 cat confdefs.h >>conftest.$ac_ext
41102 cat >>conftest.$ac_ext <<_ACEOF
41103 /* end confdefs.h. */
41104 #include <math.h>
41106 main ()
41108 _sincosl(0, 0, 0);
41110 return 0;
41112 _ACEOF
41113 rm -f conftest.$ac_objext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41115 (eval $ac_compile) 2>&5
41116 ac_status=$?
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } &&
41119 { ac_try='test -s conftest.$ac_objext'
41120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41121 (eval $ac_try) 2>&5
41122 ac_status=$?
41123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124 (exit $ac_status); }; }; then
41125 glibcxx_cv_func__sincosl_use=yes
41126 else
41127 echo "$as_me: failed program was:" >&5
41128 sed 's/^/| /' conftest.$ac_ext >&5
41130 glibcxx_cv_func__sincosl_use=no
41132 rm -f conftest.$ac_objext conftest.$ac_ext
41133 ac_ext=c
41134 ac_cpp='$CPP $CPPFLAGS'
41135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41144 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41146 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41148 for ac_func in _sincosl
41150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41151 echo "$as_me:$LINENO: checking for $ac_func" >&5
41152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41153 if eval "test \"\${$as_ac_var+set}\" = set"; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156 if test x$gcc_no_link = xyes; then
41157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41159 { (exit 1); exit 1; }; }
41161 cat >conftest.$ac_ext <<_ACEOF
41162 #line $LINENO "configure"
41163 /* confdefs.h. */
41164 _ACEOF
41165 cat confdefs.h >>conftest.$ac_ext
41166 cat >>conftest.$ac_ext <<_ACEOF
41167 /* end confdefs.h. */
41168 /* System header to define __stub macros and hopefully few prototypes,
41169 which can conflict with char $ac_func (); below.
41170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41171 <limits.h> exists even on freestanding compilers. */
41172 #ifdef __STDC__
41173 # include <limits.h>
41174 #else
41175 # include <assert.h>
41176 #endif
41177 /* Override any gcc2 internal prototype to avoid an error. */
41178 #ifdef __cplusplus
41179 extern "C"
41181 #endif
41182 /* We use char because int might match the return type of a gcc2
41183 builtin and then its argument prototype would still apply. */
41184 char $ac_func ();
41185 /* The GNU C library defines this for functions which it implements
41186 to always fail with ENOSYS. Some functions are actually named
41187 something starting with __ and the normal name is an alias. */
41188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41189 choke me
41190 #else
41191 char (*f) () = $ac_func;
41192 #endif
41193 #ifdef __cplusplus
41195 #endif
41198 main ()
41200 return f != $ac_func;
41202 return 0;
41204 _ACEOF
41205 rm -f conftest.$ac_objext conftest$ac_exeext
41206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41207 (eval $ac_link) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } &&
41211 { ac_try='test -s conftest$ac_exeext'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; }; then
41217 eval "$as_ac_var=yes"
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41222 eval "$as_ac_var=no"
41224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41228 if test `eval echo '${'$as_ac_var'}'` = yes; then
41229 cat >>confdefs.h <<_ACEOF
41230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41231 _ACEOF
41234 done
41241 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41242 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41243 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41244 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41245 echo $ECHO_N "(cached) $ECHO_C" >&6
41246 else
41250 ac_ext=cc
41251 ac_cpp='$CXXCPP $CPPFLAGS'
41252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41256 cat >conftest.$ac_ext <<_ACEOF
41257 #line $LINENO "configure"
41258 /* confdefs.h. */
41259 _ACEOF
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41263 #include <math.h>
41264 #ifdef HAVE_IEEEFP_H
41265 #include <ieeefp.h>
41266 #endif
41269 main ()
41271 finitel(0);
41273 return 0;
41275 _ACEOF
41276 rm -f conftest.$ac_objext
41277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41278 (eval $ac_compile) 2>&5
41279 ac_status=$?
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); } &&
41282 { ac_try='test -s conftest.$ac_objext'
41283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284 (eval $ac_try) 2>&5
41285 ac_status=$?
41286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287 (exit $ac_status); }; }; then
41288 glibcxx_cv_func_finitel_use=yes
41289 else
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41293 glibcxx_cv_func_finitel_use=no
41295 rm -f conftest.$ac_objext conftest.$ac_ext
41296 ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41307 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41309 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41311 for ac_func in finitel
41313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41314 echo "$as_me:$LINENO: checking for $ac_func" >&5
41315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41316 if eval "test \"\${$as_ac_var+set}\" = set"; then
41317 echo $ECHO_N "(cached) $ECHO_C" >&6
41318 else
41319 if test x$gcc_no_link = xyes; then
41320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41322 { (exit 1); exit 1; }; }
41324 cat >conftest.$ac_ext <<_ACEOF
41325 #line $LINENO "configure"
41326 /* confdefs.h. */
41327 _ACEOF
41328 cat confdefs.h >>conftest.$ac_ext
41329 cat >>conftest.$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41331 /* System header to define __stub macros and hopefully few prototypes,
41332 which can conflict with char $ac_func (); below.
41333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41334 <limits.h> exists even on freestanding compilers. */
41335 #ifdef __STDC__
41336 # include <limits.h>
41337 #else
41338 # include <assert.h>
41339 #endif
41340 /* Override any gcc2 internal prototype to avoid an error. */
41341 #ifdef __cplusplus
41342 extern "C"
41344 #endif
41345 /* We use char because int might match the return type of a gcc2
41346 builtin and then its argument prototype would still apply. */
41347 char $ac_func ();
41348 /* The GNU C library defines this for functions which it implements
41349 to always fail with ENOSYS. Some functions are actually named
41350 something starting with __ and the normal name is an alias. */
41351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41352 choke me
41353 #else
41354 char (*f) () = $ac_func;
41355 #endif
41356 #ifdef __cplusplus
41358 #endif
41361 main ()
41363 return f != $ac_func;
41365 return 0;
41367 _ACEOF
41368 rm -f conftest.$ac_objext conftest$ac_exeext
41369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41370 (eval $ac_link) 2>&5
41371 ac_status=$?
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); } &&
41374 { ac_try='test -s conftest$ac_exeext'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41377 ac_status=$?
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; }; then
41380 eval "$as_ac_var=yes"
41381 else
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41385 eval "$as_ac_var=no"
41387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41391 if test `eval echo '${'$as_ac_var'}'` = yes; then
41392 cat >>confdefs.h <<_ACEOF
41393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41394 _ACEOF
41397 done
41399 else
41401 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41402 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41403 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41404 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41405 echo $ECHO_N "(cached) $ECHO_C" >&6
41406 else
41410 ac_ext=cc
41411 ac_cpp='$CXXCPP $CPPFLAGS'
41412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41416 cat >conftest.$ac_ext <<_ACEOF
41417 #line $LINENO "configure"
41418 /* confdefs.h. */
41419 _ACEOF
41420 cat confdefs.h >>conftest.$ac_ext
41421 cat >>conftest.$ac_ext <<_ACEOF
41422 /* end confdefs.h. */
41423 #include <math.h>
41424 #ifdef HAVE_IEEEFP_H
41425 #include <ieeefp.h>
41426 #endif
41429 main ()
41431 _finitel(0);
41433 return 0;
41435 _ACEOF
41436 rm -f conftest.$ac_objext
41437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41438 (eval $ac_compile) 2>&5
41439 ac_status=$?
41440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41441 (exit $ac_status); } &&
41442 { ac_try='test -s conftest.$ac_objext'
41443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41444 (eval $ac_try) 2>&5
41445 ac_status=$?
41446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41447 (exit $ac_status); }; }; then
41448 glibcxx_cv_func__finitel_use=yes
41449 else
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41453 glibcxx_cv_func__finitel_use=no
41455 rm -f conftest.$ac_objext conftest.$ac_ext
41456 ac_ext=c
41457 ac_cpp='$CPP $CPPFLAGS'
41458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41467 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41469 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41471 for ac_func in _finitel
41473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41474 echo "$as_me:$LINENO: checking for $ac_func" >&5
41475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41476 if eval "test \"\${$as_ac_var+set}\" = set"; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479 if test x$gcc_no_link = xyes; then
41480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41482 { (exit 1); exit 1; }; }
41484 cat >conftest.$ac_ext <<_ACEOF
41485 #line $LINENO "configure"
41486 /* confdefs.h. */
41487 _ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h. */
41491 /* System header to define __stub macros and hopefully few prototypes,
41492 which can conflict with char $ac_func (); below.
41493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41494 <limits.h> exists even on freestanding compilers. */
41495 #ifdef __STDC__
41496 # include <limits.h>
41497 #else
41498 # include <assert.h>
41499 #endif
41500 /* Override any gcc2 internal prototype to avoid an error. */
41501 #ifdef __cplusplus
41502 extern "C"
41504 #endif
41505 /* We use char because int might match the return type of a gcc2
41506 builtin and then its argument prototype would still apply. */
41507 char $ac_func ();
41508 /* The GNU C library defines this for functions which it implements
41509 to always fail with ENOSYS. Some functions are actually named
41510 something starting with __ and the normal name is an alias. */
41511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41512 choke me
41513 #else
41514 char (*f) () = $ac_func;
41515 #endif
41516 #ifdef __cplusplus
41518 #endif
41521 main ()
41523 return f != $ac_func;
41525 return 0;
41527 _ACEOF
41528 rm -f conftest.$ac_objext conftest$ac_exeext
41529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41530 (eval $ac_link) 2>&5
41531 ac_status=$?
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); } &&
41534 { ac_try='test -s conftest$ac_exeext'
41535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41536 (eval $ac_try) 2>&5
41537 ac_status=$?
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); }; }; then
41540 eval "$as_ac_var=yes"
41541 else
41542 echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41545 eval "$as_ac_var=no"
41547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41551 if test `eval echo '${'$as_ac_var'}'` = yes; then
41552 cat >>confdefs.h <<_ACEOF
41553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41554 _ACEOF
41557 done
41565 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41566 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41567 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41573 ac_ext=cc
41574 ac_cpp='$CXXCPP $CPPFLAGS'
41575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579 cat >conftest.$ac_ext <<_ACEOF
41580 #line $LINENO "configure"
41581 /* confdefs.h. */
41582 _ACEOF
41583 cat confdefs.h >>conftest.$ac_ext
41584 cat >>conftest.$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 #include <math.h>
41588 main ()
41590 `for x in _acosf _asinf _atanf \
41591 _cosf _sinf _tanf \
41592 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41594 return 0;
41596 _ACEOF
41597 rm -f conftest.$ac_objext
41598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41599 (eval $ac_compile) 2>&5
41600 ac_status=$?
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try='test -s conftest.$ac_objext'
41604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41605 (eval $ac_try) 2>&5
41606 ac_status=$?
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); }; }; then
41609 glibcxx_cv_func__float_trig_use=yes
41610 else
41611 echo "$as_me: failed program was:" >&5
41612 sed 's/^/| /' conftest.$ac_ext >&5
41614 glibcxx_cv_func__float_trig_use=no
41616 rm -f conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41626 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41627 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41637 for ac_func in _acosf _asinf _atanf \
41638 _cosf _sinf _tanf \
41639 _coshf _sinhf _tanhf
41641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41642 echo "$as_me:$LINENO: checking for $ac_func" >&5
41643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41644 if eval "test \"\${$as_ac_var+set}\" = set"; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41646 else
41647 if test x$gcc_no_link = xyes; then
41648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41650 { (exit 1); exit 1; }; }
41652 cat >conftest.$ac_ext <<_ACEOF
41653 #line $LINENO "configure"
41654 /* confdefs.h. */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h. */
41659 /* System header to define __stub macros and hopefully few prototypes,
41660 which can conflict with char $ac_func (); below.
41661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41662 <limits.h> exists even on freestanding compilers. */
41663 #ifdef __STDC__
41664 # include <limits.h>
41665 #else
41666 # include <assert.h>
41667 #endif
41668 /* Override any gcc2 internal prototype to avoid an error. */
41669 #ifdef __cplusplus
41670 extern "C"
41672 #endif
41673 /* We use char because int might match the return type of a gcc2
41674 builtin and then its argument prototype would still apply. */
41675 char $ac_func ();
41676 /* The GNU C library defines this for functions which it implements
41677 to always fail with ENOSYS. Some functions are actually named
41678 something starting with __ and the normal name is an alias. */
41679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41680 choke me
41681 #else
41682 char (*f) () = $ac_func;
41683 #endif
41684 #ifdef __cplusplus
41686 #endif
41689 main ()
41691 return f != $ac_func;
41693 return 0;
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41698 (eval $ac_link) 2>&5
41699 ac_status=$?
41700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41701 (exit $ac_status); } &&
41702 { ac_try='test -s conftest$ac_exeext'
41703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41704 (eval $ac_try) 2>&5
41705 ac_status=$?
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); }; }; then
41708 eval "$as_ac_var=yes"
41709 else
41710 echo "$as_me: failed program was:" >&5
41711 sed 's/^/| /' conftest.$ac_ext >&5
41713 eval "$as_ac_var=no"
41715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41719 if test `eval echo '${'$as_ac_var'}'` = yes; then
41720 cat >>confdefs.h <<_ACEOF
41721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41722 _ACEOF
41725 done
41730 echo "$as_me:$LINENO: checking for _float round functions" >&5
41731 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41732 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41733 echo $ECHO_N "(cached) $ECHO_C" >&6
41734 else
41738 ac_ext=cc
41739 ac_cpp='$CXXCPP $CPPFLAGS'
41740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41744 cat >conftest.$ac_ext <<_ACEOF
41745 #line $LINENO "configure"
41746 /* confdefs.h. */
41747 _ACEOF
41748 cat confdefs.h >>conftest.$ac_ext
41749 cat >>conftest.$ac_ext <<_ACEOF
41750 /* end confdefs.h. */
41751 #include <math.h>
41753 main ()
41755 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41757 return 0;
41759 _ACEOF
41760 rm -f conftest.$ac_objext
41761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41762 (eval $ac_compile) 2>&5
41763 ac_status=$?
41764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765 (exit $ac_status); } &&
41766 { ac_try='test -s conftest.$ac_objext'
41767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41768 (eval $ac_try) 2>&5
41769 ac_status=$?
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); }; }; then
41772 glibcxx_cv_func__float_round_use=yes
41773 else
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41777 glibcxx_cv_func__float_round_use=no
41779 rm -f conftest.$ac_objext conftest.$ac_ext
41780 ac_ext=c
41781 ac_cpp='$CPP $CPPFLAGS'
41782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41789 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41790 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41793 for ac_func in _ceilf _floorf
41795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41796 echo "$as_me:$LINENO: checking for $ac_func" >&5
41797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41798 if eval "test \"\${$as_ac_var+set}\" = set"; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 if test x$gcc_no_link = xyes; then
41802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41804 { (exit 1); exit 1; }; }
41806 cat >conftest.$ac_ext <<_ACEOF
41807 #line $LINENO "configure"
41808 /* confdefs.h. */
41809 _ACEOF
41810 cat confdefs.h >>conftest.$ac_ext
41811 cat >>conftest.$ac_ext <<_ACEOF
41812 /* end confdefs.h. */
41813 /* System header to define __stub macros and hopefully few prototypes,
41814 which can conflict with char $ac_func (); below.
41815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41816 <limits.h> exists even on freestanding compilers. */
41817 #ifdef __STDC__
41818 # include <limits.h>
41819 #else
41820 # include <assert.h>
41821 #endif
41822 /* Override any gcc2 internal prototype to avoid an error. */
41823 #ifdef __cplusplus
41824 extern "C"
41826 #endif
41827 /* We use char because int might match the return type of a gcc2
41828 builtin and then its argument prototype would still apply. */
41829 char $ac_func ();
41830 /* The GNU C library defines this for functions which it implements
41831 to always fail with ENOSYS. Some functions are actually named
41832 something starting with __ and the normal name is an alias. */
41833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41834 choke me
41835 #else
41836 char (*f) () = $ac_func;
41837 #endif
41838 #ifdef __cplusplus
41840 #endif
41843 main ()
41845 return f != $ac_func;
41847 return 0;
41849 _ACEOF
41850 rm -f conftest.$ac_objext conftest$ac_exeext
41851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41852 (eval $ac_link) 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } &&
41856 { ac_try='test -s conftest$ac_exeext'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41859 ac_status=$?
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; }; then
41862 eval "$as_ac_var=yes"
41863 else
41864 echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.$ac_ext >&5
41867 eval "$as_ac_var=no"
41869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41873 if test `eval echo '${'$as_ac_var'}'` = yes; then
41874 cat >>confdefs.h <<_ACEOF
41875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41876 _ACEOF
41879 done
41885 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41886 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41887 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41888 echo $ECHO_N "(cached) $ECHO_C" >&6
41889 else
41893 ac_ext=cc
41894 ac_cpp='$CXXCPP $CPPFLAGS'
41895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41899 cat >conftest.$ac_ext <<_ACEOF
41900 #line $LINENO "configure"
41901 /* confdefs.h. */
41902 _ACEOF
41903 cat confdefs.h >>conftest.$ac_ext
41904 cat >>conftest.$ac_ext <<_ACEOF
41905 /* end confdefs.h. */
41906 #include <math.h>
41908 main ()
41910 `for x in _acosl _asinl _atanl \
41911 _cosl _sinl _tanl \
41912 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
41914 return 0;
41916 _ACEOF
41917 rm -f conftest.$ac_objext
41918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41919 (eval $ac_compile) 2>&5
41920 ac_status=$?
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); } &&
41923 { ac_try='test -s conftest.$ac_objext'
41924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41925 (eval $ac_try) 2>&5
41926 ac_status=$?
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; }; then
41929 glibcxx_cv_func__long_double_trig_use=yes
41930 else
41931 echo "$as_me: failed program was:" >&5
41932 sed 's/^/| /' conftest.$ac_ext >&5
41934 glibcxx_cv_func__long_double_trig_use=no
41936 rm -f conftest.$ac_objext conftest.$ac_ext
41937 ac_ext=c
41938 ac_cpp='$CPP $CPPFLAGS'
41939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41946 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41947 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41957 for ac_func in _acosl _asinl _atanl \
41958 _cosl _sinl _tanl \
41959 _coshl _sinhl _tanhl
41961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41962 echo "$as_me:$LINENO: checking for $ac_func" >&5
41963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41964 if eval "test \"\${$as_ac_var+set}\" = set"; then
41965 echo $ECHO_N "(cached) $ECHO_C" >&6
41966 else
41967 if test x$gcc_no_link = xyes; then
41968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41970 { (exit 1); exit 1; }; }
41972 cat >conftest.$ac_ext <<_ACEOF
41973 #line $LINENO "configure"
41974 /* confdefs.h. */
41975 _ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* System header to define __stub macros and hopefully few prototypes,
41980 which can conflict with char $ac_func (); below.
41981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41982 <limits.h> exists even on freestanding compilers. */
41983 #ifdef __STDC__
41984 # include <limits.h>
41985 #else
41986 # include <assert.h>
41987 #endif
41988 /* Override any gcc2 internal prototype to avoid an error. */
41989 #ifdef __cplusplus
41990 extern "C"
41992 #endif
41993 /* We use char because int might match the return type of a gcc2
41994 builtin and then its argument prototype would still apply. */
41995 char $ac_func ();
41996 /* The GNU C library defines this for functions which it implements
41997 to always fail with ENOSYS. Some functions are actually named
41998 something starting with __ and the normal name is an alias. */
41999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42000 choke me
42001 #else
42002 char (*f) () = $ac_func;
42003 #endif
42004 #ifdef __cplusplus
42006 #endif
42009 main ()
42011 return f != $ac_func;
42013 return 0;
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42018 (eval $ac_link) 2>&5
42019 ac_status=$?
42020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021 (exit $ac_status); } &&
42022 { ac_try='test -s conftest$ac_exeext'
42023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42024 (eval $ac_try) 2>&5
42025 ac_status=$?
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); }; }; then
42028 eval "$as_ac_var=yes"
42029 else
42030 echo "$as_me: failed program was:" >&5
42031 sed 's/^/| /' conftest.$ac_ext >&5
42033 eval "$as_ac_var=no"
42035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42039 if test `eval echo '${'$as_ac_var'}'` = yes; then
42040 cat >>confdefs.h <<_ACEOF
42041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42042 _ACEOF
42045 done
42050 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42051 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42052 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42053 echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42058 ac_ext=cc
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42064 cat >conftest.$ac_ext <<_ACEOF
42065 #line $LINENO "configure"
42066 /* confdefs.h. */
42067 _ACEOF
42068 cat confdefs.h >>conftest.$ac_ext
42069 cat >>conftest.$ac_ext <<_ACEOF
42070 /* end confdefs.h. */
42071 #include <math.h>
42073 main ()
42075 `for x in _ceill _floorl; do echo "$x (0);"; done`
42077 return 0;
42079 _ACEOF
42080 rm -f conftest.$ac_objext
42081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42082 (eval $ac_compile) 2>&5
42083 ac_status=$?
42084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085 (exit $ac_status); } &&
42086 { ac_try='test -s conftest.$ac_objext'
42087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42088 (eval $ac_try) 2>&5
42089 ac_status=$?
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); }; }; then
42092 glibcxx_cv_func__long_double_round_use=yes
42093 else
42094 echo "$as_me: failed program was:" >&5
42095 sed 's/^/| /' conftest.$ac_ext >&5
42097 glibcxx_cv_func__long_double_round_use=no
42099 rm -f conftest.$ac_objext conftest.$ac_ext
42100 ac_ext=c
42101 ac_cpp='$CPP $CPPFLAGS'
42102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42109 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42110 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42113 for ac_func in _ceill _floorl
42115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42116 echo "$as_me:$LINENO: checking for $ac_func" >&5
42117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42118 if eval "test \"\${$as_ac_var+set}\" = set"; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42120 else
42121 if test x$gcc_no_link = xyes; then
42122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42124 { (exit 1); exit 1; }; }
42126 cat >conftest.$ac_ext <<_ACEOF
42127 #line $LINENO "configure"
42128 /* confdefs.h. */
42129 _ACEOF
42130 cat confdefs.h >>conftest.$ac_ext
42131 cat >>conftest.$ac_ext <<_ACEOF
42132 /* end confdefs.h. */
42133 /* System header to define __stub macros and hopefully few prototypes,
42134 which can conflict with char $ac_func (); below.
42135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42136 <limits.h> exists even on freestanding compilers. */
42137 #ifdef __STDC__
42138 # include <limits.h>
42139 #else
42140 # include <assert.h>
42141 #endif
42142 /* Override any gcc2 internal prototype to avoid an error. */
42143 #ifdef __cplusplus
42144 extern "C"
42146 #endif
42147 /* We use char because int might match the return type of a gcc2
42148 builtin and then its argument prototype would still apply. */
42149 char $ac_func ();
42150 /* The GNU C library defines this for functions which it implements
42151 to always fail with ENOSYS. Some functions are actually named
42152 something starting with __ and the normal name is an alias. */
42153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42154 choke me
42155 #else
42156 char (*f) () = $ac_func;
42157 #endif
42158 #ifdef __cplusplus
42160 #endif
42163 main ()
42165 return f != $ac_func;
42167 return 0;
42169 _ACEOF
42170 rm -f conftest.$ac_objext conftest$ac_exeext
42171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42172 (eval $ac_link) 2>&5
42173 ac_status=$?
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); } &&
42176 { ac_try='test -s conftest$ac_exeext'
42177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42178 (eval $ac_try) 2>&5
42179 ac_status=$?
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); }; }; then
42182 eval "$as_ac_var=yes"
42183 else
42184 echo "$as_me: failed program was:" >&5
42185 sed 's/^/| /' conftest.$ac_ext >&5
42187 eval "$as_ac_var=no"
42189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42193 if test `eval echo '${'$as_ac_var'}'` = yes; then
42194 cat >>confdefs.h <<_ACEOF
42195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42196 _ACEOF
42199 done
42204 LIBS="$ac_save_LIBS"
42205 CXXFLAGS="$ac_save_CXXFLAGS"
42209 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42210 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42211 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42212 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42213 echo $ECHO_N "(cached) $ECHO_C" >&6
42214 else
42218 ac_ext=cc
42219 ac_cpp='$CXXCPP $CPPFLAGS'
42220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42224 cat >conftest.$ac_ext <<_ACEOF
42225 #line $LINENO "configure"
42226 /* confdefs.h. */
42227 _ACEOF
42228 cat confdefs.h >>conftest.$ac_ext
42229 cat >>conftest.$ac_ext <<_ACEOF
42230 /* end confdefs.h. */
42231 #include <math.h>
42233 main ()
42235 __builtin_abs(0);
42237 return 0;
42239 _ACEOF
42240 rm -f conftest.$ac_objext
42241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42242 (eval $ac_compile) 2>&5
42243 ac_status=$?
42244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245 (exit $ac_status); } &&
42246 { ac_try='test -s conftest.$ac_objext'
42247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42248 (eval $ac_try) 2>&5
42249 ac_status=$?
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); }; }; then
42252 glibcxx_cv_func___builtin_abs_use=yes
42253 else
42254 echo "$as_me: failed program was:" >&5
42255 sed 's/^/| /' conftest.$ac_ext >&5
42257 glibcxx_cv_func___builtin_abs_use=no
42259 rm -f conftest.$ac_objext conftest.$ac_ext
42260 ac_ext=c
42261 ac_cpp='$CPP $CPPFLAGS'
42262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42270 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42271 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42272 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42273 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42274 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42275 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42276 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42278 else
42280 if test x$gcc_no_link = xyes; then
42281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42283 { (exit 1); exit 1; }; }
42285 cat >conftest.$ac_ext <<_ACEOF
42286 #line $LINENO "configure"
42287 /* confdefs.h. */
42288 _ACEOF
42289 cat confdefs.h >>conftest.$ac_ext
42290 cat >>conftest.$ac_ext <<_ACEOF
42291 /* end confdefs.h. */
42292 #include <math.h>
42294 main ()
42296 __builtin_abs(0);
42298 return 0;
42300 _ACEOF
42301 rm -f conftest.$ac_objext conftest$ac_exeext
42302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42303 (eval $ac_link) 2>&5
42304 ac_status=$?
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } &&
42307 { ac_try='test -s conftest$ac_exeext'
42308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42309 (eval $ac_try) 2>&5
42310 ac_status=$?
42311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42312 (exit $ac_status); }; }; then
42313 glibcxx_cv_func___builtin_abs_link=yes
42314 else
42315 echo "$as_me: failed program was:" >&5
42316 sed 's/^/| /' conftest.$ac_ext >&5
42318 glibcxx_cv_func___builtin_abs_link=no
42320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42326 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42327 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42328 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42330 cat >>confdefs.h <<_ACEOF
42331 #define ${ac_tr_func} 1
42332 _ACEOF
42338 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42339 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42340 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42341 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42343 else
42347 ac_ext=cc
42348 ac_cpp='$CXXCPP $CPPFLAGS'
42349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42353 cat >conftest.$ac_ext <<_ACEOF
42354 #line $LINENO "configure"
42355 /* confdefs.h. */
42356 _ACEOF
42357 cat confdefs.h >>conftest.$ac_ext
42358 cat >>conftest.$ac_ext <<_ACEOF
42359 /* end confdefs.h. */
42360 #include <math.h>
42362 main ()
42364 __builtin_fabsf(0);
42366 return 0;
42368 _ACEOF
42369 rm -f conftest.$ac_objext
42370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42371 (eval $ac_compile) 2>&5
42372 ac_status=$?
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); } &&
42375 { ac_try='test -s conftest.$ac_objext'
42376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377 (eval $ac_try) 2>&5
42378 ac_status=$?
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); }; }; then
42381 glibcxx_cv_func___builtin_fabsf_use=yes
42382 else
42383 echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42386 glibcxx_cv_func___builtin_fabsf_use=no
42388 rm -f conftest.$ac_objext conftest.$ac_ext
42389 ac_ext=c
42390 ac_cpp='$CPP $CPPFLAGS'
42391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42401 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42402 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42403 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42404 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42405 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42409 if test x$gcc_no_link = xyes; then
42410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42412 { (exit 1); exit 1; }; }
42414 cat >conftest.$ac_ext <<_ACEOF
42415 #line $LINENO "configure"
42416 /* confdefs.h. */
42417 _ACEOF
42418 cat confdefs.h >>conftest.$ac_ext
42419 cat >>conftest.$ac_ext <<_ACEOF
42420 /* end confdefs.h. */
42421 #include <math.h>
42423 main ()
42425 __builtin_fabsf(0);
42427 return 0;
42429 _ACEOF
42430 rm -f conftest.$ac_objext conftest$ac_exeext
42431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42432 (eval $ac_link) 2>&5
42433 ac_status=$?
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); } &&
42436 { ac_try='test -s conftest$ac_exeext'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; }; then
42442 glibcxx_cv_func___builtin_fabsf_link=yes
42443 else
42444 echo "$as_me: failed program was:" >&5
42445 sed 's/^/| /' conftest.$ac_ext >&5
42447 glibcxx_cv_func___builtin_fabsf_link=no
42449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42455 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42456 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42457 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42459 cat >>confdefs.h <<_ACEOF
42460 #define ${ac_tr_func} 1
42461 _ACEOF
42467 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42468 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42469 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42470 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42471 echo $ECHO_N "(cached) $ECHO_C" >&6
42472 else
42476 ac_ext=cc
42477 ac_cpp='$CXXCPP $CPPFLAGS'
42478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42482 cat >conftest.$ac_ext <<_ACEOF
42483 #line $LINENO "configure"
42484 /* confdefs.h. */
42485 _ACEOF
42486 cat confdefs.h >>conftest.$ac_ext
42487 cat >>conftest.$ac_ext <<_ACEOF
42488 /* end confdefs.h. */
42489 #include <math.h>
42491 main ()
42493 __builtin_fabs(0);
42495 return 0;
42497 _ACEOF
42498 rm -f conftest.$ac_objext
42499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42500 (eval $ac_compile) 2>&5
42501 ac_status=$?
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } &&
42504 { ac_try='test -s conftest.$ac_objext'
42505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42506 (eval $ac_try) 2>&5
42507 ac_status=$?
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); }; }; then
42510 glibcxx_cv_func___builtin_fabs_use=yes
42511 else
42512 echo "$as_me: failed program was:" >&5
42513 sed 's/^/| /' conftest.$ac_ext >&5
42515 glibcxx_cv_func___builtin_fabs_use=no
42517 rm -f conftest.$ac_objext conftest.$ac_ext
42518 ac_ext=c
42519 ac_cpp='$CPP $CPPFLAGS'
42520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42528 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42530 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42531 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42532 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42533 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42534 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42535 echo $ECHO_N "(cached) $ECHO_C" >&6
42536 else
42538 if test x$gcc_no_link = xyes; then
42539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42541 { (exit 1); exit 1; }; }
42543 cat >conftest.$ac_ext <<_ACEOF
42544 #line $LINENO "configure"
42545 /* confdefs.h. */
42546 _ACEOF
42547 cat confdefs.h >>conftest.$ac_ext
42548 cat >>conftest.$ac_ext <<_ACEOF
42549 /* end confdefs.h. */
42550 #include <math.h>
42552 main ()
42554 __builtin_fabs(0);
42556 return 0;
42558 _ACEOF
42559 rm -f conftest.$ac_objext conftest$ac_exeext
42560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42561 (eval $ac_link) 2>&5
42562 ac_status=$?
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } &&
42565 { ac_try='test -s conftest$ac_exeext'
42566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42567 (eval $ac_try) 2>&5
42568 ac_status=$?
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; }; then
42571 glibcxx_cv_func___builtin_fabs_link=yes
42572 else
42573 echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.$ac_ext >&5
42576 glibcxx_cv_func___builtin_fabs_link=no
42578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42584 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42585 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42586 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42588 cat >>confdefs.h <<_ACEOF
42589 #define ${ac_tr_func} 1
42590 _ACEOF
42596 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42597 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42598 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42599 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42600 echo $ECHO_N "(cached) $ECHO_C" >&6
42601 else
42605 ac_ext=cc
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42611 cat >conftest.$ac_ext <<_ACEOF
42612 #line $LINENO "configure"
42613 /* confdefs.h. */
42614 _ACEOF
42615 cat confdefs.h >>conftest.$ac_ext
42616 cat >>conftest.$ac_ext <<_ACEOF
42617 /* end confdefs.h. */
42618 #include <math.h>
42620 main ()
42622 __builtin_fabsl(0);
42624 return 0;
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42629 (eval $ac_compile) 2>&5
42630 ac_status=$?
42631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632 (exit $ac_status); } &&
42633 { ac_try='test -s conftest.$ac_objext'
42634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42635 (eval $ac_try) 2>&5
42636 ac_status=$?
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; }; then
42639 glibcxx_cv_func___builtin_fabsl_use=yes
42640 else
42641 echo "$as_me: failed program was:" >&5
42642 sed 's/^/| /' conftest.$ac_ext >&5
42644 glibcxx_cv_func___builtin_fabsl_use=no
42646 rm -f conftest.$ac_objext conftest.$ac_ext
42647 ac_ext=c
42648 ac_cpp='$CPP $CPPFLAGS'
42649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42658 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42659 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42660 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42661 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42662 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42663 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42665 else
42667 if test x$gcc_no_link = xyes; then
42668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42670 { (exit 1); exit 1; }; }
42672 cat >conftest.$ac_ext <<_ACEOF
42673 #line $LINENO "configure"
42674 /* confdefs.h. */
42675 _ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h. */
42679 #include <math.h>
42681 main ()
42683 __builtin_fabsl(0);
42685 return 0;
42687 _ACEOF
42688 rm -f conftest.$ac_objext conftest$ac_exeext
42689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42690 (eval $ac_link) 2>&5
42691 ac_status=$?
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try='test -s conftest$ac_exeext'
42695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42696 (eval $ac_try) 2>&5
42697 ac_status=$?
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); }; }; then
42700 glibcxx_cv_func___builtin_fabsl_link=yes
42701 else
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42705 glibcxx_cv_func___builtin_fabsl_link=no
42707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42712 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42713 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42714 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42715 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42717 cat >>confdefs.h <<_ACEOF
42718 #define ${ac_tr_func} 1
42719 _ACEOF
42725 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42726 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42727 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42728 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42734 ac_ext=cc
42735 ac_cpp='$CXXCPP $CPPFLAGS'
42736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42740 cat >conftest.$ac_ext <<_ACEOF
42741 #line $LINENO "configure"
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 #include <math.h>
42749 main ()
42751 __builtin_labs(0);
42753 return 0;
42755 _ACEOF
42756 rm -f conftest.$ac_objext
42757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42758 (eval $ac_compile) 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___builtin_labs_use=yes
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42773 glibcxx_cv_func___builtin_labs_use=no
42775 rm -f 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___builtin_labs_use" >&5
42787 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42788 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42789 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42790 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42791 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42792 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42793 echo $ECHO_N "(cached) $ECHO_C" >&6
42794 else
42796 if test x$gcc_no_link = xyes; then
42797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42799 { (exit 1); exit 1; }; }
42801 cat >conftest.$ac_ext <<_ACEOF
42802 #line $LINENO "configure"
42803 /* confdefs.h. */
42804 _ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42808 #include <math.h>
42810 main ()
42812 __builtin_labs(0);
42814 return 0;
42816 _ACEOF
42817 rm -f conftest.$ac_objext conftest$ac_exeext
42818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42819 (eval $ac_link) 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); } &&
42823 { ac_try='test -s conftest$ac_exeext'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; }; then
42829 glibcxx_cv_func___builtin_labs_link=yes
42830 else
42831 echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42834 glibcxx_cv_func___builtin_labs_link=no
42836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42842 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42843 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42844 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42846 cat >>confdefs.h <<_ACEOF
42847 #define ${ac_tr_func} 1
42848 _ACEOF
42855 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42856 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42857 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42858 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42860 else
42864 ac_ext=cc
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat >conftest.$ac_ext <<_ACEOF
42871 #line $LINENO "configure"
42872 /* confdefs.h. */
42873 _ACEOF
42874 cat confdefs.h >>conftest.$ac_ext
42875 cat >>conftest.$ac_ext <<_ACEOF
42876 /* end confdefs.h. */
42877 #include <math.h>
42879 main ()
42881 __builtin_sqrtf(0);
42883 return 0;
42885 _ACEOF
42886 rm -f conftest.$ac_objext
42887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42888 (eval $ac_compile) 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); } &&
42892 { ac_try='test -s conftest.$ac_objext'
42893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42894 (eval $ac_try) 2>&5
42895 ac_status=$?
42896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42897 (exit $ac_status); }; }; then
42898 glibcxx_cv_func___builtin_sqrtf_use=yes
42899 else
42900 echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.$ac_ext >&5
42903 glibcxx_cv_func___builtin_sqrtf_use=no
42905 rm -f conftest.$ac_objext conftest.$ac_ext
42906 ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
42917 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
42918 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
42919 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
42920 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
42921 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
42922 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
42923 echo $ECHO_N "(cached) $ECHO_C" >&6
42924 else
42926 if test x$gcc_no_link = xyes; then
42927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42929 { (exit 1); exit 1; }; }
42931 cat >conftest.$ac_ext <<_ACEOF
42932 #line $LINENO "configure"
42933 /* confdefs.h. */
42934 _ACEOF
42935 cat confdefs.h >>conftest.$ac_ext
42936 cat >>conftest.$ac_ext <<_ACEOF
42937 /* end confdefs.h. */
42938 #include <math.h>
42940 main ()
42942 __builtin_sqrtf(0);
42944 return 0;
42946 _ACEOF
42947 rm -f conftest.$ac_objext conftest$ac_exeext
42948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42949 (eval $ac_link) 2>&5
42950 ac_status=$?
42951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952 (exit $ac_status); } &&
42953 { ac_try='test -s conftest$ac_exeext'
42954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42955 (eval $ac_try) 2>&5
42956 ac_status=$?
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); }; }; then
42959 glibcxx_cv_func___builtin_sqrtf_link=yes
42960 else
42961 echo "$as_me: failed program was:" >&5
42962 sed 's/^/| /' conftest.$ac_ext >&5
42964 glibcxx_cv_func___builtin_sqrtf_link=no
42966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
42972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
42973 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
42974 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42976 cat >>confdefs.h <<_ACEOF
42977 #define ${ac_tr_func} 1
42978 _ACEOF
42984 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
42985 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
42986 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
42987 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
42988 echo $ECHO_N "(cached) $ECHO_C" >&6
42989 else
42993 ac_ext=cc
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999 cat >conftest.$ac_ext <<_ACEOF
43000 #line $LINENO "configure"
43001 /* confdefs.h. */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h. */
43006 #include <math.h>
43008 main ()
43010 __builtin_sqrt(0);
43012 return 0;
43014 _ACEOF
43015 rm -f conftest.$ac_objext
43016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43017 (eval $ac_compile) 2>&5
43018 ac_status=$?
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } &&
43021 { ac_try='test -s conftest.$ac_objext'
43022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43023 (eval $ac_try) 2>&5
43024 ac_status=$?
43025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43026 (exit $ac_status); }; }; then
43027 glibcxx_cv_func___builtin_sqrt_use=yes
43028 else
43029 echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.$ac_ext >&5
43032 glibcxx_cv_func___builtin_sqrt_use=no
43034 rm -f conftest.$ac_objext conftest.$ac_ext
43035 ac_ext=c
43036 ac_cpp='$CPP $CPPFLAGS'
43037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43046 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43047 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43048 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43049 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43050 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43051 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43052 echo $ECHO_N "(cached) $ECHO_C" >&6
43053 else
43055 if test x$gcc_no_link = xyes; then
43056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43058 { (exit 1); exit 1; }; }
43060 cat >conftest.$ac_ext <<_ACEOF
43061 #line $LINENO "configure"
43062 /* confdefs.h. */
43063 _ACEOF
43064 cat confdefs.h >>conftest.$ac_ext
43065 cat >>conftest.$ac_ext <<_ACEOF
43066 /* end confdefs.h. */
43067 #include <math.h>
43069 main ()
43071 __builtin_sqrt(0);
43073 return 0;
43075 _ACEOF
43076 rm -f conftest.$ac_objext conftest$ac_exeext
43077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43078 (eval $ac_link) 2>&5
43079 ac_status=$?
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); } &&
43082 { ac_try='test -s conftest$ac_exeext'
43083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43084 (eval $ac_try) 2>&5
43085 ac_status=$?
43086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087 (exit $ac_status); }; }; then
43088 glibcxx_cv_func___builtin_sqrt_link=yes
43089 else
43090 echo "$as_me: failed program was:" >&5
43091 sed 's/^/| /' conftest.$ac_ext >&5
43093 glibcxx_cv_func___builtin_sqrt_link=no
43095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43101 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43102 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43103 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43105 cat >>confdefs.h <<_ACEOF
43106 #define ${ac_tr_func} 1
43107 _ACEOF
43113 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43114 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43115 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43116 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43122 ac_ext=cc
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128 cat >conftest.$ac_ext <<_ACEOF
43129 #line $LINENO "configure"
43130 /* confdefs.h. */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43135 #include <math.h>
43137 main ()
43139 __builtin_sqrtl(0);
43141 return 0;
43143 _ACEOF
43144 rm -f conftest.$ac_objext
43145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43146 (eval $ac_compile) 2>&5
43147 ac_status=$?
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); } &&
43150 { ac_try='test -s conftest.$ac_objext'
43151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43152 (eval $ac_try) 2>&5
43153 ac_status=$?
43154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43155 (exit $ac_status); }; }; then
43156 glibcxx_cv_func___builtin_sqrtl_use=yes
43157 else
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43161 glibcxx_cv_func___builtin_sqrtl_use=no
43163 rm -f conftest.$ac_objext conftest.$ac_ext
43164 ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43175 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43176 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43177 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43178 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43179 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43180 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43181 echo $ECHO_N "(cached) $ECHO_C" >&6
43182 else
43184 if test x$gcc_no_link = xyes; then
43185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43187 { (exit 1); exit 1; }; }
43189 cat >conftest.$ac_ext <<_ACEOF
43190 #line $LINENO "configure"
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 #include <math.h>
43198 main ()
43200 __builtin_sqrtl(0);
43202 return 0;
43204 _ACEOF
43205 rm -f conftest.$ac_objext conftest$ac_exeext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43207 (eval $ac_link) 2>&5
43208 ac_status=$?
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); } &&
43211 { ac_try='test -s conftest$ac_exeext'
43212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213 (eval $ac_try) 2>&5
43214 ac_status=$?
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 glibcxx_cv_func___builtin_sqrtl_link=yes
43218 else
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43222 glibcxx_cv_func___builtin_sqrtl_link=no
43224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43230 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43231 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43232 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43234 cat >>confdefs.h <<_ACEOF
43235 #define ${ac_tr_func} 1
43236 _ACEOF
43243 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43244 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43245 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43246 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 else
43252 ac_ext=cc
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43258 cat >conftest.$ac_ext <<_ACEOF
43259 #line $LINENO "configure"
43260 /* confdefs.h. */
43261 _ACEOF
43262 cat confdefs.h >>conftest.$ac_ext
43263 cat >>conftest.$ac_ext <<_ACEOF
43264 /* end confdefs.h. */
43265 #include <math.h>
43267 main ()
43269 __builtin_sinf(0);
43271 return 0;
43273 _ACEOF
43274 rm -f conftest.$ac_objext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43276 (eval $ac_compile) 2>&5
43277 ac_status=$?
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); } &&
43280 { ac_try='test -s conftest.$ac_objext'
43281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43282 (eval $ac_try) 2>&5
43283 ac_status=$?
43284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43285 (exit $ac_status); }; }; then
43286 glibcxx_cv_func___builtin_sinf_use=yes
43287 else
43288 echo "$as_me: failed program was:" >&5
43289 sed 's/^/| /' conftest.$ac_ext >&5
43291 glibcxx_cv_func___builtin_sinf_use=no
43293 rm -f conftest.$ac_objext conftest.$ac_ext
43294 ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43306 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43307 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43308 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43309 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43310 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43311 echo $ECHO_N "(cached) $ECHO_C" >&6
43312 else
43314 if test x$gcc_no_link = xyes; then
43315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43317 { (exit 1); exit 1; }; }
43319 cat >conftest.$ac_ext <<_ACEOF
43320 #line $LINENO "configure"
43321 /* confdefs.h. */
43322 _ACEOF
43323 cat confdefs.h >>conftest.$ac_ext
43324 cat >>conftest.$ac_ext <<_ACEOF
43325 /* end confdefs.h. */
43326 #include <math.h>
43328 main ()
43330 __builtin_sinf(0);
43332 return 0;
43334 _ACEOF
43335 rm -f conftest.$ac_objext conftest$ac_exeext
43336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43337 (eval $ac_link) 2>&5
43338 ac_status=$?
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } &&
43341 { ac_try='test -s conftest$ac_exeext'
43342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43343 (eval $ac_try) 2>&5
43344 ac_status=$?
43345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346 (exit $ac_status); }; }; then
43347 glibcxx_cv_func___builtin_sinf_link=yes
43348 else
43349 echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43352 glibcxx_cv_func___builtin_sinf_link=no
43354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43361 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43362 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43364 cat >>confdefs.h <<_ACEOF
43365 #define ${ac_tr_func} 1
43366 _ACEOF
43372 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43373 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43374 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43375 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43376 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 else
43381 ac_ext=cc
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat >conftest.$ac_ext <<_ACEOF
43388 #line $LINENO "configure"
43389 /* confdefs.h. */
43390 _ACEOF
43391 cat confdefs.h >>conftest.$ac_ext
43392 cat >>conftest.$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43394 #include <math.h>
43396 main ()
43398 __builtin_sin(0);
43400 return 0;
43402 _ACEOF
43403 rm -f conftest.$ac_objext
43404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43405 (eval $ac_compile) 2>&5
43406 ac_status=$?
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } &&
43409 { ac_try='test -s conftest.$ac_objext'
43410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411 (eval $ac_try) 2>&5
43412 ac_status=$?
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); }; }; then
43415 glibcxx_cv_func___builtin_sin_use=yes
43416 else
43417 echo "$as_me: failed program was:" >&5
43418 sed 's/^/| /' conftest.$ac_ext >&5
43420 glibcxx_cv_func___builtin_sin_use=no
43422 rm -f conftest.$ac_objext conftest.$ac_ext
43423 ac_ext=c
43424 ac_cpp='$CPP $CPPFLAGS'
43425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43434 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43435 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43436 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43437 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43438 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43439 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43443 if test x$gcc_no_link = xyes; then
43444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43446 { (exit 1); exit 1; }; }
43448 cat >conftest.$ac_ext <<_ACEOF
43449 #line $LINENO "configure"
43450 /* confdefs.h. */
43451 _ACEOF
43452 cat confdefs.h >>conftest.$ac_ext
43453 cat >>conftest.$ac_ext <<_ACEOF
43454 /* end confdefs.h. */
43455 #include <math.h>
43457 main ()
43459 __builtin_sin(0);
43461 return 0;
43463 _ACEOF
43464 rm -f conftest.$ac_objext conftest$ac_exeext
43465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43466 (eval $ac_link) 2>&5
43467 ac_status=$?
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); } &&
43470 { ac_try='test -s conftest$ac_exeext'
43471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43472 (eval $ac_try) 2>&5
43473 ac_status=$?
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); }; }; then
43476 glibcxx_cv_func___builtin_sin_link=yes
43477 else
43478 echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43481 glibcxx_cv_func___builtin_sin_link=no
43483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43490 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43491 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43493 cat >>confdefs.h <<_ACEOF
43494 #define ${ac_tr_func} 1
43495 _ACEOF
43501 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43502 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43503 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43504 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43505 echo $ECHO_N "(cached) $ECHO_C" >&6
43506 else
43510 ac_ext=cc
43511 ac_cpp='$CXXCPP $CPPFLAGS'
43512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516 cat >conftest.$ac_ext <<_ACEOF
43517 #line $LINENO "configure"
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 #include <math.h>
43525 main ()
43527 __builtin_sinl(0);
43529 return 0;
43531 _ACEOF
43532 rm -f conftest.$ac_objext
43533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43534 (eval $ac_compile) 2>&5
43535 ac_status=$?
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); } &&
43538 { ac_try='test -s conftest.$ac_objext'
43539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540 (eval $ac_try) 2>&5
43541 ac_status=$?
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; }; then
43544 glibcxx_cv_func___builtin_sinl_use=yes
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43549 glibcxx_cv_func___builtin_sinl_use=no
43551 rm -f conftest.$ac_objext conftest.$ac_ext
43552 ac_ext=c
43553 ac_cpp='$CPP $CPPFLAGS'
43554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43564 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43565 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43566 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43567 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43568 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43569 echo $ECHO_N "(cached) $ECHO_C" >&6
43570 else
43572 if test x$gcc_no_link = xyes; then
43573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43575 { (exit 1); exit 1; }; }
43577 cat >conftest.$ac_ext <<_ACEOF
43578 #line $LINENO "configure"
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 #include <math.h>
43586 main ()
43588 __builtin_sinl(0);
43590 return 0;
43592 _ACEOF
43593 rm -f conftest.$ac_objext conftest$ac_exeext
43594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43595 (eval $ac_link) 2>&5
43596 ac_status=$?
43597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598 (exit $ac_status); } &&
43599 { ac_try='test -s conftest$ac_exeext'
43600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43601 (eval $ac_try) 2>&5
43602 ac_status=$?
43603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43604 (exit $ac_status); }; }; then
43605 glibcxx_cv_func___builtin_sinl_link=yes
43606 else
43607 echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.$ac_ext >&5
43610 glibcxx_cv_func___builtin_sinl_link=no
43612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43619 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43620 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43622 cat >>confdefs.h <<_ACEOF
43623 #define ${ac_tr_func} 1
43624 _ACEOF
43631 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43632 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43633 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43634 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43635 echo $ECHO_N "(cached) $ECHO_C" >&6
43636 else
43640 ac_ext=cc
43641 ac_cpp='$CXXCPP $CPPFLAGS'
43642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43646 cat >conftest.$ac_ext <<_ACEOF
43647 #line $LINENO "configure"
43648 /* confdefs.h. */
43649 _ACEOF
43650 cat confdefs.h >>conftest.$ac_ext
43651 cat >>conftest.$ac_ext <<_ACEOF
43652 /* end confdefs.h. */
43653 #include <math.h>
43655 main ()
43657 __builtin_cosf(0);
43659 return 0;
43661 _ACEOF
43662 rm -f conftest.$ac_objext
43663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43664 (eval $ac_compile) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); } &&
43668 { ac_try='test -s conftest.$ac_objext'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43671 ac_status=$?
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; }; then
43674 glibcxx_cv_func___builtin_cosf_use=yes
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43679 glibcxx_cv_func___builtin_cosf_use=no
43681 rm -f conftest.$ac_objext conftest.$ac_ext
43682 ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43692 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43693 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43694 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43695 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43696 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43697 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43698 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43702 if test x$gcc_no_link = xyes; then
43703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43705 { (exit 1); exit 1; }; }
43707 cat >conftest.$ac_ext <<_ACEOF
43708 #line $LINENO "configure"
43709 /* confdefs.h. */
43710 _ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h. */
43714 #include <math.h>
43716 main ()
43718 __builtin_cosf(0);
43720 return 0;
43722 _ACEOF
43723 rm -f conftest.$ac_objext conftest$ac_exeext
43724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43725 (eval $ac_link) 2>&5
43726 ac_status=$?
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); } &&
43729 { ac_try='test -s conftest$ac_exeext'
43730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43731 (eval $ac_try) 2>&5
43732 ac_status=$?
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); }; }; then
43735 glibcxx_cv_func___builtin_cosf_link=yes
43736 else
43737 echo "$as_me: failed program was:" >&5
43738 sed 's/^/| /' conftest.$ac_ext >&5
43740 glibcxx_cv_func___builtin_cosf_link=no
43742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43747 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43748 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43749 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43750 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43752 cat >>confdefs.h <<_ACEOF
43753 #define ${ac_tr_func} 1
43754 _ACEOF
43760 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43761 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43762 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43763 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43764 echo $ECHO_N "(cached) $ECHO_C" >&6
43765 else
43769 ac_ext=cc
43770 ac_cpp='$CXXCPP $CPPFLAGS'
43771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43775 cat >conftest.$ac_ext <<_ACEOF
43776 #line $LINENO "configure"
43777 /* confdefs.h. */
43778 _ACEOF
43779 cat confdefs.h >>conftest.$ac_ext
43780 cat >>conftest.$ac_ext <<_ACEOF
43781 /* end confdefs.h. */
43782 #include <math.h>
43784 main ()
43786 __builtin_cos(0);
43788 return 0;
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43793 (eval $ac_compile) 2>&5
43794 ac_status=$?
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } &&
43797 { ac_try='test -s conftest.$ac_objext'
43798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799 (eval $ac_try) 2>&5
43800 ac_status=$?
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; }; then
43803 glibcxx_cv_func___builtin_cos_use=yes
43804 else
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43808 glibcxx_cv_func___builtin_cos_use=no
43810 rm -f conftest.$ac_objext conftest.$ac_ext
43811 ac_ext=c
43812 ac_cpp='$CPP $CPPFLAGS'
43813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43821 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43822 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43823 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43824 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43825 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43826 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43827 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43828 echo $ECHO_N "(cached) $ECHO_C" >&6
43829 else
43831 if test x$gcc_no_link = xyes; then
43832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43834 { (exit 1); exit 1; }; }
43836 cat >conftest.$ac_ext <<_ACEOF
43837 #line $LINENO "configure"
43838 /* confdefs.h. */
43839 _ACEOF
43840 cat confdefs.h >>conftest.$ac_ext
43841 cat >>conftest.$ac_ext <<_ACEOF
43842 /* end confdefs.h. */
43843 #include <math.h>
43845 main ()
43847 __builtin_cos(0);
43849 return 0;
43851 _ACEOF
43852 rm -f conftest.$ac_objext conftest$ac_exeext
43853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43854 (eval $ac_link) 2>&5
43855 ac_status=$?
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } &&
43858 { ac_try='test -s conftest$ac_exeext'
43859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43860 (eval $ac_try) 2>&5
43861 ac_status=$?
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); }; }; then
43864 glibcxx_cv_func___builtin_cos_link=yes
43865 else
43866 echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.$ac_ext >&5
43869 glibcxx_cv_func___builtin_cos_link=no
43871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43878 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43879 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43881 cat >>confdefs.h <<_ACEOF
43882 #define ${ac_tr_func} 1
43883 _ACEOF
43889 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43890 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43891 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43892 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43898 ac_ext=cc
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904 cat >conftest.$ac_ext <<_ACEOF
43905 #line $LINENO "configure"
43906 /* confdefs.h. */
43907 _ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43911 #include <math.h>
43913 main ()
43915 __builtin_cosl(0);
43917 return 0;
43919 _ACEOF
43920 rm -f conftest.$ac_objext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43922 (eval $ac_compile) 2>&5
43923 ac_status=$?
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); } &&
43926 { ac_try='test -s conftest.$ac_objext'
43927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928 (eval $ac_try) 2>&5
43929 ac_status=$?
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); }; }; then
43932 glibcxx_cv_func___builtin_cosl_use=yes
43933 else
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43937 glibcxx_cv_func___builtin_cosl_use=no
43939 rm -f conftest.$ac_objext conftest.$ac_ext
43940 ac_ext=c
43941 ac_cpp='$CPP $CPPFLAGS'
43942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
43951 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
43952 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
43953 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
43954 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
43955 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
43956 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
43957 echo $ECHO_N "(cached) $ECHO_C" >&6
43958 else
43960 if test x$gcc_no_link = xyes; then
43961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43963 { (exit 1); exit 1; }; }
43965 cat >conftest.$ac_ext <<_ACEOF
43966 #line $LINENO "configure"
43967 /* confdefs.h. */
43968 _ACEOF
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h. */
43972 #include <math.h>
43974 main ()
43976 __builtin_cosl(0);
43978 return 0;
43980 _ACEOF
43981 rm -f conftest.$ac_objext conftest$ac_exeext
43982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43983 (eval $ac_link) 2>&5
43984 ac_status=$?
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } &&
43987 { ac_try='test -s conftest$ac_exeext'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; }; then
43993 glibcxx_cv_func___builtin_cosl_link=yes
43994 else
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43998 glibcxx_cv_func___builtin_cosl_link=no
44000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44006 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44007 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44008 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44010 cat >>confdefs.h <<_ACEOF
44011 #define ${ac_tr_func} 1
44012 _ACEOF
44020 echo "$as_me:$LINENO: checking for main in -lm" >&5
44021 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44022 if test "${ac_cv_lib_m_main+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025 ac_check_lib_save_LIBS=$LIBS
44026 LIBS="-lm $LIBS"
44027 if test x$gcc_no_link = xyes; then
44028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44030 { (exit 1); exit 1; }; }
44032 cat >conftest.$ac_ext <<_ACEOF
44033 #line $LINENO "configure"
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44042 main ()
44044 main ();
44046 return 0;
44048 _ACEOF
44049 rm -f conftest.$ac_objext conftest$ac_exeext
44050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44051 (eval $ac_link) 2>&5
44052 ac_status=$?
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } &&
44055 { ac_try='test -s conftest$ac_exeext'
44056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44057 (eval $ac_try) 2>&5
44058 ac_status=$?
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); }; }; then
44061 ac_cv_lib_m_main=yes
44062 else
44063 echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44066 ac_cv_lib_m_main=no
44068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44069 LIBS=$ac_check_lib_save_LIBS
44071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44072 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44073 if test $ac_cv_lib_m_main = yes; then
44074 cat >>confdefs.h <<_ACEOF
44075 #define HAVE_LIBM 1
44076 _ACEOF
44078 LIBS="-lm $LIBS"
44083 for ac_func in copysignf
44085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44086 echo "$as_me:$LINENO: checking for $ac_func" >&5
44087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44088 if eval "test \"\${$as_ac_var+set}\" = set"; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44090 else
44091 if test x$gcc_no_link = xyes; then
44092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44094 { (exit 1); exit 1; }; }
44096 cat >conftest.$ac_ext <<_ACEOF
44097 #line $LINENO "configure"
44098 /* confdefs.h. */
44099 _ACEOF
44100 cat confdefs.h >>conftest.$ac_ext
44101 cat >>conftest.$ac_ext <<_ACEOF
44102 /* end confdefs.h. */
44103 /* System header to define __stub macros and hopefully few prototypes,
44104 which can conflict with char $ac_func (); below.
44105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44106 <limits.h> exists even on freestanding compilers. */
44107 #ifdef __STDC__
44108 # include <limits.h>
44109 #else
44110 # include <assert.h>
44111 #endif
44112 /* Override any gcc2 internal prototype to avoid an error. */
44113 #ifdef __cplusplus
44114 extern "C"
44116 #endif
44117 /* We use char because int might match the return type of a gcc2
44118 builtin and then its argument prototype would still apply. */
44119 char $ac_func ();
44120 /* The GNU C library defines this for functions which it implements
44121 to always fail with ENOSYS. Some functions are actually named
44122 something starting with __ and the normal name is an alias. */
44123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44124 choke me
44125 #else
44126 char (*f) () = $ac_func;
44127 #endif
44128 #ifdef __cplusplus
44130 #endif
44133 main ()
44135 return f != $ac_func;
44137 return 0;
44139 _ACEOF
44140 rm -f conftest.$ac_objext conftest$ac_exeext
44141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44142 (eval $ac_link) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); } &&
44146 { ac_try='test -s conftest$ac_exeext'
44147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44148 (eval $ac_try) 2>&5
44149 ac_status=$?
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; }; then
44152 eval "$as_ac_var=yes"
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44157 eval "$as_ac_var=no"
44159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44163 if test `eval echo '${'$as_ac_var'}'` = yes; then
44164 cat >>confdefs.h <<_ACEOF
44165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44166 _ACEOF
44168 else
44169 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44171 done
44175 for ac_func in __signbit
44177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44178 echo "$as_me:$LINENO: checking for $ac_func" >&5
44179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44180 if eval "test \"\${$as_ac_var+set}\" = set"; then
44181 echo $ECHO_N "(cached) $ECHO_C" >&6
44182 else
44183 if test x$gcc_no_link = xyes; then
44184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44186 { (exit 1); exit 1; }; }
44188 cat >conftest.$ac_ext <<_ACEOF
44189 #line $LINENO "configure"
44190 /* confdefs.h. */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h. */
44195 /* System header to define __stub macros and hopefully few prototypes,
44196 which can conflict with char $ac_func (); below.
44197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44198 <limits.h> exists even on freestanding compilers. */
44199 #ifdef __STDC__
44200 # include <limits.h>
44201 #else
44202 # include <assert.h>
44203 #endif
44204 /* Override any gcc2 internal prototype to avoid an error. */
44205 #ifdef __cplusplus
44206 extern "C"
44208 #endif
44209 /* We use char because int might match the return type of a gcc2
44210 builtin and then its argument prototype would still apply. */
44211 char $ac_func ();
44212 /* The GNU C library defines this for functions which it implements
44213 to always fail with ENOSYS. Some functions are actually named
44214 something starting with __ and the normal name is an alias. */
44215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44216 choke me
44217 #else
44218 char (*f) () = $ac_func;
44219 #endif
44220 #ifdef __cplusplus
44222 #endif
44225 main ()
44227 return f != $ac_func;
44229 return 0;
44231 _ACEOF
44232 rm -f conftest.$ac_objext conftest$ac_exeext
44233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44234 (eval $ac_link) 2>&5
44235 ac_status=$?
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } &&
44238 { ac_try='test -s conftest$ac_exeext'
44239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240 (eval $ac_try) 2>&5
44241 ac_status=$?
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; }; then
44244 eval "$as_ac_var=yes"
44245 else
44246 echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.$ac_ext >&5
44249 eval "$as_ac_var=no"
44251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44255 if test `eval echo '${'$as_ac_var'}'` = yes; then
44256 cat >>confdefs.h <<_ACEOF
44257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44258 _ACEOF
44260 else
44261 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44263 done
44267 for ac_func in __signbitf
44269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44270 echo "$as_me:$LINENO: checking for $ac_func" >&5
44271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44272 if eval "test \"\${$as_ac_var+set}\" = set"; then
44273 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 else
44275 if test x$gcc_no_link = xyes; then
44276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44278 { (exit 1); exit 1; }; }
44280 cat >conftest.$ac_ext <<_ACEOF
44281 #line $LINENO "configure"
44282 /* confdefs.h. */
44283 _ACEOF
44284 cat confdefs.h >>conftest.$ac_ext
44285 cat >>conftest.$ac_ext <<_ACEOF
44286 /* end confdefs.h. */
44287 /* System header to define __stub macros and hopefully few prototypes,
44288 which can conflict with char $ac_func (); below.
44289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44290 <limits.h> exists even on freestanding compilers. */
44291 #ifdef __STDC__
44292 # include <limits.h>
44293 #else
44294 # include <assert.h>
44295 #endif
44296 /* Override any gcc2 internal prototype to avoid an error. */
44297 #ifdef __cplusplus
44298 extern "C"
44300 #endif
44301 /* We use char because int might match the return type of a gcc2
44302 builtin and then its argument prototype would still apply. */
44303 char $ac_func ();
44304 /* The GNU C library defines this for functions which it implements
44305 to always fail with ENOSYS. Some functions are actually named
44306 something starting with __ and the normal name is an alias. */
44307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44308 choke me
44309 #else
44310 char (*f) () = $ac_func;
44311 #endif
44312 #ifdef __cplusplus
44314 #endif
44317 main ()
44319 return f != $ac_func;
44321 return 0;
44323 _ACEOF
44324 rm -f conftest.$ac_objext conftest$ac_exeext
44325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44326 (eval $ac_link) 2>&5
44327 ac_status=$?
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } &&
44330 { ac_try='test -s conftest$ac_exeext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44336 eval "$as_ac_var=yes"
44337 else
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44341 eval "$as_ac_var=no"
44343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44347 if test `eval echo '${'$as_ac_var'}'` = yes; then
44348 cat >>confdefs.h <<_ACEOF
44349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44350 _ACEOF
44352 else
44353 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44355 done
44358 if test x$ac_cv_func_copysignl = x"yes"; then
44360 for ac_func in __signbitl
44362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44363 echo "$as_me:$LINENO: checking for $ac_func" >&5
44364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44365 if eval "test \"\${$as_ac_var+set}\" = set"; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368 if test x$gcc_no_link = xyes; then
44369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44371 { (exit 1); exit 1; }; }
44373 cat >conftest.$ac_ext <<_ACEOF
44374 #line $LINENO "configure"
44375 /* confdefs.h. */
44376 _ACEOF
44377 cat confdefs.h >>conftest.$ac_ext
44378 cat >>conftest.$ac_ext <<_ACEOF
44379 /* end confdefs.h. */
44380 /* System header to define __stub macros and hopefully few prototypes,
44381 which can conflict with char $ac_func (); below.
44382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44383 <limits.h> exists even on freestanding compilers. */
44384 #ifdef __STDC__
44385 # include <limits.h>
44386 #else
44387 # include <assert.h>
44388 #endif
44389 /* Override any gcc2 internal prototype to avoid an error. */
44390 #ifdef __cplusplus
44391 extern "C"
44393 #endif
44394 /* We use char because int might match the return type of a gcc2
44395 builtin and then its argument prototype would still apply. */
44396 char $ac_func ();
44397 /* The GNU C library defines this for functions which it implements
44398 to always fail with ENOSYS. Some functions are actually named
44399 something starting with __ and the normal name is an alias. */
44400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44401 choke me
44402 #else
44403 char (*f) () = $ac_func;
44404 #endif
44405 #ifdef __cplusplus
44407 #endif
44410 main ()
44412 return f != $ac_func;
44414 return 0;
44416 _ACEOF
44417 rm -f conftest.$ac_objext conftest$ac_exeext
44418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44419 (eval $ac_link) 2>&5
44420 ac_status=$?
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); } &&
44423 { ac_try='test -s conftest$ac_exeext'
44424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44425 (eval $ac_try) 2>&5
44426 ac_status=$?
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); }; }; then
44429 eval "$as_ac_var=yes"
44430 else
44431 echo "$as_me: failed program was:" >&5
44432 sed 's/^/| /' conftest.$ac_ext >&5
44434 eval "$as_ac_var=no"
44436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44440 if test `eval echo '${'$as_ac_var'}'` = yes; then
44441 cat >>confdefs.h <<_ACEOF
44442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44443 _ACEOF
44445 else
44446 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44448 done
44452 # Used in libmath/Makefile.am.
44453 if test -n "$LIBMATHOBJS"; then
44454 need_libmath=yes
44459 # Test wchar.h for mbstate_t, which is needed for char_traits and
44460 # others even if wchar_t support is not on.
44461 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44462 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44463 cat >conftest.$ac_ext <<_ACEOF
44464 #line $LINENO "configure"
44465 /* confdefs.h. */
44466 _ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44470 #include <wchar.h>
44472 main ()
44474 mbstate_t teststate;
44476 return 0;
44478 _ACEOF
44479 rm -f conftest.$ac_objext
44480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44481 (eval $ac_compile) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); } &&
44485 { ac_try='test -s conftest.$ac_objext'
44486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487 (eval $ac_try) 2>&5
44488 ac_status=$?
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); }; }; then
44491 have_mbstate_t=yes
44492 else
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44496 have_mbstate_t=no
44498 rm -f conftest.$ac_objext conftest.$ac_ext
44499 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44500 echo "${ECHO_T}$have_mbstate_t" >&6
44501 if test x"$have_mbstate_t" = xyes; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define HAVE_MBSTATE_T 1
44504 _ACEOF
44508 # Sanity check for existence of ISO C99 headers for extended encoding.
44510 for ac_header in wchar.h
44512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44514 echo "$as_me:$LINENO: checking for $ac_header" >&5
44515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44517 echo $ECHO_N "(cached) $ECHO_C" >&6
44519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44521 else
44522 # Is the header compilable?
44523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44525 cat >conftest.$ac_ext <<_ACEOF
44526 #line $LINENO "configure"
44527 /* confdefs.h. */
44528 _ACEOF
44529 cat confdefs.h >>conftest.$ac_ext
44530 cat >>conftest.$ac_ext <<_ACEOF
44531 /* end confdefs.h. */
44532 $ac_includes_default
44533 #include <$ac_header>
44534 _ACEOF
44535 rm -f conftest.$ac_objext
44536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44537 (eval $ac_compile) 2>&5
44538 ac_status=$?
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); } &&
44541 { ac_try='test -s conftest.$ac_objext'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; }; then
44547 ac_header_compiler=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44552 ac_header_compiler=no
44554 rm -f conftest.$ac_objext conftest.$ac_ext
44555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44556 echo "${ECHO_T}$ac_header_compiler" >&6
44558 # Is the header present?
44559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44561 cat >conftest.$ac_ext <<_ACEOF
44562 #line $LINENO "configure"
44563 /* confdefs.h. */
44564 _ACEOF
44565 cat confdefs.h >>conftest.$ac_ext
44566 cat >>conftest.$ac_ext <<_ACEOF
44567 /* end confdefs.h. */
44568 #include <$ac_header>
44569 _ACEOF
44570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44572 ac_status=$?
44573 grep -v '^ *+' conftest.er1 >conftest.err
44574 rm -f conftest.er1
44575 cat conftest.err >&5
44576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44577 (exit $ac_status); } >/dev/null; then
44578 if test -s conftest.err; then
44579 ac_cpp_err=$ac_c_preproc_warn_flag
44580 else
44581 ac_cpp_err=
44583 else
44584 ac_cpp_err=yes
44586 if test -z "$ac_cpp_err"; then
44587 ac_header_preproc=yes
44588 else
44589 echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.$ac_ext >&5
44592 ac_header_preproc=no
44594 rm -f conftest.err conftest.$ac_ext
44595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44596 echo "${ECHO_T}$ac_header_preproc" >&6
44598 # So? What about this header?
44599 case $ac_header_compiler:$ac_header_preproc in
44600 yes:no )
44601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44606 cat <<\_ASBOX
44607 ## ------------------------------------ ##
44608 ## Report this to bug-autoconf@gnu.org. ##
44609 ## ------------------------------------ ##
44610 _ASBOX
44612 sed "s/^/$as_me: WARNING: /" >&2
44614 no:yes )
44615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44622 cat <<\_ASBOX
44623 ## ------------------------------------ ##
44624 ## Report this to bug-autoconf@gnu.org. ##
44625 ## ------------------------------------ ##
44626 _ASBOX
44628 sed "s/^/$as_me: WARNING: /" >&2
44630 esac
44631 echo "$as_me:$LINENO: checking for $ac_header" >&5
44632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44634 echo $ECHO_N "(cached) $ECHO_C" >&6
44635 else
44636 eval "$as_ac_Header=$ac_header_preproc"
44638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44643 cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44645 _ACEOF
44646 ac_has_wchar_h=yes
44647 else
44648 ac_has_wchar_h=no
44651 done
44654 for ac_header in wctype.h
44656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44658 echo "$as_me:$LINENO: checking for $ac_header" >&5
44659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44665 else
44666 # Is the header compilable?
44667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44669 cat >conftest.$ac_ext <<_ACEOF
44670 #line $LINENO "configure"
44671 /* confdefs.h. */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44676 $ac_includes_default
44677 #include <$ac_header>
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44681 (eval $ac_compile) 2>&5
44682 ac_status=$?
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); } &&
44685 { ac_try='test -s conftest.$ac_objext'
44686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687 (eval $ac_try) 2>&5
44688 ac_status=$?
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); }; }; then
44691 ac_header_compiler=yes
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44696 ac_header_compiler=no
44698 rm -f conftest.$ac_objext conftest.$ac_ext
44699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44700 echo "${ECHO_T}$ac_header_compiler" >&6
44702 # Is the header present?
44703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44705 cat >conftest.$ac_ext <<_ACEOF
44706 #line $LINENO "configure"
44707 /* confdefs.h. */
44708 _ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h. */
44712 #include <$ac_header>
44713 _ACEOF
44714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44716 ac_status=$?
44717 grep -v '^ *+' conftest.er1 >conftest.err
44718 rm -f conftest.er1
44719 cat conftest.err >&5
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); } >/dev/null; then
44722 if test -s conftest.err; then
44723 ac_cpp_err=$ac_c_preproc_warn_flag
44724 else
44725 ac_cpp_err=
44727 else
44728 ac_cpp_err=yes
44730 if test -z "$ac_cpp_err"; then
44731 ac_header_preproc=yes
44732 else
44733 echo "$as_me: failed program was:" >&5
44734 sed 's/^/| /' conftest.$ac_ext >&5
44736 ac_header_preproc=no
44738 rm -f conftest.err conftest.$ac_ext
44739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44740 echo "${ECHO_T}$ac_header_preproc" >&6
44742 # So? What about this header?
44743 case $ac_header_compiler:$ac_header_preproc in
44744 yes:no )
44745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44750 cat <<\_ASBOX
44751 ## ------------------------------------ ##
44752 ## Report this to bug-autoconf@gnu.org. ##
44753 ## ------------------------------------ ##
44754 _ASBOX
44756 sed "s/^/$as_me: WARNING: /" >&2
44758 no:yes )
44759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44766 cat <<\_ASBOX
44767 ## ------------------------------------ ##
44768 ## Report this to bug-autoconf@gnu.org. ##
44769 ## ------------------------------------ ##
44770 _ASBOX
44772 sed "s/^/$as_me: WARNING: /" >&2
44774 esac
44775 echo "$as_me:$LINENO: checking for $ac_header" >&5
44776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44778 echo $ECHO_N "(cached) $ECHO_C" >&6
44779 else
44780 eval "$as_ac_Header=$ac_header_preproc"
44782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44787 cat >>confdefs.h <<_ACEOF
44788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44789 _ACEOF
44790 ac_has_wctype_h=yes
44791 else
44792 ac_has_wctype_h=no
44795 done
44798 # Only continue checking if the ISO C99 headers exist and support is on.
44799 if test x"$ac_has_wchar_h" = xyes &&
44800 test x"$ac_has_wctype_h" = xyes &&
44801 test x"$enable_c_mbchar" != xno; then
44803 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44804 # numeric_limits can instantiate type_traits<wchar_t>
44805 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44806 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44807 cat >conftest.$ac_ext <<_ACEOF
44808 #line $LINENO "configure"
44809 /* confdefs.h. */
44810 _ACEOF
44811 cat confdefs.h >>conftest.$ac_ext
44812 cat >>conftest.$ac_ext <<_ACEOF
44813 /* end confdefs.h. */
44814 #include <wchar.h>
44816 main ()
44818 int i = WCHAR_MIN; int j = WCHAR_MAX;
44820 return 0;
44822 _ACEOF
44823 rm -f conftest.$ac_objext
44824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44825 (eval $ac_compile) 2>&5
44826 ac_status=$?
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } &&
44829 { ac_try='test -s conftest.$ac_objext'
44830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44831 (eval $ac_try) 2>&5
44832 ac_status=$?
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; }; then
44835 has_wchar_minmax=yes
44836 else
44837 echo "$as_me: failed program was:" >&5
44838 sed 's/^/| /' conftest.$ac_ext >&5
44840 has_wchar_minmax=no
44842 rm -f conftest.$ac_objext conftest.$ac_ext
44843 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44844 echo "${ECHO_T}$has_wchar_minmax" >&6
44846 # Test wchar.h for WEOF, which is what we use to determine whether
44847 # to specialize for char_traits<wchar_t> or not.
44848 echo "$as_me:$LINENO: checking for WEOF" >&5
44849 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44850 cat >conftest.$ac_ext <<_ACEOF
44851 #line $LINENO "configure"
44852 /* confdefs.h. */
44853 _ACEOF
44854 cat confdefs.h >>conftest.$ac_ext
44855 cat >>conftest.$ac_ext <<_ACEOF
44856 /* end confdefs.h. */
44858 #include <wchar.h>
44859 #include <stddef.h>
44861 main ()
44863 wint_t i = WEOF;
44865 return 0;
44867 _ACEOF
44868 rm -f conftest.$ac_objext
44869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44870 (eval $ac_compile) 2>&5
44871 ac_status=$?
44872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44873 (exit $ac_status); } &&
44874 { ac_try='test -s conftest.$ac_objext'
44875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44876 (eval $ac_try) 2>&5
44877 ac_status=$?
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); }; }; then
44880 has_weof=yes
44881 else
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44885 has_weof=no
44887 rm -f conftest.$ac_objext conftest.$ac_ext
44888 echo "$as_me:$LINENO: result: $has_weof" >&5
44889 echo "${ECHO_T}$has_weof" >&6
44891 # Tests for wide character functions used in char_traits<wchar_t>.
44892 ac_wfuncs=yes
44899 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
44901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44902 echo "$as_me:$LINENO: checking for $ac_func" >&5
44903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44904 if eval "test \"\${$as_ac_var+set}\" = set"; then
44905 echo $ECHO_N "(cached) $ECHO_C" >&6
44906 else
44907 if test x$gcc_no_link = xyes; then
44908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44910 { (exit 1); exit 1; }; }
44912 cat >conftest.$ac_ext <<_ACEOF
44913 #line $LINENO "configure"
44914 /* confdefs.h. */
44915 _ACEOF
44916 cat confdefs.h >>conftest.$ac_ext
44917 cat >>conftest.$ac_ext <<_ACEOF
44918 /* end confdefs.h. */
44919 /* System header to define __stub macros and hopefully few prototypes,
44920 which can conflict with char $ac_func (); below.
44921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44922 <limits.h> exists even on freestanding compilers. */
44923 #ifdef __STDC__
44924 # include <limits.h>
44925 #else
44926 # include <assert.h>
44927 #endif
44928 /* Override any gcc2 internal prototype to avoid an error. */
44929 #ifdef __cplusplus
44930 extern "C"
44932 #endif
44933 /* We use char because int might match the return type of a gcc2
44934 builtin and then its argument prototype would still apply. */
44935 char $ac_func ();
44936 /* The GNU C library defines this for functions which it implements
44937 to always fail with ENOSYS. Some functions are actually named
44938 something starting with __ and the normal name is an alias. */
44939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44940 choke me
44941 #else
44942 char (*f) () = $ac_func;
44943 #endif
44944 #ifdef __cplusplus
44946 #endif
44949 main ()
44951 return f != $ac_func;
44953 return 0;
44955 _ACEOF
44956 rm -f conftest.$ac_objext conftest$ac_exeext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44958 (eval $ac_link) 2>&5
44959 ac_status=$?
44960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961 (exit $ac_status); } &&
44962 { ac_try='test -s conftest$ac_exeext'
44963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44964 (eval $ac_try) 2>&5
44965 ac_status=$?
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); }; }; then
44968 eval "$as_ac_var=yes"
44969 else
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44973 eval "$as_ac_var=no"
44975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44979 if test `eval echo '${'$as_ac_var'}'` = yes; then
44980 cat >>confdefs.h <<_ACEOF
44981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44982 _ACEOF
44984 else
44985 ac_wfuncs=no
44987 done
44990 # Checks for names injected into std:: by the c_std headers.
45037 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45038 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45039 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45040 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45041 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45042 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45045 echo "$as_me:$LINENO: checking for $ac_func" >&5
45046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45047 if eval "test \"\${$as_ac_var+set}\" = set"; then
45048 echo $ECHO_N "(cached) $ECHO_C" >&6
45049 else
45050 if test x$gcc_no_link = xyes; then
45051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45053 { (exit 1); exit 1; }; }
45055 cat >conftest.$ac_ext <<_ACEOF
45056 #line $LINENO "configure"
45057 /* confdefs.h. */
45058 _ACEOF
45059 cat confdefs.h >>conftest.$ac_ext
45060 cat >>conftest.$ac_ext <<_ACEOF
45061 /* end confdefs.h. */
45062 /* System header to define __stub macros and hopefully few prototypes,
45063 which can conflict with char $ac_func (); below.
45064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45065 <limits.h> exists even on freestanding compilers. */
45066 #ifdef __STDC__
45067 # include <limits.h>
45068 #else
45069 # include <assert.h>
45070 #endif
45071 /* Override any gcc2 internal prototype to avoid an error. */
45072 #ifdef __cplusplus
45073 extern "C"
45075 #endif
45076 /* We use char because int might match the return type of a gcc2
45077 builtin and then its argument prototype would still apply. */
45078 char $ac_func ();
45079 /* The GNU C library defines this for functions which it implements
45080 to always fail with ENOSYS. Some functions are actually named
45081 something starting with __ and the normal name is an alias. */
45082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45083 choke me
45084 #else
45085 char (*f) () = $ac_func;
45086 #endif
45087 #ifdef __cplusplus
45089 #endif
45092 main ()
45094 return f != $ac_func;
45096 return 0;
45098 _ACEOF
45099 rm -f conftest.$ac_objext conftest$ac_exeext
45100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45101 (eval $ac_link) 2>&5
45102 ac_status=$?
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); } &&
45105 { ac_try='test -s conftest$ac_exeext'
45106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45107 (eval $ac_try) 2>&5
45108 ac_status=$?
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); }; }; then
45111 eval "$as_ac_var=yes"
45112 else
45113 echo "$as_me: failed program was:" >&5
45114 sed 's/^/| /' conftest.$ac_ext >&5
45116 eval "$as_ac_var=no"
45118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45122 if test `eval echo '${'$as_ac_var'}'` = yes; then
45123 cat >>confdefs.h <<_ACEOF
45124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45125 _ACEOF
45127 else
45128 ac_wfuncs=no
45130 done
45133 # Checks for wide character functions that are not required
45134 # for basic wchar_t support. Don't disable support if they are missing.
45135 # Injection of these is wrapped with guard macros.
45141 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45144 echo "$as_me:$LINENO: checking for $ac_func" >&5
45145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45146 if eval "test \"\${$as_ac_var+set}\" = set"; then
45147 echo $ECHO_N "(cached) $ECHO_C" >&6
45148 else
45149 if test x$gcc_no_link = xyes; then
45150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45152 { (exit 1); exit 1; }; }
45154 cat >conftest.$ac_ext <<_ACEOF
45155 #line $LINENO "configure"
45156 /* confdefs.h. */
45157 _ACEOF
45158 cat confdefs.h >>conftest.$ac_ext
45159 cat >>conftest.$ac_ext <<_ACEOF
45160 /* end confdefs.h. */
45161 /* System header to define __stub macros and hopefully few prototypes,
45162 which can conflict with char $ac_func (); below.
45163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45164 <limits.h> exists even on freestanding compilers. */
45165 #ifdef __STDC__
45166 # include <limits.h>
45167 #else
45168 # include <assert.h>
45169 #endif
45170 /* Override any gcc2 internal prototype to avoid an error. */
45171 #ifdef __cplusplus
45172 extern "C"
45174 #endif
45175 /* We use char because int might match the return type of a gcc2
45176 builtin and then its argument prototype would still apply. */
45177 char $ac_func ();
45178 /* The GNU C library defines this for functions which it implements
45179 to always fail with ENOSYS. Some functions are actually named
45180 something starting with __ and the normal name is an alias. */
45181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45182 choke me
45183 #else
45184 char (*f) () = $ac_func;
45185 #endif
45186 #ifdef __cplusplus
45188 #endif
45191 main ()
45193 return f != $ac_func;
45195 return 0;
45197 _ACEOF
45198 rm -f conftest.$ac_objext conftest$ac_exeext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45200 (eval $ac_link) 2>&5
45201 ac_status=$?
45202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203 (exit $ac_status); } &&
45204 { ac_try='test -s conftest$ac_exeext'
45205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45206 (eval $ac_try) 2>&5
45207 ac_status=$?
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); }; }; then
45210 eval "$as_ac_var=yes"
45211 else
45212 echo "$as_me: failed program was:" >&5
45213 sed 's/^/| /' conftest.$ac_ext >&5
45215 eval "$as_ac_var=no"
45217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45222 cat >>confdefs.h <<_ACEOF
45223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45224 _ACEOF
45227 done
45230 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45231 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45232 if test x"$has_weof" = xyes &&
45233 test x"$has_wchar_minmax" = xyes &&
45234 test x"$ac_wfuncs" = xyes;
45235 then
45236 ac_isoC99_wchar_t=yes
45237 else
45238 ac_isoC99_wchar_t=no
45240 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45241 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45243 # Use iconv for wchar_t to char conversions. As such, check for
45244 # X/Open Portability Guide, version 2 features (XPG2).
45245 if test "${ac_cv_header_iconv_h+set}" = set; then
45246 echo "$as_me:$LINENO: checking for iconv.h" >&5
45247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45248 if test "${ac_cv_header_iconv_h+set}" = set; then
45249 echo $ECHO_N "(cached) $ECHO_C" >&6
45251 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45252 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45253 else
45254 # Is the header compilable?
45255 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45256 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45257 cat >conftest.$ac_ext <<_ACEOF
45258 #line $LINENO "configure"
45259 /* confdefs.h. */
45260 _ACEOF
45261 cat confdefs.h >>conftest.$ac_ext
45262 cat >>conftest.$ac_ext <<_ACEOF
45263 /* end confdefs.h. */
45264 $ac_includes_default
45265 #include <iconv.h>
45266 _ACEOF
45267 rm -f conftest.$ac_objext
45268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45269 (eval $ac_compile) 2>&5
45270 ac_status=$?
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } &&
45273 { ac_try='test -s conftest.$ac_objext'
45274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275 (eval $ac_try) 2>&5
45276 ac_status=$?
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); }; }; then
45279 ac_header_compiler=yes
45280 else
45281 echo "$as_me: failed program was:" >&5
45282 sed 's/^/| /' conftest.$ac_ext >&5
45284 ac_header_compiler=no
45286 rm -f conftest.$ac_objext conftest.$ac_ext
45287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45288 echo "${ECHO_T}$ac_header_compiler" >&6
45290 # Is the header present?
45291 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45292 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45293 cat >conftest.$ac_ext <<_ACEOF
45294 #line $LINENO "configure"
45295 /* confdefs.h. */
45296 _ACEOF
45297 cat confdefs.h >>conftest.$ac_ext
45298 cat >>conftest.$ac_ext <<_ACEOF
45299 /* end confdefs.h. */
45300 #include <iconv.h>
45301 _ACEOF
45302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45304 ac_status=$?
45305 grep -v '^ *+' conftest.er1 >conftest.err
45306 rm -f conftest.er1
45307 cat conftest.err >&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } >/dev/null; then
45310 if test -s conftest.err; then
45311 ac_cpp_err=$ac_c_preproc_warn_flag
45312 else
45313 ac_cpp_err=
45315 else
45316 ac_cpp_err=yes
45318 if test -z "$ac_cpp_err"; then
45319 ac_header_preproc=yes
45320 else
45321 echo "$as_me: failed program was:" >&5
45322 sed 's/^/| /' conftest.$ac_ext >&5
45324 ac_header_preproc=no
45326 rm -f conftest.err conftest.$ac_ext
45327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45328 echo "${ECHO_T}$ac_header_preproc" >&6
45330 # So? What about this header?
45331 case $ac_header_compiler:$ac_header_preproc in
45332 yes:no )
45333 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45334 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45335 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45336 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45338 cat <<\_ASBOX
45339 ## ------------------------------------ ##
45340 ## Report this to bug-autoconf@gnu.org. ##
45341 ## ------------------------------------ ##
45342 _ASBOX
45344 sed "s/^/$as_me: WARNING: /" >&2
45346 no:yes )
45347 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45348 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45349 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45350 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45351 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45352 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45354 cat <<\_ASBOX
45355 ## ------------------------------------ ##
45356 ## Report this to bug-autoconf@gnu.org. ##
45357 ## ------------------------------------ ##
45358 _ASBOX
45360 sed "s/^/$as_me: WARNING: /" >&2
45362 esac
45363 echo "$as_me:$LINENO: checking for iconv.h" >&5
45364 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45365 if test "${ac_cv_header_iconv_h+set}" = set; then
45366 echo $ECHO_N "(cached) $ECHO_C" >&6
45367 else
45368 ac_cv_header_iconv_h=$ac_header_preproc
45370 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45371 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45374 if test $ac_cv_header_iconv_h = yes; then
45375 ac_has_iconv_h=yes
45376 else
45377 ac_has_iconv_h=no
45381 if test "${ac_cv_header_langinfo_h+set}" = set; then
45382 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45384 if test "${ac_cv_header_langinfo_h+set}" = set; then
45385 echo $ECHO_N "(cached) $ECHO_C" >&6
45387 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45388 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45389 else
45390 # Is the header compilable?
45391 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45392 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45393 cat >conftest.$ac_ext <<_ACEOF
45394 #line $LINENO "configure"
45395 /* confdefs.h. */
45396 _ACEOF
45397 cat confdefs.h >>conftest.$ac_ext
45398 cat >>conftest.$ac_ext <<_ACEOF
45399 /* end confdefs.h. */
45400 $ac_includes_default
45401 #include <langinfo.h>
45402 _ACEOF
45403 rm -f conftest.$ac_objext
45404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45405 (eval $ac_compile) 2>&5
45406 ac_status=$?
45407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408 (exit $ac_status); } &&
45409 { ac_try='test -s conftest.$ac_objext'
45410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411 (eval $ac_try) 2>&5
45412 ac_status=$?
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; }; then
45415 ac_header_compiler=yes
45416 else
45417 echo "$as_me: failed program was:" >&5
45418 sed 's/^/| /' conftest.$ac_ext >&5
45420 ac_header_compiler=no
45422 rm -f conftest.$ac_objext conftest.$ac_ext
45423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45424 echo "${ECHO_T}$ac_header_compiler" >&6
45426 # Is the header present?
45427 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45428 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45429 cat >conftest.$ac_ext <<_ACEOF
45430 #line $LINENO "configure"
45431 /* confdefs.h. */
45432 _ACEOF
45433 cat confdefs.h >>conftest.$ac_ext
45434 cat >>conftest.$ac_ext <<_ACEOF
45435 /* end confdefs.h. */
45436 #include <langinfo.h>
45437 _ACEOF
45438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45440 ac_status=$?
45441 grep -v '^ *+' conftest.er1 >conftest.err
45442 rm -f conftest.er1
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } >/dev/null; then
45446 if test -s conftest.err; then
45447 ac_cpp_err=$ac_c_preproc_warn_flag
45448 else
45449 ac_cpp_err=
45451 else
45452 ac_cpp_err=yes
45454 if test -z "$ac_cpp_err"; then
45455 ac_header_preproc=yes
45456 else
45457 echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45460 ac_header_preproc=no
45462 rm -f conftest.err conftest.$ac_ext
45463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45464 echo "${ECHO_T}$ac_header_preproc" >&6
45466 # So? What about this header?
45467 case $ac_header_compiler:$ac_header_preproc in
45468 yes:no )
45469 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45470 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45471 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45472 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45474 cat <<\_ASBOX
45475 ## ------------------------------------ ##
45476 ## Report this to bug-autoconf@gnu.org. ##
45477 ## ------------------------------------ ##
45478 _ASBOX
45480 sed "s/^/$as_me: WARNING: /" >&2
45482 no:yes )
45483 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45484 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45485 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45486 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45487 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45488 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45490 cat <<\_ASBOX
45491 ## ------------------------------------ ##
45492 ## Report this to bug-autoconf@gnu.org. ##
45493 ## ------------------------------------ ##
45494 _ASBOX
45496 sed "s/^/$as_me: WARNING: /" >&2
45498 esac
45499 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45500 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45501 if test "${ac_cv_header_langinfo_h+set}" = set; then
45502 echo $ECHO_N "(cached) $ECHO_C" >&6
45503 else
45504 ac_cv_header_langinfo_h=$ac_header_preproc
45506 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45507 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45510 if test $ac_cv_header_langinfo_h = yes; then
45511 ac_has_langinfo_h=yes
45512 else
45513 ac_has_langinfo_h=no
45518 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45519 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45520 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45521 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45522 echo $ECHO_N "(cached) $ECHO_C" >&6
45523 else
45524 ac_check_lib_save_LIBS=$LIBS
45525 LIBS="-liconv $LIBS"
45526 if test x$gcc_no_link = xyes; then
45527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45529 { (exit 1); exit 1; }; }
45531 cat >conftest.$ac_ext <<_ACEOF
45532 #line $LINENO "configure"
45533 /* confdefs.h. */
45534 _ACEOF
45535 cat confdefs.h >>conftest.$ac_ext
45536 cat >>conftest.$ac_ext <<_ACEOF
45537 /* end confdefs.h. */
45539 /* Override any gcc2 internal prototype to avoid an error. */
45540 #ifdef __cplusplus
45541 extern "C"
45542 #endif
45543 /* We use char because int might match the return type of a gcc2
45544 builtin and then its argument prototype would still apply. */
45545 char iconv ();
45547 main ()
45549 iconv ();
45551 return 0;
45553 _ACEOF
45554 rm -f conftest.$ac_objext conftest$ac_exeext
45555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45556 (eval $ac_link) 2>&5
45557 ac_status=$?
45558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45559 (exit $ac_status); } &&
45560 { ac_try='test -s conftest$ac_exeext'
45561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45562 (eval $ac_try) 2>&5
45563 ac_status=$?
45564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45565 (exit $ac_status); }; }; then
45566 ac_cv_lib_iconv_iconv=yes
45567 else
45568 echo "$as_me: failed program was:" >&5
45569 sed 's/^/| /' conftest.$ac_ext >&5
45571 ac_cv_lib_iconv_iconv=no
45573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45574 LIBS=$ac_check_lib_save_LIBS
45576 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45577 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45578 if test $ac_cv_lib_iconv_iconv = yes; then
45579 libiconv="-liconv"
45582 ac_save_LIBS="$LIBS"
45583 LIBS="$LIBS $libiconv"
45589 for ac_func in iconv_open iconv_close iconv nl_langinfo
45591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45592 echo "$as_me:$LINENO: checking for $ac_func" >&5
45593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45594 if eval "test \"\${$as_ac_var+set}\" = set"; then
45595 echo $ECHO_N "(cached) $ECHO_C" >&6
45596 else
45597 if test x$gcc_no_link = xyes; then
45598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45600 { (exit 1); exit 1; }; }
45602 cat >conftest.$ac_ext <<_ACEOF
45603 #line $LINENO "configure"
45604 /* confdefs.h. */
45605 _ACEOF
45606 cat confdefs.h >>conftest.$ac_ext
45607 cat >>conftest.$ac_ext <<_ACEOF
45608 /* end confdefs.h. */
45609 /* System header to define __stub macros and hopefully few prototypes,
45610 which can conflict with char $ac_func (); below.
45611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45612 <limits.h> exists even on freestanding compilers. */
45613 #ifdef __STDC__
45614 # include <limits.h>
45615 #else
45616 # include <assert.h>
45617 #endif
45618 /* Override any gcc2 internal prototype to avoid an error. */
45619 #ifdef __cplusplus
45620 extern "C"
45622 #endif
45623 /* We use char because int might match the return type of a gcc2
45624 builtin and then its argument prototype would still apply. */
45625 char $ac_func ();
45626 /* The GNU C library defines this for functions which it implements
45627 to always fail with ENOSYS. Some functions are actually named
45628 something starting with __ and the normal name is an alias. */
45629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45630 choke me
45631 #else
45632 char (*f) () = $ac_func;
45633 #endif
45634 #ifdef __cplusplus
45636 #endif
45639 main ()
45641 return f != $ac_func;
45643 return 0;
45645 _ACEOF
45646 rm -f conftest.$ac_objext conftest$ac_exeext
45647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45648 (eval $ac_link) 2>&5
45649 ac_status=$?
45650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651 (exit $ac_status); } &&
45652 { ac_try='test -s conftest$ac_exeext'
45653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45654 (eval $ac_try) 2>&5
45655 ac_status=$?
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); }; }; then
45658 eval "$as_ac_var=yes"
45659 else
45660 echo "$as_me: failed program was:" >&5
45661 sed 's/^/| /' conftest.$ac_ext >&5
45663 eval "$as_ac_var=no"
45665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45669 if test `eval echo '${'$as_ac_var'}'` = yes; then
45670 cat >>confdefs.h <<_ACEOF
45671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45672 _ACEOF
45673 ac_XPG2funcs=yes
45674 else
45675 ac_XPG2funcs=no
45677 done
45680 LIBS="$ac_save_LIBS"
45682 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45683 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45684 if test x"$ac_has_iconv_h" = xyes &&
45685 test x"$ac_has_langinfo_h" = xyes &&
45686 test x"$ac_XPG2funcs" = xyes;
45687 then
45688 ac_XPG2_wchar_t=yes
45689 else
45690 ac_XPG2_wchar_t=no
45692 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45693 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45695 # At the moment, only enable wchar_t specializations if all the
45696 # above support is present.
45697 if test x"$ac_isoC99_wchar_t" = xyes &&
45698 test x"$ac_XPG2_wchar_t" = xyes;
45699 then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define _GLIBCXX_USE_WCHAR_T 1
45702 _ACEOF
45704 enable_wchar_t=yes
45707 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45708 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45709 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45710 echo "${ECHO_T}$enable_wchar_t" >&6
45713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45714 ac_save_CXXFLAGS="$CXXFLAGS"
45715 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45718 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45719 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45720 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45721 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45722 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 else
45727 ac_ext=cc
45728 ac_cpp='$CXXCPP $CPPFLAGS'
45729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45733 cat >conftest.$ac_ext <<_ACEOF
45734 #line $LINENO "configure"
45735 /* confdefs.h. */
45736 _ACEOF
45737 cat confdefs.h >>conftest.$ac_ext
45738 cat >>conftest.$ac_ext <<_ACEOF
45739 /* end confdefs.h. */
45740 #include <stdlib.h>
45742 main ()
45744 strtold(0, 0);
45746 return 0;
45748 _ACEOF
45749 rm -f conftest.$ac_objext
45750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45751 (eval $ac_compile) 2>&5
45752 ac_status=$?
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } &&
45755 { ac_try='test -s conftest.$ac_objext'
45756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45757 (eval $ac_try) 2>&5
45758 ac_status=$?
45759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760 (exit $ac_status); }; }; then
45761 glibcxx_cv_func_strtold_use=yes
45762 else
45763 echo "$as_me: failed program was:" >&5
45764 sed 's/^/| /' conftest.$ac_ext >&5
45766 glibcxx_cv_func_strtold_use=no
45768 rm -f conftest.$ac_objext conftest.$ac_ext
45769 ac_ext=c
45770 ac_cpp='$CPP $CPPFLAGS'
45771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45780 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45781 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45783 for ac_func in strtold
45785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45786 echo "$as_me:$LINENO: checking for $ac_func" >&5
45787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45788 if eval "test \"\${$as_ac_var+set}\" = set"; then
45789 echo $ECHO_N "(cached) $ECHO_C" >&6
45790 else
45791 if test x$gcc_no_link = xyes; then
45792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45794 { (exit 1); exit 1; }; }
45796 cat >conftest.$ac_ext <<_ACEOF
45797 #line $LINENO "configure"
45798 /* confdefs.h. */
45799 _ACEOF
45800 cat confdefs.h >>conftest.$ac_ext
45801 cat >>conftest.$ac_ext <<_ACEOF
45802 /* end confdefs.h. */
45803 /* System header to define __stub macros and hopefully few prototypes,
45804 which can conflict with char $ac_func (); below.
45805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45806 <limits.h> exists even on freestanding compilers. */
45807 #ifdef __STDC__
45808 # include <limits.h>
45809 #else
45810 # include <assert.h>
45811 #endif
45812 /* Override any gcc2 internal prototype to avoid an error. */
45813 #ifdef __cplusplus
45814 extern "C"
45816 #endif
45817 /* We use char because int might match the return type of a gcc2
45818 builtin and then its argument prototype would still apply. */
45819 char $ac_func ();
45820 /* The GNU C library defines this for functions which it implements
45821 to always fail with ENOSYS. Some functions are actually named
45822 something starting with __ and the normal name is an alias. */
45823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45824 choke me
45825 #else
45826 char (*f) () = $ac_func;
45827 #endif
45828 #ifdef __cplusplus
45830 #endif
45833 main ()
45835 return f != $ac_func;
45837 return 0;
45839 _ACEOF
45840 rm -f conftest.$ac_objext conftest$ac_exeext
45841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45842 (eval $ac_link) 2>&5
45843 ac_status=$?
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); } &&
45846 { ac_try='test -s conftest$ac_exeext'
45847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45848 (eval $ac_try) 2>&5
45849 ac_status=$?
45850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45851 (exit $ac_status); }; }; then
45852 eval "$as_ac_var=yes"
45853 else
45854 echo "$as_me: failed program was:" >&5
45855 sed 's/^/| /' conftest.$ac_ext >&5
45857 eval "$as_ac_var=no"
45859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45863 if test `eval echo '${'$as_ac_var'}'` = yes; then
45864 cat >>confdefs.h <<_ACEOF
45865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45866 _ACEOF
45869 done
45874 echo "$as_me:$LINENO: checking for strtof declaration" >&5
45875 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
45876 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45877 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
45878 echo $ECHO_N "(cached) $ECHO_C" >&6
45879 else
45883 ac_ext=cc
45884 ac_cpp='$CXXCPP $CPPFLAGS'
45885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45889 cat >conftest.$ac_ext <<_ACEOF
45890 #line $LINENO "configure"
45891 /* confdefs.h. */
45892 _ACEOF
45893 cat confdefs.h >>conftest.$ac_ext
45894 cat >>conftest.$ac_ext <<_ACEOF
45895 /* end confdefs.h. */
45896 #include <stdlib.h>
45898 main ()
45900 strtof(0, 0);
45902 return 0;
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45907 (eval $ac_compile) 2>&5
45908 ac_status=$?
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); } &&
45911 { ac_try='test -s conftest.$ac_objext'
45912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45913 (eval $ac_try) 2>&5
45914 ac_status=$?
45915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916 (exit $ac_status); }; }; then
45917 glibcxx_cv_func_strtof_use=yes
45918 else
45919 echo "$as_me: failed program was:" >&5
45920 sed 's/^/| /' conftest.$ac_ext >&5
45922 glibcxx_cv_func_strtof_use=no
45924 rm -f conftest.$ac_objext conftest.$ac_ext
45925 ac_ext=c
45926 ac_cpp='$CPP $CPPFLAGS'
45927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
45936 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
45937 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45939 for ac_func in strtof
45941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45942 echo "$as_me:$LINENO: checking for $ac_func" >&5
45943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45944 if eval "test \"\${$as_ac_var+set}\" = set"; then
45945 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 else
45947 if test x$gcc_no_link = xyes; then
45948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45950 { (exit 1); exit 1; }; }
45952 cat >conftest.$ac_ext <<_ACEOF
45953 #line $LINENO "configure"
45954 /* confdefs.h. */
45955 _ACEOF
45956 cat confdefs.h >>conftest.$ac_ext
45957 cat >>conftest.$ac_ext <<_ACEOF
45958 /* end confdefs.h. */
45959 /* System header to define __stub macros and hopefully few prototypes,
45960 which can conflict with char $ac_func (); below.
45961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45962 <limits.h> exists even on freestanding compilers. */
45963 #ifdef __STDC__
45964 # include <limits.h>
45965 #else
45966 # include <assert.h>
45967 #endif
45968 /* Override any gcc2 internal prototype to avoid an error. */
45969 #ifdef __cplusplus
45970 extern "C"
45972 #endif
45973 /* We use char because int might match the return type of a gcc2
45974 builtin and then its argument prototype would still apply. */
45975 char $ac_func ();
45976 /* The GNU C library defines this for functions which it implements
45977 to always fail with ENOSYS. Some functions are actually named
45978 something starting with __ and the normal name is an alias. */
45979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45980 choke me
45981 #else
45982 char (*f) () = $ac_func;
45983 #endif
45984 #ifdef __cplusplus
45986 #endif
45989 main ()
45991 return f != $ac_func;
45993 return 0;
45995 _ACEOF
45996 rm -f conftest.$ac_objext conftest$ac_exeext
45997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45998 (eval $ac_link) 2>&5
45999 ac_status=$?
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); } &&
46002 { ac_try='test -s conftest$ac_exeext'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; }; then
46008 eval "$as_ac_var=yes"
46009 else
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46013 eval "$as_ac_var=no"
46015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46019 if test `eval echo '${'$as_ac_var'}'` = yes; then
46020 cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46022 _ACEOF
46025 done
46030 CXXFLAGS="$ac_save_CXXFLAGS"
46033 # For showmanyc_helper().
46036 for ac_header in sys/ioctl.h sys/filio.h
46038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46040 echo "$as_me:$LINENO: checking for $ac_header" >&5
46041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46043 echo $ECHO_N "(cached) $ECHO_C" >&6
46045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46047 else
46048 # Is the header compilable?
46049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46051 cat >conftest.$ac_ext <<_ACEOF
46052 #line $LINENO "configure"
46053 /* confdefs.h. */
46054 _ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46058 $ac_includes_default
46059 #include <$ac_header>
46060 _ACEOF
46061 rm -f conftest.$ac_objext
46062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46063 (eval $ac_compile) 2>&5
46064 ac_status=$?
46065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46066 (exit $ac_status); } &&
46067 { ac_try='test -s conftest.$ac_objext'
46068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069 (eval $ac_try) 2>&5
46070 ac_status=$?
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; }; then
46073 ac_header_compiler=yes
46074 else
46075 echo "$as_me: failed program was:" >&5
46076 sed 's/^/| /' conftest.$ac_ext >&5
46078 ac_header_compiler=no
46080 rm -f conftest.$ac_objext conftest.$ac_ext
46081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46082 echo "${ECHO_T}$ac_header_compiler" >&6
46084 # Is the header present?
46085 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46086 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46087 cat >conftest.$ac_ext <<_ACEOF
46088 #line $LINENO "configure"
46089 /* confdefs.h. */
46090 _ACEOF
46091 cat confdefs.h >>conftest.$ac_ext
46092 cat >>conftest.$ac_ext <<_ACEOF
46093 /* end confdefs.h. */
46094 #include <$ac_header>
46095 _ACEOF
46096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46097 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
46104 if test -s conftest.err; then
46105 ac_cpp_err=$ac_c_preproc_warn_flag
46106 else
46107 ac_cpp_err=
46109 else
46110 ac_cpp_err=yes
46112 if test -z "$ac_cpp_err"; then
46113 ac_header_preproc=yes
46114 else
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46118 ac_header_preproc=no
46120 rm -f conftest.err conftest.$ac_ext
46121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46122 echo "${ECHO_T}$ac_header_preproc" >&6
46124 # So? What about this header?
46125 case $ac_header_compiler:$ac_header_preproc in
46126 yes:no )
46127 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46128 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46132 cat <<\_ASBOX
46133 ## ------------------------------------ ##
46134 ## Report this to bug-autoconf@gnu.org. ##
46135 ## ------------------------------------ ##
46136 _ASBOX
46138 sed "s/^/$as_me: WARNING: /" >&2
46140 no:yes )
46141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46148 cat <<\_ASBOX
46149 ## ------------------------------------ ##
46150 ## Report this to bug-autoconf@gnu.org. ##
46151 ## ------------------------------------ ##
46152 _ASBOX
46154 sed "s/^/$as_me: WARNING: /" >&2
46156 esac
46157 echo "$as_me:$LINENO: checking for $ac_header" >&5
46158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46160 echo $ECHO_N "(cached) $ECHO_C" >&6
46161 else
46162 eval "$as_ac_Header=$ac_header_preproc"
46164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46169 cat >>confdefs.h <<_ACEOF
46170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46171 _ACEOF
46175 done
46178 if test "${glibcxx_cv_POLL+set}" = set; then
46179 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 else
46182 if test x$gcc_no_link = xyes; then
46183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46185 { (exit 1); exit 1; }; }
46187 cat >conftest.$ac_ext <<_ACEOF
46188 #line $LINENO "configure"
46189 /* confdefs.h. */
46190 _ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46194 #include <poll.h>
46196 main ()
46198 struct pollfd pfd[1];
46199 pfd[0].events = POLLIN;
46200 poll(pfd, 1, 0);
46202 return 0;
46204 _ACEOF
46205 rm -f conftest.$ac_objext conftest$ac_exeext
46206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46207 (eval $ac_link) 2>&5
46208 ac_status=$?
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } &&
46211 { ac_try='test -s conftest$ac_exeext'
46212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46213 (eval $ac_try) 2>&5
46214 ac_status=$?
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; }; then
46217 glibcxx_cv_POLL=yes
46218 else
46219 echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46222 glibcxx_cv_POLL=no
46224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46228 if test $glibcxx_cv_POLL = yes; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define HAVE_POLL 1
46231 _ACEOF
46236 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46237 echo $ECHO_N "(cached) $ECHO_C" >&6
46238 else
46240 if test x$gcc_no_link = xyes; then
46241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46243 { (exit 1); exit 1; }; }
46245 cat >conftest.$ac_ext <<_ACEOF
46246 #line $LINENO "configure"
46247 /* confdefs.h. */
46248 _ACEOF
46249 cat confdefs.h >>conftest.$ac_ext
46250 cat >>conftest.$ac_ext <<_ACEOF
46251 /* end confdefs.h. */
46252 #include <sys/stat.h>
46254 main ()
46256 struct stat buffer;
46257 fstat(0, &buffer);
46258 S_ISREG(buffer.st_mode);
46260 return 0;
46262 _ACEOF
46263 rm -f conftest.$ac_objext conftest$ac_exeext
46264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46265 (eval $ac_link) 2>&5
46266 ac_status=$?
46267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268 (exit $ac_status); } &&
46269 { ac_try='test -s conftest$ac_exeext'
46270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46271 (eval $ac_try) 2>&5
46272 ac_status=$?
46273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46274 (exit $ac_status); }; }; then
46275 glibcxx_cv_S_ISREG=yes
46276 else
46277 echo "$as_me: failed program was:" >&5
46278 sed 's/^/| /' conftest.$ac_ext >&5
46280 glibcxx_cv_S_ISREG=no
46282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46286 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46287 echo $ECHO_N "(cached) $ECHO_C" >&6
46288 else
46290 if test x$gcc_no_link = xyes; then
46291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46293 { (exit 1); exit 1; }; }
46295 cat >conftest.$ac_ext <<_ACEOF
46296 #line $LINENO "configure"
46297 /* confdefs.h. */
46298 _ACEOF
46299 cat confdefs.h >>conftest.$ac_ext
46300 cat >>conftest.$ac_ext <<_ACEOF
46301 /* end confdefs.h. */
46302 #include <sys/stat.h>
46304 main ()
46306 struct stat buffer;
46307 fstat(0, &buffer);
46308 S_IFREG & buffer.st_mode;
46310 return 0;
46312 _ACEOF
46313 rm -f conftest.$ac_objext conftest$ac_exeext
46314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46315 (eval $ac_link) 2>&5
46316 ac_status=$?
46317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46318 (exit $ac_status); } &&
46319 { ac_try='test -s conftest$ac_exeext'
46320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46321 (eval $ac_try) 2>&5
46322 ac_status=$?
46323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46324 (exit $ac_status); }; }; then
46325 glibcxx_cv_S_IFREG=yes
46326 else
46327 echo "$as_me: failed program was:" >&5
46328 sed 's/^/| /' conftest.$ac_ext >&5
46330 glibcxx_cv_S_IFREG=no
46332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46336 if test $glibcxx_cv_S_ISREG = yes; then
46337 cat >>confdefs.h <<\_ACEOF
46338 #define HAVE_S_ISREG 1
46339 _ACEOF
46341 elif test $glibcxx_cv_S_IFREG = yes; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define HAVE_S_IFREG 1
46344 _ACEOF
46349 # For xsputn_2().
46351 for ac_header in sys/uio.h
46353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46355 echo "$as_me:$LINENO: checking for $ac_header" >&5
46356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46358 echo $ECHO_N "(cached) $ECHO_C" >&6
46360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46362 else
46363 # Is the header compilable?
46364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46366 cat >conftest.$ac_ext <<_ACEOF
46367 #line $LINENO "configure"
46368 /* confdefs.h. */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h. */
46373 $ac_includes_default
46374 #include <$ac_header>
46375 _ACEOF
46376 rm -f conftest.$ac_objext
46377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46378 (eval $ac_compile) 2>&5
46379 ac_status=$?
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); } &&
46382 { ac_try='test -s conftest.$ac_objext'
46383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46384 (eval $ac_try) 2>&5
46385 ac_status=$?
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); }; }; then
46388 ac_header_compiler=yes
46389 else
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46393 ac_header_compiler=no
46395 rm -f conftest.$ac_objext conftest.$ac_ext
46396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46397 echo "${ECHO_T}$ac_header_compiler" >&6
46399 # Is the header present?
46400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46402 cat >conftest.$ac_ext <<_ACEOF
46403 #line $LINENO "configure"
46404 /* confdefs.h. */
46405 _ACEOF
46406 cat confdefs.h >>conftest.$ac_ext
46407 cat >>conftest.$ac_ext <<_ACEOF
46408 /* end confdefs.h. */
46409 #include <$ac_header>
46410 _ACEOF
46411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46413 ac_status=$?
46414 grep -v '^ *+' conftest.er1 >conftest.err
46415 rm -f conftest.er1
46416 cat conftest.err >&5
46417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46418 (exit $ac_status); } >/dev/null; then
46419 if test -s conftest.err; then
46420 ac_cpp_err=$ac_c_preproc_warn_flag
46421 else
46422 ac_cpp_err=
46424 else
46425 ac_cpp_err=yes
46427 if test -z "$ac_cpp_err"; then
46428 ac_header_preproc=yes
46429 else
46430 echo "$as_me: failed program was:" >&5
46431 sed 's/^/| /' conftest.$ac_ext >&5
46433 ac_header_preproc=no
46435 rm -f conftest.err conftest.$ac_ext
46436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46437 echo "${ECHO_T}$ac_header_preproc" >&6
46439 # So? What about this header?
46440 case $ac_header_compiler:$ac_header_preproc in
46441 yes:no )
46442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46447 cat <<\_ASBOX
46448 ## ------------------------------------ ##
46449 ## Report this to bug-autoconf@gnu.org. ##
46450 ## ------------------------------------ ##
46451 _ASBOX
46453 sed "s/^/$as_me: WARNING: /" >&2
46455 no:yes )
46456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46463 cat <<\_ASBOX
46464 ## ------------------------------------ ##
46465 ## Report this to bug-autoconf@gnu.org. ##
46466 ## ------------------------------------ ##
46467 _ASBOX
46469 sed "s/^/$as_me: WARNING: /" >&2
46471 esac
46472 echo "$as_me:$LINENO: checking for $ac_header" >&5
46473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46475 echo $ECHO_N "(cached) $ECHO_C" >&6
46476 else
46477 eval "$as_ac_Header=$ac_header_preproc"
46479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46484 cat >>confdefs.h <<_ACEOF
46485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46486 _ACEOF
46490 done
46493 if test "${glibcxx_cv_WRITEV+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46497 if test x$gcc_no_link = xyes; then
46498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46500 { (exit 1); exit 1; }; }
46502 cat >conftest.$ac_ext <<_ACEOF
46503 #line $LINENO "configure"
46504 /* confdefs.h. */
46505 _ACEOF
46506 cat confdefs.h >>conftest.$ac_ext
46507 cat >>conftest.$ac_ext <<_ACEOF
46508 /* end confdefs.h. */
46509 #include <sys/uio.h>
46511 main ()
46513 struct iovec iov[2];
46514 writev(0, iov, 0);
46516 return 0;
46518 _ACEOF
46519 rm -f conftest.$ac_objext conftest$ac_exeext
46520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46521 (eval $ac_link) 2>&5
46522 ac_status=$?
46523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46524 (exit $ac_status); } &&
46525 { ac_try='test -s conftest$ac_exeext'
46526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46527 (eval $ac_try) 2>&5
46528 ac_status=$?
46529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46530 (exit $ac_status); }; }; then
46531 glibcxx_cv_WRITEV=yes
46532 else
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46536 glibcxx_cv_WRITEV=no
46538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46542 if test $glibcxx_cv_WRITEV = yes; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define HAVE_WRITEV 1
46545 _ACEOF
46550 cat >>confdefs.h <<\_ACEOF
46551 #define HAVE_LC_MESSAGES 1
46552 _ACEOF
46555 cat >conftest.$ac_ext <<_ACEOF
46556 #line $LINENO "configure"
46557 /* confdefs.h. */
46558 _ACEOF
46559 cat confdefs.h >>conftest.$ac_ext
46560 cat >>conftest.$ac_ext <<_ACEOF
46561 /* end confdefs.h. */
46562 #include <setjmp.h>
46564 main ()
46566 sigjmp_buf env;
46567 while (! sigsetjmp (env, 1))
46568 siglongjmp (env, 1);
46571 return 0;
46573 _ACEOF
46574 rm -f conftest.$ac_objext
46575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46576 (eval $ac_compile) 2>&5
46577 ac_status=$?
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); } &&
46580 { ac_try='test -s conftest.$ac_objext'
46581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582 (eval $ac_try) 2>&5
46583 ac_status=$?
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); }; }; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define HAVE_SIGSETJMP 1
46589 _ACEOF
46591 else
46592 echo "$as_me: failed program was:" >&5
46593 sed 's/^/| /' conftest.$ac_ext >&5
46596 rm -f conftest.$ac_objext conftest.$ac_ext
46598 cat >>confdefs.h <<\_ACEOF
46599 #define HAVE_MMAP 1
46600 _ACEOF
46604 *djgpp)
46625 for ac_header in float.h ieeefp.h inttypes.h locale.h \
46626 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
46627 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
46628 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
46630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46632 echo "$as_me:$LINENO: checking for $ac_header" >&5
46633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46635 echo $ECHO_N "(cached) $ECHO_C" >&6
46637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46639 else
46640 # Is the header compilable?
46641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46643 cat >conftest.$ac_ext <<_ACEOF
46644 #line $LINENO "configure"
46645 /* confdefs.h. */
46646 _ACEOF
46647 cat confdefs.h >>conftest.$ac_ext
46648 cat >>conftest.$ac_ext <<_ACEOF
46649 /* end confdefs.h. */
46650 $ac_includes_default
46651 #include <$ac_header>
46652 _ACEOF
46653 rm -f conftest.$ac_objext
46654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46655 (eval $ac_compile) 2>&5
46656 ac_status=$?
46657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46658 (exit $ac_status); } &&
46659 { ac_try='test -s conftest.$ac_objext'
46660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46661 (eval $ac_try) 2>&5
46662 ac_status=$?
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); }; }; then
46665 ac_header_compiler=yes
46666 else
46667 echo "$as_me: failed program was:" >&5
46668 sed 's/^/| /' conftest.$ac_ext >&5
46670 ac_header_compiler=no
46672 rm -f conftest.$ac_objext conftest.$ac_ext
46673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46674 echo "${ECHO_T}$ac_header_compiler" >&6
46676 # Is the header present?
46677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46679 cat >conftest.$ac_ext <<_ACEOF
46680 #line $LINENO "configure"
46681 /* confdefs.h. */
46682 _ACEOF
46683 cat confdefs.h >>conftest.$ac_ext
46684 cat >>conftest.$ac_ext <<_ACEOF
46685 /* end confdefs.h. */
46686 #include <$ac_header>
46687 _ACEOF
46688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46690 ac_status=$?
46691 grep -v '^ *+' conftest.er1 >conftest.err
46692 rm -f conftest.er1
46693 cat conftest.err >&5
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); } >/dev/null; then
46696 if test -s conftest.err; then
46697 ac_cpp_err=$ac_c_preproc_warn_flag
46698 else
46699 ac_cpp_err=
46701 else
46702 ac_cpp_err=yes
46704 if test -z "$ac_cpp_err"; then
46705 ac_header_preproc=yes
46706 else
46707 echo "$as_me: failed program was:" >&5
46708 sed 's/^/| /' conftest.$ac_ext >&5
46710 ac_header_preproc=no
46712 rm -f conftest.err conftest.$ac_ext
46713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46714 echo "${ECHO_T}$ac_header_preproc" >&6
46716 # So? What about this header?
46717 case $ac_header_compiler:$ac_header_preproc in
46718 yes:no )
46719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46724 cat <<\_ASBOX
46725 ## ------------------------------------ ##
46726 ## Report this to bug-autoconf@gnu.org. ##
46727 ## ------------------------------------ ##
46728 _ASBOX
46730 sed "s/^/$as_me: WARNING: /" >&2
46732 no:yes )
46733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46740 cat <<\_ASBOX
46741 ## ------------------------------------ ##
46742 ## Report this to bug-autoconf@gnu.org. ##
46743 ## ------------------------------------ ##
46744 _ASBOX
46746 sed "s/^/$as_me: WARNING: /" >&2
46748 esac
46749 echo "$as_me:$LINENO: checking for $ac_header" >&5
46750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46752 echo $ECHO_N "(cached) $ECHO_C" >&6
46753 else
46754 eval "$as_ac_Header=$ac_header_preproc"
46756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46761 cat >>confdefs.h <<_ACEOF
46762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46763 _ACEOF
46767 done
46770 # All these tests are for C++; save the language and the compiler flags.
46771 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46772 # found in GLIBCXX_CONFIGURE.
46775 ac_ext=cc
46776 ac_cpp='$CXXCPP $CPPFLAGS'
46777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46782 ac_save_CXXFLAGS="$CXXFLAGS"
46784 # Check for maintainer-mode bits.
46785 if test x"$USE_MAINTAINER_MODE" = xno; then
46786 WERROR=''
46787 else
46788 WERROR='-Werror'
46791 # Check for -ffunction-sections -fdata-sections
46792 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46793 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
46794 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
46795 cat >conftest.$ac_ext <<_ACEOF
46796 #line $LINENO "configure"
46797 /* confdefs.h. */
46798 _ACEOF
46799 cat confdefs.h >>conftest.$ac_ext
46800 cat >>conftest.$ac_ext <<_ACEOF
46801 /* end confdefs.h. */
46804 main ()
46806 int foo;
46808 return 0;
46810 _ACEOF
46811 rm -f conftest.$ac_objext
46812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46813 (eval $ac_compile) 2>&5
46814 ac_status=$?
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); } &&
46817 { ac_try='test -s conftest.$ac_objext'
46818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46819 (eval $ac_try) 2>&5
46820 ac_status=$?
46821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46822 (exit $ac_status); }; }; then
46823 ac_fdsections=yes
46824 else
46825 echo "$as_me: failed program was:" >&5
46826 sed 's/^/| /' conftest.$ac_ext >&5
46828 ac_fdsections=no
46830 rm -f conftest.$ac_objext conftest.$ac_ext
46831 if test "$ac_test_CXXFLAGS" = set; then
46832 CXXFLAGS="$ac_save_CXXFLAGS"
46833 else
46834 # this is the suspicious part
46835 CXXFLAGS=''
46837 if test x"$ac_fdsections" = x"yes"; then
46838 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46840 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
46841 echo "${ECHO_T}$ac_fdsections" >&6
46843 ac_ext=c
46844 ac_cpp='$CPP $CPPFLAGS'
46845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853 # If we're not using GNU ld, then there's no point in even trying these
46854 # tests. Check for that first. We should have already tested for gld
46855 # by now (in libtool), but require it now just to be safe...
46856 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46857 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46861 # The name set by libtool depends on the version of libtool. Shame on us
46862 # for depending on an impl detail, but c'est la vie. Older versions used
46863 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46864 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46865 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46866 # set (hence we're using an older libtool), then set it.
46867 if test x${with_gnu_ld+set} != xset; then
46868 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46869 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46870 with_gnu_ld=no
46871 else
46872 with_gnu_ld=$ac_cv_prog_gnu_ld
46876 # Start by getting the version number. I think the libtool test already
46877 # does some of this, but throws away the result.
46879 ldver=`$LD --version 2>/dev/null | head -1 | \
46880 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
46882 glibcxx_gnu_ld_version=`echo $ldver | \
46883 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46885 # Set --gc-sections.
46886 if test "$with_gnu_ld" = "notbroken"; then
46887 # GNU ld it is! Joy and bunny rabbits!
46889 # All these tests are for C++; save the language and the compiler flags.
46890 # Need to do this so that g++ won't try to link in libstdc++
46891 ac_test_CFLAGS="${CFLAGS+set}"
46892 ac_save_CFLAGS="$CFLAGS"
46893 CFLAGS='-x c++ -Wl,--gc-sections'
46895 # Check for -Wl,--gc-sections
46896 # XXX This test is broken at the moment, as symbols required for linking
46897 # are now in libsupc++ (not built yet). In addition, this test has
46898 # cored on solaris in the past. In addition, --gc-sections doesn't
46899 # really work at the moment (keeps on discarding used sections, first
46900 # .eh_frame and now some of the glibc sections for iconv).
46901 # Bzzzzt. Thanks for playing, maybe next time.
46902 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
46903 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
46904 if test "$cross_compiling" = yes; then
46905 ac_sectionLDflags=yes
46906 else
46907 cat >conftest.$ac_ext <<_ACEOF
46908 #line $LINENO "configure"
46909 /* confdefs.h. */
46910 _ACEOF
46911 cat confdefs.h >>conftest.$ac_ext
46912 cat >>conftest.$ac_ext <<_ACEOF
46913 /* end confdefs.h. */
46915 int main(void)
46917 try { throw 1; }
46918 catch (...) { };
46919 return 0;
46922 _ACEOF
46923 rm -f conftest$ac_exeext
46924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46925 (eval $ac_link) 2>&5
46926 ac_status=$?
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46930 (eval $ac_try) 2>&5
46931 ac_status=$?
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); }; }; then
46934 ac_sectionLDflags=yes
46935 else
46936 echo "$as_me: program exited with status $ac_status" >&5
46937 echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46940 ( exit $ac_status )
46941 ac_sectionLDflags=no
46943 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46945 if test "$ac_test_CFLAGS" = set; then
46946 CFLAGS="$ac_save_CFLAGS"
46947 else
46948 # this is the suspicious part
46949 CFLAGS=''
46951 if test "$ac_sectionLDflags" = "yes"; then
46952 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46954 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
46955 echo "${ECHO_T}$ac_sectionLDflags" >&6
46958 # Set linker optimization flags.
46959 if test x"$with_gnu_ld" = x"yes"; then
46960 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46967 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46968 ac_save_CXXFLAGS="$CXXFLAGS"
46969 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46971 echo "$as_me:$LINENO: checking for sin in -lm" >&5
46972 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
46973 if test "${ac_cv_lib_m_sin+set}" = set; then
46974 echo $ECHO_N "(cached) $ECHO_C" >&6
46975 else
46976 ac_check_lib_save_LIBS=$LIBS
46977 LIBS="-lm $LIBS"
46978 if test x$gcc_no_link = xyes; then
46979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46981 { (exit 1); exit 1; }; }
46983 cat >conftest.$ac_ext <<_ACEOF
46984 #line $LINENO "configure"
46985 /* confdefs.h. */
46986 _ACEOF
46987 cat confdefs.h >>conftest.$ac_ext
46988 cat >>conftest.$ac_ext <<_ACEOF
46989 /* end confdefs.h. */
46991 /* Override any gcc2 internal prototype to avoid an error. */
46992 #ifdef __cplusplus
46993 extern "C"
46994 #endif
46995 /* We use char because int might match the return type of a gcc2
46996 builtin and then its argument prototype would still apply. */
46997 char sin ();
46999 main ()
47001 sin ();
47003 return 0;
47005 _ACEOF
47006 rm -f conftest.$ac_objext conftest$ac_exeext
47007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47008 (eval $ac_link) 2>&5
47009 ac_status=$?
47010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011 (exit $ac_status); } &&
47012 { ac_try='test -s conftest$ac_exeext'
47013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47014 (eval $ac_try) 2>&5
47015 ac_status=$?
47016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47017 (exit $ac_status); }; }; then
47018 ac_cv_lib_m_sin=yes
47019 else
47020 echo "$as_me: failed program was:" >&5
47021 sed 's/^/| /' conftest.$ac_ext >&5
47023 ac_cv_lib_m_sin=no
47025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47026 LIBS=$ac_check_lib_save_LIBS
47028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
47029 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
47030 if test $ac_cv_lib_m_sin = yes; then
47031 libm="-lm"
47034 ac_save_LIBS="$LIBS"
47035 LIBS="$LIBS $libm"
47039 echo "$as_me:$LINENO: checking for isinf declaration" >&5
47040 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
47041 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47042 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
47043 echo $ECHO_N "(cached) $ECHO_C" >&6
47044 else
47048 ac_ext=cc
47049 ac_cpp='$CXXCPP $CPPFLAGS'
47050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47054 cat >conftest.$ac_ext <<_ACEOF
47055 #line $LINENO "configure"
47056 /* confdefs.h. */
47057 _ACEOF
47058 cat confdefs.h >>conftest.$ac_ext
47059 cat >>conftest.$ac_ext <<_ACEOF
47060 /* end confdefs.h. */
47061 #include <math.h>
47062 #ifdef HAVE_IEEEFP_H
47063 #include <ieeefp.h>
47064 #endif
47067 main ()
47069 isinf(0);
47071 return 0;
47073 _ACEOF
47074 rm -f conftest.$ac_objext
47075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47076 (eval $ac_compile) 2>&5
47077 ac_status=$?
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); } &&
47080 { ac_try='test -s conftest.$ac_objext'
47081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082 (eval $ac_try) 2>&5
47083 ac_status=$?
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); }; }; then
47086 glibcxx_cv_func_isinf_use=yes
47087 else
47088 echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47091 glibcxx_cv_func_isinf_use=no
47093 rm -f conftest.$ac_objext conftest.$ac_ext
47094 ac_ext=c
47095 ac_cpp='$CPP $CPPFLAGS'
47096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
47105 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
47107 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47109 for ac_func in isinf
47111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47112 echo "$as_me:$LINENO: checking for $ac_func" >&5
47113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47114 if eval "test \"\${$as_ac_var+set}\" = set"; then
47115 echo $ECHO_N "(cached) $ECHO_C" >&6
47116 else
47117 if test x$gcc_no_link = xyes; then
47118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47120 { (exit 1); exit 1; }; }
47122 cat >conftest.$ac_ext <<_ACEOF
47123 #line $LINENO "configure"
47124 /* confdefs.h. */
47125 _ACEOF
47126 cat confdefs.h >>conftest.$ac_ext
47127 cat >>conftest.$ac_ext <<_ACEOF
47128 /* end confdefs.h. */
47129 /* System header to define __stub macros and hopefully few prototypes,
47130 which can conflict with char $ac_func (); below.
47131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47132 <limits.h> exists even on freestanding compilers. */
47133 #ifdef __STDC__
47134 # include <limits.h>
47135 #else
47136 # include <assert.h>
47137 #endif
47138 /* Override any gcc2 internal prototype to avoid an error. */
47139 #ifdef __cplusplus
47140 extern "C"
47142 #endif
47143 /* We use char because int might match the return type of a gcc2
47144 builtin and then its argument prototype would still apply. */
47145 char $ac_func ();
47146 /* The GNU C library defines this for functions which it implements
47147 to always fail with ENOSYS. Some functions are actually named
47148 something starting with __ and the normal name is an alias. */
47149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47150 choke me
47151 #else
47152 char (*f) () = $ac_func;
47153 #endif
47154 #ifdef __cplusplus
47156 #endif
47159 main ()
47161 return f != $ac_func;
47163 return 0;
47165 _ACEOF
47166 rm -f conftest.$ac_objext conftest$ac_exeext
47167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47168 (eval $ac_link) 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); } &&
47172 { ac_try='test -s conftest$ac_exeext'
47173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174 (eval $ac_try) 2>&5
47175 ac_status=$?
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; }; then
47178 eval "$as_ac_var=yes"
47179 else
47180 echo "$as_me: failed program was:" >&5
47181 sed 's/^/| /' conftest.$ac_ext >&5
47183 eval "$as_ac_var=no"
47185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47189 if test `eval echo '${'$as_ac_var'}'` = yes; then
47190 cat >>confdefs.h <<_ACEOF
47191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47192 _ACEOF
47195 done
47197 else
47199 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
47200 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
47201 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47202 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
47203 echo $ECHO_N "(cached) $ECHO_C" >&6
47204 else
47208 ac_ext=cc
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47214 cat >conftest.$ac_ext <<_ACEOF
47215 #line $LINENO "configure"
47216 /* confdefs.h. */
47217 _ACEOF
47218 cat confdefs.h >>conftest.$ac_ext
47219 cat >>conftest.$ac_ext <<_ACEOF
47220 /* end confdefs.h. */
47221 #include <math.h>
47222 #ifdef HAVE_IEEEFP_H
47223 #include <ieeefp.h>
47224 #endif
47227 main ()
47229 _isinf(0);
47231 return 0;
47233 _ACEOF
47234 rm -f conftest.$ac_objext
47235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47236 (eval $ac_compile) 2>&5
47237 ac_status=$?
47238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47239 (exit $ac_status); } &&
47240 { ac_try='test -s conftest.$ac_objext'
47241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242 (eval $ac_try) 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; }; then
47246 glibcxx_cv_func__isinf_use=yes
47247 else
47248 echo "$as_me: failed program was:" >&5
47249 sed 's/^/| /' conftest.$ac_ext >&5
47251 glibcxx_cv_func__isinf_use=no
47253 rm -f conftest.$ac_objext conftest.$ac_ext
47254 ac_ext=c
47255 ac_cpp='$CPP $CPPFLAGS'
47256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
47265 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
47267 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47269 for ac_func in _isinf
47271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47272 echo "$as_me:$LINENO: checking for $ac_func" >&5
47273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47274 if eval "test \"\${$as_ac_var+set}\" = set"; then
47275 echo $ECHO_N "(cached) $ECHO_C" >&6
47276 else
47277 if test x$gcc_no_link = xyes; then
47278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47280 { (exit 1); exit 1; }; }
47282 cat >conftest.$ac_ext <<_ACEOF
47283 #line $LINENO "configure"
47284 /* confdefs.h. */
47285 _ACEOF
47286 cat confdefs.h >>conftest.$ac_ext
47287 cat >>conftest.$ac_ext <<_ACEOF
47288 /* end confdefs.h. */
47289 /* System header to define __stub macros and hopefully few prototypes,
47290 which can conflict with char $ac_func (); below.
47291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47292 <limits.h> exists even on freestanding compilers. */
47293 #ifdef __STDC__
47294 # include <limits.h>
47295 #else
47296 # include <assert.h>
47297 #endif
47298 /* Override any gcc2 internal prototype to avoid an error. */
47299 #ifdef __cplusplus
47300 extern "C"
47302 #endif
47303 /* We use char because int might match the return type of a gcc2
47304 builtin and then its argument prototype would still apply. */
47305 char $ac_func ();
47306 /* The GNU C library defines this for functions which it implements
47307 to always fail with ENOSYS. Some functions are actually named
47308 something starting with __ and the normal name is an alias. */
47309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47310 choke me
47311 #else
47312 char (*f) () = $ac_func;
47313 #endif
47314 #ifdef __cplusplus
47316 #endif
47319 main ()
47321 return f != $ac_func;
47323 return 0;
47325 _ACEOF
47326 rm -f conftest.$ac_objext conftest$ac_exeext
47327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47328 (eval $ac_link) 2>&5
47329 ac_status=$?
47330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331 (exit $ac_status); } &&
47332 { ac_try='test -s conftest$ac_exeext'
47333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47334 (eval $ac_try) 2>&5
47335 ac_status=$?
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); }; }; then
47338 eval "$as_ac_var=yes"
47339 else
47340 echo "$as_me: failed program was:" >&5
47341 sed 's/^/| /' conftest.$ac_ext >&5
47343 eval "$as_ac_var=no"
47345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47349 if test `eval echo '${'$as_ac_var'}'` = yes; then
47350 cat >>confdefs.h <<_ACEOF
47351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47352 _ACEOF
47355 done
47362 echo "$as_me:$LINENO: checking for isnan declaration" >&5
47363 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
47364 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47365 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47371 ac_ext=cc
47372 ac_cpp='$CXXCPP $CPPFLAGS'
47373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47377 cat >conftest.$ac_ext <<_ACEOF
47378 #line $LINENO "configure"
47379 /* confdefs.h. */
47380 _ACEOF
47381 cat confdefs.h >>conftest.$ac_ext
47382 cat >>conftest.$ac_ext <<_ACEOF
47383 /* end confdefs.h. */
47384 #include <math.h>
47385 #ifdef HAVE_IEEEFP_H
47386 #include <ieeefp.h>
47387 #endif
47390 main ()
47392 isnan(0);
47394 return 0;
47396 _ACEOF
47397 rm -f conftest.$ac_objext
47398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47399 (eval $ac_compile) 2>&5
47400 ac_status=$?
47401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402 (exit $ac_status); } &&
47403 { ac_try='test -s conftest.$ac_objext'
47404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47405 (eval $ac_try) 2>&5
47406 ac_status=$?
47407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47408 (exit $ac_status); }; }; then
47409 glibcxx_cv_func_isnan_use=yes
47410 else
47411 echo "$as_me: failed program was:" >&5
47412 sed 's/^/| /' conftest.$ac_ext >&5
47414 glibcxx_cv_func_isnan_use=no
47416 rm -f conftest.$ac_objext conftest.$ac_ext
47417 ac_ext=c
47418 ac_cpp='$CPP $CPPFLAGS'
47419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
47428 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
47430 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47432 for ac_func in isnan
47434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47435 echo "$as_me:$LINENO: checking for $ac_func" >&5
47436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47437 if eval "test \"\${$as_ac_var+set}\" = set"; then
47438 echo $ECHO_N "(cached) $ECHO_C" >&6
47439 else
47440 if test x$gcc_no_link = xyes; then
47441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47443 { (exit 1); exit 1; }; }
47445 cat >conftest.$ac_ext <<_ACEOF
47446 #line $LINENO "configure"
47447 /* confdefs.h. */
47448 _ACEOF
47449 cat confdefs.h >>conftest.$ac_ext
47450 cat >>conftest.$ac_ext <<_ACEOF
47451 /* end confdefs.h. */
47452 /* System header to define __stub macros and hopefully few prototypes,
47453 which can conflict with char $ac_func (); below.
47454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47455 <limits.h> exists even on freestanding compilers. */
47456 #ifdef __STDC__
47457 # include <limits.h>
47458 #else
47459 # include <assert.h>
47460 #endif
47461 /* Override any gcc2 internal prototype to avoid an error. */
47462 #ifdef __cplusplus
47463 extern "C"
47465 #endif
47466 /* We use char because int might match the return type of a gcc2
47467 builtin and then its argument prototype would still apply. */
47468 char $ac_func ();
47469 /* The GNU C library defines this for functions which it implements
47470 to always fail with ENOSYS. Some functions are actually named
47471 something starting with __ and the normal name is an alias. */
47472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47473 choke me
47474 #else
47475 char (*f) () = $ac_func;
47476 #endif
47477 #ifdef __cplusplus
47479 #endif
47482 main ()
47484 return f != $ac_func;
47486 return 0;
47488 _ACEOF
47489 rm -f conftest.$ac_objext conftest$ac_exeext
47490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47491 (eval $ac_link) 2>&5
47492 ac_status=$?
47493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494 (exit $ac_status); } &&
47495 { ac_try='test -s conftest$ac_exeext'
47496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47497 (eval $ac_try) 2>&5
47498 ac_status=$?
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); }; }; then
47501 eval "$as_ac_var=yes"
47502 else
47503 echo "$as_me: failed program was:" >&5
47504 sed 's/^/| /' conftest.$ac_ext >&5
47506 eval "$as_ac_var=no"
47508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47512 if test `eval echo '${'$as_ac_var'}'` = yes; then
47513 cat >>confdefs.h <<_ACEOF
47514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47515 _ACEOF
47518 done
47520 else
47522 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
47523 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
47524 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47525 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
47526 echo $ECHO_N "(cached) $ECHO_C" >&6
47527 else
47531 ac_ext=cc
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537 cat >conftest.$ac_ext <<_ACEOF
47538 #line $LINENO "configure"
47539 /* confdefs.h. */
47540 _ACEOF
47541 cat confdefs.h >>conftest.$ac_ext
47542 cat >>conftest.$ac_ext <<_ACEOF
47543 /* end confdefs.h. */
47544 #include <math.h>
47545 #ifdef HAVE_IEEEFP_H
47546 #include <ieeefp.h>
47547 #endif
47550 main ()
47552 _isnan(0);
47554 return 0;
47556 _ACEOF
47557 rm -f conftest.$ac_objext
47558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47559 (eval $ac_compile) 2>&5
47560 ac_status=$?
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); } &&
47563 { ac_try='test -s conftest.$ac_objext'
47564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47565 (eval $ac_try) 2>&5
47566 ac_status=$?
47567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568 (exit $ac_status); }; }; then
47569 glibcxx_cv_func__isnan_use=yes
47570 else
47571 echo "$as_me: failed program was:" >&5
47572 sed 's/^/| /' conftest.$ac_ext >&5
47574 glibcxx_cv_func__isnan_use=no
47576 rm -f conftest.$ac_objext conftest.$ac_ext
47577 ac_ext=c
47578 ac_cpp='$CPP $CPPFLAGS'
47579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
47588 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
47590 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47592 for ac_func in _isnan
47594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47595 echo "$as_me:$LINENO: checking for $ac_func" >&5
47596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47597 if eval "test \"\${$as_ac_var+set}\" = set"; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600 if test x$gcc_no_link = xyes; then
47601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47603 { (exit 1); exit 1; }; }
47605 cat >conftest.$ac_ext <<_ACEOF
47606 #line $LINENO "configure"
47607 /* confdefs.h. */
47608 _ACEOF
47609 cat confdefs.h >>conftest.$ac_ext
47610 cat >>conftest.$ac_ext <<_ACEOF
47611 /* end confdefs.h. */
47612 /* System header to define __stub macros and hopefully few prototypes,
47613 which can conflict with char $ac_func (); below.
47614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47615 <limits.h> exists even on freestanding compilers. */
47616 #ifdef __STDC__
47617 # include <limits.h>
47618 #else
47619 # include <assert.h>
47620 #endif
47621 /* Override any gcc2 internal prototype to avoid an error. */
47622 #ifdef __cplusplus
47623 extern "C"
47625 #endif
47626 /* We use char because int might match the return type of a gcc2
47627 builtin and then its argument prototype would still apply. */
47628 char $ac_func ();
47629 /* The GNU C library defines this for functions which it implements
47630 to always fail with ENOSYS. Some functions are actually named
47631 something starting with __ and the normal name is an alias. */
47632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47633 choke me
47634 #else
47635 char (*f) () = $ac_func;
47636 #endif
47637 #ifdef __cplusplus
47639 #endif
47642 main ()
47644 return f != $ac_func;
47646 return 0;
47648 _ACEOF
47649 rm -f conftest.$ac_objext conftest$ac_exeext
47650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47651 (eval $ac_link) 2>&5
47652 ac_status=$?
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); } &&
47655 { ac_try='test -s conftest$ac_exeext'
47656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47657 (eval $ac_try) 2>&5
47658 ac_status=$?
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); }; }; then
47661 eval "$as_ac_var=yes"
47662 else
47663 echo "$as_me: failed program was:" >&5
47664 sed 's/^/| /' conftest.$ac_ext >&5
47666 eval "$as_ac_var=no"
47668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47672 if test `eval echo '${'$as_ac_var'}'` = yes; then
47673 cat >>confdefs.h <<_ACEOF
47674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47675 _ACEOF
47678 done
47685 echo "$as_me:$LINENO: checking for finite declaration" >&5
47686 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
47687 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47688 if test "${glibcxx_cv_func_finite_use+set}" = set; then
47689 echo $ECHO_N "(cached) $ECHO_C" >&6
47690 else
47694 ac_ext=cc
47695 ac_cpp='$CXXCPP $CPPFLAGS'
47696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47700 cat >conftest.$ac_ext <<_ACEOF
47701 #line $LINENO "configure"
47702 /* confdefs.h. */
47703 _ACEOF
47704 cat confdefs.h >>conftest.$ac_ext
47705 cat >>conftest.$ac_ext <<_ACEOF
47706 /* end confdefs.h. */
47707 #include <math.h>
47708 #ifdef HAVE_IEEEFP_H
47709 #include <ieeefp.h>
47710 #endif
47713 main ()
47715 finite(0);
47717 return 0;
47719 _ACEOF
47720 rm -f conftest.$ac_objext
47721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47722 (eval $ac_compile) 2>&5
47723 ac_status=$?
47724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47725 (exit $ac_status); } &&
47726 { ac_try='test -s conftest.$ac_objext'
47727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47728 (eval $ac_try) 2>&5
47729 ac_status=$?
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); }; }; then
47732 glibcxx_cv_func_finite_use=yes
47733 else
47734 echo "$as_me: failed program was:" >&5
47735 sed 's/^/| /' conftest.$ac_ext >&5
47737 glibcxx_cv_func_finite_use=no
47739 rm -f conftest.$ac_objext conftest.$ac_ext
47740 ac_ext=c
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
47751 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
47753 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47755 for ac_func in finite
47757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47758 echo "$as_me:$LINENO: checking for $ac_func" >&5
47759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47760 if eval "test \"\${$as_ac_var+set}\" = set"; then
47761 echo $ECHO_N "(cached) $ECHO_C" >&6
47762 else
47763 if test x$gcc_no_link = xyes; then
47764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47766 { (exit 1); exit 1; }; }
47768 cat >conftest.$ac_ext <<_ACEOF
47769 #line $LINENO "configure"
47770 /* confdefs.h. */
47771 _ACEOF
47772 cat confdefs.h >>conftest.$ac_ext
47773 cat >>conftest.$ac_ext <<_ACEOF
47774 /* end confdefs.h. */
47775 /* System header to define __stub macros and hopefully few prototypes,
47776 which can conflict with char $ac_func (); below.
47777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47778 <limits.h> exists even on freestanding compilers. */
47779 #ifdef __STDC__
47780 # include <limits.h>
47781 #else
47782 # include <assert.h>
47783 #endif
47784 /* Override any gcc2 internal prototype to avoid an error. */
47785 #ifdef __cplusplus
47786 extern "C"
47788 #endif
47789 /* We use char because int might match the return type of a gcc2
47790 builtin and then its argument prototype would still apply. */
47791 char $ac_func ();
47792 /* The GNU C library defines this for functions which it implements
47793 to always fail with ENOSYS. Some functions are actually named
47794 something starting with __ and the normal name is an alias. */
47795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47796 choke me
47797 #else
47798 char (*f) () = $ac_func;
47799 #endif
47800 #ifdef __cplusplus
47802 #endif
47805 main ()
47807 return f != $ac_func;
47809 return 0;
47811 _ACEOF
47812 rm -f conftest.$ac_objext conftest$ac_exeext
47813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47814 (eval $ac_link) 2>&5
47815 ac_status=$?
47816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817 (exit $ac_status); } &&
47818 { ac_try='test -s conftest$ac_exeext'
47819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47820 (eval $ac_try) 2>&5
47821 ac_status=$?
47822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823 (exit $ac_status); }; }; then
47824 eval "$as_ac_var=yes"
47825 else
47826 echo "$as_me: failed program was:" >&5
47827 sed 's/^/| /' conftest.$ac_ext >&5
47829 eval "$as_ac_var=no"
47831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47835 if test `eval echo '${'$as_ac_var'}'` = yes; then
47836 cat >>confdefs.h <<_ACEOF
47837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47838 _ACEOF
47841 done
47843 else
47845 echo "$as_me:$LINENO: checking for _finite declaration" >&5
47846 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
47847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47848 if test "${glibcxx_cv_func__finite_use+set}" = set; then
47849 echo $ECHO_N "(cached) $ECHO_C" >&6
47850 else
47854 ac_ext=cc
47855 ac_cpp='$CXXCPP $CPPFLAGS'
47856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47860 cat >conftest.$ac_ext <<_ACEOF
47861 #line $LINENO "configure"
47862 /* confdefs.h. */
47863 _ACEOF
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h. */
47867 #include <math.h>
47868 #ifdef HAVE_IEEEFP_H
47869 #include <ieeefp.h>
47870 #endif
47873 main ()
47875 _finite(0);
47877 return 0;
47879 _ACEOF
47880 rm -f conftest.$ac_objext
47881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47882 (eval $ac_compile) 2>&5
47883 ac_status=$?
47884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885 (exit $ac_status); } &&
47886 { ac_try='test -s conftest.$ac_objext'
47887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47888 (eval $ac_try) 2>&5
47889 ac_status=$?
47890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891 (exit $ac_status); }; }; then
47892 glibcxx_cv_func__finite_use=yes
47893 else
47894 echo "$as_me: failed program was:" >&5
47895 sed 's/^/| /' conftest.$ac_ext >&5
47897 glibcxx_cv_func__finite_use=no
47899 rm -f conftest.$ac_objext conftest.$ac_ext
47900 ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
47911 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
47913 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47915 for ac_func in _finite
47917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47918 echo "$as_me:$LINENO: checking for $ac_func" >&5
47919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47920 if eval "test \"\${$as_ac_var+set}\" = set"; then
47921 echo $ECHO_N "(cached) $ECHO_C" >&6
47922 else
47923 if test x$gcc_no_link = xyes; then
47924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47926 { (exit 1); exit 1; }; }
47928 cat >conftest.$ac_ext <<_ACEOF
47929 #line $LINENO "configure"
47930 /* confdefs.h. */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h. */
47935 /* System header to define __stub macros and hopefully few prototypes,
47936 which can conflict with char $ac_func (); below.
47937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47938 <limits.h> exists even on freestanding compilers. */
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47944 /* Override any gcc2 internal prototype to avoid an error. */
47945 #ifdef __cplusplus
47946 extern "C"
47948 #endif
47949 /* We use char because int might match the return type of a gcc2
47950 builtin and then its argument prototype would still apply. */
47951 char $ac_func ();
47952 /* The GNU C library defines this for functions which it implements
47953 to always fail with ENOSYS. Some functions are actually named
47954 something starting with __ and the normal name is an alias. */
47955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47956 choke me
47957 #else
47958 char (*f) () = $ac_func;
47959 #endif
47960 #ifdef __cplusplus
47962 #endif
47965 main ()
47967 return f != $ac_func;
47969 return 0;
47971 _ACEOF
47972 rm -f conftest.$ac_objext conftest$ac_exeext
47973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47974 (eval $ac_link) 2>&5
47975 ac_status=$?
47976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977 (exit $ac_status); } &&
47978 { ac_try='test -s conftest$ac_exeext'
47979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47980 (eval $ac_try) 2>&5
47981 ac_status=$?
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); }; }; then
47984 eval "$as_ac_var=yes"
47985 else
47986 echo "$as_me: failed program was:" >&5
47987 sed 's/^/| /' conftest.$ac_ext >&5
47989 eval "$as_ac_var=no"
47991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47995 if test `eval echo '${'$as_ac_var'}'` = yes; then
47996 cat >>confdefs.h <<_ACEOF
47997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47998 _ACEOF
48001 done
48008 echo "$as_me:$LINENO: checking for copysign declaration" >&5
48009 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
48010 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
48011 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
48012 echo $ECHO_N "(cached) $ECHO_C" >&6
48013 else
48017 ac_ext=cc
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48023 cat >conftest.$ac_ext <<_ACEOF
48024 #line $LINENO "configure"
48025 /* confdefs.h. */
48026 _ACEOF
48027 cat confdefs.h >>conftest.$ac_ext
48028 cat >>conftest.$ac_ext <<_ACEOF
48029 /* end confdefs.h. */
48030 #include <math.h>
48032 main ()
48034 copysign(0, 0);
48036 return 0;
48038 _ACEOF
48039 rm -f conftest.$ac_objext
48040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48041 (eval $ac_compile) 2>&5
48042 ac_status=$?
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); } &&
48045 { ac_try='test -s conftest.$ac_objext'
48046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48047 (eval $ac_try) 2>&5
48048 ac_status=$?
48049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48050 (exit $ac_status); }; }; then
48051 glibcxx_cv_func_copysign_use=yes
48052 else
48053 echo "$as_me: failed program was:" >&5
48054 sed 's/^/| /' conftest.$ac_ext >&5
48056 glibcxx_cv_func_copysign_use=no
48058 rm -f conftest.$ac_objext conftest.$ac_ext
48059 ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
48070 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
48072 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
48074 for ac_func in copysign
48076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48077 echo "$as_me:$LINENO: checking for $ac_func" >&5
48078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48079 if eval "test \"\${$as_ac_var+set}\" = set"; then
48080 echo $ECHO_N "(cached) $ECHO_C" >&6
48081 else
48082 if test x$gcc_no_link = xyes; then
48083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48085 { (exit 1); exit 1; }; }
48087 cat >conftest.$ac_ext <<_ACEOF
48088 #line $LINENO "configure"
48089 /* confdefs.h. */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h. */
48094 /* System header to define __stub macros and hopefully few prototypes,
48095 which can conflict with char $ac_func (); below.
48096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48097 <limits.h> exists even on freestanding compilers. */
48098 #ifdef __STDC__
48099 # include <limits.h>
48100 #else
48101 # include <assert.h>
48102 #endif
48103 /* Override any gcc2 internal prototype to avoid an error. */
48104 #ifdef __cplusplus
48105 extern "C"
48107 #endif
48108 /* We use char because int might match the return type of a gcc2
48109 builtin and then its argument prototype would still apply. */
48110 char $ac_func ();
48111 /* The GNU C library defines this for functions which it implements
48112 to always fail with ENOSYS. Some functions are actually named
48113 something starting with __ and the normal name is an alias. */
48114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48115 choke me
48116 #else
48117 char (*f) () = $ac_func;
48118 #endif
48119 #ifdef __cplusplus
48121 #endif
48124 main ()
48126 return f != $ac_func;
48128 return 0;
48130 _ACEOF
48131 rm -f conftest.$ac_objext conftest$ac_exeext
48132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48133 (eval $ac_link) 2>&5
48134 ac_status=$?
48135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48136 (exit $ac_status); } &&
48137 { ac_try='test -s conftest$ac_exeext'
48138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139 (eval $ac_try) 2>&5
48140 ac_status=$?
48141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142 (exit $ac_status); }; }; then
48143 eval "$as_ac_var=yes"
48144 else
48145 echo "$as_me: failed program was:" >&5
48146 sed 's/^/| /' conftest.$ac_ext >&5
48148 eval "$as_ac_var=no"
48150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48154 if test `eval echo '${'$as_ac_var'}'` = yes; then
48155 cat >>confdefs.h <<_ACEOF
48156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48157 _ACEOF
48160 done
48162 else
48164 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
48165 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
48166 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
48167 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
48168 echo $ECHO_N "(cached) $ECHO_C" >&6
48169 else
48173 ac_ext=cc
48174 ac_cpp='$CXXCPP $CPPFLAGS'
48175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48179 cat >conftest.$ac_ext <<_ACEOF
48180 #line $LINENO "configure"
48181 /* confdefs.h. */
48182 _ACEOF
48183 cat confdefs.h >>conftest.$ac_ext
48184 cat >>conftest.$ac_ext <<_ACEOF
48185 /* end confdefs.h. */
48186 #include <math.h>
48188 main ()
48190 _copysign(0, 0);
48192 return 0;
48194 _ACEOF
48195 rm -f conftest.$ac_objext
48196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48197 (eval $ac_compile) 2>&5
48198 ac_status=$?
48199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48200 (exit $ac_status); } &&
48201 { ac_try='test -s conftest.$ac_objext'
48202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48203 (eval $ac_try) 2>&5
48204 ac_status=$?
48205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48206 (exit $ac_status); }; }; then
48207 glibcxx_cv_func__copysign_use=yes
48208 else
48209 echo "$as_me: failed program was:" >&5
48210 sed 's/^/| /' conftest.$ac_ext >&5
48212 glibcxx_cv_func__copysign_use=no
48214 rm -f conftest.$ac_objext conftest.$ac_ext
48215 ac_ext=c
48216 ac_cpp='$CPP $CPPFLAGS'
48217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
48226 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
48228 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
48230 for ac_func in _copysign
48232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48233 echo "$as_me:$LINENO: checking for $ac_func" >&5
48234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48235 if eval "test \"\${$as_ac_var+set}\" = set"; then
48236 echo $ECHO_N "(cached) $ECHO_C" >&6
48237 else
48238 if test x$gcc_no_link = xyes; then
48239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48241 { (exit 1); exit 1; }; }
48243 cat >conftest.$ac_ext <<_ACEOF
48244 #line $LINENO "configure"
48245 /* confdefs.h. */
48246 _ACEOF
48247 cat confdefs.h >>conftest.$ac_ext
48248 cat >>conftest.$ac_ext <<_ACEOF
48249 /* end confdefs.h. */
48250 /* System header to define __stub macros and hopefully few prototypes,
48251 which can conflict with char $ac_func (); below.
48252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48253 <limits.h> exists even on freestanding compilers. */
48254 #ifdef __STDC__
48255 # include <limits.h>
48256 #else
48257 # include <assert.h>
48258 #endif
48259 /* Override any gcc2 internal prototype to avoid an error. */
48260 #ifdef __cplusplus
48261 extern "C"
48263 #endif
48264 /* We use char because int might match the return type of a gcc2
48265 builtin and then its argument prototype would still apply. */
48266 char $ac_func ();
48267 /* The GNU C library defines this for functions which it implements
48268 to always fail with ENOSYS. Some functions are actually named
48269 something starting with __ and the normal name is an alias. */
48270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48271 choke me
48272 #else
48273 char (*f) () = $ac_func;
48274 #endif
48275 #ifdef __cplusplus
48277 #endif
48280 main ()
48282 return f != $ac_func;
48284 return 0;
48286 _ACEOF
48287 rm -f conftest.$ac_objext conftest$ac_exeext
48288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48289 (eval $ac_link) 2>&5
48290 ac_status=$?
48291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48292 (exit $ac_status); } &&
48293 { ac_try='test -s conftest$ac_exeext'
48294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48295 (eval $ac_try) 2>&5
48296 ac_status=$?
48297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48298 (exit $ac_status); }; }; then
48299 eval "$as_ac_var=yes"
48300 else
48301 echo "$as_me: failed program was:" >&5
48302 sed 's/^/| /' conftest.$ac_ext >&5
48304 eval "$as_ac_var=no"
48306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48310 if test `eval echo '${'$as_ac_var'}'` = yes; then
48311 cat >>confdefs.h <<_ACEOF
48312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48313 _ACEOF
48316 done
48323 echo "$as_me:$LINENO: checking for sincos declaration" >&5
48324 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
48325 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48326 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
48327 echo $ECHO_N "(cached) $ECHO_C" >&6
48328 else
48332 ac_ext=cc
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48338 cat >conftest.$ac_ext <<_ACEOF
48339 #line $LINENO "configure"
48340 /* confdefs.h. */
48341 _ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h. */
48345 #include <math.h>
48347 main ()
48349 sincos(0, 0, 0);
48351 return 0;
48353 _ACEOF
48354 rm -f conftest.$ac_objext
48355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48356 (eval $ac_compile) 2>&5
48357 ac_status=$?
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); } &&
48360 { ac_try='test -s conftest.$ac_objext'
48361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48362 (eval $ac_try) 2>&5
48363 ac_status=$?
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); }; }; then
48366 glibcxx_cv_func_sincos_use=yes
48367 else
48368 echo "$as_me: failed program was:" >&5
48369 sed 's/^/| /' conftest.$ac_ext >&5
48371 glibcxx_cv_func_sincos_use=no
48373 rm -f conftest.$ac_objext conftest.$ac_ext
48374 ac_ext=c
48375 ac_cpp='$CPP $CPPFLAGS'
48376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
48385 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
48387 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48389 for ac_func in sincos
48391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48392 echo "$as_me:$LINENO: checking for $ac_func" >&5
48393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48394 if eval "test \"\${$as_ac_var+set}\" = set"; then
48395 echo $ECHO_N "(cached) $ECHO_C" >&6
48396 else
48397 if test x$gcc_no_link = xyes; then
48398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48400 { (exit 1); exit 1; }; }
48402 cat >conftest.$ac_ext <<_ACEOF
48403 #line $LINENO "configure"
48404 /* confdefs.h. */
48405 _ACEOF
48406 cat confdefs.h >>conftest.$ac_ext
48407 cat >>conftest.$ac_ext <<_ACEOF
48408 /* end confdefs.h. */
48409 /* System header to define __stub macros and hopefully few prototypes,
48410 which can conflict with char $ac_func (); below.
48411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48412 <limits.h> exists even on freestanding compilers. */
48413 #ifdef __STDC__
48414 # include <limits.h>
48415 #else
48416 # include <assert.h>
48417 #endif
48418 /* Override any gcc2 internal prototype to avoid an error. */
48419 #ifdef __cplusplus
48420 extern "C"
48422 #endif
48423 /* We use char because int might match the return type of a gcc2
48424 builtin and then its argument prototype would still apply. */
48425 char $ac_func ();
48426 /* The GNU C library defines this for functions which it implements
48427 to always fail with ENOSYS. Some functions are actually named
48428 something starting with __ and the normal name is an alias. */
48429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48430 choke me
48431 #else
48432 char (*f) () = $ac_func;
48433 #endif
48434 #ifdef __cplusplus
48436 #endif
48439 main ()
48441 return f != $ac_func;
48443 return 0;
48445 _ACEOF
48446 rm -f conftest.$ac_objext conftest$ac_exeext
48447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48448 (eval $ac_link) 2>&5
48449 ac_status=$?
48450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451 (exit $ac_status); } &&
48452 { ac_try='test -s conftest$ac_exeext'
48453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454 (eval $ac_try) 2>&5
48455 ac_status=$?
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; }; then
48458 eval "$as_ac_var=yes"
48459 else
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48463 eval "$as_ac_var=no"
48465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48469 if test `eval echo '${'$as_ac_var'}'` = yes; then
48470 cat >>confdefs.h <<_ACEOF
48471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48472 _ACEOF
48475 done
48477 else
48479 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
48480 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
48481 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48482 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48488 ac_ext=cc
48489 ac_cpp='$CXXCPP $CPPFLAGS'
48490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48494 cat >conftest.$ac_ext <<_ACEOF
48495 #line $LINENO "configure"
48496 /* confdefs.h. */
48497 _ACEOF
48498 cat confdefs.h >>conftest.$ac_ext
48499 cat >>conftest.$ac_ext <<_ACEOF
48500 /* end confdefs.h. */
48501 #include <math.h>
48503 main ()
48505 _sincos(0, 0, 0);
48507 return 0;
48509 _ACEOF
48510 rm -f conftest.$ac_objext
48511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48512 (eval $ac_compile) 2>&5
48513 ac_status=$?
48514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48515 (exit $ac_status); } &&
48516 { ac_try='test -s conftest.$ac_objext'
48517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48518 (eval $ac_try) 2>&5
48519 ac_status=$?
48520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521 (exit $ac_status); }; }; then
48522 glibcxx_cv_func__sincos_use=yes
48523 else
48524 echo "$as_me: failed program was:" >&5
48525 sed 's/^/| /' conftest.$ac_ext >&5
48527 glibcxx_cv_func__sincos_use=no
48529 rm -f conftest.$ac_objext conftest.$ac_ext
48530 ac_ext=c
48531 ac_cpp='$CPP $CPPFLAGS'
48532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
48541 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
48543 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48545 for ac_func in _sincos
48547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48548 echo "$as_me:$LINENO: checking for $ac_func" >&5
48549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48550 if eval "test \"\${$as_ac_var+set}\" = set"; then
48551 echo $ECHO_N "(cached) $ECHO_C" >&6
48552 else
48553 if test x$gcc_no_link = xyes; then
48554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48556 { (exit 1); exit 1; }; }
48558 cat >conftest.$ac_ext <<_ACEOF
48559 #line $LINENO "configure"
48560 /* confdefs.h. */
48561 _ACEOF
48562 cat confdefs.h >>conftest.$ac_ext
48563 cat >>conftest.$ac_ext <<_ACEOF
48564 /* end confdefs.h. */
48565 /* System header to define __stub macros and hopefully few prototypes,
48566 which can conflict with char $ac_func (); below.
48567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48568 <limits.h> exists even on freestanding compilers. */
48569 #ifdef __STDC__
48570 # include <limits.h>
48571 #else
48572 # include <assert.h>
48573 #endif
48574 /* Override any gcc2 internal prototype to avoid an error. */
48575 #ifdef __cplusplus
48576 extern "C"
48578 #endif
48579 /* We use char because int might match the return type of a gcc2
48580 builtin and then its argument prototype would still apply. */
48581 char $ac_func ();
48582 /* The GNU C library defines this for functions which it implements
48583 to always fail with ENOSYS. Some functions are actually named
48584 something starting with __ and the normal name is an alias. */
48585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48586 choke me
48587 #else
48588 char (*f) () = $ac_func;
48589 #endif
48590 #ifdef __cplusplus
48592 #endif
48595 main ()
48597 return f != $ac_func;
48599 return 0;
48601 _ACEOF
48602 rm -f conftest.$ac_objext conftest$ac_exeext
48603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48604 (eval $ac_link) 2>&5
48605 ac_status=$?
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); } &&
48608 { ac_try='test -s conftest$ac_exeext'
48609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48610 (eval $ac_try) 2>&5
48611 ac_status=$?
48612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48613 (exit $ac_status); }; }; then
48614 eval "$as_ac_var=yes"
48615 else
48616 echo "$as_me: failed program was:" >&5
48617 sed 's/^/| /' conftest.$ac_ext >&5
48619 eval "$as_ac_var=no"
48621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48625 if test `eval echo '${'$as_ac_var'}'` = yes; then
48626 cat >>confdefs.h <<_ACEOF
48627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48628 _ACEOF
48631 done
48638 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
48639 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
48640 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48641 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
48642 echo $ECHO_N "(cached) $ECHO_C" >&6
48643 else
48647 ac_ext=cc
48648 ac_cpp='$CXXCPP $CPPFLAGS'
48649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48653 cat >conftest.$ac_ext <<_ACEOF
48654 #line $LINENO "configure"
48655 /* confdefs.h. */
48656 _ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h. */
48660 #include <math.h>
48661 #ifdef HAVE_IEEEFP_H
48662 #include <ieeefp.h>
48663 #endif
48666 main ()
48668 fpclass(0);
48670 return 0;
48672 _ACEOF
48673 rm -f conftest.$ac_objext
48674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48675 (eval $ac_compile) 2>&5
48676 ac_status=$?
48677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48678 (exit $ac_status); } &&
48679 { ac_try='test -s conftest.$ac_objext'
48680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48681 (eval $ac_try) 2>&5
48682 ac_status=$?
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; }; then
48685 glibcxx_cv_func_fpclass_use=yes
48686 else
48687 echo "$as_me: failed program was:" >&5
48688 sed 's/^/| /' conftest.$ac_ext >&5
48690 glibcxx_cv_func_fpclass_use=no
48692 rm -f conftest.$ac_objext conftest.$ac_ext
48693 ac_ext=c
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
48704 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
48706 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48708 for ac_func in fpclass
48710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48711 echo "$as_me:$LINENO: checking for $ac_func" >&5
48712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48713 if eval "test \"\${$as_ac_var+set}\" = set"; then
48714 echo $ECHO_N "(cached) $ECHO_C" >&6
48715 else
48716 if test x$gcc_no_link = xyes; then
48717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48719 { (exit 1); exit 1; }; }
48721 cat >conftest.$ac_ext <<_ACEOF
48722 #line $LINENO "configure"
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728 /* System header to define __stub macros and hopefully few prototypes,
48729 which can conflict with char $ac_func (); below.
48730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48731 <limits.h> exists even on freestanding compilers. */
48732 #ifdef __STDC__
48733 # include <limits.h>
48734 #else
48735 # include <assert.h>
48736 #endif
48737 /* Override any gcc2 internal prototype to avoid an error. */
48738 #ifdef __cplusplus
48739 extern "C"
48741 #endif
48742 /* We use char because int might match the return type of a gcc2
48743 builtin and then its argument prototype would still apply. */
48744 char $ac_func ();
48745 /* The GNU C library defines this for functions which it implements
48746 to always fail with ENOSYS. Some functions are actually named
48747 something starting with __ and the normal name is an alias. */
48748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48749 choke me
48750 #else
48751 char (*f) () = $ac_func;
48752 #endif
48753 #ifdef __cplusplus
48755 #endif
48758 main ()
48760 return f != $ac_func;
48762 return 0;
48764 _ACEOF
48765 rm -f conftest.$ac_objext conftest$ac_exeext
48766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48767 (eval $ac_link) 2>&5
48768 ac_status=$?
48769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770 (exit $ac_status); } &&
48771 { ac_try='test -s conftest$ac_exeext'
48772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773 (eval $ac_try) 2>&5
48774 ac_status=$?
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; }; then
48777 eval "$as_ac_var=yes"
48778 else
48779 echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48782 eval "$as_ac_var=no"
48784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48788 if test `eval echo '${'$as_ac_var'}'` = yes; then
48789 cat >>confdefs.h <<_ACEOF
48790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48791 _ACEOF
48794 done
48796 else
48798 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
48799 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
48800 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48801 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
48802 echo $ECHO_N "(cached) $ECHO_C" >&6
48803 else
48807 ac_ext=cc
48808 ac_cpp='$CXXCPP $CPPFLAGS'
48809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48813 cat >conftest.$ac_ext <<_ACEOF
48814 #line $LINENO "configure"
48815 /* confdefs.h. */
48816 _ACEOF
48817 cat confdefs.h >>conftest.$ac_ext
48818 cat >>conftest.$ac_ext <<_ACEOF
48819 /* end confdefs.h. */
48820 #include <math.h>
48821 #ifdef HAVE_IEEEFP_H
48822 #include <ieeefp.h>
48823 #endif
48826 main ()
48828 _fpclass(0);
48830 return 0;
48832 _ACEOF
48833 rm -f conftest.$ac_objext
48834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48835 (eval $ac_compile) 2>&5
48836 ac_status=$?
48837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838 (exit $ac_status); } &&
48839 { ac_try='test -s conftest.$ac_objext'
48840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48841 (eval $ac_try) 2>&5
48842 ac_status=$?
48843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48844 (exit $ac_status); }; }; then
48845 glibcxx_cv_func__fpclass_use=yes
48846 else
48847 echo "$as_me: failed program was:" >&5
48848 sed 's/^/| /' conftest.$ac_ext >&5
48850 glibcxx_cv_func__fpclass_use=no
48852 rm -f conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
48864 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
48866 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48868 for ac_func in _fpclass
48870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48871 echo "$as_me:$LINENO: checking for $ac_func" >&5
48872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48873 if eval "test \"\${$as_ac_var+set}\" = set"; then
48874 echo $ECHO_N "(cached) $ECHO_C" >&6
48875 else
48876 if test x$gcc_no_link = xyes; then
48877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48879 { (exit 1); exit 1; }; }
48881 cat >conftest.$ac_ext <<_ACEOF
48882 #line $LINENO "configure"
48883 /* confdefs.h. */
48884 _ACEOF
48885 cat confdefs.h >>conftest.$ac_ext
48886 cat >>conftest.$ac_ext <<_ACEOF
48887 /* end confdefs.h. */
48888 /* System header to define __stub macros and hopefully few prototypes,
48889 which can conflict with char $ac_func (); below.
48890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48891 <limits.h> exists even on freestanding compilers. */
48892 #ifdef __STDC__
48893 # include <limits.h>
48894 #else
48895 # include <assert.h>
48896 #endif
48897 /* Override any gcc2 internal prototype to avoid an error. */
48898 #ifdef __cplusplus
48899 extern "C"
48901 #endif
48902 /* We use char because int might match the return type of a gcc2
48903 builtin and then its argument prototype would still apply. */
48904 char $ac_func ();
48905 /* The GNU C library defines this for functions which it implements
48906 to always fail with ENOSYS. Some functions are actually named
48907 something starting with __ and the normal name is an alias. */
48908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48909 choke me
48910 #else
48911 char (*f) () = $ac_func;
48912 #endif
48913 #ifdef __cplusplus
48915 #endif
48918 main ()
48920 return f != $ac_func;
48922 return 0;
48924 _ACEOF
48925 rm -f conftest.$ac_objext conftest$ac_exeext
48926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48927 (eval $ac_link) 2>&5
48928 ac_status=$?
48929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930 (exit $ac_status); } &&
48931 { ac_try='test -s conftest$ac_exeext'
48932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48933 (eval $ac_try) 2>&5
48934 ac_status=$?
48935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936 (exit $ac_status); }; }; then
48937 eval "$as_ac_var=yes"
48938 else
48939 echo "$as_me: failed program was:" >&5
48940 sed 's/^/| /' conftest.$ac_ext >&5
48942 eval "$as_ac_var=no"
48944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48948 if test `eval echo '${'$as_ac_var'}'` = yes; then
48949 cat >>confdefs.h <<_ACEOF
48950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48951 _ACEOF
48954 done
48961 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
48962 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
48963 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48964 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
48965 echo $ECHO_N "(cached) $ECHO_C" >&6
48966 else
48970 ac_ext=cc
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat >conftest.$ac_ext <<_ACEOF
48977 #line $LINENO "configure"
48978 /* confdefs.h. */
48979 _ACEOF
48980 cat confdefs.h >>conftest.$ac_ext
48981 cat >>conftest.$ac_ext <<_ACEOF
48982 /* end confdefs.h. */
48983 #include <math.h>
48984 #ifdef HAVE_IEEEFP_H
48985 #include <ieeefp.h>
48986 #endif
48989 main ()
48991 qfpclass(0);
48993 return 0;
48995 _ACEOF
48996 rm -f conftest.$ac_objext
48997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48998 (eval $ac_compile) 2>&5
48999 ac_status=$?
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); } &&
49002 { ac_try='test -s conftest.$ac_objext'
49003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49004 (eval $ac_try) 2>&5
49005 ac_status=$?
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); }; }; then
49008 glibcxx_cv_func_qfpclass_use=yes
49009 else
49010 echo "$as_me: failed program was:" >&5
49011 sed 's/^/| /' conftest.$ac_ext >&5
49013 glibcxx_cv_func_qfpclass_use=no
49015 rm -f conftest.$ac_objext conftest.$ac_ext
49016 ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
49027 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
49029 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49031 for ac_func in qfpclass
49033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49034 echo "$as_me:$LINENO: checking for $ac_func" >&5
49035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49036 if eval "test \"\${$as_ac_var+set}\" = set"; then
49037 echo $ECHO_N "(cached) $ECHO_C" >&6
49038 else
49039 if test x$gcc_no_link = xyes; then
49040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49042 { (exit 1); exit 1; }; }
49044 cat >conftest.$ac_ext <<_ACEOF
49045 #line $LINENO "configure"
49046 /* confdefs.h. */
49047 _ACEOF
49048 cat confdefs.h >>conftest.$ac_ext
49049 cat >>conftest.$ac_ext <<_ACEOF
49050 /* end confdefs.h. */
49051 /* System header to define __stub macros and hopefully few prototypes,
49052 which can conflict with char $ac_func (); below.
49053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49054 <limits.h> exists even on freestanding compilers. */
49055 #ifdef __STDC__
49056 # include <limits.h>
49057 #else
49058 # include <assert.h>
49059 #endif
49060 /* Override any gcc2 internal prototype to avoid an error. */
49061 #ifdef __cplusplus
49062 extern "C"
49064 #endif
49065 /* We use char because int might match the return type of a gcc2
49066 builtin and then its argument prototype would still apply. */
49067 char $ac_func ();
49068 /* The GNU C library defines this for functions which it implements
49069 to always fail with ENOSYS. Some functions are actually named
49070 something starting with __ and the normal name is an alias. */
49071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49072 choke me
49073 #else
49074 char (*f) () = $ac_func;
49075 #endif
49076 #ifdef __cplusplus
49078 #endif
49081 main ()
49083 return f != $ac_func;
49085 return 0;
49087 _ACEOF
49088 rm -f conftest.$ac_objext conftest$ac_exeext
49089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49090 (eval $ac_link) 2>&5
49091 ac_status=$?
49092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49093 (exit $ac_status); } &&
49094 { ac_try='test -s conftest$ac_exeext'
49095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49096 (eval $ac_try) 2>&5
49097 ac_status=$?
49098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099 (exit $ac_status); }; }; then
49100 eval "$as_ac_var=yes"
49101 else
49102 echo "$as_me: failed program was:" >&5
49103 sed 's/^/| /' conftest.$ac_ext >&5
49105 eval "$as_ac_var=no"
49107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49111 if test `eval echo '${'$as_ac_var'}'` = yes; then
49112 cat >>confdefs.h <<_ACEOF
49113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49114 _ACEOF
49117 done
49119 else
49121 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
49122 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
49123 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49124 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
49125 echo $ECHO_N "(cached) $ECHO_C" >&6
49126 else
49130 ac_ext=cc
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat >conftest.$ac_ext <<_ACEOF
49137 #line $LINENO "configure"
49138 /* confdefs.h. */
49139 _ACEOF
49140 cat confdefs.h >>conftest.$ac_ext
49141 cat >>conftest.$ac_ext <<_ACEOF
49142 /* end confdefs.h. */
49143 #include <math.h>
49144 #ifdef HAVE_IEEEFP_H
49145 #include <ieeefp.h>
49146 #endif
49149 main ()
49151 _qfpclass(0);
49153 return 0;
49155 _ACEOF
49156 rm -f conftest.$ac_objext
49157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49158 (eval $ac_compile) 2>&5
49159 ac_status=$?
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); } &&
49162 { ac_try='test -s conftest.$ac_objext'
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__qfpclass_use=yes
49169 else
49170 echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49173 glibcxx_cv_func__qfpclass_use=no
49175 rm -f conftest.$ac_objext conftest.$ac_ext
49176 ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
49187 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
49189 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49191 for ac_func in _qfpclass
49193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49194 echo "$as_me:$LINENO: checking for $ac_func" >&5
49195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49196 if eval "test \"\${$as_ac_var+set}\" = set"; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49199 if test x$gcc_no_link = xyes; then
49200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49202 { (exit 1); exit 1; }; }
49204 cat >conftest.$ac_ext <<_ACEOF
49205 #line $LINENO "configure"
49206 /* confdefs.h. */
49207 _ACEOF
49208 cat confdefs.h >>conftest.$ac_ext
49209 cat >>conftest.$ac_ext <<_ACEOF
49210 /* end confdefs.h. */
49211 /* System header to define __stub macros and hopefully few prototypes,
49212 which can conflict with char $ac_func (); below.
49213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49214 <limits.h> exists even on freestanding compilers. */
49215 #ifdef __STDC__
49216 # include <limits.h>
49217 #else
49218 # include <assert.h>
49219 #endif
49220 /* Override any gcc2 internal prototype to avoid an error. */
49221 #ifdef __cplusplus
49222 extern "C"
49224 #endif
49225 /* We use char because int might match the return type of a gcc2
49226 builtin and then its argument prototype would still apply. */
49227 char $ac_func ();
49228 /* The GNU C library defines this for functions which it implements
49229 to always fail with ENOSYS. Some functions are actually named
49230 something starting with __ and the normal name is an alias. */
49231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49232 choke me
49233 #else
49234 char (*f) () = $ac_func;
49235 #endif
49236 #ifdef __cplusplus
49238 #endif
49241 main ()
49243 return f != $ac_func;
49245 return 0;
49247 _ACEOF
49248 rm -f conftest.$ac_objext conftest$ac_exeext
49249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49250 (eval $ac_link) 2>&5
49251 ac_status=$?
49252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253 (exit $ac_status); } &&
49254 { ac_try='test -s conftest$ac_exeext'
49255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49256 (eval $ac_try) 2>&5
49257 ac_status=$?
49258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49259 (exit $ac_status); }; }; then
49260 eval "$as_ac_var=yes"
49261 else
49262 echo "$as_me: failed program was:" >&5
49263 sed 's/^/| /' conftest.$ac_ext >&5
49265 eval "$as_ac_var=no"
49267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49271 if test `eval echo '${'$as_ac_var'}'` = yes; then
49272 cat >>confdefs.h <<_ACEOF
49273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49274 _ACEOF
49277 done
49284 echo "$as_me:$LINENO: checking for hypot declaration" >&5
49285 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
49286 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49287 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
49288 echo $ECHO_N "(cached) $ECHO_C" >&6
49289 else
49293 ac_ext=cc
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49299 cat >conftest.$ac_ext <<_ACEOF
49300 #line $LINENO "configure"
49301 /* confdefs.h. */
49302 _ACEOF
49303 cat confdefs.h >>conftest.$ac_ext
49304 cat >>conftest.$ac_ext <<_ACEOF
49305 /* end confdefs.h. */
49306 #include <math.h>
49308 main ()
49310 hypot(0, 0);
49312 return 0;
49314 _ACEOF
49315 rm -f conftest.$ac_objext
49316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49317 (eval $ac_compile) 2>&5
49318 ac_status=$?
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); } &&
49321 { ac_try='test -s conftest.$ac_objext'
49322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49323 (eval $ac_try) 2>&5
49324 ac_status=$?
49325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49326 (exit $ac_status); }; }; then
49327 glibcxx_cv_func_hypot_use=yes
49328 else
49329 echo "$as_me: failed program was:" >&5
49330 sed 's/^/| /' conftest.$ac_ext >&5
49332 glibcxx_cv_func_hypot_use=no
49334 rm -f conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
49346 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
49348 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49350 for ac_func in hypot
49352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49353 echo "$as_me:$LINENO: checking for $ac_func" >&5
49354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49355 if eval "test \"\${$as_ac_var+set}\" = set"; then
49356 echo $ECHO_N "(cached) $ECHO_C" >&6
49357 else
49358 if test x$gcc_no_link = xyes; then
49359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49361 { (exit 1); exit 1; }; }
49363 cat >conftest.$ac_ext <<_ACEOF
49364 #line $LINENO "configure"
49365 /* confdefs.h. */
49366 _ACEOF
49367 cat confdefs.h >>conftest.$ac_ext
49368 cat >>conftest.$ac_ext <<_ACEOF
49369 /* end confdefs.h. */
49370 /* System header to define __stub macros and hopefully few prototypes,
49371 which can conflict with char $ac_func (); below.
49372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49373 <limits.h> exists even on freestanding compilers. */
49374 #ifdef __STDC__
49375 # include <limits.h>
49376 #else
49377 # include <assert.h>
49378 #endif
49379 /* Override any gcc2 internal prototype to avoid an error. */
49380 #ifdef __cplusplus
49381 extern "C"
49383 #endif
49384 /* We use char because int might match the return type of a gcc2
49385 builtin and then its argument prototype would still apply. */
49386 char $ac_func ();
49387 /* The GNU C library defines this for functions which it implements
49388 to always fail with ENOSYS. Some functions are actually named
49389 something starting with __ and the normal name is an alias. */
49390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49391 choke me
49392 #else
49393 char (*f) () = $ac_func;
49394 #endif
49395 #ifdef __cplusplus
49397 #endif
49400 main ()
49402 return f != $ac_func;
49404 return 0;
49406 _ACEOF
49407 rm -f conftest.$ac_objext conftest$ac_exeext
49408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49409 (eval $ac_link) 2>&5
49410 ac_status=$?
49411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49412 (exit $ac_status); } &&
49413 { ac_try='test -s conftest$ac_exeext'
49414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49415 (eval $ac_try) 2>&5
49416 ac_status=$?
49417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418 (exit $ac_status); }; }; then
49419 eval "$as_ac_var=yes"
49420 else
49421 echo "$as_me: failed program was:" >&5
49422 sed 's/^/| /' conftest.$ac_ext >&5
49424 eval "$as_ac_var=no"
49426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49430 if test `eval echo '${'$as_ac_var'}'` = yes; then
49431 cat >>confdefs.h <<_ACEOF
49432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49433 _ACEOF
49436 done
49438 else
49440 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
49441 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
49442 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49443 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
49444 echo $ECHO_N "(cached) $ECHO_C" >&6
49445 else
49449 ac_ext=cc
49450 ac_cpp='$CXXCPP $CPPFLAGS'
49451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49455 cat >conftest.$ac_ext <<_ACEOF
49456 #line $LINENO "configure"
49457 /* confdefs.h. */
49458 _ACEOF
49459 cat confdefs.h >>conftest.$ac_ext
49460 cat >>conftest.$ac_ext <<_ACEOF
49461 /* end confdefs.h. */
49462 #include <math.h>
49464 main ()
49466 _hypot(0, 0);
49468 return 0;
49470 _ACEOF
49471 rm -f conftest.$ac_objext
49472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49473 (eval $ac_compile) 2>&5
49474 ac_status=$?
49475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476 (exit $ac_status); } &&
49477 { ac_try='test -s conftest.$ac_objext'
49478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49479 (eval $ac_try) 2>&5
49480 ac_status=$?
49481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482 (exit $ac_status); }; }; then
49483 glibcxx_cv_func__hypot_use=yes
49484 else
49485 echo "$as_me: failed program was:" >&5
49486 sed 's/^/| /' conftest.$ac_ext >&5
49488 glibcxx_cv_func__hypot_use=no
49490 rm -f conftest.$ac_objext conftest.$ac_ext
49491 ac_ext=c
49492 ac_cpp='$CPP $CPPFLAGS'
49493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
49502 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
49504 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49506 for ac_func in _hypot
49508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49509 echo "$as_me:$LINENO: checking for $ac_func" >&5
49510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49511 if eval "test \"\${$as_ac_var+set}\" = set"; then
49512 echo $ECHO_N "(cached) $ECHO_C" >&6
49513 else
49514 if test x$gcc_no_link = xyes; then
49515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49517 { (exit 1); exit 1; }; }
49519 cat >conftest.$ac_ext <<_ACEOF
49520 #line $LINENO "configure"
49521 /* confdefs.h. */
49522 _ACEOF
49523 cat confdefs.h >>conftest.$ac_ext
49524 cat >>conftest.$ac_ext <<_ACEOF
49525 /* end confdefs.h. */
49526 /* System header to define __stub macros and hopefully few prototypes,
49527 which can conflict with char $ac_func (); below.
49528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49529 <limits.h> exists even on freestanding compilers. */
49530 #ifdef __STDC__
49531 # include <limits.h>
49532 #else
49533 # include <assert.h>
49534 #endif
49535 /* Override any gcc2 internal prototype to avoid an error. */
49536 #ifdef __cplusplus
49537 extern "C"
49539 #endif
49540 /* We use char because int might match the return type of a gcc2
49541 builtin and then its argument prototype would still apply. */
49542 char $ac_func ();
49543 /* The GNU C library defines this for functions which it implements
49544 to always fail with ENOSYS. Some functions are actually named
49545 something starting with __ and the normal name is an alias. */
49546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49547 choke me
49548 #else
49549 char (*f) () = $ac_func;
49550 #endif
49551 #ifdef __cplusplus
49553 #endif
49556 main ()
49558 return f != $ac_func;
49560 return 0;
49562 _ACEOF
49563 rm -f conftest.$ac_objext conftest$ac_exeext
49564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49565 (eval $ac_link) 2>&5
49566 ac_status=$?
49567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568 (exit $ac_status); } &&
49569 { ac_try='test -s conftest$ac_exeext'
49570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49571 (eval $ac_try) 2>&5
49572 ac_status=$?
49573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49574 (exit $ac_status); }; }; then
49575 eval "$as_ac_var=yes"
49576 else
49577 echo "$as_me: failed program was:" >&5
49578 sed 's/^/| /' conftest.$ac_ext >&5
49580 eval "$as_ac_var=no"
49582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49586 if test `eval echo '${'$as_ac_var'}'` = yes; then
49587 cat >>confdefs.h <<_ACEOF
49588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49589 _ACEOF
49592 done
49599 echo "$as_me:$LINENO: checking for float trig functions" >&5
49600 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
49601 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
49602 echo $ECHO_N "(cached) $ECHO_C" >&6
49603 else
49607 ac_ext=cc
49608 ac_cpp='$CXXCPP $CPPFLAGS'
49609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49613 cat >conftest.$ac_ext <<_ACEOF
49614 #line $LINENO "configure"
49615 /* confdefs.h. */
49616 _ACEOF
49617 cat confdefs.h >>conftest.$ac_ext
49618 cat >>conftest.$ac_ext <<_ACEOF
49619 /* end confdefs.h. */
49620 #include <math.h>
49622 main ()
49624 `for x in acosf asinf atanf \
49625 cosf sinf tanf \
49626 coshf sinhf tanhf; do echo "$x (0);"; done`
49628 return 0;
49630 _ACEOF
49631 rm -f conftest.$ac_objext
49632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49633 (eval $ac_compile) 2>&5
49634 ac_status=$?
49635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49636 (exit $ac_status); } &&
49637 { ac_try='test -s conftest.$ac_objext'
49638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49639 (eval $ac_try) 2>&5
49640 ac_status=$?
49641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642 (exit $ac_status); }; }; then
49643 glibcxx_cv_func_float_trig_use=yes
49644 else
49645 echo "$as_me: failed program was:" >&5
49646 sed 's/^/| /' conftest.$ac_ext >&5
49648 glibcxx_cv_func_float_trig_use=no
49650 rm -f conftest.$ac_objext conftest.$ac_ext
49651 ac_ext=c
49652 ac_cpp='$CPP $CPPFLAGS'
49653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
49660 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
49661 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49671 for ac_func in acosf asinf atanf \
49672 cosf sinf tanf \
49673 coshf sinhf tanhf
49675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 echo "$as_me:$LINENO: checking for $ac_func" >&5
49677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49678 if eval "test \"\${$as_ac_var+set}\" = set"; then
49679 echo $ECHO_N "(cached) $ECHO_C" >&6
49680 else
49681 if test x$gcc_no_link = xyes; then
49682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49684 { (exit 1); exit 1; }; }
49686 cat >conftest.$ac_ext <<_ACEOF
49687 #line $LINENO "configure"
49688 /* confdefs.h. */
49689 _ACEOF
49690 cat confdefs.h >>conftest.$ac_ext
49691 cat >>conftest.$ac_ext <<_ACEOF
49692 /* end confdefs.h. */
49693 /* System header to define __stub macros and hopefully few prototypes,
49694 which can conflict with char $ac_func (); below.
49695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49696 <limits.h> exists even on freestanding compilers. */
49697 #ifdef __STDC__
49698 # include <limits.h>
49699 #else
49700 # include <assert.h>
49701 #endif
49702 /* Override any gcc2 internal prototype to avoid an error. */
49703 #ifdef __cplusplus
49704 extern "C"
49706 #endif
49707 /* We use char because int might match the return type of a gcc2
49708 builtin and then its argument prototype would still apply. */
49709 char $ac_func ();
49710 /* The GNU C library defines this for functions which it implements
49711 to always fail with ENOSYS. Some functions are actually named
49712 something starting with __ and the normal name is an alias. */
49713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49714 choke me
49715 #else
49716 char (*f) () = $ac_func;
49717 #endif
49718 #ifdef __cplusplus
49720 #endif
49723 main ()
49725 return f != $ac_func;
49727 return 0;
49729 _ACEOF
49730 rm -f conftest.$ac_objext conftest$ac_exeext
49731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49732 (eval $ac_link) 2>&5
49733 ac_status=$?
49734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49735 (exit $ac_status); } &&
49736 { ac_try='test -s conftest$ac_exeext'
49737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49738 (eval $ac_try) 2>&5
49739 ac_status=$?
49740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741 (exit $ac_status); }; }; then
49742 eval "$as_ac_var=yes"
49743 else
49744 echo "$as_me: failed program was:" >&5
49745 sed 's/^/| /' conftest.$ac_ext >&5
49747 eval "$as_ac_var=no"
49749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49753 if test `eval echo '${'$as_ac_var'}'` = yes; then
49754 cat >>confdefs.h <<_ACEOF
49755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49756 _ACEOF
49759 done
49764 echo "$as_me:$LINENO: checking for float round functions" >&5
49765 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
49766 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
49767 echo $ECHO_N "(cached) $ECHO_C" >&6
49768 else
49772 ac_ext=cc
49773 ac_cpp='$CXXCPP $CPPFLAGS'
49774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49778 cat >conftest.$ac_ext <<_ACEOF
49779 #line $LINENO "configure"
49780 /* confdefs.h. */
49781 _ACEOF
49782 cat confdefs.h >>conftest.$ac_ext
49783 cat >>conftest.$ac_ext <<_ACEOF
49784 /* end confdefs.h. */
49785 #include <math.h>
49787 main ()
49789 `for x in ceilf floorf; do echo "$x (0);"; done`
49791 return 0;
49793 _ACEOF
49794 rm -f conftest.$ac_objext
49795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49796 (eval $ac_compile) 2>&5
49797 ac_status=$?
49798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799 (exit $ac_status); } &&
49800 { ac_try='test -s conftest.$ac_objext'
49801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49802 (eval $ac_try) 2>&5
49803 ac_status=$?
49804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49805 (exit $ac_status); }; }; then
49806 glibcxx_cv_func_float_round_use=yes
49807 else
49808 echo "$as_me: failed program was:" >&5
49809 sed 's/^/| /' conftest.$ac_ext >&5
49811 glibcxx_cv_func_float_round_use=no
49813 rm -f conftest.$ac_objext conftest.$ac_ext
49814 ac_ext=c
49815 ac_cpp='$CPP $CPPFLAGS'
49816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
49823 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
49824 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49827 for ac_func in ceilf floorf
49829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49830 echo "$as_me:$LINENO: checking for $ac_func" >&5
49831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49832 if eval "test \"\${$as_ac_var+set}\" = set"; then
49833 echo $ECHO_N "(cached) $ECHO_C" >&6
49834 else
49835 if test x$gcc_no_link = xyes; then
49836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49838 { (exit 1); exit 1; }; }
49840 cat >conftest.$ac_ext <<_ACEOF
49841 #line $LINENO "configure"
49842 /* confdefs.h. */
49843 _ACEOF
49844 cat confdefs.h >>conftest.$ac_ext
49845 cat >>conftest.$ac_ext <<_ACEOF
49846 /* end confdefs.h. */
49847 /* System header to define __stub macros and hopefully few prototypes,
49848 which can conflict with char $ac_func (); below.
49849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49850 <limits.h> exists even on freestanding compilers. */
49851 #ifdef __STDC__
49852 # include <limits.h>
49853 #else
49854 # include <assert.h>
49855 #endif
49856 /* Override any gcc2 internal prototype to avoid an error. */
49857 #ifdef __cplusplus
49858 extern "C"
49860 #endif
49861 /* We use char because int might match the return type of a gcc2
49862 builtin and then its argument prototype would still apply. */
49863 char $ac_func ();
49864 /* The GNU C library defines this for functions which it implements
49865 to always fail with ENOSYS. Some functions are actually named
49866 something starting with __ and the normal name is an alias. */
49867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49868 choke me
49869 #else
49870 char (*f) () = $ac_func;
49871 #endif
49872 #ifdef __cplusplus
49874 #endif
49877 main ()
49879 return f != $ac_func;
49881 return 0;
49883 _ACEOF
49884 rm -f conftest.$ac_objext conftest$ac_exeext
49885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49886 (eval $ac_link) 2>&5
49887 ac_status=$?
49888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889 (exit $ac_status); } &&
49890 { ac_try='test -s conftest$ac_exeext'
49891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49892 (eval $ac_try) 2>&5
49893 ac_status=$?
49894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49895 (exit $ac_status); }; }; then
49896 eval "$as_ac_var=yes"
49897 else
49898 echo "$as_me: failed program was:" >&5
49899 sed 's/^/| /' conftest.$ac_ext >&5
49901 eval "$as_ac_var=no"
49903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49907 if test `eval echo '${'$as_ac_var'}'` = yes; then
49908 cat >>confdefs.h <<_ACEOF
49909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49910 _ACEOF
49913 done
49919 echo "$as_me:$LINENO: checking for expf declaration" >&5
49920 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
49921 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49922 if test "${glibcxx_cv_func_expf_use+set}" = set; then
49923 echo $ECHO_N "(cached) $ECHO_C" >&6
49924 else
49928 ac_ext=cc
49929 ac_cpp='$CXXCPP $CPPFLAGS'
49930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49934 cat >conftest.$ac_ext <<_ACEOF
49935 #line $LINENO "configure"
49936 /* confdefs.h. */
49937 _ACEOF
49938 cat confdefs.h >>conftest.$ac_ext
49939 cat >>conftest.$ac_ext <<_ACEOF
49940 /* end confdefs.h. */
49941 #include <math.h>
49942 #ifdef HAVE_IEEEFP_H
49943 #include <ieeefp.h>
49944 #endif
49947 main ()
49949 expf(0);
49951 return 0;
49953 _ACEOF
49954 rm -f conftest.$ac_objext
49955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49956 (eval $ac_compile) 2>&5
49957 ac_status=$?
49958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959 (exit $ac_status); } &&
49960 { ac_try='test -s conftest.$ac_objext'
49961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49962 (eval $ac_try) 2>&5
49963 ac_status=$?
49964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965 (exit $ac_status); }; }; then
49966 glibcxx_cv_func_expf_use=yes
49967 else
49968 echo "$as_me: failed program was:" >&5
49969 sed 's/^/| /' conftest.$ac_ext >&5
49971 glibcxx_cv_func_expf_use=no
49973 rm -f conftest.$ac_objext conftest.$ac_ext
49974 ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
49985 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
49987 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49989 for ac_func in expf
49991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49992 echo "$as_me:$LINENO: checking for $ac_func" >&5
49993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49994 if eval "test \"\${$as_ac_var+set}\" = set"; then
49995 echo $ECHO_N "(cached) $ECHO_C" >&6
49996 else
49997 if test x$gcc_no_link = xyes; then
49998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50000 { (exit 1); exit 1; }; }
50002 cat >conftest.$ac_ext <<_ACEOF
50003 #line $LINENO "configure"
50004 /* confdefs.h. */
50005 _ACEOF
50006 cat confdefs.h >>conftest.$ac_ext
50007 cat >>conftest.$ac_ext <<_ACEOF
50008 /* end confdefs.h. */
50009 /* System header to define __stub macros and hopefully few prototypes,
50010 which can conflict with char $ac_func (); below.
50011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50012 <limits.h> exists even on freestanding compilers. */
50013 #ifdef __STDC__
50014 # include <limits.h>
50015 #else
50016 # include <assert.h>
50017 #endif
50018 /* Override any gcc2 internal prototype to avoid an error. */
50019 #ifdef __cplusplus
50020 extern "C"
50022 #endif
50023 /* We use char because int might match the return type of a gcc2
50024 builtin and then its argument prototype would still apply. */
50025 char $ac_func ();
50026 /* The GNU C library defines this for functions which it implements
50027 to always fail with ENOSYS. Some functions are actually named
50028 something starting with __ and the normal name is an alias. */
50029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50030 choke me
50031 #else
50032 char (*f) () = $ac_func;
50033 #endif
50034 #ifdef __cplusplus
50036 #endif
50039 main ()
50041 return f != $ac_func;
50043 return 0;
50045 _ACEOF
50046 rm -f conftest.$ac_objext conftest$ac_exeext
50047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50048 (eval $ac_link) 2>&5
50049 ac_status=$?
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); } &&
50052 { ac_try='test -s conftest$ac_exeext'
50053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50054 (eval $ac_try) 2>&5
50055 ac_status=$?
50056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50057 (exit $ac_status); }; }; then
50058 eval "$as_ac_var=yes"
50059 else
50060 echo "$as_me: failed program was:" >&5
50061 sed 's/^/| /' conftest.$ac_ext >&5
50063 eval "$as_ac_var=no"
50065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50069 if test `eval echo '${'$as_ac_var'}'` = yes; then
50070 cat >>confdefs.h <<_ACEOF
50071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50072 _ACEOF
50075 done
50077 else
50079 echo "$as_me:$LINENO: checking for _expf declaration" >&5
50080 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
50081 if test x${glibcxx_cv_func__expf_use+set} != xset; then
50082 if test "${glibcxx_cv_func__expf_use+set}" = set; then
50083 echo $ECHO_N "(cached) $ECHO_C" >&6
50084 else
50088 ac_ext=cc
50089 ac_cpp='$CXXCPP $CPPFLAGS'
50090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50094 cat >conftest.$ac_ext <<_ACEOF
50095 #line $LINENO "configure"
50096 /* confdefs.h. */
50097 _ACEOF
50098 cat confdefs.h >>conftest.$ac_ext
50099 cat >>conftest.$ac_ext <<_ACEOF
50100 /* end confdefs.h. */
50101 #include <math.h>
50102 #ifdef HAVE_IEEEFP_H
50103 #include <ieeefp.h>
50104 #endif
50107 main ()
50109 _expf(0);
50111 return 0;
50113 _ACEOF
50114 rm -f conftest.$ac_objext
50115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50116 (eval $ac_compile) 2>&5
50117 ac_status=$?
50118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119 (exit $ac_status); } &&
50120 { ac_try='test -s conftest.$ac_objext'
50121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 (eval $ac_try) 2>&5
50123 ac_status=$?
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); }; }; then
50126 glibcxx_cv_func__expf_use=yes
50127 else
50128 echo "$as_me: failed program was:" >&5
50129 sed 's/^/| /' conftest.$ac_ext >&5
50131 glibcxx_cv_func__expf_use=no
50133 rm -f conftest.$ac_objext conftest.$ac_ext
50134 ac_ext=c
50135 ac_cpp='$CPP $CPPFLAGS'
50136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
50145 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
50147 if test x$glibcxx_cv_func__expf_use = x"yes"; then
50149 for ac_func in _expf
50151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50152 echo "$as_me:$LINENO: checking for $ac_func" >&5
50153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50154 if eval "test \"\${$as_ac_var+set}\" = set"; then
50155 echo $ECHO_N "(cached) $ECHO_C" >&6
50156 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 #line $LINENO "configure"
50164 /* confdefs.h. */
50165 _ACEOF
50166 cat confdefs.h >>conftest.$ac_ext
50167 cat >>conftest.$ac_ext <<_ACEOF
50168 /* end confdefs.h. */
50169 /* System header to define __stub macros and hopefully few prototypes,
50170 which can conflict with char $ac_func (); below.
50171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50172 <limits.h> exists even on freestanding compilers. */
50173 #ifdef __STDC__
50174 # include <limits.h>
50175 #else
50176 # include <assert.h>
50177 #endif
50178 /* Override any gcc2 internal prototype to avoid an error. */
50179 #ifdef __cplusplus
50180 extern "C"
50182 #endif
50183 /* We use char because int might match the return type of a gcc2
50184 builtin and then its argument prototype would still apply. */
50185 char $ac_func ();
50186 /* The GNU C library defines this for functions which it implements
50187 to always fail with ENOSYS. Some functions are actually named
50188 something starting with __ and the normal name is an alias. */
50189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50190 choke me
50191 #else
50192 char (*f) () = $ac_func;
50193 #endif
50194 #ifdef __cplusplus
50196 #endif
50199 main ()
50201 return f != $ac_func;
50203 return 0;
50205 _ACEOF
50206 rm -f conftest.$ac_objext conftest$ac_exeext
50207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50208 (eval $ac_link) 2>&5
50209 ac_status=$?
50210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211 (exit $ac_status); } &&
50212 { ac_try='test -s conftest$ac_exeext'
50213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50214 (eval $ac_try) 2>&5
50215 ac_status=$?
50216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50217 (exit $ac_status); }; }; then
50218 eval "$as_ac_var=yes"
50219 else
50220 echo "$as_me: failed program was:" >&5
50221 sed 's/^/| /' conftest.$ac_ext >&5
50223 eval "$as_ac_var=no"
50225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50229 if test `eval echo '${'$as_ac_var'}'` = yes; then
50230 cat >>confdefs.h <<_ACEOF
50231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50232 _ACEOF
50235 done
50242 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
50243 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
50244 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
50245 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50251 ac_ext=cc
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257 cat >conftest.$ac_ext <<_ACEOF
50258 #line $LINENO "configure"
50259 /* confdefs.h. */
50260 _ACEOF
50261 cat confdefs.h >>conftest.$ac_ext
50262 cat >>conftest.$ac_ext <<_ACEOF
50263 /* end confdefs.h. */
50264 #include <math.h>
50265 #ifdef HAVE_IEEEFP_H
50266 #include <ieeefp.h>
50267 #endif
50270 main ()
50272 isnanf(0);
50274 return 0;
50276 _ACEOF
50277 rm -f conftest.$ac_objext
50278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50279 (eval $ac_compile) 2>&5
50280 ac_status=$?
50281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50282 (exit $ac_status); } &&
50283 { ac_try='test -s conftest.$ac_objext'
50284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50285 (eval $ac_try) 2>&5
50286 ac_status=$?
50287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50288 (exit $ac_status); }; }; then
50289 glibcxx_cv_func_isnanf_use=yes
50290 else
50291 echo "$as_me: failed program was:" >&5
50292 sed 's/^/| /' conftest.$ac_ext >&5
50294 glibcxx_cv_func_isnanf_use=no
50296 rm -f conftest.$ac_objext conftest.$ac_ext
50297 ac_ext=c
50298 ac_cpp='$CPP $CPPFLAGS'
50299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
50308 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
50310 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50312 for ac_func in isnanf
50314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50315 echo "$as_me:$LINENO: checking for $ac_func" >&5
50316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50317 if eval "test \"\${$as_ac_var+set}\" = set"; then
50318 echo $ECHO_N "(cached) $ECHO_C" >&6
50319 else
50320 if test x$gcc_no_link = xyes; then
50321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50323 { (exit 1); exit 1; }; }
50325 cat >conftest.$ac_ext <<_ACEOF
50326 #line $LINENO "configure"
50327 /* confdefs.h. */
50328 _ACEOF
50329 cat confdefs.h >>conftest.$ac_ext
50330 cat >>conftest.$ac_ext <<_ACEOF
50331 /* end confdefs.h. */
50332 /* System header to define __stub macros and hopefully few prototypes,
50333 which can conflict with char $ac_func (); below.
50334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50335 <limits.h> exists even on freestanding compilers. */
50336 #ifdef __STDC__
50337 # include <limits.h>
50338 #else
50339 # include <assert.h>
50340 #endif
50341 /* Override any gcc2 internal prototype to avoid an error. */
50342 #ifdef __cplusplus
50343 extern "C"
50345 #endif
50346 /* We use char because int might match the return type of a gcc2
50347 builtin and then its argument prototype would still apply. */
50348 char $ac_func ();
50349 /* The GNU C library defines this for functions which it implements
50350 to always fail with ENOSYS. Some functions are actually named
50351 something starting with __ and the normal name is an alias. */
50352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50353 choke me
50354 #else
50355 char (*f) () = $ac_func;
50356 #endif
50357 #ifdef __cplusplus
50359 #endif
50362 main ()
50364 return f != $ac_func;
50366 return 0;
50368 _ACEOF
50369 rm -f conftest.$ac_objext conftest$ac_exeext
50370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50371 (eval $ac_link) 2>&5
50372 ac_status=$?
50373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50374 (exit $ac_status); } &&
50375 { ac_try='test -s conftest$ac_exeext'
50376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50377 (eval $ac_try) 2>&5
50378 ac_status=$?
50379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50380 (exit $ac_status); }; }; then
50381 eval "$as_ac_var=yes"
50382 else
50383 echo "$as_me: failed program was:" >&5
50384 sed 's/^/| /' conftest.$ac_ext >&5
50386 eval "$as_ac_var=no"
50388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50392 if test `eval echo '${'$as_ac_var'}'` = yes; then
50393 cat >>confdefs.h <<_ACEOF
50394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50395 _ACEOF
50398 done
50400 else
50402 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
50403 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
50404 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50405 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
50406 echo $ECHO_N "(cached) $ECHO_C" >&6
50407 else
50411 ac_ext=cc
50412 ac_cpp='$CXXCPP $CPPFLAGS'
50413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50417 cat >conftest.$ac_ext <<_ACEOF
50418 #line $LINENO "configure"
50419 /* confdefs.h. */
50420 _ACEOF
50421 cat confdefs.h >>conftest.$ac_ext
50422 cat >>conftest.$ac_ext <<_ACEOF
50423 /* end confdefs.h. */
50424 #include <math.h>
50425 #ifdef HAVE_IEEEFP_H
50426 #include <ieeefp.h>
50427 #endif
50430 main ()
50432 _isnanf(0);
50434 return 0;
50436 _ACEOF
50437 rm -f conftest.$ac_objext
50438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50439 (eval $ac_compile) 2>&5
50440 ac_status=$?
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); } &&
50443 { ac_try='test -s conftest.$ac_objext'
50444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50445 (eval $ac_try) 2>&5
50446 ac_status=$?
50447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448 (exit $ac_status); }; }; then
50449 glibcxx_cv_func__isnanf_use=yes
50450 else
50451 echo "$as_me: failed program was:" >&5
50452 sed 's/^/| /' conftest.$ac_ext >&5
50454 glibcxx_cv_func__isnanf_use=no
50456 rm -f conftest.$ac_objext conftest.$ac_ext
50457 ac_ext=c
50458 ac_cpp='$CPP $CPPFLAGS'
50459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
50468 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
50470 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50472 for ac_func in _isnanf
50474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50475 echo "$as_me:$LINENO: checking for $ac_func" >&5
50476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50477 if eval "test \"\${$as_ac_var+set}\" = set"; then
50478 echo $ECHO_N "(cached) $ECHO_C" >&6
50479 else
50480 if test x$gcc_no_link = xyes; then
50481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50483 { (exit 1); exit 1; }; }
50485 cat >conftest.$ac_ext <<_ACEOF
50486 #line $LINENO "configure"
50487 /* confdefs.h. */
50488 _ACEOF
50489 cat confdefs.h >>conftest.$ac_ext
50490 cat >>conftest.$ac_ext <<_ACEOF
50491 /* end confdefs.h. */
50492 /* System header to define __stub macros and hopefully few prototypes,
50493 which can conflict with char $ac_func (); below.
50494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50495 <limits.h> exists even on freestanding compilers. */
50496 #ifdef __STDC__
50497 # include <limits.h>
50498 #else
50499 # include <assert.h>
50500 #endif
50501 /* Override any gcc2 internal prototype to avoid an error. */
50502 #ifdef __cplusplus
50503 extern "C"
50505 #endif
50506 /* We use char because int might match the return type of a gcc2
50507 builtin and then its argument prototype would still apply. */
50508 char $ac_func ();
50509 /* The GNU C library defines this for functions which it implements
50510 to always fail with ENOSYS. Some functions are actually named
50511 something starting with __ and the normal name is an alias. */
50512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50513 choke me
50514 #else
50515 char (*f) () = $ac_func;
50516 #endif
50517 #ifdef __cplusplus
50519 #endif
50522 main ()
50524 return f != $ac_func;
50526 return 0;
50528 _ACEOF
50529 rm -f conftest.$ac_objext conftest$ac_exeext
50530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50531 (eval $ac_link) 2>&5
50532 ac_status=$?
50533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50534 (exit $ac_status); } &&
50535 { ac_try='test -s conftest$ac_exeext'
50536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50537 (eval $ac_try) 2>&5
50538 ac_status=$?
50539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50540 (exit $ac_status); }; }; then
50541 eval "$as_ac_var=yes"
50542 else
50543 echo "$as_me: failed program was:" >&5
50544 sed 's/^/| /' conftest.$ac_ext >&5
50546 eval "$as_ac_var=no"
50548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50552 if test `eval echo '${'$as_ac_var'}'` = yes; then
50553 cat >>confdefs.h <<_ACEOF
50554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50555 _ACEOF
50558 done
50565 echo "$as_me:$LINENO: checking for isinff declaration" >&5
50566 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
50567 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50568 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
50569 echo $ECHO_N "(cached) $ECHO_C" >&6
50570 else
50574 ac_ext=cc
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580 cat >conftest.$ac_ext <<_ACEOF
50581 #line $LINENO "configure"
50582 /* confdefs.h. */
50583 _ACEOF
50584 cat confdefs.h >>conftest.$ac_ext
50585 cat >>conftest.$ac_ext <<_ACEOF
50586 /* end confdefs.h. */
50587 #include <math.h>
50588 #ifdef HAVE_IEEEFP_H
50589 #include <ieeefp.h>
50590 #endif
50593 main ()
50595 isinff(0);
50597 return 0;
50599 _ACEOF
50600 rm -f conftest.$ac_objext
50601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50602 (eval $ac_compile) 2>&5
50603 ac_status=$?
50604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50605 (exit $ac_status); } &&
50606 { ac_try='test -s conftest.$ac_objext'
50607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50608 (eval $ac_try) 2>&5
50609 ac_status=$?
50610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50611 (exit $ac_status); }; }; then
50612 glibcxx_cv_func_isinff_use=yes
50613 else
50614 echo "$as_me: failed program was:" >&5
50615 sed 's/^/| /' conftest.$ac_ext >&5
50617 glibcxx_cv_func_isinff_use=no
50619 rm -f conftest.$ac_objext conftest.$ac_ext
50620 ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
50631 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
50633 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50635 for ac_func in isinff
50637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50638 echo "$as_me:$LINENO: checking for $ac_func" >&5
50639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50640 if eval "test \"\${$as_ac_var+set}\" = set"; then
50641 echo $ECHO_N "(cached) $ECHO_C" >&6
50642 else
50643 if test x$gcc_no_link = xyes; then
50644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50646 { (exit 1); exit 1; }; }
50648 cat >conftest.$ac_ext <<_ACEOF
50649 #line $LINENO "configure"
50650 /* confdefs.h. */
50651 _ACEOF
50652 cat confdefs.h >>conftest.$ac_ext
50653 cat >>conftest.$ac_ext <<_ACEOF
50654 /* end confdefs.h. */
50655 /* System header to define __stub macros and hopefully few prototypes,
50656 which can conflict with char $ac_func (); below.
50657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50658 <limits.h> exists even on freestanding compilers. */
50659 #ifdef __STDC__
50660 # include <limits.h>
50661 #else
50662 # include <assert.h>
50663 #endif
50664 /* Override any gcc2 internal prototype to avoid an error. */
50665 #ifdef __cplusplus
50666 extern "C"
50668 #endif
50669 /* We use char because int might match the return type of a gcc2
50670 builtin and then its argument prototype would still apply. */
50671 char $ac_func ();
50672 /* The GNU C library defines this for functions which it implements
50673 to always fail with ENOSYS. Some functions are actually named
50674 something starting with __ and the normal name is an alias. */
50675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50676 choke me
50677 #else
50678 char (*f) () = $ac_func;
50679 #endif
50680 #ifdef __cplusplus
50682 #endif
50685 main ()
50687 return f != $ac_func;
50689 return 0;
50691 _ACEOF
50692 rm -f conftest.$ac_objext conftest$ac_exeext
50693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50694 (eval $ac_link) 2>&5
50695 ac_status=$?
50696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50697 (exit $ac_status); } &&
50698 { ac_try='test -s conftest$ac_exeext'
50699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50700 (eval $ac_try) 2>&5
50701 ac_status=$?
50702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50703 (exit $ac_status); }; }; then
50704 eval "$as_ac_var=yes"
50705 else
50706 echo "$as_me: failed program was:" >&5
50707 sed 's/^/| /' conftest.$ac_ext >&5
50709 eval "$as_ac_var=no"
50711 rm -f conftest.$ac_objext 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
50721 done
50723 else
50725 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
50726 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
50727 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50728 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
50729 echo $ECHO_N "(cached) $ECHO_C" >&6
50730 else
50734 ac_ext=cc
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat >conftest.$ac_ext <<_ACEOF
50741 #line $LINENO "configure"
50742 /* confdefs.h. */
50743 _ACEOF
50744 cat confdefs.h >>conftest.$ac_ext
50745 cat >>conftest.$ac_ext <<_ACEOF
50746 /* end confdefs.h. */
50747 #include <math.h>
50748 #ifdef HAVE_IEEEFP_H
50749 #include <ieeefp.h>
50750 #endif
50753 main ()
50755 _isinff(0);
50757 return 0;
50759 _ACEOF
50760 rm -f conftest.$ac_objext
50761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50762 (eval $ac_compile) 2>&5
50763 ac_status=$?
50764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50765 (exit $ac_status); } &&
50766 { ac_try='test -s conftest.$ac_objext'
50767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50768 (eval $ac_try) 2>&5
50769 ac_status=$?
50770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50771 (exit $ac_status); }; }; then
50772 glibcxx_cv_func__isinff_use=yes
50773 else
50774 echo "$as_me: failed program was:" >&5
50775 sed 's/^/| /' conftest.$ac_ext >&5
50777 glibcxx_cv_func__isinff_use=no
50779 rm -f conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
50791 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
50793 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50795 for ac_func in _isinff
50797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50798 echo "$as_me:$LINENO: checking for $ac_func" >&5
50799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50800 if eval "test \"\${$as_ac_var+set}\" = set"; then
50801 echo $ECHO_N "(cached) $ECHO_C" >&6
50802 else
50803 if test x$gcc_no_link = xyes; then
50804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50806 { (exit 1); exit 1; }; }
50808 cat >conftest.$ac_ext <<_ACEOF
50809 #line $LINENO "configure"
50810 /* confdefs.h. */
50811 _ACEOF
50812 cat confdefs.h >>conftest.$ac_ext
50813 cat >>conftest.$ac_ext <<_ACEOF
50814 /* end confdefs.h. */
50815 /* System header to define __stub macros and hopefully few prototypes,
50816 which can conflict with char $ac_func (); below.
50817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50818 <limits.h> exists even on freestanding compilers. */
50819 #ifdef __STDC__
50820 # include <limits.h>
50821 #else
50822 # include <assert.h>
50823 #endif
50824 /* Override any gcc2 internal prototype to avoid an error. */
50825 #ifdef __cplusplus
50826 extern "C"
50828 #endif
50829 /* We use char because int might match the return type of a gcc2
50830 builtin and then its argument prototype would still apply. */
50831 char $ac_func ();
50832 /* The GNU C library defines this for functions which it implements
50833 to always fail with ENOSYS. Some functions are actually named
50834 something starting with __ and the normal name is an alias. */
50835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50836 choke me
50837 #else
50838 char (*f) () = $ac_func;
50839 #endif
50840 #ifdef __cplusplus
50842 #endif
50845 main ()
50847 return f != $ac_func;
50849 return 0;
50851 _ACEOF
50852 rm -f conftest.$ac_objext conftest$ac_exeext
50853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50854 (eval $ac_link) 2>&5
50855 ac_status=$?
50856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50857 (exit $ac_status); } &&
50858 { ac_try='test -s conftest$ac_exeext'
50859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50860 (eval $ac_try) 2>&5
50861 ac_status=$?
50862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50863 (exit $ac_status); }; }; then
50864 eval "$as_ac_var=yes"
50865 else
50866 echo "$as_me: failed program was:" >&5
50867 sed 's/^/| /' conftest.$ac_ext >&5
50869 eval "$as_ac_var=no"
50871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50875 if test `eval echo '${'$as_ac_var'}'` = yes; then
50876 cat >>confdefs.h <<_ACEOF
50877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50878 _ACEOF
50881 done
50888 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
50889 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
50890 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50891 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50897 ac_ext=cc
50898 ac_cpp='$CXXCPP $CPPFLAGS'
50899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50903 cat >conftest.$ac_ext <<_ACEOF
50904 #line $LINENO "configure"
50905 /* confdefs.h. */
50906 _ACEOF
50907 cat confdefs.h >>conftest.$ac_ext
50908 cat >>conftest.$ac_ext <<_ACEOF
50909 /* end confdefs.h. */
50910 #include <math.h>
50912 main ()
50914 atan2f(0, 0);
50916 return 0;
50918 _ACEOF
50919 rm -f conftest.$ac_objext
50920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50921 (eval $ac_compile) 2>&5
50922 ac_status=$?
50923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50924 (exit $ac_status); } &&
50925 { ac_try='test -s conftest.$ac_objext'
50926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50927 (eval $ac_try) 2>&5
50928 ac_status=$?
50929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50930 (exit $ac_status); }; }; then
50931 glibcxx_cv_func_atan2f_use=yes
50932 else
50933 echo "$as_me: failed program was:" >&5
50934 sed 's/^/| /' conftest.$ac_ext >&5
50936 glibcxx_cv_func_atan2f_use=no
50938 rm -f conftest.$ac_objext conftest.$ac_ext
50939 ac_ext=c
50940 ac_cpp='$CPP $CPPFLAGS'
50941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
50950 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
50952 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50954 for ac_func in atan2f
50956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50957 echo "$as_me:$LINENO: checking for $ac_func" >&5
50958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50959 if eval "test \"\${$as_ac_var+set}\" = set"; then
50960 echo $ECHO_N "(cached) $ECHO_C" >&6
50961 else
50962 if test x$gcc_no_link = xyes; then
50963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50965 { (exit 1); exit 1; }; }
50967 cat >conftest.$ac_ext <<_ACEOF
50968 #line $LINENO "configure"
50969 /* confdefs.h. */
50970 _ACEOF
50971 cat confdefs.h >>conftest.$ac_ext
50972 cat >>conftest.$ac_ext <<_ACEOF
50973 /* end confdefs.h. */
50974 /* System header to define __stub macros and hopefully few prototypes,
50975 which can conflict with char $ac_func (); below.
50976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50977 <limits.h> exists even on freestanding compilers. */
50978 #ifdef __STDC__
50979 # include <limits.h>
50980 #else
50981 # include <assert.h>
50982 #endif
50983 /* Override any gcc2 internal prototype to avoid an error. */
50984 #ifdef __cplusplus
50985 extern "C"
50987 #endif
50988 /* We use char because int might match the return type of a gcc2
50989 builtin and then its argument prototype would still apply. */
50990 char $ac_func ();
50991 /* The GNU C library defines this for functions which it implements
50992 to always fail with ENOSYS. Some functions are actually named
50993 something starting with __ and the normal name is an alias. */
50994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50995 choke me
50996 #else
50997 char (*f) () = $ac_func;
50998 #endif
50999 #ifdef __cplusplus
51001 #endif
51004 main ()
51006 return f != $ac_func;
51008 return 0;
51010 _ACEOF
51011 rm -f conftest.$ac_objext conftest$ac_exeext
51012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51013 (eval $ac_link) 2>&5
51014 ac_status=$?
51015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51016 (exit $ac_status); } &&
51017 { ac_try='test -s conftest$ac_exeext'
51018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51019 (eval $ac_try) 2>&5
51020 ac_status=$?
51021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51022 (exit $ac_status); }; }; then
51023 eval "$as_ac_var=yes"
51024 else
51025 echo "$as_me: failed program was:" >&5
51026 sed 's/^/| /' conftest.$ac_ext >&5
51028 eval "$as_ac_var=no"
51030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51034 if test `eval echo '${'$as_ac_var'}'` = yes; then
51035 cat >>confdefs.h <<_ACEOF
51036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51037 _ACEOF
51040 done
51042 else
51044 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
51045 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
51046 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51047 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
51048 echo $ECHO_N "(cached) $ECHO_C" >&6
51049 else
51053 ac_ext=cc
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51059 cat >conftest.$ac_ext <<_ACEOF
51060 #line $LINENO "configure"
51061 /* confdefs.h. */
51062 _ACEOF
51063 cat confdefs.h >>conftest.$ac_ext
51064 cat >>conftest.$ac_ext <<_ACEOF
51065 /* end confdefs.h. */
51066 #include <math.h>
51068 main ()
51070 _atan2f(0, 0);
51072 return 0;
51074 _ACEOF
51075 rm -f conftest.$ac_objext
51076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51077 (eval $ac_compile) 2>&5
51078 ac_status=$?
51079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080 (exit $ac_status); } &&
51081 { ac_try='test -s conftest.$ac_objext'
51082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51083 (eval $ac_try) 2>&5
51084 ac_status=$?
51085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51086 (exit $ac_status); }; }; then
51087 glibcxx_cv_func__atan2f_use=yes
51088 else
51089 echo "$as_me: failed program was:" >&5
51090 sed 's/^/| /' conftest.$ac_ext >&5
51092 glibcxx_cv_func__atan2f_use=no
51094 rm -f conftest.$ac_objext conftest.$ac_ext
51095 ac_ext=c
51096 ac_cpp='$CPP $CPPFLAGS'
51097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
51106 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
51108 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51110 for ac_func in _atan2f
51112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51113 echo "$as_me:$LINENO: checking for $ac_func" >&5
51114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51115 if eval "test \"\${$as_ac_var+set}\" = set"; then
51116 echo $ECHO_N "(cached) $ECHO_C" >&6
51117 else
51118 if test x$gcc_no_link = xyes; then
51119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51121 { (exit 1); exit 1; }; }
51123 cat >conftest.$ac_ext <<_ACEOF
51124 #line $LINENO "configure"
51125 /* confdefs.h. */
51126 _ACEOF
51127 cat confdefs.h >>conftest.$ac_ext
51128 cat >>conftest.$ac_ext <<_ACEOF
51129 /* end confdefs.h. */
51130 /* System header to define __stub macros and hopefully few prototypes,
51131 which can conflict with char $ac_func (); below.
51132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51133 <limits.h> exists even on freestanding compilers. */
51134 #ifdef __STDC__
51135 # include <limits.h>
51136 #else
51137 # include <assert.h>
51138 #endif
51139 /* Override any gcc2 internal prototype to avoid an error. */
51140 #ifdef __cplusplus
51141 extern "C"
51143 #endif
51144 /* We use char because int might match the return type of a gcc2
51145 builtin and then its argument prototype would still apply. */
51146 char $ac_func ();
51147 /* The GNU C library defines this for functions which it implements
51148 to always fail with ENOSYS. Some functions are actually named
51149 something starting with __ and the normal name is an alias. */
51150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51151 choke me
51152 #else
51153 char (*f) () = $ac_func;
51154 #endif
51155 #ifdef __cplusplus
51157 #endif
51160 main ()
51162 return f != $ac_func;
51164 return 0;
51166 _ACEOF
51167 rm -f conftest.$ac_objext conftest$ac_exeext
51168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51169 (eval $ac_link) 2>&5
51170 ac_status=$?
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); } &&
51173 { ac_try='test -s conftest$ac_exeext'
51174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51175 (eval $ac_try) 2>&5
51176 ac_status=$?
51177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178 (exit $ac_status); }; }; then
51179 eval "$as_ac_var=yes"
51180 else
51181 echo "$as_me: failed program was:" >&5
51182 sed 's/^/| /' conftest.$ac_ext >&5
51184 eval "$as_ac_var=no"
51186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51190 if test `eval echo '${'$as_ac_var'}'` = yes; then
51191 cat >>confdefs.h <<_ACEOF
51192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51193 _ACEOF
51196 done
51203 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
51204 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
51205 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51206 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
51207 echo $ECHO_N "(cached) $ECHO_C" >&6
51208 else
51212 ac_ext=cc
51213 ac_cpp='$CXXCPP $CPPFLAGS'
51214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51218 cat >conftest.$ac_ext <<_ACEOF
51219 #line $LINENO "configure"
51220 /* confdefs.h. */
51221 _ACEOF
51222 cat confdefs.h >>conftest.$ac_ext
51223 cat >>conftest.$ac_ext <<_ACEOF
51224 /* end confdefs.h. */
51225 #include <math.h>
51226 #ifdef HAVE_IEEEFP_H
51227 #include <ieeefp.h>
51228 #endif
51231 main ()
51233 fabsf(0);
51235 return 0;
51237 _ACEOF
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240 (eval $ac_compile) 2>&5
51241 ac_status=$?
51242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243 (exit $ac_status); } &&
51244 { ac_try='test -s conftest.$ac_objext'
51245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51246 (eval $ac_try) 2>&5
51247 ac_status=$?
51248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249 (exit $ac_status); }; }; then
51250 glibcxx_cv_func_fabsf_use=yes
51251 else
51252 echo "$as_me: failed program was:" >&5
51253 sed 's/^/| /' conftest.$ac_ext >&5
51255 glibcxx_cv_func_fabsf_use=no
51257 rm -f conftest.$ac_objext conftest.$ac_ext
51258 ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
51269 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
51271 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51273 for ac_func in fabsf
51275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51276 echo "$as_me:$LINENO: checking for $ac_func" >&5
51277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51278 if eval "test \"\${$as_ac_var+set}\" = set"; then
51279 echo $ECHO_N "(cached) $ECHO_C" >&6
51280 else
51281 if test x$gcc_no_link = xyes; then
51282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51284 { (exit 1); exit 1; }; }
51286 cat >conftest.$ac_ext <<_ACEOF
51287 #line $LINENO "configure"
51288 /* confdefs.h. */
51289 _ACEOF
51290 cat confdefs.h >>conftest.$ac_ext
51291 cat >>conftest.$ac_ext <<_ACEOF
51292 /* end confdefs.h. */
51293 /* System header to define __stub macros and hopefully few prototypes,
51294 which can conflict with char $ac_func (); below.
51295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51296 <limits.h> exists even on freestanding compilers. */
51297 #ifdef __STDC__
51298 # include <limits.h>
51299 #else
51300 # include <assert.h>
51301 #endif
51302 /* Override any gcc2 internal prototype to avoid an error. */
51303 #ifdef __cplusplus
51304 extern "C"
51306 #endif
51307 /* We use char because int might match the return type of a gcc2
51308 builtin and then its argument prototype would still apply. */
51309 char $ac_func ();
51310 /* The GNU C library defines this for functions which it implements
51311 to always fail with ENOSYS. Some functions are actually named
51312 something starting with __ and the normal name is an alias. */
51313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51314 choke me
51315 #else
51316 char (*f) () = $ac_func;
51317 #endif
51318 #ifdef __cplusplus
51320 #endif
51323 main ()
51325 return f != $ac_func;
51327 return 0;
51329 _ACEOF
51330 rm -f conftest.$ac_objext conftest$ac_exeext
51331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51332 (eval $ac_link) 2>&5
51333 ac_status=$?
51334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335 (exit $ac_status); } &&
51336 { ac_try='test -s conftest$ac_exeext'
51337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51338 (eval $ac_try) 2>&5
51339 ac_status=$?
51340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51341 (exit $ac_status); }; }; then
51342 eval "$as_ac_var=yes"
51343 else
51344 echo "$as_me: failed program was:" >&5
51345 sed 's/^/| /' conftest.$ac_ext >&5
51347 eval "$as_ac_var=no"
51349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51353 if test `eval echo '${'$as_ac_var'}'` = yes; then
51354 cat >>confdefs.h <<_ACEOF
51355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51356 _ACEOF
51359 done
51361 else
51363 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
51364 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
51365 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51366 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
51367 echo $ECHO_N "(cached) $ECHO_C" >&6
51368 else
51372 ac_ext=cc
51373 ac_cpp='$CXXCPP $CPPFLAGS'
51374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51378 cat >conftest.$ac_ext <<_ACEOF
51379 #line $LINENO "configure"
51380 /* confdefs.h. */
51381 _ACEOF
51382 cat confdefs.h >>conftest.$ac_ext
51383 cat >>conftest.$ac_ext <<_ACEOF
51384 /* end confdefs.h. */
51385 #include <math.h>
51386 #ifdef HAVE_IEEEFP_H
51387 #include <ieeefp.h>
51388 #endif
51391 main ()
51393 _fabsf(0);
51395 return 0;
51397 _ACEOF
51398 rm -f conftest.$ac_objext
51399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51400 (eval $ac_compile) 2>&5
51401 ac_status=$?
51402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51403 (exit $ac_status); } &&
51404 { ac_try='test -s conftest.$ac_objext'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; }; then
51410 glibcxx_cv_func__fabsf_use=yes
51411 else
51412 echo "$as_me: failed program was:" >&5
51413 sed 's/^/| /' conftest.$ac_ext >&5
51415 glibcxx_cv_func__fabsf_use=no
51417 rm -f conftest.$ac_objext conftest.$ac_ext
51418 ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
51429 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
51431 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51433 for ac_func in _fabsf
51435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51436 echo "$as_me:$LINENO: checking for $ac_func" >&5
51437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51438 if eval "test \"\${$as_ac_var+set}\" = set"; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441 if test x$gcc_no_link = xyes; then
51442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51444 { (exit 1); exit 1; }; }
51446 cat >conftest.$ac_ext <<_ACEOF
51447 #line $LINENO "configure"
51448 /* confdefs.h. */
51449 _ACEOF
51450 cat confdefs.h >>conftest.$ac_ext
51451 cat >>conftest.$ac_ext <<_ACEOF
51452 /* end confdefs.h. */
51453 /* System header to define __stub macros and hopefully few prototypes,
51454 which can conflict with char $ac_func (); below.
51455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51456 <limits.h> exists even on freestanding compilers. */
51457 #ifdef __STDC__
51458 # include <limits.h>
51459 #else
51460 # include <assert.h>
51461 #endif
51462 /* Override any gcc2 internal prototype to avoid an error. */
51463 #ifdef __cplusplus
51464 extern "C"
51466 #endif
51467 /* We use char because int might match the return type of a gcc2
51468 builtin and then its argument prototype would still apply. */
51469 char $ac_func ();
51470 /* The GNU C library defines this for functions which it implements
51471 to always fail with ENOSYS. Some functions are actually named
51472 something starting with __ and the normal name is an alias. */
51473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51474 choke me
51475 #else
51476 char (*f) () = $ac_func;
51477 #endif
51478 #ifdef __cplusplus
51480 #endif
51483 main ()
51485 return f != $ac_func;
51487 return 0;
51489 _ACEOF
51490 rm -f conftest.$ac_objext conftest$ac_exeext
51491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51492 (eval $ac_link) 2>&5
51493 ac_status=$?
51494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495 (exit $ac_status); } &&
51496 { ac_try='test -s conftest$ac_exeext'
51497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51498 (eval $ac_try) 2>&5
51499 ac_status=$?
51500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501 (exit $ac_status); }; }; then
51502 eval "$as_ac_var=yes"
51503 else
51504 echo "$as_me: failed program was:" >&5
51505 sed 's/^/| /' conftest.$ac_ext >&5
51507 eval "$as_ac_var=no"
51509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51513 if test `eval echo '${'$as_ac_var'}'` = yes; then
51514 cat >>confdefs.h <<_ACEOF
51515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51516 _ACEOF
51519 done
51526 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
51527 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
51528 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51529 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
51530 echo $ECHO_N "(cached) $ECHO_C" >&6
51531 else
51535 ac_ext=cc
51536 ac_cpp='$CXXCPP $CPPFLAGS'
51537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51541 cat >conftest.$ac_ext <<_ACEOF
51542 #line $LINENO "configure"
51543 /* confdefs.h. */
51544 _ACEOF
51545 cat confdefs.h >>conftest.$ac_ext
51546 cat >>conftest.$ac_ext <<_ACEOF
51547 /* end confdefs.h. */
51548 #include <math.h>
51550 main ()
51552 fmodf(0, 0);
51554 return 0;
51556 _ACEOF
51557 rm -f conftest.$ac_objext
51558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51559 (eval $ac_compile) 2>&5
51560 ac_status=$?
51561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51562 (exit $ac_status); } &&
51563 { ac_try='test -s conftest.$ac_objext'
51564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51565 (eval $ac_try) 2>&5
51566 ac_status=$?
51567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51568 (exit $ac_status); }; }; then
51569 glibcxx_cv_func_fmodf_use=yes
51570 else
51571 echo "$as_me: failed program was:" >&5
51572 sed 's/^/| /' conftest.$ac_ext >&5
51574 glibcxx_cv_func_fmodf_use=no
51576 rm -f conftest.$ac_objext conftest.$ac_ext
51577 ac_ext=c
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
51588 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
51590 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51592 for ac_func in fmodf
51594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51595 echo "$as_me:$LINENO: checking for $ac_func" >&5
51596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51597 if eval "test \"\${$as_ac_var+set}\" = set"; then
51598 echo $ECHO_N "(cached) $ECHO_C" >&6
51599 else
51600 if test x$gcc_no_link = xyes; then
51601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51603 { (exit 1); exit 1; }; }
51605 cat >conftest.$ac_ext <<_ACEOF
51606 #line $LINENO "configure"
51607 /* confdefs.h. */
51608 _ACEOF
51609 cat confdefs.h >>conftest.$ac_ext
51610 cat >>conftest.$ac_ext <<_ACEOF
51611 /* end confdefs.h. */
51612 /* System header to define __stub macros and hopefully few prototypes,
51613 which can conflict with char $ac_func (); below.
51614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51615 <limits.h> exists even on freestanding compilers. */
51616 #ifdef __STDC__
51617 # include <limits.h>
51618 #else
51619 # include <assert.h>
51620 #endif
51621 /* Override any gcc2 internal prototype to avoid an error. */
51622 #ifdef __cplusplus
51623 extern "C"
51625 #endif
51626 /* We use char because int might match the return type of a gcc2
51627 builtin and then its argument prototype would still apply. */
51628 char $ac_func ();
51629 /* The GNU C library defines this for functions which it implements
51630 to always fail with ENOSYS. Some functions are actually named
51631 something starting with __ and the normal name is an alias. */
51632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51633 choke me
51634 #else
51635 char (*f) () = $ac_func;
51636 #endif
51637 #ifdef __cplusplus
51639 #endif
51642 main ()
51644 return f != $ac_func;
51646 return 0;
51648 _ACEOF
51649 rm -f conftest.$ac_objext conftest$ac_exeext
51650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51651 (eval $ac_link) 2>&5
51652 ac_status=$?
51653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51654 (exit $ac_status); } &&
51655 { ac_try='test -s conftest$ac_exeext'
51656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51657 (eval $ac_try) 2>&5
51658 ac_status=$?
51659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51660 (exit $ac_status); }; }; then
51661 eval "$as_ac_var=yes"
51662 else
51663 echo "$as_me: failed program was:" >&5
51664 sed 's/^/| /' conftest.$ac_ext >&5
51666 eval "$as_ac_var=no"
51668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51672 if test `eval echo '${'$as_ac_var'}'` = yes; then
51673 cat >>confdefs.h <<_ACEOF
51674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51675 _ACEOF
51678 done
51680 else
51682 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
51683 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
51684 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51685 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
51686 echo $ECHO_N "(cached) $ECHO_C" >&6
51687 else
51691 ac_ext=cc
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51697 cat >conftest.$ac_ext <<_ACEOF
51698 #line $LINENO "configure"
51699 /* confdefs.h. */
51700 _ACEOF
51701 cat confdefs.h >>conftest.$ac_ext
51702 cat >>conftest.$ac_ext <<_ACEOF
51703 /* end confdefs.h. */
51704 #include <math.h>
51706 main ()
51708 _fmodf(0, 0);
51710 return 0;
51712 _ACEOF
51713 rm -f conftest.$ac_objext
51714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51715 (eval $ac_compile) 2>&5
51716 ac_status=$?
51717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51718 (exit $ac_status); } &&
51719 { ac_try='test -s conftest.$ac_objext'
51720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51721 (eval $ac_try) 2>&5
51722 ac_status=$?
51723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724 (exit $ac_status); }; }; then
51725 glibcxx_cv_func__fmodf_use=yes
51726 else
51727 echo "$as_me: failed program was:" >&5
51728 sed 's/^/| /' conftest.$ac_ext >&5
51730 glibcxx_cv_func__fmodf_use=no
51732 rm -f conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
51744 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
51746 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
51748 for ac_func in _fmodf
51750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51751 echo "$as_me:$LINENO: checking for $ac_func" >&5
51752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51753 if eval "test \"\${$as_ac_var+set}\" = set"; then
51754 echo $ECHO_N "(cached) $ECHO_C" >&6
51755 else
51756 if test x$gcc_no_link = xyes; then
51757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51759 { (exit 1); exit 1; }; }
51761 cat >conftest.$ac_ext <<_ACEOF
51762 #line $LINENO "configure"
51763 /* confdefs.h. */
51764 _ACEOF
51765 cat confdefs.h >>conftest.$ac_ext
51766 cat >>conftest.$ac_ext <<_ACEOF
51767 /* end confdefs.h. */
51768 /* System header to define __stub macros and hopefully few prototypes,
51769 which can conflict with char $ac_func (); below.
51770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51771 <limits.h> exists even on freestanding compilers. */
51772 #ifdef __STDC__
51773 # include <limits.h>
51774 #else
51775 # include <assert.h>
51776 #endif
51777 /* Override any gcc2 internal prototype to avoid an error. */
51778 #ifdef __cplusplus
51779 extern "C"
51781 #endif
51782 /* We use char because int might match the return type of a gcc2
51783 builtin and then its argument prototype would still apply. */
51784 char $ac_func ();
51785 /* The GNU C library defines this for functions which it implements
51786 to always fail with ENOSYS. Some functions are actually named
51787 something starting with __ and the normal name is an alias. */
51788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51789 choke me
51790 #else
51791 char (*f) () = $ac_func;
51792 #endif
51793 #ifdef __cplusplus
51795 #endif
51798 main ()
51800 return f != $ac_func;
51802 return 0;
51804 _ACEOF
51805 rm -f conftest.$ac_objext conftest$ac_exeext
51806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51807 (eval $ac_link) 2>&5
51808 ac_status=$?
51809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51810 (exit $ac_status); } &&
51811 { ac_try='test -s conftest$ac_exeext'
51812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51813 (eval $ac_try) 2>&5
51814 ac_status=$?
51815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51816 (exit $ac_status); }; }; then
51817 eval "$as_ac_var=yes"
51818 else
51819 echo "$as_me: failed program was:" >&5
51820 sed 's/^/| /' conftest.$ac_ext >&5
51822 eval "$as_ac_var=no"
51824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51828 if test `eval echo '${'$as_ac_var'}'` = yes; then
51829 cat >>confdefs.h <<_ACEOF
51830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51831 _ACEOF
51834 done
51841 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
51842 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
51843 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
51844 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
51845 echo $ECHO_N "(cached) $ECHO_C" >&6
51846 else
51850 ac_ext=cc
51851 ac_cpp='$CXXCPP $CPPFLAGS'
51852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51856 cat >conftest.$ac_ext <<_ACEOF
51857 #line $LINENO "configure"
51858 /* confdefs.h. */
51859 _ACEOF
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h. */
51863 #include <math.h>
51865 main ()
51867 frexpf(0, 0);
51869 return 0;
51871 _ACEOF
51872 rm -f conftest.$ac_objext
51873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51874 (eval $ac_compile) 2>&5
51875 ac_status=$?
51876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51877 (exit $ac_status); } &&
51878 { ac_try='test -s conftest.$ac_objext'
51879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51880 (eval $ac_try) 2>&5
51881 ac_status=$?
51882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51883 (exit $ac_status); }; }; then
51884 glibcxx_cv_func_frexpf_use=yes
51885 else
51886 echo "$as_me: failed program was:" >&5
51887 sed 's/^/| /' conftest.$ac_ext >&5
51889 glibcxx_cv_func_frexpf_use=no
51891 rm -f conftest.$ac_objext conftest.$ac_ext
51892 ac_ext=c
51893 ac_cpp='$CPP $CPPFLAGS'
51894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
51903 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
51905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
51907 for ac_func in frexpf
51909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51910 echo "$as_me:$LINENO: checking for $ac_func" >&5
51911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51912 if eval "test \"\${$as_ac_var+set}\" = set"; then
51913 echo $ECHO_N "(cached) $ECHO_C" >&6
51914 else
51915 if test x$gcc_no_link = xyes; then
51916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51918 { (exit 1); exit 1; }; }
51920 cat >conftest.$ac_ext <<_ACEOF
51921 #line $LINENO "configure"
51922 /* confdefs.h. */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h. */
51927 /* System header to define __stub macros and hopefully few prototypes,
51928 which can conflict with char $ac_func (); below.
51929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51930 <limits.h> exists even on freestanding compilers. */
51931 #ifdef __STDC__
51932 # include <limits.h>
51933 #else
51934 # include <assert.h>
51935 #endif
51936 /* Override any gcc2 internal prototype to avoid an error. */
51937 #ifdef __cplusplus
51938 extern "C"
51940 #endif
51941 /* We use char because int might match the return type of a gcc2
51942 builtin and then its argument prototype would still apply. */
51943 char $ac_func ();
51944 /* The GNU C library defines this for functions which it implements
51945 to always fail with ENOSYS. Some functions are actually named
51946 something starting with __ and the normal name is an alias. */
51947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51948 choke me
51949 #else
51950 char (*f) () = $ac_func;
51951 #endif
51952 #ifdef __cplusplus
51954 #endif
51957 main ()
51959 return f != $ac_func;
51961 return 0;
51963 _ACEOF
51964 rm -f conftest.$ac_objext conftest$ac_exeext
51965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51966 (eval $ac_link) 2>&5
51967 ac_status=$?
51968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51969 (exit $ac_status); } &&
51970 { ac_try='test -s conftest$ac_exeext'
51971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51972 (eval $ac_try) 2>&5
51973 ac_status=$?
51974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51975 (exit $ac_status); }; }; then
51976 eval "$as_ac_var=yes"
51977 else
51978 echo "$as_me: failed program was:" >&5
51979 sed 's/^/| /' conftest.$ac_ext >&5
51981 eval "$as_ac_var=no"
51983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51987 if test `eval echo '${'$as_ac_var'}'` = yes; then
51988 cat >>confdefs.h <<_ACEOF
51989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51990 _ACEOF
51993 done
51995 else
51997 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
51998 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
51999 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52000 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
52001 echo $ECHO_N "(cached) $ECHO_C" >&6
52002 else
52006 ac_ext=cc
52007 ac_cpp='$CXXCPP $CPPFLAGS'
52008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52012 cat >conftest.$ac_ext <<_ACEOF
52013 #line $LINENO "configure"
52014 /* confdefs.h. */
52015 _ACEOF
52016 cat confdefs.h >>conftest.$ac_ext
52017 cat >>conftest.$ac_ext <<_ACEOF
52018 /* end confdefs.h. */
52019 #include <math.h>
52021 main ()
52023 _frexpf(0, 0);
52025 return 0;
52027 _ACEOF
52028 rm -f conftest.$ac_objext
52029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52030 (eval $ac_compile) 2>&5
52031 ac_status=$?
52032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52033 (exit $ac_status); } &&
52034 { ac_try='test -s conftest.$ac_objext'
52035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52036 (eval $ac_try) 2>&5
52037 ac_status=$?
52038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52039 (exit $ac_status); }; }; then
52040 glibcxx_cv_func__frexpf_use=yes
52041 else
52042 echo "$as_me: failed program was:" >&5
52043 sed 's/^/| /' conftest.$ac_ext >&5
52045 glibcxx_cv_func__frexpf_use=no
52047 rm -f conftest.$ac_objext conftest.$ac_ext
52048 ac_ext=c
52049 ac_cpp='$CPP $CPPFLAGS'
52050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
52059 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
52061 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52063 for ac_func in _frexpf
52065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52066 echo "$as_me:$LINENO: checking for $ac_func" >&5
52067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52068 if eval "test \"\${$as_ac_var+set}\" = set"; then
52069 echo $ECHO_N "(cached) $ECHO_C" >&6
52070 else
52071 if test x$gcc_no_link = xyes; then
52072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52074 { (exit 1); exit 1; }; }
52076 cat >conftest.$ac_ext <<_ACEOF
52077 #line $LINENO "configure"
52078 /* confdefs.h. */
52079 _ACEOF
52080 cat confdefs.h >>conftest.$ac_ext
52081 cat >>conftest.$ac_ext <<_ACEOF
52082 /* end confdefs.h. */
52083 /* System header to define __stub macros and hopefully few prototypes,
52084 which can conflict with char $ac_func (); below.
52085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52086 <limits.h> exists even on freestanding compilers. */
52087 #ifdef __STDC__
52088 # include <limits.h>
52089 #else
52090 # include <assert.h>
52091 #endif
52092 /* Override any gcc2 internal prototype to avoid an error. */
52093 #ifdef __cplusplus
52094 extern "C"
52096 #endif
52097 /* We use char because int might match the return type of a gcc2
52098 builtin and then its argument prototype would still apply. */
52099 char $ac_func ();
52100 /* The GNU C library defines this for functions which it implements
52101 to always fail with ENOSYS. Some functions are actually named
52102 something starting with __ and the normal name is an alias. */
52103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52104 choke me
52105 #else
52106 char (*f) () = $ac_func;
52107 #endif
52108 #ifdef __cplusplus
52110 #endif
52113 main ()
52115 return f != $ac_func;
52117 return 0;
52119 _ACEOF
52120 rm -f conftest.$ac_objext conftest$ac_exeext
52121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52122 (eval $ac_link) 2>&5
52123 ac_status=$?
52124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52125 (exit $ac_status); } &&
52126 { ac_try='test -s conftest$ac_exeext'
52127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52128 (eval $ac_try) 2>&5
52129 ac_status=$?
52130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131 (exit $ac_status); }; }; then
52132 eval "$as_ac_var=yes"
52133 else
52134 echo "$as_me: failed program was:" >&5
52135 sed 's/^/| /' conftest.$ac_ext >&5
52137 eval "$as_ac_var=no"
52139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52143 if test `eval echo '${'$as_ac_var'}'` = yes; then
52144 cat >>confdefs.h <<_ACEOF
52145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52146 _ACEOF
52149 done
52156 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
52157 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
52158 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52159 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
52160 echo $ECHO_N "(cached) $ECHO_C" >&6
52161 else
52165 ac_ext=cc
52166 ac_cpp='$CXXCPP $CPPFLAGS'
52167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52171 cat >conftest.$ac_ext <<_ACEOF
52172 #line $LINENO "configure"
52173 /* confdefs.h. */
52174 _ACEOF
52175 cat confdefs.h >>conftest.$ac_ext
52176 cat >>conftest.$ac_ext <<_ACEOF
52177 /* end confdefs.h. */
52178 #include <math.h>
52180 main ()
52182 hypotf(0, 0);
52184 return 0;
52186 _ACEOF
52187 rm -f conftest.$ac_objext
52188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52189 (eval $ac_compile) 2>&5
52190 ac_status=$?
52191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52192 (exit $ac_status); } &&
52193 { ac_try='test -s conftest.$ac_objext'
52194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52195 (eval $ac_try) 2>&5
52196 ac_status=$?
52197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52198 (exit $ac_status); }; }; then
52199 glibcxx_cv_func_hypotf_use=yes
52200 else
52201 echo "$as_me: failed program was:" >&5
52202 sed 's/^/| /' conftest.$ac_ext >&5
52204 glibcxx_cv_func_hypotf_use=no
52206 rm -f conftest.$ac_objext conftest.$ac_ext
52207 ac_ext=c
52208 ac_cpp='$CPP $CPPFLAGS'
52209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
52218 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
52220 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52222 for ac_func in hypotf
52224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52225 echo "$as_me:$LINENO: checking for $ac_func" >&5
52226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52227 if eval "test \"\${$as_ac_var+set}\" = set"; then
52228 echo $ECHO_N "(cached) $ECHO_C" >&6
52229 else
52230 if test x$gcc_no_link = xyes; then
52231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52233 { (exit 1); exit 1; }; }
52235 cat >conftest.$ac_ext <<_ACEOF
52236 #line $LINENO "configure"
52237 /* confdefs.h. */
52238 _ACEOF
52239 cat confdefs.h >>conftest.$ac_ext
52240 cat >>conftest.$ac_ext <<_ACEOF
52241 /* end confdefs.h. */
52242 /* System header to define __stub macros and hopefully few prototypes,
52243 which can conflict with char $ac_func (); below.
52244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52245 <limits.h> exists even on freestanding compilers. */
52246 #ifdef __STDC__
52247 # include <limits.h>
52248 #else
52249 # include <assert.h>
52250 #endif
52251 /* Override any gcc2 internal prototype to avoid an error. */
52252 #ifdef __cplusplus
52253 extern "C"
52255 #endif
52256 /* We use char because int might match the return type of a gcc2
52257 builtin and then its argument prototype would still apply. */
52258 char $ac_func ();
52259 /* The GNU C library defines this for functions which it implements
52260 to always fail with ENOSYS. Some functions are actually named
52261 something starting with __ and the normal name is an alias. */
52262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52263 choke me
52264 #else
52265 char (*f) () = $ac_func;
52266 #endif
52267 #ifdef __cplusplus
52269 #endif
52272 main ()
52274 return f != $ac_func;
52276 return 0;
52278 _ACEOF
52279 rm -f conftest.$ac_objext conftest$ac_exeext
52280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52281 (eval $ac_link) 2>&5
52282 ac_status=$?
52283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52284 (exit $ac_status); } &&
52285 { ac_try='test -s conftest$ac_exeext'
52286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52287 (eval $ac_try) 2>&5
52288 ac_status=$?
52289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290 (exit $ac_status); }; }; then
52291 eval "$as_ac_var=yes"
52292 else
52293 echo "$as_me: failed program was:" >&5
52294 sed 's/^/| /' conftest.$ac_ext >&5
52296 eval "$as_ac_var=no"
52298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52302 if test `eval echo '${'$as_ac_var'}'` = yes; then
52303 cat >>confdefs.h <<_ACEOF
52304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52305 _ACEOF
52308 done
52310 else
52312 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
52313 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
52314 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52315 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
52316 echo $ECHO_N "(cached) $ECHO_C" >&6
52317 else
52321 ac_ext=cc
52322 ac_cpp='$CXXCPP $CPPFLAGS'
52323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52327 cat >conftest.$ac_ext <<_ACEOF
52328 #line $LINENO "configure"
52329 /* confdefs.h. */
52330 _ACEOF
52331 cat confdefs.h >>conftest.$ac_ext
52332 cat >>conftest.$ac_ext <<_ACEOF
52333 /* end confdefs.h. */
52334 #include <math.h>
52336 main ()
52338 _hypotf(0, 0);
52340 return 0;
52342 _ACEOF
52343 rm -f conftest.$ac_objext
52344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52345 (eval $ac_compile) 2>&5
52346 ac_status=$?
52347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348 (exit $ac_status); } &&
52349 { ac_try='test -s conftest.$ac_objext'
52350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52351 (eval $ac_try) 2>&5
52352 ac_status=$?
52353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52354 (exit $ac_status); }; }; then
52355 glibcxx_cv_func__hypotf_use=yes
52356 else
52357 echo "$as_me: failed program was:" >&5
52358 sed 's/^/| /' conftest.$ac_ext >&5
52360 glibcxx_cv_func__hypotf_use=no
52362 rm -f conftest.$ac_objext conftest.$ac_ext
52363 ac_ext=c
52364 ac_cpp='$CPP $CPPFLAGS'
52365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
52374 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
52376 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52378 for ac_func in _hypotf
52380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52381 echo "$as_me:$LINENO: checking for $ac_func" >&5
52382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52383 if eval "test \"\${$as_ac_var+set}\" = set"; then
52384 echo $ECHO_N "(cached) $ECHO_C" >&6
52385 else
52386 if test x$gcc_no_link = xyes; then
52387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52389 { (exit 1); exit 1; }; }
52391 cat >conftest.$ac_ext <<_ACEOF
52392 #line $LINENO "configure"
52393 /* confdefs.h. */
52394 _ACEOF
52395 cat confdefs.h >>conftest.$ac_ext
52396 cat >>conftest.$ac_ext <<_ACEOF
52397 /* end confdefs.h. */
52398 /* System header to define __stub macros and hopefully few prototypes,
52399 which can conflict with char $ac_func (); below.
52400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52401 <limits.h> exists even on freestanding compilers. */
52402 #ifdef __STDC__
52403 # include <limits.h>
52404 #else
52405 # include <assert.h>
52406 #endif
52407 /* Override any gcc2 internal prototype to avoid an error. */
52408 #ifdef __cplusplus
52409 extern "C"
52411 #endif
52412 /* We use char because int might match the return type of a gcc2
52413 builtin and then its argument prototype would still apply. */
52414 char $ac_func ();
52415 /* The GNU C library defines this for functions which it implements
52416 to always fail with ENOSYS. Some functions are actually named
52417 something starting with __ and the normal name is an alias. */
52418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52419 choke me
52420 #else
52421 char (*f) () = $ac_func;
52422 #endif
52423 #ifdef __cplusplus
52425 #endif
52428 main ()
52430 return f != $ac_func;
52432 return 0;
52434 _ACEOF
52435 rm -f conftest.$ac_objext conftest$ac_exeext
52436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52437 (eval $ac_link) 2>&5
52438 ac_status=$?
52439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52440 (exit $ac_status); } &&
52441 { ac_try='test -s conftest$ac_exeext'
52442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52443 (eval $ac_try) 2>&5
52444 ac_status=$?
52445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52446 (exit $ac_status); }; }; then
52447 eval "$as_ac_var=yes"
52448 else
52449 echo "$as_me: failed program was:" >&5
52450 sed 's/^/| /' conftest.$ac_ext >&5
52452 eval "$as_ac_var=no"
52454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52458 if test `eval echo '${'$as_ac_var'}'` = yes; then
52459 cat >>confdefs.h <<_ACEOF
52460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52461 _ACEOF
52464 done
52471 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
52472 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
52473 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52474 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
52475 echo $ECHO_N "(cached) $ECHO_C" >&6
52476 else
52480 ac_ext=cc
52481 ac_cpp='$CXXCPP $CPPFLAGS'
52482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486 cat >conftest.$ac_ext <<_ACEOF
52487 #line $LINENO "configure"
52488 /* confdefs.h. */
52489 _ACEOF
52490 cat confdefs.h >>conftest.$ac_ext
52491 cat >>conftest.$ac_ext <<_ACEOF
52492 /* end confdefs.h. */
52493 #include <math.h>
52495 main ()
52497 ldexpf(0, 0);
52499 return 0;
52501 _ACEOF
52502 rm -f conftest.$ac_objext
52503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52504 (eval $ac_compile) 2>&5
52505 ac_status=$?
52506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52507 (exit $ac_status); } &&
52508 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func_ldexpf_use=yes
52515 else
52516 echo "$as_me: failed program was:" >&5
52517 sed 's/^/| /' conftest.$ac_ext >&5
52519 glibcxx_cv_func_ldexpf_use=no
52521 rm -f conftest.$ac_objext conftest.$ac_ext
52522 ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
52533 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
52535 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52537 for ac_func in ldexpf
52539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52540 echo "$as_me:$LINENO: checking for $ac_func" >&5
52541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52542 if eval "test \"\${$as_ac_var+set}\" = set"; then
52543 echo $ECHO_N "(cached) $ECHO_C" >&6
52544 else
52545 if test x$gcc_no_link = xyes; then
52546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52548 { (exit 1); exit 1; }; }
52550 cat >conftest.$ac_ext <<_ACEOF
52551 #line $LINENO "configure"
52552 /* confdefs.h. */
52553 _ACEOF
52554 cat confdefs.h >>conftest.$ac_ext
52555 cat >>conftest.$ac_ext <<_ACEOF
52556 /* end confdefs.h. */
52557 /* System header to define __stub macros and hopefully few prototypes,
52558 which can conflict with char $ac_func (); below.
52559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52560 <limits.h> exists even on freestanding compilers. */
52561 #ifdef __STDC__
52562 # include <limits.h>
52563 #else
52564 # include <assert.h>
52565 #endif
52566 /* Override any gcc2 internal prototype to avoid an error. */
52567 #ifdef __cplusplus
52568 extern "C"
52570 #endif
52571 /* We use char because int might match the return type of a gcc2
52572 builtin and then its argument prototype would still apply. */
52573 char $ac_func ();
52574 /* The GNU C library defines this for functions which it implements
52575 to always fail with ENOSYS. Some functions are actually named
52576 something starting with __ and the normal name is an alias. */
52577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52578 choke me
52579 #else
52580 char (*f) () = $ac_func;
52581 #endif
52582 #ifdef __cplusplus
52584 #endif
52587 main ()
52589 return f != $ac_func;
52591 return 0;
52593 _ACEOF
52594 rm -f conftest.$ac_objext conftest$ac_exeext
52595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52596 (eval $ac_link) 2>&5
52597 ac_status=$?
52598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599 (exit $ac_status); } &&
52600 { ac_try='test -s conftest$ac_exeext'
52601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52602 (eval $ac_try) 2>&5
52603 ac_status=$?
52604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52605 (exit $ac_status); }; }; then
52606 eval "$as_ac_var=yes"
52607 else
52608 echo "$as_me: failed program was:" >&5
52609 sed 's/^/| /' conftest.$ac_ext >&5
52611 eval "$as_ac_var=no"
52613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52617 if test `eval echo '${'$as_ac_var'}'` = yes; then
52618 cat >>confdefs.h <<_ACEOF
52619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52620 _ACEOF
52623 done
52625 else
52627 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
52628 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
52629 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52630 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
52631 echo $ECHO_N "(cached) $ECHO_C" >&6
52632 else
52636 ac_ext=cc
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52642 cat >conftest.$ac_ext <<_ACEOF
52643 #line $LINENO "configure"
52644 /* confdefs.h. */
52645 _ACEOF
52646 cat confdefs.h >>conftest.$ac_ext
52647 cat >>conftest.$ac_ext <<_ACEOF
52648 /* end confdefs.h. */
52649 #include <math.h>
52651 main ()
52653 _ldexpf(0, 0);
52655 return 0;
52657 _ACEOF
52658 rm -f conftest.$ac_objext
52659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52660 (eval $ac_compile) 2>&5
52661 ac_status=$?
52662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52663 (exit $ac_status); } &&
52664 { ac_try='test -s conftest.$ac_objext'
52665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52666 (eval $ac_try) 2>&5
52667 ac_status=$?
52668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52669 (exit $ac_status); }; }; then
52670 glibcxx_cv_func__ldexpf_use=yes
52671 else
52672 echo "$as_me: failed program was:" >&5
52673 sed 's/^/| /' conftest.$ac_ext >&5
52675 glibcxx_cv_func__ldexpf_use=no
52677 rm -f conftest.$ac_objext conftest.$ac_ext
52678 ac_ext=c
52679 ac_cpp='$CPP $CPPFLAGS'
52680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
52689 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
52691 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52693 for ac_func in _ldexpf
52695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52696 echo "$as_me:$LINENO: checking for $ac_func" >&5
52697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52698 if eval "test \"\${$as_ac_var+set}\" = set"; then
52699 echo $ECHO_N "(cached) $ECHO_C" >&6
52700 else
52701 if test x$gcc_no_link = xyes; then
52702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52704 { (exit 1); exit 1; }; }
52706 cat >conftest.$ac_ext <<_ACEOF
52707 #line $LINENO "configure"
52708 /* confdefs.h. */
52709 _ACEOF
52710 cat confdefs.h >>conftest.$ac_ext
52711 cat >>conftest.$ac_ext <<_ACEOF
52712 /* end confdefs.h. */
52713 /* System header to define __stub macros and hopefully few prototypes,
52714 which can conflict with char $ac_func (); below.
52715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52716 <limits.h> exists even on freestanding compilers. */
52717 #ifdef __STDC__
52718 # include <limits.h>
52719 #else
52720 # include <assert.h>
52721 #endif
52722 /* Override any gcc2 internal prototype to avoid an error. */
52723 #ifdef __cplusplus
52724 extern "C"
52726 #endif
52727 /* We use char because int might match the return type of a gcc2
52728 builtin and then its argument prototype would still apply. */
52729 char $ac_func ();
52730 /* The GNU C library defines this for functions which it implements
52731 to always fail with ENOSYS. Some functions are actually named
52732 something starting with __ and the normal name is an alias. */
52733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52734 choke me
52735 #else
52736 char (*f) () = $ac_func;
52737 #endif
52738 #ifdef __cplusplus
52740 #endif
52743 main ()
52745 return f != $ac_func;
52747 return 0;
52749 _ACEOF
52750 rm -f conftest.$ac_objext conftest$ac_exeext
52751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52752 (eval $ac_link) 2>&5
52753 ac_status=$?
52754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52755 (exit $ac_status); } &&
52756 { ac_try='test -s conftest$ac_exeext'
52757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52758 (eval $ac_try) 2>&5
52759 ac_status=$?
52760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761 (exit $ac_status); }; }; then
52762 eval "$as_ac_var=yes"
52763 else
52764 echo "$as_me: failed program was:" >&5
52765 sed 's/^/| /' conftest.$ac_ext >&5
52767 eval "$as_ac_var=no"
52769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52773 if test `eval echo '${'$as_ac_var'}'` = yes; then
52774 cat >>confdefs.h <<_ACEOF
52775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52776 _ACEOF
52779 done
52786 echo "$as_me:$LINENO: checking for logf declaration" >&5
52787 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
52788 if test x${glibcxx_cv_func_logf_use+set} != xset; then
52789 if test "${glibcxx_cv_func_logf_use+set}" = set; then
52790 echo $ECHO_N "(cached) $ECHO_C" >&6
52791 else
52795 ac_ext=cc
52796 ac_cpp='$CXXCPP $CPPFLAGS'
52797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52801 cat >conftest.$ac_ext <<_ACEOF
52802 #line $LINENO "configure"
52803 /* confdefs.h. */
52804 _ACEOF
52805 cat confdefs.h >>conftest.$ac_ext
52806 cat >>conftest.$ac_ext <<_ACEOF
52807 /* end confdefs.h. */
52808 #include <math.h>
52809 #ifdef HAVE_IEEEFP_H
52810 #include <ieeefp.h>
52811 #endif
52814 main ()
52816 logf(0);
52818 return 0;
52820 _ACEOF
52821 rm -f conftest.$ac_objext
52822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52823 (eval $ac_compile) 2>&5
52824 ac_status=$?
52825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 (exit $ac_status); } &&
52827 { ac_try='test -s conftest.$ac_objext'
52828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52829 (eval $ac_try) 2>&5
52830 ac_status=$?
52831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52832 (exit $ac_status); }; }; then
52833 glibcxx_cv_func_logf_use=yes
52834 else
52835 echo "$as_me: failed program was:" >&5
52836 sed 's/^/| /' conftest.$ac_ext >&5
52838 glibcxx_cv_func_logf_use=no
52840 rm -f conftest.$ac_objext conftest.$ac_ext
52841 ac_ext=c
52842 ac_cpp='$CPP $CPPFLAGS'
52843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
52852 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
52854 if test x$glibcxx_cv_func_logf_use = x"yes"; then
52856 for ac_func in logf
52858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52859 echo "$as_me:$LINENO: checking for $ac_func" >&5
52860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52861 if eval "test \"\${$as_ac_var+set}\" = set"; then
52862 echo $ECHO_N "(cached) $ECHO_C" >&6
52863 else
52864 if test x$gcc_no_link = xyes; then
52865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52867 { (exit 1); exit 1; }; }
52869 cat >conftest.$ac_ext <<_ACEOF
52870 #line $LINENO "configure"
52871 /* confdefs.h. */
52872 _ACEOF
52873 cat confdefs.h >>conftest.$ac_ext
52874 cat >>conftest.$ac_ext <<_ACEOF
52875 /* end confdefs.h. */
52876 /* System header to define __stub macros and hopefully few prototypes,
52877 which can conflict with char $ac_func (); below.
52878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52879 <limits.h> exists even on freestanding compilers. */
52880 #ifdef __STDC__
52881 # include <limits.h>
52882 #else
52883 # include <assert.h>
52884 #endif
52885 /* Override any gcc2 internal prototype to avoid an error. */
52886 #ifdef __cplusplus
52887 extern "C"
52889 #endif
52890 /* We use char because int might match the return type of a gcc2
52891 builtin and then its argument prototype would still apply. */
52892 char $ac_func ();
52893 /* The GNU C library defines this for functions which it implements
52894 to always fail with ENOSYS. Some functions are actually named
52895 something starting with __ and the normal name is an alias. */
52896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52897 choke me
52898 #else
52899 char (*f) () = $ac_func;
52900 #endif
52901 #ifdef __cplusplus
52903 #endif
52906 main ()
52908 return f != $ac_func;
52910 return 0;
52912 _ACEOF
52913 rm -f conftest.$ac_objext conftest$ac_exeext
52914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52915 (eval $ac_link) 2>&5
52916 ac_status=$?
52917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918 (exit $ac_status); } &&
52919 { ac_try='test -s conftest$ac_exeext'
52920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52921 (eval $ac_try) 2>&5
52922 ac_status=$?
52923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52924 (exit $ac_status); }; }; then
52925 eval "$as_ac_var=yes"
52926 else
52927 echo "$as_me: failed program was:" >&5
52928 sed 's/^/| /' conftest.$ac_ext >&5
52930 eval "$as_ac_var=no"
52932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52936 if test `eval echo '${'$as_ac_var'}'` = yes; then
52937 cat >>confdefs.h <<_ACEOF
52938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52939 _ACEOF
52942 done
52944 else
52946 echo "$as_me:$LINENO: checking for _logf declaration" >&5
52947 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
52948 if test x${glibcxx_cv_func__logf_use+set} != xset; then
52949 if test "${glibcxx_cv_func__logf_use+set}" = set; then
52950 echo $ECHO_N "(cached) $ECHO_C" >&6
52951 else
52955 ac_ext=cc
52956 ac_cpp='$CXXCPP $CPPFLAGS'
52957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52961 cat >conftest.$ac_ext <<_ACEOF
52962 #line $LINENO "configure"
52963 /* confdefs.h. */
52964 _ACEOF
52965 cat confdefs.h >>conftest.$ac_ext
52966 cat >>conftest.$ac_ext <<_ACEOF
52967 /* end confdefs.h. */
52968 #include <math.h>
52969 #ifdef HAVE_IEEEFP_H
52970 #include <ieeefp.h>
52971 #endif
52974 main ()
52976 _logf(0);
52978 return 0;
52980 _ACEOF
52981 rm -f conftest.$ac_objext
52982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52983 (eval $ac_compile) 2>&5
52984 ac_status=$?
52985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986 (exit $ac_status); } &&
52987 { ac_try='test -s conftest.$ac_objext'
52988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52989 (eval $ac_try) 2>&5
52990 ac_status=$?
52991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52992 (exit $ac_status); }; }; then
52993 glibcxx_cv_func__logf_use=yes
52994 else
52995 echo "$as_me: failed program was:" >&5
52996 sed 's/^/| /' conftest.$ac_ext >&5
52998 glibcxx_cv_func__logf_use=no
53000 rm -f conftest.$ac_objext conftest.$ac_ext
53001 ac_ext=c
53002 ac_cpp='$CPP $CPPFLAGS'
53003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
53012 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
53014 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53016 for ac_func in _logf
53018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53019 echo "$as_me:$LINENO: checking for $ac_func" >&5
53020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53021 if eval "test \"\${$as_ac_var+set}\" = set"; then
53022 echo $ECHO_N "(cached) $ECHO_C" >&6
53023 else
53024 if test x$gcc_no_link = xyes; then
53025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53027 { (exit 1); exit 1; }; }
53029 cat >conftest.$ac_ext <<_ACEOF
53030 #line $LINENO "configure"
53031 /* confdefs.h. */
53032 _ACEOF
53033 cat confdefs.h >>conftest.$ac_ext
53034 cat >>conftest.$ac_ext <<_ACEOF
53035 /* end confdefs.h. */
53036 /* System header to define __stub macros and hopefully few prototypes,
53037 which can conflict with char $ac_func (); below.
53038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53039 <limits.h> exists even on freestanding compilers. */
53040 #ifdef __STDC__
53041 # include <limits.h>
53042 #else
53043 # include <assert.h>
53044 #endif
53045 /* Override any gcc2 internal prototype to avoid an error. */
53046 #ifdef __cplusplus
53047 extern "C"
53049 #endif
53050 /* We use char because int might match the return type of a gcc2
53051 builtin and then its argument prototype would still apply. */
53052 char $ac_func ();
53053 /* The GNU C library defines this for functions which it implements
53054 to always fail with ENOSYS. Some functions are actually named
53055 something starting with __ and the normal name is an alias. */
53056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53057 choke me
53058 #else
53059 char (*f) () = $ac_func;
53060 #endif
53061 #ifdef __cplusplus
53063 #endif
53066 main ()
53068 return f != $ac_func;
53070 return 0;
53072 _ACEOF
53073 rm -f conftest.$ac_objext conftest$ac_exeext
53074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53075 (eval $ac_link) 2>&5
53076 ac_status=$?
53077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53078 (exit $ac_status); } &&
53079 { ac_try='test -s conftest$ac_exeext'
53080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53081 (eval $ac_try) 2>&5
53082 ac_status=$?
53083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53084 (exit $ac_status); }; }; then
53085 eval "$as_ac_var=yes"
53086 else
53087 echo "$as_me: failed program was:" >&5
53088 sed 's/^/| /' conftest.$ac_ext >&5
53090 eval "$as_ac_var=no"
53092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53096 if test `eval echo '${'$as_ac_var'}'` = yes; then
53097 cat >>confdefs.h <<_ACEOF
53098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53099 _ACEOF
53102 done
53109 echo "$as_me:$LINENO: checking for log10f declaration" >&5
53110 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
53111 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53112 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
53113 echo $ECHO_N "(cached) $ECHO_C" >&6
53114 else
53118 ac_ext=cc
53119 ac_cpp='$CXXCPP $CPPFLAGS'
53120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53124 cat >conftest.$ac_ext <<_ACEOF
53125 #line $LINENO "configure"
53126 /* confdefs.h. */
53127 _ACEOF
53128 cat confdefs.h >>conftest.$ac_ext
53129 cat >>conftest.$ac_ext <<_ACEOF
53130 /* end confdefs.h. */
53131 #include <math.h>
53132 #ifdef HAVE_IEEEFP_H
53133 #include <ieeefp.h>
53134 #endif
53137 main ()
53139 log10f(0);
53141 return 0;
53143 _ACEOF
53144 rm -f conftest.$ac_objext
53145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53146 (eval $ac_compile) 2>&5
53147 ac_status=$?
53148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149 (exit $ac_status); } &&
53150 { ac_try='test -s conftest.$ac_objext'
53151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53152 (eval $ac_try) 2>&5
53153 ac_status=$?
53154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53155 (exit $ac_status); }; }; then
53156 glibcxx_cv_func_log10f_use=yes
53157 else
53158 echo "$as_me: failed program was:" >&5
53159 sed 's/^/| /' conftest.$ac_ext >&5
53161 glibcxx_cv_func_log10f_use=no
53163 rm -f conftest.$ac_objext conftest.$ac_ext
53164 ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
53175 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
53177 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53179 for ac_func in log10f
53181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53182 echo "$as_me:$LINENO: checking for $ac_func" >&5
53183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53184 if eval "test \"\${$as_ac_var+set}\" = set"; then
53185 echo $ECHO_N "(cached) $ECHO_C" >&6
53186 else
53187 if test x$gcc_no_link = xyes; then
53188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53190 { (exit 1); exit 1; }; }
53192 cat >conftest.$ac_ext <<_ACEOF
53193 #line $LINENO "configure"
53194 /* confdefs.h. */
53195 _ACEOF
53196 cat confdefs.h >>conftest.$ac_ext
53197 cat >>conftest.$ac_ext <<_ACEOF
53198 /* end confdefs.h. */
53199 /* System header to define __stub macros and hopefully few prototypes,
53200 which can conflict with char $ac_func (); below.
53201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53202 <limits.h> exists even on freestanding compilers. */
53203 #ifdef __STDC__
53204 # include <limits.h>
53205 #else
53206 # include <assert.h>
53207 #endif
53208 /* Override any gcc2 internal prototype to avoid an error. */
53209 #ifdef __cplusplus
53210 extern "C"
53212 #endif
53213 /* We use char because int might match the return type of a gcc2
53214 builtin and then its argument prototype would still apply. */
53215 char $ac_func ();
53216 /* The GNU C library defines this for functions which it implements
53217 to always fail with ENOSYS. Some functions are actually named
53218 something starting with __ and the normal name is an alias. */
53219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53220 choke me
53221 #else
53222 char (*f) () = $ac_func;
53223 #endif
53224 #ifdef __cplusplus
53226 #endif
53229 main ()
53231 return f != $ac_func;
53233 return 0;
53235 _ACEOF
53236 rm -f conftest.$ac_objext conftest$ac_exeext
53237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53238 (eval $ac_link) 2>&5
53239 ac_status=$?
53240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53241 (exit $ac_status); } &&
53242 { ac_try='test -s conftest$ac_exeext'
53243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53244 (eval $ac_try) 2>&5
53245 ac_status=$?
53246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247 (exit $ac_status); }; }; then
53248 eval "$as_ac_var=yes"
53249 else
53250 echo "$as_me: failed program was:" >&5
53251 sed 's/^/| /' conftest.$ac_ext >&5
53253 eval "$as_ac_var=no"
53255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53259 if test `eval echo '${'$as_ac_var'}'` = yes; then
53260 cat >>confdefs.h <<_ACEOF
53261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53262 _ACEOF
53265 done
53267 else
53269 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
53270 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
53271 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53272 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
53273 echo $ECHO_N "(cached) $ECHO_C" >&6
53274 else
53278 ac_ext=cc
53279 ac_cpp='$CXXCPP $CPPFLAGS'
53280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53284 cat >conftest.$ac_ext <<_ACEOF
53285 #line $LINENO "configure"
53286 /* confdefs.h. */
53287 _ACEOF
53288 cat confdefs.h >>conftest.$ac_ext
53289 cat >>conftest.$ac_ext <<_ACEOF
53290 /* end confdefs.h. */
53291 #include <math.h>
53292 #ifdef HAVE_IEEEFP_H
53293 #include <ieeefp.h>
53294 #endif
53297 main ()
53299 _log10f(0);
53301 return 0;
53303 _ACEOF
53304 rm -f conftest.$ac_objext
53305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53306 (eval $ac_compile) 2>&5
53307 ac_status=$?
53308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309 (exit $ac_status); } &&
53310 { ac_try='test -s conftest.$ac_objext'
53311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53312 (eval $ac_try) 2>&5
53313 ac_status=$?
53314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53315 (exit $ac_status); }; }; then
53316 glibcxx_cv_func__log10f_use=yes
53317 else
53318 echo "$as_me: failed program was:" >&5
53319 sed 's/^/| /' conftest.$ac_ext >&5
53321 glibcxx_cv_func__log10f_use=no
53323 rm -f conftest.$ac_objext conftest.$ac_ext
53324 ac_ext=c
53325 ac_cpp='$CPP $CPPFLAGS'
53326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
53335 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
53337 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53339 for ac_func in _log10f
53341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53342 echo "$as_me:$LINENO: checking for $ac_func" >&5
53343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53344 if eval "test \"\${$as_ac_var+set}\" = set"; then
53345 echo $ECHO_N "(cached) $ECHO_C" >&6
53346 else
53347 if test x$gcc_no_link = xyes; then
53348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53350 { (exit 1); exit 1; }; }
53352 cat >conftest.$ac_ext <<_ACEOF
53353 #line $LINENO "configure"
53354 /* confdefs.h. */
53355 _ACEOF
53356 cat confdefs.h >>conftest.$ac_ext
53357 cat >>conftest.$ac_ext <<_ACEOF
53358 /* end confdefs.h. */
53359 /* System header to define __stub macros and hopefully few prototypes,
53360 which can conflict with char $ac_func (); below.
53361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53362 <limits.h> exists even on freestanding compilers. */
53363 #ifdef __STDC__
53364 # include <limits.h>
53365 #else
53366 # include <assert.h>
53367 #endif
53368 /* Override any gcc2 internal prototype to avoid an error. */
53369 #ifdef __cplusplus
53370 extern "C"
53372 #endif
53373 /* We use char because int might match the return type of a gcc2
53374 builtin and then its argument prototype would still apply. */
53375 char $ac_func ();
53376 /* The GNU C library defines this for functions which it implements
53377 to always fail with ENOSYS. Some functions are actually named
53378 something starting with __ and the normal name is an alias. */
53379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53380 choke me
53381 #else
53382 char (*f) () = $ac_func;
53383 #endif
53384 #ifdef __cplusplus
53386 #endif
53389 main ()
53391 return f != $ac_func;
53393 return 0;
53395 _ACEOF
53396 rm -f conftest.$ac_objext conftest$ac_exeext
53397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53398 (eval $ac_link) 2>&5
53399 ac_status=$?
53400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401 (exit $ac_status); } &&
53402 { ac_try='test -s conftest$ac_exeext'
53403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53404 (eval $ac_try) 2>&5
53405 ac_status=$?
53406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407 (exit $ac_status); }; }; then
53408 eval "$as_ac_var=yes"
53409 else
53410 echo "$as_me: failed program was:" >&5
53411 sed 's/^/| /' conftest.$ac_ext >&5
53413 eval "$as_ac_var=no"
53415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53419 if test `eval echo '${'$as_ac_var'}'` = yes; then
53420 cat >>confdefs.h <<_ACEOF
53421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53422 _ACEOF
53425 done
53432 echo "$as_me:$LINENO: checking for modff declaration" >&5
53433 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
53434 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53435 if test "${glibcxx_cv_func_modff_use+set}" = set; then
53436 echo $ECHO_N "(cached) $ECHO_C" >&6
53437 else
53441 ac_ext=cc
53442 ac_cpp='$CXXCPP $CPPFLAGS'
53443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53447 cat >conftest.$ac_ext <<_ACEOF
53448 #line $LINENO "configure"
53449 /* confdefs.h. */
53450 _ACEOF
53451 cat confdefs.h >>conftest.$ac_ext
53452 cat >>conftest.$ac_ext <<_ACEOF
53453 /* end confdefs.h. */
53454 #include <math.h>
53456 main ()
53458 modff(0, 0);
53460 return 0;
53462 _ACEOF
53463 rm -f conftest.$ac_objext
53464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53465 (eval $ac_compile) 2>&5
53466 ac_status=$?
53467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53468 (exit $ac_status); } &&
53469 { ac_try='test -s conftest.$ac_objext'
53470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53471 (eval $ac_try) 2>&5
53472 ac_status=$?
53473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474 (exit $ac_status); }; }; then
53475 glibcxx_cv_func_modff_use=yes
53476 else
53477 echo "$as_me: failed program was:" >&5
53478 sed 's/^/| /' conftest.$ac_ext >&5
53480 glibcxx_cv_func_modff_use=no
53482 rm -f conftest.$ac_objext conftest.$ac_ext
53483 ac_ext=c
53484 ac_cpp='$CPP $CPPFLAGS'
53485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
53494 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
53496 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53498 for ac_func in modff
53500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53501 echo "$as_me:$LINENO: checking for $ac_func" >&5
53502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53503 if eval "test \"\${$as_ac_var+set}\" = set"; then
53504 echo $ECHO_N "(cached) $ECHO_C" >&6
53505 else
53506 if test x$gcc_no_link = xyes; then
53507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53509 { (exit 1); exit 1; }; }
53511 cat >conftest.$ac_ext <<_ACEOF
53512 #line $LINENO "configure"
53513 /* confdefs.h. */
53514 _ACEOF
53515 cat confdefs.h >>conftest.$ac_ext
53516 cat >>conftest.$ac_ext <<_ACEOF
53517 /* end confdefs.h. */
53518 /* System header to define __stub macros and hopefully few prototypes,
53519 which can conflict with char $ac_func (); below.
53520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53521 <limits.h> exists even on freestanding compilers. */
53522 #ifdef __STDC__
53523 # include <limits.h>
53524 #else
53525 # include <assert.h>
53526 #endif
53527 /* Override any gcc2 internal prototype to avoid an error. */
53528 #ifdef __cplusplus
53529 extern "C"
53531 #endif
53532 /* We use char because int might match the return type of a gcc2
53533 builtin and then its argument prototype would still apply. */
53534 char $ac_func ();
53535 /* The GNU C library defines this for functions which it implements
53536 to always fail with ENOSYS. Some functions are actually named
53537 something starting with __ and the normal name is an alias. */
53538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53539 choke me
53540 #else
53541 char (*f) () = $ac_func;
53542 #endif
53543 #ifdef __cplusplus
53545 #endif
53548 main ()
53550 return f != $ac_func;
53552 return 0;
53554 _ACEOF
53555 rm -f conftest.$ac_objext conftest$ac_exeext
53556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53557 (eval $ac_link) 2>&5
53558 ac_status=$?
53559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560 (exit $ac_status); } &&
53561 { ac_try='test -s conftest$ac_exeext'
53562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53563 (eval $ac_try) 2>&5
53564 ac_status=$?
53565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53566 (exit $ac_status); }; }; then
53567 eval "$as_ac_var=yes"
53568 else
53569 echo "$as_me: failed program was:" >&5
53570 sed 's/^/| /' conftest.$ac_ext >&5
53572 eval "$as_ac_var=no"
53574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53578 if test `eval echo '${'$as_ac_var'}'` = yes; then
53579 cat >>confdefs.h <<_ACEOF
53580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53581 _ACEOF
53584 done
53586 else
53588 echo "$as_me:$LINENO: checking for _modff declaration" >&5
53589 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
53590 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53591 if test "${glibcxx_cv_func__modff_use+set}" = set; then
53592 echo $ECHO_N "(cached) $ECHO_C" >&6
53593 else
53597 ac_ext=cc
53598 ac_cpp='$CXXCPP $CPPFLAGS'
53599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53603 cat >conftest.$ac_ext <<_ACEOF
53604 #line $LINENO "configure"
53605 /* confdefs.h. */
53606 _ACEOF
53607 cat confdefs.h >>conftest.$ac_ext
53608 cat >>conftest.$ac_ext <<_ACEOF
53609 /* end confdefs.h. */
53610 #include <math.h>
53612 main ()
53614 _modff(0, 0);
53616 return 0;
53618 _ACEOF
53619 rm -f conftest.$ac_objext
53620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53621 (eval $ac_compile) 2>&5
53622 ac_status=$?
53623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624 (exit $ac_status); } &&
53625 { ac_try='test -s conftest.$ac_objext'
53626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53627 (eval $ac_try) 2>&5
53628 ac_status=$?
53629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630 (exit $ac_status); }; }; then
53631 glibcxx_cv_func__modff_use=yes
53632 else
53633 echo "$as_me: failed program was:" >&5
53634 sed 's/^/| /' conftest.$ac_ext >&5
53636 glibcxx_cv_func__modff_use=no
53638 rm -f conftest.$ac_objext conftest.$ac_ext
53639 ac_ext=c
53640 ac_cpp='$CPP $CPPFLAGS'
53641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
53650 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
53652 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53654 for ac_func in _modff
53656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53657 echo "$as_me:$LINENO: checking for $ac_func" >&5
53658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53659 if eval "test \"\${$as_ac_var+set}\" = set"; then
53660 echo $ECHO_N "(cached) $ECHO_C" >&6
53661 else
53662 if test x$gcc_no_link = xyes; then
53663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53665 { (exit 1); exit 1; }; }
53667 cat >conftest.$ac_ext <<_ACEOF
53668 #line $LINENO "configure"
53669 /* confdefs.h. */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h. */
53674 /* System header to define __stub macros and hopefully few prototypes,
53675 which can conflict with char $ac_func (); below.
53676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53677 <limits.h> exists even on freestanding compilers. */
53678 #ifdef __STDC__
53679 # include <limits.h>
53680 #else
53681 # include <assert.h>
53682 #endif
53683 /* Override any gcc2 internal prototype to avoid an error. */
53684 #ifdef __cplusplus
53685 extern "C"
53687 #endif
53688 /* We use char because int might match the return type of a gcc2
53689 builtin and then its argument prototype would still apply. */
53690 char $ac_func ();
53691 /* The GNU C library defines this for functions which it implements
53692 to always fail with ENOSYS. Some functions are actually named
53693 something starting with __ and the normal name is an alias. */
53694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53695 choke me
53696 #else
53697 char (*f) () = $ac_func;
53698 #endif
53699 #ifdef __cplusplus
53701 #endif
53704 main ()
53706 return f != $ac_func;
53708 return 0;
53710 _ACEOF
53711 rm -f conftest.$ac_objext conftest$ac_exeext
53712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53713 (eval $ac_link) 2>&5
53714 ac_status=$?
53715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716 (exit $ac_status); } &&
53717 { ac_try='test -s conftest$ac_exeext'
53718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53719 (eval $ac_try) 2>&5
53720 ac_status=$?
53721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53722 (exit $ac_status); }; }; then
53723 eval "$as_ac_var=yes"
53724 else
53725 echo "$as_me: failed program was:" >&5
53726 sed 's/^/| /' conftest.$ac_ext >&5
53728 eval "$as_ac_var=no"
53730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53734 if test `eval echo '${'$as_ac_var'}'` = yes; then
53735 cat >>confdefs.h <<_ACEOF
53736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53737 _ACEOF
53740 done
53747 echo "$as_me:$LINENO: checking for powf declaration" >&5
53748 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
53749 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53750 if test "${glibcxx_cv_func_powf_use+set}" = set; then
53751 echo $ECHO_N "(cached) $ECHO_C" >&6
53752 else
53756 ac_ext=cc
53757 ac_cpp='$CXXCPP $CPPFLAGS'
53758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762 cat >conftest.$ac_ext <<_ACEOF
53763 #line $LINENO "configure"
53764 /* confdefs.h. */
53765 _ACEOF
53766 cat confdefs.h >>conftest.$ac_ext
53767 cat >>conftest.$ac_ext <<_ACEOF
53768 /* end confdefs.h. */
53769 #include <math.h>
53771 main ()
53773 powf(0, 0);
53775 return 0;
53777 _ACEOF
53778 rm -f conftest.$ac_objext
53779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53780 (eval $ac_compile) 2>&5
53781 ac_status=$?
53782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53783 (exit $ac_status); } &&
53784 { ac_try='test -s conftest.$ac_objext'
53785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53786 (eval $ac_try) 2>&5
53787 ac_status=$?
53788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53789 (exit $ac_status); }; }; then
53790 glibcxx_cv_func_powf_use=yes
53791 else
53792 echo "$as_me: failed program was:" >&5
53793 sed 's/^/| /' conftest.$ac_ext >&5
53795 glibcxx_cv_func_powf_use=no
53797 rm -f conftest.$ac_objext conftest.$ac_ext
53798 ac_ext=c
53799 ac_cpp='$CPP $CPPFLAGS'
53800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
53809 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
53811 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53813 for ac_func in powf
53815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53816 echo "$as_me:$LINENO: checking for $ac_func" >&5
53817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53818 if eval "test \"\${$as_ac_var+set}\" = set"; then
53819 echo $ECHO_N "(cached) $ECHO_C" >&6
53820 else
53821 if test x$gcc_no_link = xyes; then
53822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53824 { (exit 1); exit 1; }; }
53826 cat >conftest.$ac_ext <<_ACEOF
53827 #line $LINENO "configure"
53828 /* confdefs.h. */
53829 _ACEOF
53830 cat confdefs.h >>conftest.$ac_ext
53831 cat >>conftest.$ac_ext <<_ACEOF
53832 /* end confdefs.h. */
53833 /* System header to define __stub macros and hopefully few prototypes,
53834 which can conflict with char $ac_func (); below.
53835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53836 <limits.h> exists even on freestanding compilers. */
53837 #ifdef __STDC__
53838 # include <limits.h>
53839 #else
53840 # include <assert.h>
53841 #endif
53842 /* Override any gcc2 internal prototype to avoid an error. */
53843 #ifdef __cplusplus
53844 extern "C"
53846 #endif
53847 /* We use char because int might match the return type of a gcc2
53848 builtin and then its argument prototype would still apply. */
53849 char $ac_func ();
53850 /* The GNU C library defines this for functions which it implements
53851 to always fail with ENOSYS. Some functions are actually named
53852 something starting with __ and the normal name is an alias. */
53853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53854 choke me
53855 #else
53856 char (*f) () = $ac_func;
53857 #endif
53858 #ifdef __cplusplus
53860 #endif
53863 main ()
53865 return f != $ac_func;
53867 return 0;
53869 _ACEOF
53870 rm -f conftest.$ac_objext conftest$ac_exeext
53871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53872 (eval $ac_link) 2>&5
53873 ac_status=$?
53874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875 (exit $ac_status); } &&
53876 { ac_try='test -s conftest$ac_exeext'
53877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53878 (eval $ac_try) 2>&5
53879 ac_status=$?
53880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881 (exit $ac_status); }; }; then
53882 eval "$as_ac_var=yes"
53883 else
53884 echo "$as_me: failed program was:" >&5
53885 sed 's/^/| /' conftest.$ac_ext >&5
53887 eval "$as_ac_var=no"
53889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53893 if test `eval echo '${'$as_ac_var'}'` = yes; then
53894 cat >>confdefs.h <<_ACEOF
53895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53896 _ACEOF
53899 done
53901 else
53903 echo "$as_me:$LINENO: checking for _powf declaration" >&5
53904 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
53905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53906 if test "${glibcxx_cv_func__powf_use+set}" = set; then
53907 echo $ECHO_N "(cached) $ECHO_C" >&6
53908 else
53912 ac_ext=cc
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53918 cat >conftest.$ac_ext <<_ACEOF
53919 #line $LINENO "configure"
53920 /* confdefs.h. */
53921 _ACEOF
53922 cat confdefs.h >>conftest.$ac_ext
53923 cat >>conftest.$ac_ext <<_ACEOF
53924 /* end confdefs.h. */
53925 #include <math.h>
53927 main ()
53929 _powf(0, 0);
53931 return 0;
53933 _ACEOF
53934 rm -f conftest.$ac_objext
53935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53936 (eval $ac_compile) 2>&5
53937 ac_status=$?
53938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53939 (exit $ac_status); } &&
53940 { ac_try='test -s conftest.$ac_objext'
53941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53942 (eval $ac_try) 2>&5
53943 ac_status=$?
53944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53945 (exit $ac_status); }; }; then
53946 glibcxx_cv_func__powf_use=yes
53947 else
53948 echo "$as_me: failed program was:" >&5
53949 sed 's/^/| /' conftest.$ac_ext >&5
53951 glibcxx_cv_func__powf_use=no
53953 rm -f conftest.$ac_objext conftest.$ac_ext
53954 ac_ext=c
53955 ac_cpp='$CPP $CPPFLAGS'
53956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
53965 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53967 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53969 for ac_func in _powf
53971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53972 echo "$as_me:$LINENO: checking for $ac_func" >&5
53973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53974 if eval "test \"\${$as_ac_var+set}\" = set"; then
53975 echo $ECHO_N "(cached) $ECHO_C" >&6
53976 else
53977 if test x$gcc_no_link = xyes; then
53978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53980 { (exit 1); exit 1; }; }
53982 cat >conftest.$ac_ext <<_ACEOF
53983 #line $LINENO "configure"
53984 /* confdefs.h. */
53985 _ACEOF
53986 cat confdefs.h >>conftest.$ac_ext
53987 cat >>conftest.$ac_ext <<_ACEOF
53988 /* end confdefs.h. */
53989 /* System header to define __stub macros and hopefully few prototypes,
53990 which can conflict with char $ac_func (); below.
53991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53992 <limits.h> exists even on freestanding compilers. */
53993 #ifdef __STDC__
53994 # include <limits.h>
53995 #else
53996 # include <assert.h>
53997 #endif
53998 /* Override any gcc2 internal prototype to avoid an error. */
53999 #ifdef __cplusplus
54000 extern "C"
54002 #endif
54003 /* We use char because int might match the return type of a gcc2
54004 builtin and then its argument prototype would still apply. */
54005 char $ac_func ();
54006 /* The GNU C library defines this for functions which it implements
54007 to always fail with ENOSYS. Some functions are actually named
54008 something starting with __ and the normal name is an alias. */
54009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54010 choke me
54011 #else
54012 char (*f) () = $ac_func;
54013 #endif
54014 #ifdef __cplusplus
54016 #endif
54019 main ()
54021 return f != $ac_func;
54023 return 0;
54025 _ACEOF
54026 rm -f conftest.$ac_objext conftest$ac_exeext
54027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54028 (eval $ac_link) 2>&5
54029 ac_status=$?
54030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54031 (exit $ac_status); } &&
54032 { ac_try='test -s conftest$ac_exeext'
54033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54034 (eval $ac_try) 2>&5
54035 ac_status=$?
54036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54037 (exit $ac_status); }; }; then
54038 eval "$as_ac_var=yes"
54039 else
54040 echo "$as_me: failed program was:" >&5
54041 sed 's/^/| /' conftest.$ac_ext >&5
54043 eval "$as_ac_var=no"
54045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54049 if test `eval echo '${'$as_ac_var'}'` = yes; then
54050 cat >>confdefs.h <<_ACEOF
54051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54052 _ACEOF
54055 done
54062 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
54063 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
54064 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54065 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
54066 echo $ECHO_N "(cached) $ECHO_C" >&6
54067 else
54071 ac_ext=cc
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54077 cat >conftest.$ac_ext <<_ACEOF
54078 #line $LINENO "configure"
54079 /* confdefs.h. */
54080 _ACEOF
54081 cat confdefs.h >>conftest.$ac_ext
54082 cat >>conftest.$ac_ext <<_ACEOF
54083 /* end confdefs.h. */
54084 #include <math.h>
54085 #ifdef HAVE_IEEEFP_H
54086 #include <ieeefp.h>
54087 #endif
54090 main ()
54092 sqrtf(0);
54094 return 0;
54096 _ACEOF
54097 rm -f conftest.$ac_objext
54098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54099 (eval $ac_compile) 2>&5
54100 ac_status=$?
54101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54102 (exit $ac_status); } &&
54103 { ac_try='test -s conftest.$ac_objext'
54104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54105 (eval $ac_try) 2>&5
54106 ac_status=$?
54107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108 (exit $ac_status); }; }; then
54109 glibcxx_cv_func_sqrtf_use=yes
54110 else
54111 echo "$as_me: failed program was:" >&5
54112 sed 's/^/| /' conftest.$ac_ext >&5
54114 glibcxx_cv_func_sqrtf_use=no
54116 rm -f conftest.$ac_objext conftest.$ac_ext
54117 ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
54128 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
54130 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54132 for ac_func in sqrtf
54134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54135 echo "$as_me:$LINENO: checking for $ac_func" >&5
54136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54137 if eval "test \"\${$as_ac_var+set}\" = set"; then
54138 echo $ECHO_N "(cached) $ECHO_C" >&6
54139 else
54140 if test x$gcc_no_link = xyes; then
54141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54143 { (exit 1); exit 1; }; }
54145 cat >conftest.$ac_ext <<_ACEOF
54146 #line $LINENO "configure"
54147 /* confdefs.h. */
54148 _ACEOF
54149 cat confdefs.h >>conftest.$ac_ext
54150 cat >>conftest.$ac_ext <<_ACEOF
54151 /* end confdefs.h. */
54152 /* System header to define __stub macros and hopefully few prototypes,
54153 which can conflict with char $ac_func (); below.
54154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54155 <limits.h> exists even on freestanding compilers. */
54156 #ifdef __STDC__
54157 # include <limits.h>
54158 #else
54159 # include <assert.h>
54160 #endif
54161 /* Override any gcc2 internal prototype to avoid an error. */
54162 #ifdef __cplusplus
54163 extern "C"
54165 #endif
54166 /* We use char because int might match the return type of a gcc2
54167 builtin and then its argument prototype would still apply. */
54168 char $ac_func ();
54169 /* The GNU C library defines this for functions which it implements
54170 to always fail with ENOSYS. Some functions are actually named
54171 something starting with __ and the normal name is an alias. */
54172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54173 choke me
54174 #else
54175 char (*f) () = $ac_func;
54176 #endif
54177 #ifdef __cplusplus
54179 #endif
54182 main ()
54184 return f != $ac_func;
54186 return 0;
54188 _ACEOF
54189 rm -f conftest.$ac_objext conftest$ac_exeext
54190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54191 (eval $ac_link) 2>&5
54192 ac_status=$?
54193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54194 (exit $ac_status); } &&
54195 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54201 eval "$as_ac_var=yes"
54202 else
54203 echo "$as_me: failed program was:" >&5
54204 sed 's/^/| /' conftest.$ac_ext >&5
54206 eval "$as_ac_var=no"
54208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54212 if test `eval echo '${'$as_ac_var'}'` = yes; then
54213 cat >>confdefs.h <<_ACEOF
54214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54215 _ACEOF
54218 done
54220 else
54222 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
54223 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
54224 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54225 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
54226 echo $ECHO_N "(cached) $ECHO_C" >&6
54227 else
54231 ac_ext=cc
54232 ac_cpp='$CXXCPP $CPPFLAGS'
54233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54237 cat >conftest.$ac_ext <<_ACEOF
54238 #line $LINENO "configure"
54239 /* confdefs.h. */
54240 _ACEOF
54241 cat confdefs.h >>conftest.$ac_ext
54242 cat >>conftest.$ac_ext <<_ACEOF
54243 /* end confdefs.h. */
54244 #include <math.h>
54245 #ifdef HAVE_IEEEFP_H
54246 #include <ieeefp.h>
54247 #endif
54250 main ()
54252 _sqrtf(0);
54254 return 0;
54256 _ACEOF
54257 rm -f conftest.$ac_objext
54258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54259 (eval $ac_compile) 2>&5
54260 ac_status=$?
54261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262 (exit $ac_status); } &&
54263 { ac_try='test -s conftest.$ac_objext'
54264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265 (eval $ac_try) 2>&5
54266 ac_status=$?
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); }; }; then
54269 glibcxx_cv_func__sqrtf_use=yes
54270 else
54271 echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54274 glibcxx_cv_func__sqrtf_use=no
54276 rm -f conftest.$ac_objext conftest.$ac_ext
54277 ac_ext=c
54278 ac_cpp='$CPP $CPPFLAGS'
54279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
54288 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
54290 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54292 for ac_func in _sqrtf
54294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54295 echo "$as_me:$LINENO: checking for $ac_func" >&5
54296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54297 if eval "test \"\${$as_ac_var+set}\" = set"; then
54298 echo $ECHO_N "(cached) $ECHO_C" >&6
54299 else
54300 if test x$gcc_no_link = xyes; then
54301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54303 { (exit 1); exit 1; }; }
54305 cat >conftest.$ac_ext <<_ACEOF
54306 #line $LINENO "configure"
54307 /* confdefs.h. */
54308 _ACEOF
54309 cat confdefs.h >>conftest.$ac_ext
54310 cat >>conftest.$ac_ext <<_ACEOF
54311 /* end confdefs.h. */
54312 /* System header to define __stub macros and hopefully few prototypes,
54313 which can conflict with char $ac_func (); below.
54314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54315 <limits.h> exists even on freestanding compilers. */
54316 #ifdef __STDC__
54317 # include <limits.h>
54318 #else
54319 # include <assert.h>
54320 #endif
54321 /* Override any gcc2 internal prototype to avoid an error. */
54322 #ifdef __cplusplus
54323 extern "C"
54325 #endif
54326 /* We use char because int might match the return type of a gcc2
54327 builtin and then its argument prototype would still apply. */
54328 char $ac_func ();
54329 /* The GNU C library defines this for functions which it implements
54330 to always fail with ENOSYS. Some functions are actually named
54331 something starting with __ and the normal name is an alias. */
54332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54333 choke me
54334 #else
54335 char (*f) () = $ac_func;
54336 #endif
54337 #ifdef __cplusplus
54339 #endif
54342 main ()
54344 return f != $ac_func;
54346 return 0;
54348 _ACEOF
54349 rm -f conftest.$ac_objext conftest$ac_exeext
54350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54351 (eval $ac_link) 2>&5
54352 ac_status=$?
54353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354 (exit $ac_status); } &&
54355 { ac_try='test -s conftest$ac_exeext'
54356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357 (eval $ac_try) 2>&5
54358 ac_status=$?
54359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360 (exit $ac_status); }; }; then
54361 eval "$as_ac_var=yes"
54362 else
54363 echo "$as_me: failed program was:" >&5
54364 sed 's/^/| /' conftest.$ac_ext >&5
54366 eval "$as_ac_var=no"
54368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54372 if test `eval echo '${'$as_ac_var'}'` = yes; then
54373 cat >>confdefs.h <<_ACEOF
54374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54375 _ACEOF
54378 done
54385 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
54386 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
54387 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54388 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
54389 echo $ECHO_N "(cached) $ECHO_C" >&6
54390 else
54394 ac_ext=cc
54395 ac_cpp='$CXXCPP $CPPFLAGS'
54396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54400 cat >conftest.$ac_ext <<_ACEOF
54401 #line $LINENO "configure"
54402 /* confdefs.h. */
54403 _ACEOF
54404 cat confdefs.h >>conftest.$ac_ext
54405 cat >>conftest.$ac_ext <<_ACEOF
54406 /* end confdefs.h. */
54407 #include <math.h>
54409 main ()
54411 sincosf(0, 0, 0);
54413 return 0;
54415 _ACEOF
54416 rm -f conftest.$ac_objext
54417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54418 (eval $ac_compile) 2>&5
54419 ac_status=$?
54420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54421 (exit $ac_status); } &&
54422 { ac_try='test -s conftest.$ac_objext'
54423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54424 (eval $ac_try) 2>&5
54425 ac_status=$?
54426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427 (exit $ac_status); }; }; then
54428 glibcxx_cv_func_sincosf_use=yes
54429 else
54430 echo "$as_me: failed program was:" >&5
54431 sed 's/^/| /' conftest.$ac_ext >&5
54433 glibcxx_cv_func_sincosf_use=no
54435 rm -f conftest.$ac_objext conftest.$ac_ext
54436 ac_ext=c
54437 ac_cpp='$CPP $CPPFLAGS'
54438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
54447 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
54449 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54451 for ac_func in sincosf
54453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54454 echo "$as_me:$LINENO: checking for $ac_func" >&5
54455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54456 if eval "test \"\${$as_ac_var+set}\" = set"; then
54457 echo $ECHO_N "(cached) $ECHO_C" >&6
54458 else
54459 if test x$gcc_no_link = xyes; then
54460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54462 { (exit 1); exit 1; }; }
54464 cat >conftest.$ac_ext <<_ACEOF
54465 #line $LINENO "configure"
54466 /* confdefs.h. */
54467 _ACEOF
54468 cat confdefs.h >>conftest.$ac_ext
54469 cat >>conftest.$ac_ext <<_ACEOF
54470 /* end confdefs.h. */
54471 /* System header to define __stub macros and hopefully few prototypes,
54472 which can conflict with char $ac_func (); below.
54473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54474 <limits.h> exists even on freestanding compilers. */
54475 #ifdef __STDC__
54476 # include <limits.h>
54477 #else
54478 # include <assert.h>
54479 #endif
54480 /* Override any gcc2 internal prototype to avoid an error. */
54481 #ifdef __cplusplus
54482 extern "C"
54484 #endif
54485 /* We use char because int might match the return type of a gcc2
54486 builtin and then its argument prototype would still apply. */
54487 char $ac_func ();
54488 /* The GNU C library defines this for functions which it implements
54489 to always fail with ENOSYS. Some functions are actually named
54490 something starting with __ and the normal name is an alias. */
54491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54492 choke me
54493 #else
54494 char (*f) () = $ac_func;
54495 #endif
54496 #ifdef __cplusplus
54498 #endif
54501 main ()
54503 return f != $ac_func;
54505 return 0;
54507 _ACEOF
54508 rm -f conftest.$ac_objext conftest$ac_exeext
54509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54510 (eval $ac_link) 2>&5
54511 ac_status=$?
54512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54513 (exit $ac_status); } &&
54514 { ac_try='test -s conftest$ac_exeext'
54515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54516 (eval $ac_try) 2>&5
54517 ac_status=$?
54518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54519 (exit $ac_status); }; }; then
54520 eval "$as_ac_var=yes"
54521 else
54522 echo "$as_me: failed program was:" >&5
54523 sed 's/^/| /' conftest.$ac_ext >&5
54525 eval "$as_ac_var=no"
54527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54531 if test `eval echo '${'$as_ac_var'}'` = yes; then
54532 cat >>confdefs.h <<_ACEOF
54533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54534 _ACEOF
54537 done
54539 else
54541 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
54542 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
54543 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54544 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
54545 echo $ECHO_N "(cached) $ECHO_C" >&6
54546 else
54550 ac_ext=cc
54551 ac_cpp='$CXXCPP $CPPFLAGS'
54552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54556 cat >conftest.$ac_ext <<_ACEOF
54557 #line $LINENO "configure"
54558 /* confdefs.h. */
54559 _ACEOF
54560 cat confdefs.h >>conftest.$ac_ext
54561 cat >>conftest.$ac_ext <<_ACEOF
54562 /* end confdefs.h. */
54563 #include <math.h>
54565 main ()
54567 _sincosf(0, 0, 0);
54569 return 0;
54571 _ACEOF
54572 rm -f conftest.$ac_objext
54573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54574 (eval $ac_compile) 2>&5
54575 ac_status=$?
54576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54577 (exit $ac_status); } &&
54578 { ac_try='test -s conftest.$ac_objext'
54579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54580 (eval $ac_try) 2>&5
54581 ac_status=$?
54582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54583 (exit $ac_status); }; }; then
54584 glibcxx_cv_func__sincosf_use=yes
54585 else
54586 echo "$as_me: failed program was:" >&5
54587 sed 's/^/| /' conftest.$ac_ext >&5
54589 glibcxx_cv_func__sincosf_use=no
54591 rm -f conftest.$ac_objext conftest.$ac_ext
54592 ac_ext=c
54593 ac_cpp='$CPP $CPPFLAGS'
54594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
54603 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
54605 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54607 for ac_func in _sincosf
54609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54610 echo "$as_me:$LINENO: checking for $ac_func" >&5
54611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54612 if eval "test \"\${$as_ac_var+set}\" = set"; then
54613 echo $ECHO_N "(cached) $ECHO_C" >&6
54614 else
54615 if test x$gcc_no_link = xyes; then
54616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54618 { (exit 1); exit 1; }; }
54620 cat >conftest.$ac_ext <<_ACEOF
54621 #line $LINENO "configure"
54622 /* confdefs.h. */
54623 _ACEOF
54624 cat confdefs.h >>conftest.$ac_ext
54625 cat >>conftest.$ac_ext <<_ACEOF
54626 /* end confdefs.h. */
54627 /* System header to define __stub macros and hopefully few prototypes,
54628 which can conflict with char $ac_func (); below.
54629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54630 <limits.h> exists even on freestanding compilers. */
54631 #ifdef __STDC__
54632 # include <limits.h>
54633 #else
54634 # include <assert.h>
54635 #endif
54636 /* Override any gcc2 internal prototype to avoid an error. */
54637 #ifdef __cplusplus
54638 extern "C"
54640 #endif
54641 /* We use char because int might match the return type of a gcc2
54642 builtin and then its argument prototype would still apply. */
54643 char $ac_func ();
54644 /* The GNU C library defines this for functions which it implements
54645 to always fail with ENOSYS. Some functions are actually named
54646 something starting with __ and the normal name is an alias. */
54647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54648 choke me
54649 #else
54650 char (*f) () = $ac_func;
54651 #endif
54652 #ifdef __cplusplus
54654 #endif
54657 main ()
54659 return f != $ac_func;
54661 return 0;
54663 _ACEOF
54664 rm -f conftest.$ac_objext conftest$ac_exeext
54665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54666 (eval $ac_link) 2>&5
54667 ac_status=$?
54668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54669 (exit $ac_status); } &&
54670 { ac_try='test -s conftest$ac_exeext'
54671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54672 (eval $ac_try) 2>&5
54673 ac_status=$?
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); }; }; then
54676 eval "$as_ac_var=yes"
54677 else
54678 echo "$as_me: failed program was:" >&5
54679 sed 's/^/| /' conftest.$ac_ext >&5
54681 eval "$as_ac_var=no"
54683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54687 if test `eval echo '${'$as_ac_var'}'` = yes; then
54688 cat >>confdefs.h <<_ACEOF
54689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54690 _ACEOF
54693 done
54700 echo "$as_me:$LINENO: checking for finitef declaration" >&5
54701 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
54702 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54703 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
54704 echo $ECHO_N "(cached) $ECHO_C" >&6
54705 else
54709 ac_ext=cc
54710 ac_cpp='$CXXCPP $CPPFLAGS'
54711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54715 cat >conftest.$ac_ext <<_ACEOF
54716 #line $LINENO "configure"
54717 /* confdefs.h. */
54718 _ACEOF
54719 cat confdefs.h >>conftest.$ac_ext
54720 cat >>conftest.$ac_ext <<_ACEOF
54721 /* end confdefs.h. */
54722 #include <math.h>
54723 #ifdef HAVE_IEEEFP_H
54724 #include <ieeefp.h>
54725 #endif
54728 main ()
54730 finitef(0);
54732 return 0;
54734 _ACEOF
54735 rm -f conftest.$ac_objext
54736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54737 (eval $ac_compile) 2>&5
54738 ac_status=$?
54739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54740 (exit $ac_status); } &&
54741 { ac_try='test -s conftest.$ac_objext'
54742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54743 (eval $ac_try) 2>&5
54744 ac_status=$?
54745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746 (exit $ac_status); }; }; then
54747 glibcxx_cv_func_finitef_use=yes
54748 else
54749 echo "$as_me: failed program was:" >&5
54750 sed 's/^/| /' conftest.$ac_ext >&5
54752 glibcxx_cv_func_finitef_use=no
54754 rm -f conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
54766 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
54768 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54770 for ac_func in finitef
54772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54773 echo "$as_me:$LINENO: checking for $ac_func" >&5
54774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54775 if eval "test \"\${$as_ac_var+set}\" = set"; then
54776 echo $ECHO_N "(cached) $ECHO_C" >&6
54777 else
54778 if test x$gcc_no_link = xyes; then
54779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54781 { (exit 1); exit 1; }; }
54783 cat >conftest.$ac_ext <<_ACEOF
54784 #line $LINENO "configure"
54785 /* confdefs.h. */
54786 _ACEOF
54787 cat confdefs.h >>conftest.$ac_ext
54788 cat >>conftest.$ac_ext <<_ACEOF
54789 /* end confdefs.h. */
54790 /* System header to define __stub macros and hopefully few prototypes,
54791 which can conflict with char $ac_func (); below.
54792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54793 <limits.h> exists even on freestanding compilers. */
54794 #ifdef __STDC__
54795 # include <limits.h>
54796 #else
54797 # include <assert.h>
54798 #endif
54799 /* Override any gcc2 internal prototype to avoid an error. */
54800 #ifdef __cplusplus
54801 extern "C"
54803 #endif
54804 /* We use char because int might match the return type of a gcc2
54805 builtin and then its argument prototype would still apply. */
54806 char $ac_func ();
54807 /* The GNU C library defines this for functions which it implements
54808 to always fail with ENOSYS. Some functions are actually named
54809 something starting with __ and the normal name is an alias. */
54810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54811 choke me
54812 #else
54813 char (*f) () = $ac_func;
54814 #endif
54815 #ifdef __cplusplus
54817 #endif
54820 main ()
54822 return f != $ac_func;
54824 return 0;
54826 _ACEOF
54827 rm -f conftest.$ac_objext conftest$ac_exeext
54828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54829 (eval $ac_link) 2>&5
54830 ac_status=$?
54831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832 (exit $ac_status); } &&
54833 { ac_try='test -s conftest$ac_exeext'
54834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54835 (eval $ac_try) 2>&5
54836 ac_status=$?
54837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838 (exit $ac_status); }; }; then
54839 eval "$as_ac_var=yes"
54840 else
54841 echo "$as_me: failed program was:" >&5
54842 sed 's/^/| /' conftest.$ac_ext >&5
54844 eval "$as_ac_var=no"
54846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54850 if test `eval echo '${'$as_ac_var'}'` = yes; then
54851 cat >>confdefs.h <<_ACEOF
54852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54853 _ACEOF
54856 done
54858 else
54860 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54861 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54862 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54863 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54864 echo $ECHO_N "(cached) $ECHO_C" >&6
54865 else
54869 ac_ext=cc
54870 ac_cpp='$CXXCPP $CPPFLAGS'
54871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54875 cat >conftest.$ac_ext <<_ACEOF
54876 #line $LINENO "configure"
54877 /* confdefs.h. */
54878 _ACEOF
54879 cat confdefs.h >>conftest.$ac_ext
54880 cat >>conftest.$ac_ext <<_ACEOF
54881 /* end confdefs.h. */
54882 #include <math.h>
54883 #ifdef HAVE_IEEEFP_H
54884 #include <ieeefp.h>
54885 #endif
54888 main ()
54890 _finitef(0);
54892 return 0;
54894 _ACEOF
54895 rm -f conftest.$ac_objext
54896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54897 (eval $ac_compile) 2>&5
54898 ac_status=$?
54899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54900 (exit $ac_status); } &&
54901 { ac_try='test -s conftest.$ac_objext'
54902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54903 (eval $ac_try) 2>&5
54904 ac_status=$?
54905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54906 (exit $ac_status); }; }; then
54907 glibcxx_cv_func__finitef_use=yes
54908 else
54909 echo "$as_me: failed program was:" >&5
54910 sed 's/^/| /' conftest.$ac_ext >&5
54912 glibcxx_cv_func__finitef_use=no
54914 rm -f conftest.$ac_objext conftest.$ac_ext
54915 ac_ext=c
54916 ac_cpp='$CPP $CPPFLAGS'
54917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54926 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54928 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54930 for ac_func in _finitef
54932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54933 echo "$as_me:$LINENO: checking for $ac_func" >&5
54934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54935 if eval "test \"\${$as_ac_var+set}\" = set"; then
54936 echo $ECHO_N "(cached) $ECHO_C" >&6
54937 else
54938 if test x$gcc_no_link = xyes; then
54939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54941 { (exit 1); exit 1; }; }
54943 cat >conftest.$ac_ext <<_ACEOF
54944 #line $LINENO "configure"
54945 /* confdefs.h. */
54946 _ACEOF
54947 cat confdefs.h >>conftest.$ac_ext
54948 cat >>conftest.$ac_ext <<_ACEOF
54949 /* end confdefs.h. */
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. */
54954 #ifdef __STDC__
54955 # include <limits.h>
54956 #else
54957 # include <assert.h>
54958 #endif
54959 /* Override any gcc2 internal prototype to avoid an error. */
54960 #ifdef __cplusplus
54961 extern "C"
54963 #endif
54964 /* We use char because int might match the return type of a gcc2
54965 builtin and then its argument prototype would still apply. */
54966 char $ac_func ();
54967 /* The GNU C library defines this for functions which it implements
54968 to always fail with ENOSYS. Some functions are actually named
54969 something starting with __ and the normal name is an alias. */
54970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54971 choke me
54972 #else
54973 char (*f) () = $ac_func;
54974 #endif
54975 #ifdef __cplusplus
54977 #endif
54980 main ()
54982 return f != $ac_func;
54984 return 0;
54986 _ACEOF
54987 rm -f conftest.$ac_objext conftest$ac_exeext
54988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54989 (eval $ac_link) 2>&5
54990 ac_status=$?
54991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992 (exit $ac_status); } &&
54993 { ac_try='test -s conftest$ac_exeext'
54994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54995 (eval $ac_try) 2>&5
54996 ac_status=$?
54997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998 (exit $ac_status); }; }; then
54999 eval "$as_ac_var=yes"
55000 else
55001 echo "$as_me: failed program was:" >&5
55002 sed 's/^/| /' conftest.$ac_ext >&5
55004 eval "$as_ac_var=no"
55006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55010 if test `eval echo '${'$as_ac_var'}'` = yes; then
55011 cat >>confdefs.h <<_ACEOF
55012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55013 _ACEOF
55016 done
55023 echo "$as_me:$LINENO: checking for long double trig functions" >&5
55024 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
55025 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
55026 echo $ECHO_N "(cached) $ECHO_C" >&6
55027 else
55031 ac_ext=cc
55032 ac_cpp='$CXXCPP $CPPFLAGS'
55033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037 cat >conftest.$ac_ext <<_ACEOF
55038 #line $LINENO "configure"
55039 /* confdefs.h. */
55040 _ACEOF
55041 cat confdefs.h >>conftest.$ac_ext
55042 cat >>conftest.$ac_ext <<_ACEOF
55043 /* end confdefs.h. */
55044 #include <math.h>
55046 main ()
55048 `for x in acosl asinl atanl \
55049 cosl sinl tanl \
55050 coshl sinhl tanhl; do echo "$x (0);"; done`
55052 return 0;
55054 _ACEOF
55055 rm -f conftest.$ac_objext
55056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55057 (eval $ac_compile) 2>&5
55058 ac_status=$?
55059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55060 (exit $ac_status); } &&
55061 { ac_try='test -s conftest.$ac_objext'
55062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55063 (eval $ac_try) 2>&5
55064 ac_status=$?
55065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55066 (exit $ac_status); }; }; then
55067 glibcxx_cv_func_long_double_trig_use=yes
55068 else
55069 echo "$as_me: failed program was:" >&5
55070 sed 's/^/| /' conftest.$ac_ext >&5
55072 glibcxx_cv_func_long_double_trig_use=no
55074 rm -f conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
55084 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
55085 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55095 for ac_func in acosl asinl atanl \
55096 cosl sinl tanl \
55097 coshl sinhl tanhl
55099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55100 echo "$as_me:$LINENO: checking for $ac_func" >&5
55101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55102 if eval "test \"\${$as_ac_var+set}\" = set"; then
55103 echo $ECHO_N "(cached) $ECHO_C" >&6
55104 else
55105 if test x$gcc_no_link = xyes; then
55106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55108 { (exit 1); exit 1; }; }
55110 cat >conftest.$ac_ext <<_ACEOF
55111 #line $LINENO "configure"
55112 /* confdefs.h. */
55113 _ACEOF
55114 cat confdefs.h >>conftest.$ac_ext
55115 cat >>conftest.$ac_ext <<_ACEOF
55116 /* end confdefs.h. */
55117 /* System header to define __stub macros and hopefully few prototypes,
55118 which can conflict with char $ac_func (); below.
55119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55120 <limits.h> exists even on freestanding compilers. */
55121 #ifdef __STDC__
55122 # include <limits.h>
55123 #else
55124 # include <assert.h>
55125 #endif
55126 /* Override any gcc2 internal prototype to avoid an error. */
55127 #ifdef __cplusplus
55128 extern "C"
55130 #endif
55131 /* We use char because int might match the return type of a gcc2
55132 builtin and then its argument prototype would still apply. */
55133 char $ac_func ();
55134 /* The GNU C library defines this for functions which it implements
55135 to always fail with ENOSYS. Some functions are actually named
55136 something starting with __ and the normal name is an alias. */
55137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55138 choke me
55139 #else
55140 char (*f) () = $ac_func;
55141 #endif
55142 #ifdef __cplusplus
55144 #endif
55147 main ()
55149 return f != $ac_func;
55151 return 0;
55153 _ACEOF
55154 rm -f conftest.$ac_objext conftest$ac_exeext
55155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55156 (eval $ac_link) 2>&5
55157 ac_status=$?
55158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55159 (exit $ac_status); } &&
55160 { ac_try='test -s conftest$ac_exeext'
55161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55162 (eval $ac_try) 2>&5
55163 ac_status=$?
55164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55165 (exit $ac_status); }; }; then
55166 eval "$as_ac_var=yes"
55167 else
55168 echo "$as_me: failed program was:" >&5
55169 sed 's/^/| /' conftest.$ac_ext >&5
55171 eval "$as_ac_var=no"
55173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55177 if test `eval echo '${'$as_ac_var'}'` = yes; then
55178 cat >>confdefs.h <<_ACEOF
55179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55180 _ACEOF
55183 done
55188 echo "$as_me:$LINENO: checking for long double round functions" >&5
55189 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
55190 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
55191 echo $ECHO_N "(cached) $ECHO_C" >&6
55192 else
55196 ac_ext=cc
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55202 cat >conftest.$ac_ext <<_ACEOF
55203 #line $LINENO "configure"
55204 /* confdefs.h. */
55205 _ACEOF
55206 cat confdefs.h >>conftest.$ac_ext
55207 cat >>conftest.$ac_ext <<_ACEOF
55208 /* end confdefs.h. */
55209 #include <math.h>
55211 main ()
55213 `for x in ceill floorl; do echo "$x (0);"; done`
55215 return 0;
55217 _ACEOF
55218 rm -f conftest.$ac_objext
55219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55220 (eval $ac_compile) 2>&5
55221 ac_status=$?
55222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55223 (exit $ac_status); } &&
55224 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
55230 glibcxx_cv_func_long_double_round_use=yes
55231 else
55232 echo "$as_me: failed program was:" >&5
55233 sed 's/^/| /' conftest.$ac_ext >&5
55235 glibcxx_cv_func_long_double_round_use=no
55237 rm -f conftest.$ac_objext conftest.$ac_ext
55238 ac_ext=c
55239 ac_cpp='$CPP $CPPFLAGS'
55240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
55247 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
55248 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55251 for ac_func in ceill floorl
55253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55254 echo "$as_me:$LINENO: checking for $ac_func" >&5
55255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55256 if eval "test \"\${$as_ac_var+set}\" = set"; then
55257 echo $ECHO_N "(cached) $ECHO_C" >&6
55258 else
55259 if test x$gcc_no_link = xyes; then
55260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55262 { (exit 1); exit 1; }; }
55264 cat >conftest.$ac_ext <<_ACEOF
55265 #line $LINENO "configure"
55266 /* confdefs.h. */
55267 _ACEOF
55268 cat confdefs.h >>conftest.$ac_ext
55269 cat >>conftest.$ac_ext <<_ACEOF
55270 /* end confdefs.h. */
55271 /* System header to define __stub macros and hopefully few prototypes,
55272 which can conflict with char $ac_func (); below.
55273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55274 <limits.h> exists even on freestanding compilers. */
55275 #ifdef __STDC__
55276 # include <limits.h>
55277 #else
55278 # include <assert.h>
55279 #endif
55280 /* Override any gcc2 internal prototype to avoid an error. */
55281 #ifdef __cplusplus
55282 extern "C"
55284 #endif
55285 /* We use char because int might match the return type of a gcc2
55286 builtin and then its argument prototype would still apply. */
55287 char $ac_func ();
55288 /* The GNU C library defines this for functions which it implements
55289 to always fail with ENOSYS. Some functions are actually named
55290 something starting with __ and the normal name is an alias. */
55291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55292 choke me
55293 #else
55294 char (*f) () = $ac_func;
55295 #endif
55296 #ifdef __cplusplus
55298 #endif
55301 main ()
55303 return f != $ac_func;
55305 return 0;
55307 _ACEOF
55308 rm -f conftest.$ac_objext conftest$ac_exeext
55309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55310 (eval $ac_link) 2>&5
55311 ac_status=$?
55312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55313 (exit $ac_status); } &&
55314 { ac_try='test -s conftest$ac_exeext'
55315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55316 (eval $ac_try) 2>&5
55317 ac_status=$?
55318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55319 (exit $ac_status); }; }; then
55320 eval "$as_ac_var=yes"
55321 else
55322 echo "$as_me: failed program was:" >&5
55323 sed 's/^/| /' conftest.$ac_ext >&5
55325 eval "$as_ac_var=no"
55327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55331 if test `eval echo '${'$as_ac_var'}'` = yes; then
55332 cat >>confdefs.h <<_ACEOF
55333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55334 _ACEOF
55337 done
55343 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55344 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55345 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55346 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55347 echo $ECHO_N "(cached) $ECHO_C" >&6
55348 else
55352 ac_ext=cc
55353 ac_cpp='$CXXCPP $CPPFLAGS'
55354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55358 cat >conftest.$ac_ext <<_ACEOF
55359 #line $LINENO "configure"
55360 /* confdefs.h. */
55361 _ACEOF
55362 cat confdefs.h >>conftest.$ac_ext
55363 cat >>conftest.$ac_ext <<_ACEOF
55364 /* end confdefs.h. */
55365 #include <math.h>
55366 #ifdef HAVE_IEEEFP_H
55367 #include <ieeefp.h>
55368 #endif
55371 main ()
55373 isnanl(0);
55375 return 0;
55377 _ACEOF
55378 rm -f conftest.$ac_objext
55379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55380 (eval $ac_compile) 2>&5
55381 ac_status=$?
55382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55383 (exit $ac_status); } &&
55384 { ac_try='test -s conftest.$ac_objext'
55385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55386 (eval $ac_try) 2>&5
55387 ac_status=$?
55388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55389 (exit $ac_status); }; }; then
55390 glibcxx_cv_func_isnanl_use=yes
55391 else
55392 echo "$as_me: failed program was:" >&5
55393 sed 's/^/| /' conftest.$ac_ext >&5
55395 glibcxx_cv_func_isnanl_use=no
55397 rm -f conftest.$ac_objext conftest.$ac_ext
55398 ac_ext=c
55399 ac_cpp='$CPP $CPPFLAGS'
55400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55409 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55411 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55413 for ac_func in isnanl
55415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55416 echo "$as_me:$LINENO: checking for $ac_func" >&5
55417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55418 if eval "test \"\${$as_ac_var+set}\" = set"; then
55419 echo $ECHO_N "(cached) $ECHO_C" >&6
55420 else
55421 if test x$gcc_no_link = xyes; then
55422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55424 { (exit 1); exit 1; }; }
55426 cat >conftest.$ac_ext <<_ACEOF
55427 #line $LINENO "configure"
55428 /* confdefs.h. */
55429 _ACEOF
55430 cat confdefs.h >>conftest.$ac_ext
55431 cat >>conftest.$ac_ext <<_ACEOF
55432 /* end confdefs.h. */
55433 /* System header to define __stub macros and hopefully few prototypes,
55434 which can conflict with char $ac_func (); below.
55435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55436 <limits.h> exists even on freestanding compilers. */
55437 #ifdef __STDC__
55438 # include <limits.h>
55439 #else
55440 # include <assert.h>
55441 #endif
55442 /* Override any gcc2 internal prototype to avoid an error. */
55443 #ifdef __cplusplus
55444 extern "C"
55446 #endif
55447 /* We use char because int might match the return type of a gcc2
55448 builtin and then its argument prototype would still apply. */
55449 char $ac_func ();
55450 /* The GNU C library defines this for functions which it implements
55451 to always fail with ENOSYS. Some functions are actually named
55452 something starting with __ and the normal name is an alias. */
55453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55454 choke me
55455 #else
55456 char (*f) () = $ac_func;
55457 #endif
55458 #ifdef __cplusplus
55460 #endif
55463 main ()
55465 return f != $ac_func;
55467 return 0;
55469 _ACEOF
55470 rm -f conftest.$ac_objext conftest$ac_exeext
55471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55472 (eval $ac_link) 2>&5
55473 ac_status=$?
55474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55475 (exit $ac_status); } &&
55476 { ac_try='test -s conftest$ac_exeext'
55477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55478 (eval $ac_try) 2>&5
55479 ac_status=$?
55480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481 (exit $ac_status); }; }; then
55482 eval "$as_ac_var=yes"
55483 else
55484 echo "$as_me: failed program was:" >&5
55485 sed 's/^/| /' conftest.$ac_ext >&5
55487 eval "$as_ac_var=no"
55489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55493 if test `eval echo '${'$as_ac_var'}'` = yes; then
55494 cat >>confdefs.h <<_ACEOF
55495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55496 _ACEOF
55499 done
55501 else
55503 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55504 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55505 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55506 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55507 echo $ECHO_N "(cached) $ECHO_C" >&6
55508 else
55512 ac_ext=cc
55513 ac_cpp='$CXXCPP $CPPFLAGS'
55514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55518 cat >conftest.$ac_ext <<_ACEOF
55519 #line $LINENO "configure"
55520 /* confdefs.h. */
55521 _ACEOF
55522 cat confdefs.h >>conftest.$ac_ext
55523 cat >>conftest.$ac_ext <<_ACEOF
55524 /* end confdefs.h. */
55525 #include <math.h>
55526 #ifdef HAVE_IEEEFP_H
55527 #include <ieeefp.h>
55528 #endif
55531 main ()
55533 _isnanl(0);
55535 return 0;
55537 _ACEOF
55538 rm -f conftest.$ac_objext
55539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55540 (eval $ac_compile) 2>&5
55541 ac_status=$?
55542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55543 (exit $ac_status); } &&
55544 { ac_try='test -s conftest.$ac_objext'
55545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55546 (eval $ac_try) 2>&5
55547 ac_status=$?
55548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55549 (exit $ac_status); }; }; then
55550 glibcxx_cv_func__isnanl_use=yes
55551 else
55552 echo "$as_me: failed program was:" >&5
55553 sed 's/^/| /' conftest.$ac_ext >&5
55555 glibcxx_cv_func__isnanl_use=no
55557 rm -f conftest.$ac_objext conftest.$ac_ext
55558 ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55569 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55571 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55573 for ac_func in _isnanl
55575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55576 echo "$as_me:$LINENO: checking for $ac_func" >&5
55577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55578 if eval "test \"\${$as_ac_var+set}\" = set"; then
55579 echo $ECHO_N "(cached) $ECHO_C" >&6
55580 else
55581 if test x$gcc_no_link = xyes; then
55582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55584 { (exit 1); exit 1; }; }
55586 cat >conftest.$ac_ext <<_ACEOF
55587 #line $LINENO "configure"
55588 /* confdefs.h. */
55589 _ACEOF
55590 cat confdefs.h >>conftest.$ac_ext
55591 cat >>conftest.$ac_ext <<_ACEOF
55592 /* end confdefs.h. */
55593 /* System header to define __stub macros and hopefully few prototypes,
55594 which can conflict with char $ac_func (); below.
55595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55596 <limits.h> exists even on freestanding compilers. */
55597 #ifdef __STDC__
55598 # include <limits.h>
55599 #else
55600 # include <assert.h>
55601 #endif
55602 /* Override any gcc2 internal prototype to avoid an error. */
55603 #ifdef __cplusplus
55604 extern "C"
55606 #endif
55607 /* We use char because int might match the return type of a gcc2
55608 builtin and then its argument prototype would still apply. */
55609 char $ac_func ();
55610 /* The GNU C library defines this for functions which it implements
55611 to always fail with ENOSYS. Some functions are actually named
55612 something starting with __ and the normal name is an alias. */
55613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55614 choke me
55615 #else
55616 char (*f) () = $ac_func;
55617 #endif
55618 #ifdef __cplusplus
55620 #endif
55623 main ()
55625 return f != $ac_func;
55627 return 0;
55629 _ACEOF
55630 rm -f conftest.$ac_objext conftest$ac_exeext
55631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55632 (eval $ac_link) 2>&5
55633 ac_status=$?
55634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55635 (exit $ac_status); } &&
55636 { ac_try='test -s conftest$ac_exeext'
55637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55638 (eval $ac_try) 2>&5
55639 ac_status=$?
55640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55641 (exit $ac_status); }; }; then
55642 eval "$as_ac_var=yes"
55643 else
55644 echo "$as_me: failed program was:" >&5
55645 sed 's/^/| /' conftest.$ac_ext >&5
55647 eval "$as_ac_var=no"
55649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55653 if test `eval echo '${'$as_ac_var'}'` = yes; then
55654 cat >>confdefs.h <<_ACEOF
55655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55656 _ACEOF
55659 done
55666 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55667 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55668 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55669 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55670 echo $ECHO_N "(cached) $ECHO_C" >&6
55671 else
55675 ac_ext=cc
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681 cat >conftest.$ac_ext <<_ACEOF
55682 #line $LINENO "configure"
55683 /* confdefs.h. */
55684 _ACEOF
55685 cat confdefs.h >>conftest.$ac_ext
55686 cat >>conftest.$ac_ext <<_ACEOF
55687 /* end confdefs.h. */
55688 #include <math.h>
55689 #ifdef HAVE_IEEEFP_H
55690 #include <ieeefp.h>
55691 #endif
55694 main ()
55696 isinfl(0);
55698 return 0;
55700 _ACEOF
55701 rm -f conftest.$ac_objext
55702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55703 (eval $ac_compile) 2>&5
55704 ac_status=$?
55705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706 (exit $ac_status); } &&
55707 { ac_try='test -s conftest.$ac_objext'
55708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55709 (eval $ac_try) 2>&5
55710 ac_status=$?
55711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55712 (exit $ac_status); }; }; then
55713 glibcxx_cv_func_isinfl_use=yes
55714 else
55715 echo "$as_me: failed program was:" >&5
55716 sed 's/^/| /' conftest.$ac_ext >&5
55718 glibcxx_cv_func_isinfl_use=no
55720 rm -f conftest.$ac_objext conftest.$ac_ext
55721 ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55732 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55734 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55736 for ac_func in isinfl
55738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55739 echo "$as_me:$LINENO: checking for $ac_func" >&5
55740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55741 if eval "test \"\${$as_ac_var+set}\" = set"; then
55742 echo $ECHO_N "(cached) $ECHO_C" >&6
55743 else
55744 if test x$gcc_no_link = xyes; then
55745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55747 { (exit 1); exit 1; }; }
55749 cat >conftest.$ac_ext <<_ACEOF
55750 #line $LINENO "configure"
55751 /* confdefs.h. */
55752 _ACEOF
55753 cat confdefs.h >>conftest.$ac_ext
55754 cat >>conftest.$ac_ext <<_ACEOF
55755 /* end confdefs.h. */
55756 /* System header to define __stub macros and hopefully few prototypes,
55757 which can conflict with char $ac_func (); below.
55758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55759 <limits.h> exists even on freestanding compilers. */
55760 #ifdef __STDC__
55761 # include <limits.h>
55762 #else
55763 # include <assert.h>
55764 #endif
55765 /* Override any gcc2 internal prototype to avoid an error. */
55766 #ifdef __cplusplus
55767 extern "C"
55769 #endif
55770 /* We use char because int might match the return type of a gcc2
55771 builtin and then its argument prototype would still apply. */
55772 char $ac_func ();
55773 /* The GNU C library defines this for functions which it implements
55774 to always fail with ENOSYS. Some functions are actually named
55775 something starting with __ and the normal name is an alias. */
55776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55777 choke me
55778 #else
55779 char (*f) () = $ac_func;
55780 #endif
55781 #ifdef __cplusplus
55783 #endif
55786 main ()
55788 return f != $ac_func;
55790 return 0;
55792 _ACEOF
55793 rm -f conftest.$ac_objext conftest$ac_exeext
55794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55795 (eval $ac_link) 2>&5
55796 ac_status=$?
55797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55798 (exit $ac_status); } &&
55799 { ac_try='test -s conftest$ac_exeext'
55800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55801 (eval $ac_try) 2>&5
55802 ac_status=$?
55803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55804 (exit $ac_status); }; }; then
55805 eval "$as_ac_var=yes"
55806 else
55807 echo "$as_me: failed program was:" >&5
55808 sed 's/^/| /' conftest.$ac_ext >&5
55810 eval "$as_ac_var=no"
55812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55816 if test `eval echo '${'$as_ac_var'}'` = yes; then
55817 cat >>confdefs.h <<_ACEOF
55818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55819 _ACEOF
55822 done
55824 else
55826 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55827 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55828 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55829 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55830 echo $ECHO_N "(cached) $ECHO_C" >&6
55831 else
55835 ac_ext=cc
55836 ac_cpp='$CXXCPP $CPPFLAGS'
55837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55841 cat >conftest.$ac_ext <<_ACEOF
55842 #line $LINENO "configure"
55843 /* confdefs.h. */
55844 _ACEOF
55845 cat confdefs.h >>conftest.$ac_ext
55846 cat >>conftest.$ac_ext <<_ACEOF
55847 /* end confdefs.h. */
55848 #include <math.h>
55849 #ifdef HAVE_IEEEFP_H
55850 #include <ieeefp.h>
55851 #endif
55854 main ()
55856 _isinfl(0);
55858 return 0;
55860 _ACEOF
55861 rm -f conftest.$ac_objext
55862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55863 (eval $ac_compile) 2>&5
55864 ac_status=$?
55865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55866 (exit $ac_status); } &&
55867 { ac_try='test -s conftest.$ac_objext'
55868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55869 (eval $ac_try) 2>&5
55870 ac_status=$?
55871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55872 (exit $ac_status); }; }; then
55873 glibcxx_cv_func__isinfl_use=yes
55874 else
55875 echo "$as_me: failed program was:" >&5
55876 sed 's/^/| /' conftest.$ac_ext >&5
55878 glibcxx_cv_func__isinfl_use=no
55880 rm -f conftest.$ac_objext conftest.$ac_ext
55881 ac_ext=c
55882 ac_cpp='$CPP $CPPFLAGS'
55883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55892 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55894 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55896 for ac_func in _isinfl
55898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55899 echo "$as_me:$LINENO: checking for $ac_func" >&5
55900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55901 if eval "test \"\${$as_ac_var+set}\" = set"; then
55902 echo $ECHO_N "(cached) $ECHO_C" >&6
55903 else
55904 if test x$gcc_no_link = xyes; then
55905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55907 { (exit 1); exit 1; }; }
55909 cat >conftest.$ac_ext <<_ACEOF
55910 #line $LINENO "configure"
55911 /* confdefs.h. */
55912 _ACEOF
55913 cat confdefs.h >>conftest.$ac_ext
55914 cat >>conftest.$ac_ext <<_ACEOF
55915 /* end confdefs.h. */
55916 /* System header to define __stub macros and hopefully few prototypes,
55917 which can conflict with char $ac_func (); below.
55918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55919 <limits.h> exists even on freestanding compilers. */
55920 #ifdef __STDC__
55921 # include <limits.h>
55922 #else
55923 # include <assert.h>
55924 #endif
55925 /* Override any gcc2 internal prototype to avoid an error. */
55926 #ifdef __cplusplus
55927 extern "C"
55929 #endif
55930 /* We use char because int might match the return type of a gcc2
55931 builtin and then its argument prototype would still apply. */
55932 char $ac_func ();
55933 /* The GNU C library defines this for functions which it implements
55934 to always fail with ENOSYS. Some functions are actually named
55935 something starting with __ and the normal name is an alias. */
55936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55937 choke me
55938 #else
55939 char (*f) () = $ac_func;
55940 #endif
55941 #ifdef __cplusplus
55943 #endif
55946 main ()
55948 return f != $ac_func;
55950 return 0;
55952 _ACEOF
55953 rm -f conftest.$ac_objext conftest$ac_exeext
55954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55955 (eval $ac_link) 2>&5
55956 ac_status=$?
55957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55958 (exit $ac_status); } &&
55959 { ac_try='test -s conftest$ac_exeext'
55960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55961 (eval $ac_try) 2>&5
55962 ac_status=$?
55963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55964 (exit $ac_status); }; }; then
55965 eval "$as_ac_var=yes"
55966 else
55967 echo "$as_me: failed program was:" >&5
55968 sed 's/^/| /' conftest.$ac_ext >&5
55970 eval "$as_ac_var=no"
55972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55976 if test `eval echo '${'$as_ac_var'}'` = yes; then
55977 cat >>confdefs.h <<_ACEOF
55978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55979 _ACEOF
55982 done
55989 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55990 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55991 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55992 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55993 echo $ECHO_N "(cached) $ECHO_C" >&6
55994 else
55998 ac_ext=cc
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56004 cat >conftest.$ac_ext <<_ACEOF
56005 #line $LINENO "configure"
56006 /* confdefs.h. */
56007 _ACEOF
56008 cat confdefs.h >>conftest.$ac_ext
56009 cat >>conftest.$ac_ext <<_ACEOF
56010 /* end confdefs.h. */
56011 #include <math.h>
56013 main ()
56015 copysignl(0, 0);
56017 return 0;
56019 _ACEOF
56020 rm -f conftest.$ac_objext
56021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56022 (eval $ac_compile) 2>&5
56023 ac_status=$?
56024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56025 (exit $ac_status); } &&
56026 { ac_try='test -s conftest.$ac_objext'
56027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028 (eval $ac_try) 2>&5
56029 ac_status=$?
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); }; }; then
56032 glibcxx_cv_func_copysignl_use=yes
56033 else
56034 echo "$as_me: failed program was:" >&5
56035 sed 's/^/| /' conftest.$ac_ext >&5
56037 glibcxx_cv_func_copysignl_use=no
56039 rm -f conftest.$ac_objext conftest.$ac_ext
56040 ac_ext=c
56041 ac_cpp='$CPP $CPPFLAGS'
56042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
56051 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
56053 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
56055 for ac_func in copysignl
56057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058 echo "$as_me:$LINENO: checking for $ac_func" >&5
56059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56060 if eval "test \"\${$as_ac_var+set}\" = set"; then
56061 echo $ECHO_N "(cached) $ECHO_C" >&6
56062 else
56063 if test x$gcc_no_link = xyes; then
56064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56066 { (exit 1); exit 1; }; }
56068 cat >conftest.$ac_ext <<_ACEOF
56069 #line $LINENO "configure"
56070 /* confdefs.h. */
56071 _ACEOF
56072 cat confdefs.h >>conftest.$ac_ext
56073 cat >>conftest.$ac_ext <<_ACEOF
56074 /* end confdefs.h. */
56075 /* System header to define __stub macros and hopefully few prototypes,
56076 which can conflict with char $ac_func (); below.
56077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56078 <limits.h> exists even on freestanding compilers. */
56079 #ifdef __STDC__
56080 # include <limits.h>
56081 #else
56082 # include <assert.h>
56083 #endif
56084 /* Override any gcc2 internal prototype to avoid an error. */
56085 #ifdef __cplusplus
56086 extern "C"
56088 #endif
56089 /* We use char because int might match the return type of a gcc2
56090 builtin and then its argument prototype would still apply. */
56091 char $ac_func ();
56092 /* The GNU C library defines this for functions which it implements
56093 to always fail with ENOSYS. Some functions are actually named
56094 something starting with __ and the normal name is an alias. */
56095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56096 choke me
56097 #else
56098 char (*f) () = $ac_func;
56099 #endif
56100 #ifdef __cplusplus
56102 #endif
56105 main ()
56107 return f != $ac_func;
56109 return 0;
56111 _ACEOF
56112 rm -f conftest.$ac_objext conftest$ac_exeext
56113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56114 (eval $ac_link) 2>&5
56115 ac_status=$?
56116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56117 (exit $ac_status); } &&
56118 { ac_try='test -s conftest$ac_exeext'
56119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56120 (eval $ac_try) 2>&5
56121 ac_status=$?
56122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123 (exit $ac_status); }; }; then
56124 eval "$as_ac_var=yes"
56125 else
56126 echo "$as_me: failed program was:" >&5
56127 sed 's/^/| /' conftest.$ac_ext >&5
56129 eval "$as_ac_var=no"
56131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56135 if test `eval echo '${'$as_ac_var'}'` = yes; then
56136 cat >>confdefs.h <<_ACEOF
56137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56138 _ACEOF
56141 done
56143 else
56145 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
56146 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
56147 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
56148 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
56149 echo $ECHO_N "(cached) $ECHO_C" >&6
56150 else
56154 ac_ext=cc
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56160 cat >conftest.$ac_ext <<_ACEOF
56161 #line $LINENO "configure"
56162 /* confdefs.h. */
56163 _ACEOF
56164 cat confdefs.h >>conftest.$ac_ext
56165 cat >>conftest.$ac_ext <<_ACEOF
56166 /* end confdefs.h. */
56167 #include <math.h>
56169 main ()
56171 _copysignl(0, 0);
56173 return 0;
56175 _ACEOF
56176 rm -f conftest.$ac_objext
56177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56178 (eval $ac_compile) 2>&5
56179 ac_status=$?
56180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56181 (exit $ac_status); } &&
56182 { ac_try='test -s conftest.$ac_objext'
56183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56184 (eval $ac_try) 2>&5
56185 ac_status=$?
56186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56187 (exit $ac_status); }; }; then
56188 glibcxx_cv_func__copysignl_use=yes
56189 else
56190 echo "$as_me: failed program was:" >&5
56191 sed 's/^/| /' conftest.$ac_ext >&5
56193 glibcxx_cv_func__copysignl_use=no
56195 rm -f conftest.$ac_objext conftest.$ac_ext
56196 ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56207 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56209 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56211 for ac_func in _copysignl
56213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56214 echo "$as_me:$LINENO: checking for $ac_func" >&5
56215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56216 if eval "test \"\${$as_ac_var+set}\" = set"; then
56217 echo $ECHO_N "(cached) $ECHO_C" >&6
56218 else
56219 if test x$gcc_no_link = xyes; then
56220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56222 { (exit 1); exit 1; }; }
56224 cat >conftest.$ac_ext <<_ACEOF
56225 #line $LINENO "configure"
56226 /* confdefs.h. */
56227 _ACEOF
56228 cat confdefs.h >>conftest.$ac_ext
56229 cat >>conftest.$ac_ext <<_ACEOF
56230 /* end confdefs.h. */
56231 /* System header to define __stub macros and hopefully few prototypes,
56232 which can conflict with char $ac_func (); below.
56233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56234 <limits.h> exists even on freestanding compilers. */
56235 #ifdef __STDC__
56236 # include <limits.h>
56237 #else
56238 # include <assert.h>
56239 #endif
56240 /* Override any gcc2 internal prototype to avoid an error. */
56241 #ifdef __cplusplus
56242 extern "C"
56244 #endif
56245 /* We use char because int might match the return type of a gcc2
56246 builtin and then its argument prototype would still apply. */
56247 char $ac_func ();
56248 /* The GNU C library defines this for functions which it implements
56249 to always fail with ENOSYS. Some functions are actually named
56250 something starting with __ and the normal name is an alias. */
56251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56252 choke me
56253 #else
56254 char (*f) () = $ac_func;
56255 #endif
56256 #ifdef __cplusplus
56258 #endif
56261 main ()
56263 return f != $ac_func;
56265 return 0;
56267 _ACEOF
56268 rm -f conftest.$ac_objext conftest$ac_exeext
56269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56270 (eval $ac_link) 2>&5
56271 ac_status=$?
56272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56273 (exit $ac_status); } &&
56274 { ac_try='test -s conftest$ac_exeext'
56275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56276 (eval $ac_try) 2>&5
56277 ac_status=$?
56278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279 (exit $ac_status); }; }; then
56280 eval "$as_ac_var=yes"
56281 else
56282 echo "$as_me: failed program was:" >&5
56283 sed 's/^/| /' conftest.$ac_ext >&5
56285 eval "$as_ac_var=no"
56287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56291 if test `eval echo '${'$as_ac_var'}'` = yes; then
56292 cat >>confdefs.h <<_ACEOF
56293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56294 _ACEOF
56297 done
56304 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56305 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56306 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56307 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56308 echo $ECHO_N "(cached) $ECHO_C" >&6
56309 else
56313 ac_ext=cc
56314 ac_cpp='$CXXCPP $CPPFLAGS'
56315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56319 cat >conftest.$ac_ext <<_ACEOF
56320 #line $LINENO "configure"
56321 /* confdefs.h. */
56322 _ACEOF
56323 cat confdefs.h >>conftest.$ac_ext
56324 cat >>conftest.$ac_ext <<_ACEOF
56325 /* end confdefs.h. */
56326 #include <math.h>
56328 main ()
56330 atan2l(0, 0);
56332 return 0;
56334 _ACEOF
56335 rm -f conftest.$ac_objext
56336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56337 (eval $ac_compile) 2>&5
56338 ac_status=$?
56339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340 (exit $ac_status); } &&
56341 { ac_try='test -s conftest.$ac_objext'
56342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56343 (eval $ac_try) 2>&5
56344 ac_status=$?
56345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346 (exit $ac_status); }; }; then
56347 glibcxx_cv_func_atan2l_use=yes
56348 else
56349 echo "$as_me: failed program was:" >&5
56350 sed 's/^/| /' conftest.$ac_ext >&5
56352 glibcxx_cv_func_atan2l_use=no
56354 rm -f conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56366 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56368 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56370 for ac_func in atan2l
56372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56373 echo "$as_me:$LINENO: checking for $ac_func" >&5
56374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56375 if eval "test \"\${$as_ac_var+set}\" = set"; then
56376 echo $ECHO_N "(cached) $ECHO_C" >&6
56377 else
56378 if test x$gcc_no_link = xyes; then
56379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56381 { (exit 1); exit 1; }; }
56383 cat >conftest.$ac_ext <<_ACEOF
56384 #line $LINENO "configure"
56385 /* confdefs.h. */
56386 _ACEOF
56387 cat confdefs.h >>conftest.$ac_ext
56388 cat >>conftest.$ac_ext <<_ACEOF
56389 /* end confdefs.h. */
56390 /* System header to define __stub macros and hopefully few prototypes,
56391 which can conflict with char $ac_func (); below.
56392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56393 <limits.h> exists even on freestanding compilers. */
56394 #ifdef __STDC__
56395 # include <limits.h>
56396 #else
56397 # include <assert.h>
56398 #endif
56399 /* Override any gcc2 internal prototype to avoid an error. */
56400 #ifdef __cplusplus
56401 extern "C"
56403 #endif
56404 /* We use char because int might match the return type of a gcc2
56405 builtin and then its argument prototype would still apply. */
56406 char $ac_func ();
56407 /* The GNU C library defines this for functions which it implements
56408 to always fail with ENOSYS. Some functions are actually named
56409 something starting with __ and the normal name is an alias. */
56410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56411 choke me
56412 #else
56413 char (*f) () = $ac_func;
56414 #endif
56415 #ifdef __cplusplus
56417 #endif
56420 main ()
56422 return f != $ac_func;
56424 return 0;
56426 _ACEOF
56427 rm -f conftest.$ac_objext conftest$ac_exeext
56428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56429 (eval $ac_link) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); } &&
56433 { ac_try='test -s conftest$ac_exeext'
56434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56435 (eval $ac_try) 2>&5
56436 ac_status=$?
56437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438 (exit $ac_status); }; }; then
56439 eval "$as_ac_var=yes"
56440 else
56441 echo "$as_me: failed program was:" >&5
56442 sed 's/^/| /' conftest.$ac_ext >&5
56444 eval "$as_ac_var=no"
56446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56450 if test `eval echo '${'$as_ac_var'}'` = yes; then
56451 cat >>confdefs.h <<_ACEOF
56452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56453 _ACEOF
56456 done
56458 else
56460 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56461 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56462 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56463 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56464 echo $ECHO_N "(cached) $ECHO_C" >&6
56465 else
56469 ac_ext=cc
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56475 cat >conftest.$ac_ext <<_ACEOF
56476 #line $LINENO "configure"
56477 /* confdefs.h. */
56478 _ACEOF
56479 cat confdefs.h >>conftest.$ac_ext
56480 cat >>conftest.$ac_ext <<_ACEOF
56481 /* end confdefs.h. */
56482 #include <math.h>
56484 main ()
56486 _atan2l(0, 0);
56488 return 0;
56490 _ACEOF
56491 rm -f conftest.$ac_objext
56492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56493 (eval $ac_compile) 2>&5
56494 ac_status=$?
56495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496 (exit $ac_status); } &&
56497 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__atan2l_use=yes
56504 else
56505 echo "$as_me: failed program was:" >&5
56506 sed 's/^/| /' conftest.$ac_ext >&5
56508 glibcxx_cv_func__atan2l_use=no
56510 rm -f conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56522 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56524 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56526 for ac_func in _atan2l
56528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56529 echo "$as_me:$LINENO: checking for $ac_func" >&5
56530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56531 if eval "test \"\${$as_ac_var+set}\" = set"; then
56532 echo $ECHO_N "(cached) $ECHO_C" >&6
56533 else
56534 if test x$gcc_no_link = xyes; then
56535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56537 { (exit 1); exit 1; }; }
56539 cat >conftest.$ac_ext <<_ACEOF
56540 #line $LINENO "configure"
56541 /* confdefs.h. */
56542 _ACEOF
56543 cat confdefs.h >>conftest.$ac_ext
56544 cat >>conftest.$ac_ext <<_ACEOF
56545 /* end confdefs.h. */
56546 /* System header to define __stub macros and hopefully few prototypes,
56547 which can conflict with char $ac_func (); below.
56548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56549 <limits.h> exists even on freestanding compilers. */
56550 #ifdef __STDC__
56551 # include <limits.h>
56552 #else
56553 # include <assert.h>
56554 #endif
56555 /* Override any gcc2 internal prototype to avoid an error. */
56556 #ifdef __cplusplus
56557 extern "C"
56559 #endif
56560 /* We use char because int might match the return type of a gcc2
56561 builtin and then its argument prototype would still apply. */
56562 char $ac_func ();
56563 /* The GNU C library defines this for functions which it implements
56564 to always fail with ENOSYS. Some functions are actually named
56565 something starting with __ and the normal name is an alias. */
56566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56567 choke me
56568 #else
56569 char (*f) () = $ac_func;
56570 #endif
56571 #ifdef __cplusplus
56573 #endif
56576 main ()
56578 return f != $ac_func;
56580 return 0;
56582 _ACEOF
56583 rm -f conftest.$ac_objext conftest$ac_exeext
56584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56585 (eval $ac_link) 2>&5
56586 ac_status=$?
56587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56588 (exit $ac_status); } &&
56589 { ac_try='test -s conftest$ac_exeext'
56590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56591 (eval $ac_try) 2>&5
56592 ac_status=$?
56593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56594 (exit $ac_status); }; }; then
56595 eval "$as_ac_var=yes"
56596 else
56597 echo "$as_me: failed program was:" >&5
56598 sed 's/^/| /' conftest.$ac_ext >&5
56600 eval "$as_ac_var=no"
56602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56606 if test `eval echo '${'$as_ac_var'}'` = yes; then
56607 cat >>confdefs.h <<_ACEOF
56608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56609 _ACEOF
56612 done
56619 echo "$as_me:$LINENO: checking for expl declaration" >&5
56620 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56621 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56622 if test "${glibcxx_cv_func_expl_use+set}" = set; then
56623 echo $ECHO_N "(cached) $ECHO_C" >&6
56624 else
56628 ac_ext=cc
56629 ac_cpp='$CXXCPP $CPPFLAGS'
56630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56634 cat >conftest.$ac_ext <<_ACEOF
56635 #line $LINENO "configure"
56636 /* confdefs.h. */
56637 _ACEOF
56638 cat confdefs.h >>conftest.$ac_ext
56639 cat >>conftest.$ac_ext <<_ACEOF
56640 /* end confdefs.h. */
56641 #include <math.h>
56642 #ifdef HAVE_IEEEFP_H
56643 #include <ieeefp.h>
56644 #endif
56647 main ()
56649 expl(0);
56651 return 0;
56653 _ACEOF
56654 rm -f conftest.$ac_objext
56655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56656 (eval $ac_compile) 2>&5
56657 ac_status=$?
56658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659 (exit $ac_status); } &&
56660 { ac_try='test -s conftest.$ac_objext'
56661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56662 (eval $ac_try) 2>&5
56663 ac_status=$?
56664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56665 (exit $ac_status); }; }; then
56666 glibcxx_cv_func_expl_use=yes
56667 else
56668 echo "$as_me: failed program was:" >&5
56669 sed 's/^/| /' conftest.$ac_ext >&5
56671 glibcxx_cv_func_expl_use=no
56673 rm -f conftest.$ac_objext conftest.$ac_ext
56674 ac_ext=c
56675 ac_cpp='$CPP $CPPFLAGS'
56676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56685 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56687 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56689 for ac_func in expl
56691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56692 echo "$as_me:$LINENO: checking for $ac_func" >&5
56693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56694 if eval "test \"\${$as_ac_var+set}\" = set"; then
56695 echo $ECHO_N "(cached) $ECHO_C" >&6
56696 else
56697 if test x$gcc_no_link = xyes; then
56698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56700 { (exit 1); exit 1; }; }
56702 cat >conftest.$ac_ext <<_ACEOF
56703 #line $LINENO "configure"
56704 /* confdefs.h. */
56705 _ACEOF
56706 cat confdefs.h >>conftest.$ac_ext
56707 cat >>conftest.$ac_ext <<_ACEOF
56708 /* end confdefs.h. */
56709 /* System header to define __stub macros and hopefully few prototypes,
56710 which can conflict with char $ac_func (); below.
56711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56712 <limits.h> exists even on freestanding compilers. */
56713 #ifdef __STDC__
56714 # include <limits.h>
56715 #else
56716 # include <assert.h>
56717 #endif
56718 /* Override any gcc2 internal prototype to avoid an error. */
56719 #ifdef __cplusplus
56720 extern "C"
56722 #endif
56723 /* We use char because int might match the return type of a gcc2
56724 builtin and then its argument prototype would still apply. */
56725 char $ac_func ();
56726 /* The GNU C library defines this for functions which it implements
56727 to always fail with ENOSYS. Some functions are actually named
56728 something starting with __ and the normal name is an alias. */
56729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56730 choke me
56731 #else
56732 char (*f) () = $ac_func;
56733 #endif
56734 #ifdef __cplusplus
56736 #endif
56739 main ()
56741 return f != $ac_func;
56743 return 0;
56745 _ACEOF
56746 rm -f conftest.$ac_objext conftest$ac_exeext
56747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56748 (eval $ac_link) 2>&5
56749 ac_status=$?
56750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56751 (exit $ac_status); } &&
56752 { ac_try='test -s conftest$ac_exeext'
56753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56754 (eval $ac_try) 2>&5
56755 ac_status=$?
56756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757 (exit $ac_status); }; }; then
56758 eval "$as_ac_var=yes"
56759 else
56760 echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56763 eval "$as_ac_var=no"
56765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56769 if test `eval echo '${'$as_ac_var'}'` = yes; then
56770 cat >>confdefs.h <<_ACEOF
56771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56772 _ACEOF
56775 done
56777 else
56779 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56780 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56781 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56782 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56783 echo $ECHO_N "(cached) $ECHO_C" >&6
56784 else
56788 ac_ext=cc
56789 ac_cpp='$CXXCPP $CPPFLAGS'
56790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56794 cat >conftest.$ac_ext <<_ACEOF
56795 #line $LINENO "configure"
56796 /* confdefs.h. */
56797 _ACEOF
56798 cat confdefs.h >>conftest.$ac_ext
56799 cat >>conftest.$ac_ext <<_ACEOF
56800 /* end confdefs.h. */
56801 #include <math.h>
56802 #ifdef HAVE_IEEEFP_H
56803 #include <ieeefp.h>
56804 #endif
56807 main ()
56809 _expl(0);
56811 return 0;
56813 _ACEOF
56814 rm -f conftest.$ac_objext
56815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56816 (eval $ac_compile) 2>&5
56817 ac_status=$?
56818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56819 (exit $ac_status); } &&
56820 { ac_try='test -s conftest.$ac_objext'
56821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56822 (eval $ac_try) 2>&5
56823 ac_status=$?
56824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56825 (exit $ac_status); }; }; then
56826 glibcxx_cv_func__expl_use=yes
56827 else
56828 echo "$as_me: failed program was:" >&5
56829 sed 's/^/| /' conftest.$ac_ext >&5
56831 glibcxx_cv_func__expl_use=no
56833 rm -f conftest.$ac_objext conftest.$ac_ext
56834 ac_ext=c
56835 ac_cpp='$CPP $CPPFLAGS'
56836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56845 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56847 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56849 for ac_func in _expl
56851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56852 echo "$as_me:$LINENO: checking for $ac_func" >&5
56853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56854 if eval "test \"\${$as_ac_var+set}\" = set"; then
56855 echo $ECHO_N "(cached) $ECHO_C" >&6
56856 else
56857 if test x$gcc_no_link = xyes; then
56858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56860 { (exit 1); exit 1; }; }
56862 cat >conftest.$ac_ext <<_ACEOF
56863 #line $LINENO "configure"
56864 /* confdefs.h. */
56865 _ACEOF
56866 cat confdefs.h >>conftest.$ac_ext
56867 cat >>conftest.$ac_ext <<_ACEOF
56868 /* end confdefs.h. */
56869 /* System header to define __stub macros and hopefully few prototypes,
56870 which can conflict with char $ac_func (); below.
56871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56872 <limits.h> exists even on freestanding compilers. */
56873 #ifdef __STDC__
56874 # include <limits.h>
56875 #else
56876 # include <assert.h>
56877 #endif
56878 /* Override any gcc2 internal prototype to avoid an error. */
56879 #ifdef __cplusplus
56880 extern "C"
56882 #endif
56883 /* We use char because int might match the return type of a gcc2
56884 builtin and then its argument prototype would still apply. */
56885 char $ac_func ();
56886 /* The GNU C library defines this for functions which it implements
56887 to always fail with ENOSYS. Some functions are actually named
56888 something starting with __ and the normal name is an alias. */
56889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56890 choke me
56891 #else
56892 char (*f) () = $ac_func;
56893 #endif
56894 #ifdef __cplusplus
56896 #endif
56899 main ()
56901 return f != $ac_func;
56903 return 0;
56905 _ACEOF
56906 rm -f conftest.$ac_objext conftest$ac_exeext
56907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56908 (eval $ac_link) 2>&5
56909 ac_status=$?
56910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56911 (exit $ac_status); } &&
56912 { ac_try='test -s conftest$ac_exeext'
56913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56914 (eval $ac_try) 2>&5
56915 ac_status=$?
56916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56917 (exit $ac_status); }; }; then
56918 eval "$as_ac_var=yes"
56919 else
56920 echo "$as_me: failed program was:" >&5
56921 sed 's/^/| /' conftest.$ac_ext >&5
56923 eval "$as_ac_var=no"
56925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56929 if test `eval echo '${'$as_ac_var'}'` = yes; then
56930 cat >>confdefs.h <<_ACEOF
56931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56932 _ACEOF
56935 done
56942 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56943 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56944 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56945 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56946 echo $ECHO_N "(cached) $ECHO_C" >&6
56947 else
56951 ac_ext=cc
56952 ac_cpp='$CXXCPP $CPPFLAGS'
56953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56957 cat >conftest.$ac_ext <<_ACEOF
56958 #line $LINENO "configure"
56959 /* confdefs.h. */
56960 _ACEOF
56961 cat confdefs.h >>conftest.$ac_ext
56962 cat >>conftest.$ac_ext <<_ACEOF
56963 /* end confdefs.h. */
56964 #include <math.h>
56965 #ifdef HAVE_IEEEFP_H
56966 #include <ieeefp.h>
56967 #endif
56970 main ()
56972 fabsl(0);
56974 return 0;
56976 _ACEOF
56977 rm -f conftest.$ac_objext
56978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56979 (eval $ac_compile) 2>&5
56980 ac_status=$?
56981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982 (exit $ac_status); } &&
56983 { ac_try='test -s conftest.$ac_objext'
56984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56985 (eval $ac_try) 2>&5
56986 ac_status=$?
56987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56988 (exit $ac_status); }; }; then
56989 glibcxx_cv_func_fabsl_use=yes
56990 else
56991 echo "$as_me: failed program was:" >&5
56992 sed 's/^/| /' conftest.$ac_ext >&5
56994 glibcxx_cv_func_fabsl_use=no
56996 rm -f conftest.$ac_objext conftest.$ac_ext
56997 ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
57008 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
57010 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57012 for ac_func in fabsl
57014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57015 echo "$as_me:$LINENO: checking for $ac_func" >&5
57016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57017 if eval "test \"\${$as_ac_var+set}\" = set"; then
57018 echo $ECHO_N "(cached) $ECHO_C" >&6
57019 else
57020 if test x$gcc_no_link = xyes; then
57021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57023 { (exit 1); exit 1; }; }
57025 cat >conftest.$ac_ext <<_ACEOF
57026 #line $LINENO "configure"
57027 /* confdefs.h. */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h. */
57032 /* System header to define __stub macros and hopefully few prototypes,
57033 which can conflict with char $ac_func (); below.
57034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57035 <limits.h> exists even on freestanding compilers. */
57036 #ifdef __STDC__
57037 # include <limits.h>
57038 #else
57039 # include <assert.h>
57040 #endif
57041 /* Override any gcc2 internal prototype to avoid an error. */
57042 #ifdef __cplusplus
57043 extern "C"
57045 #endif
57046 /* We use char because int might match the return type of a gcc2
57047 builtin and then its argument prototype would still apply. */
57048 char $ac_func ();
57049 /* The GNU C library defines this for functions which it implements
57050 to always fail with ENOSYS. Some functions are actually named
57051 something starting with __ and the normal name is an alias. */
57052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57053 choke me
57054 #else
57055 char (*f) () = $ac_func;
57056 #endif
57057 #ifdef __cplusplus
57059 #endif
57062 main ()
57064 return f != $ac_func;
57066 return 0;
57068 _ACEOF
57069 rm -f conftest.$ac_objext conftest$ac_exeext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57071 (eval $ac_link) 2>&5
57072 ac_status=$?
57073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57074 (exit $ac_status); } &&
57075 { ac_try='test -s conftest$ac_exeext'
57076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57077 (eval $ac_try) 2>&5
57078 ac_status=$?
57079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57080 (exit $ac_status); }; }; then
57081 eval "$as_ac_var=yes"
57082 else
57083 echo "$as_me: failed program was:" >&5
57084 sed 's/^/| /' conftest.$ac_ext >&5
57086 eval "$as_ac_var=no"
57088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57092 if test `eval echo '${'$as_ac_var'}'` = yes; then
57093 cat >>confdefs.h <<_ACEOF
57094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57095 _ACEOF
57098 done
57100 else
57102 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57103 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57104 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57105 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57106 echo $ECHO_N "(cached) $ECHO_C" >&6
57107 else
57111 ac_ext=cc
57112 ac_cpp='$CXXCPP $CPPFLAGS'
57113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57117 cat >conftest.$ac_ext <<_ACEOF
57118 #line $LINENO "configure"
57119 /* confdefs.h. */
57120 _ACEOF
57121 cat confdefs.h >>conftest.$ac_ext
57122 cat >>conftest.$ac_ext <<_ACEOF
57123 /* end confdefs.h. */
57124 #include <math.h>
57125 #ifdef HAVE_IEEEFP_H
57126 #include <ieeefp.h>
57127 #endif
57130 main ()
57132 _fabsl(0);
57134 return 0;
57136 _ACEOF
57137 rm -f conftest.$ac_objext
57138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57139 (eval $ac_compile) 2>&5
57140 ac_status=$?
57141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57142 (exit $ac_status); } &&
57143 { ac_try='test -s conftest.$ac_objext'
57144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57145 (eval $ac_try) 2>&5
57146 ac_status=$?
57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148 (exit $ac_status); }; }; then
57149 glibcxx_cv_func__fabsl_use=yes
57150 else
57151 echo "$as_me: failed program was:" >&5
57152 sed 's/^/| /' conftest.$ac_ext >&5
57154 glibcxx_cv_func__fabsl_use=no
57156 rm -f conftest.$ac_objext conftest.$ac_ext
57157 ac_ext=c
57158 ac_cpp='$CPP $CPPFLAGS'
57159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57168 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57170 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57172 for ac_func in _fabsl
57174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57175 echo "$as_me:$LINENO: checking for $ac_func" >&5
57176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57177 if eval "test \"\${$as_ac_var+set}\" = set"; then
57178 echo $ECHO_N "(cached) $ECHO_C" >&6
57179 else
57180 if test x$gcc_no_link = xyes; then
57181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57183 { (exit 1); exit 1; }; }
57185 cat >conftest.$ac_ext <<_ACEOF
57186 #line $LINENO "configure"
57187 /* confdefs.h. */
57188 _ACEOF
57189 cat confdefs.h >>conftest.$ac_ext
57190 cat >>conftest.$ac_ext <<_ACEOF
57191 /* end confdefs.h. */
57192 /* System header to define __stub macros and hopefully few prototypes,
57193 which can conflict with char $ac_func (); below.
57194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57195 <limits.h> exists even on freestanding compilers. */
57196 #ifdef __STDC__
57197 # include <limits.h>
57198 #else
57199 # include <assert.h>
57200 #endif
57201 /* Override any gcc2 internal prototype to avoid an error. */
57202 #ifdef __cplusplus
57203 extern "C"
57205 #endif
57206 /* We use char because int might match the return type of a gcc2
57207 builtin and then its argument prototype would still apply. */
57208 char $ac_func ();
57209 /* The GNU C library defines this for functions which it implements
57210 to always fail with ENOSYS. Some functions are actually named
57211 something starting with __ and the normal name is an alias. */
57212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57213 choke me
57214 #else
57215 char (*f) () = $ac_func;
57216 #endif
57217 #ifdef __cplusplus
57219 #endif
57222 main ()
57224 return f != $ac_func;
57226 return 0;
57228 _ACEOF
57229 rm -f conftest.$ac_objext conftest$ac_exeext
57230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57231 (eval $ac_link) 2>&5
57232 ac_status=$?
57233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57234 (exit $ac_status); } &&
57235 { ac_try='test -s conftest$ac_exeext'
57236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57237 (eval $ac_try) 2>&5
57238 ac_status=$?
57239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57240 (exit $ac_status); }; }; then
57241 eval "$as_ac_var=yes"
57242 else
57243 echo "$as_me: failed program was:" >&5
57244 sed 's/^/| /' conftest.$ac_ext >&5
57246 eval "$as_ac_var=no"
57248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57252 if test `eval echo '${'$as_ac_var'}'` = yes; then
57253 cat >>confdefs.h <<_ACEOF
57254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57255 _ACEOF
57258 done
57265 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57266 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57267 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57268 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57269 echo $ECHO_N "(cached) $ECHO_C" >&6
57270 else
57274 ac_ext=cc
57275 ac_cpp='$CXXCPP $CPPFLAGS'
57276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57280 cat >conftest.$ac_ext <<_ACEOF
57281 #line $LINENO "configure"
57282 /* confdefs.h. */
57283 _ACEOF
57284 cat confdefs.h >>conftest.$ac_ext
57285 cat >>conftest.$ac_ext <<_ACEOF
57286 /* end confdefs.h. */
57287 #include <math.h>
57289 main ()
57291 fmodl(0, 0);
57293 return 0;
57295 _ACEOF
57296 rm -f conftest.$ac_objext
57297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57298 (eval $ac_compile) 2>&5
57299 ac_status=$?
57300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301 (exit $ac_status); } &&
57302 { ac_try='test -s conftest.$ac_objext'
57303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304 (eval $ac_try) 2>&5
57305 ac_status=$?
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); }; }; then
57308 glibcxx_cv_func_fmodl_use=yes
57309 else
57310 echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57313 glibcxx_cv_func_fmodl_use=no
57315 rm -f conftest.$ac_objext conftest.$ac_ext
57316 ac_ext=c
57317 ac_cpp='$CPP $CPPFLAGS'
57318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57327 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57329 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57331 for ac_func in fmodl
57333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57334 echo "$as_me:$LINENO: checking for $ac_func" >&5
57335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57336 if eval "test \"\${$as_ac_var+set}\" = set"; then
57337 echo $ECHO_N "(cached) $ECHO_C" >&6
57338 else
57339 if test x$gcc_no_link = xyes; then
57340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57342 { (exit 1); exit 1; }; }
57344 cat >conftest.$ac_ext <<_ACEOF
57345 #line $LINENO "configure"
57346 /* confdefs.h. */
57347 _ACEOF
57348 cat confdefs.h >>conftest.$ac_ext
57349 cat >>conftest.$ac_ext <<_ACEOF
57350 /* end confdefs.h. */
57351 /* System header to define __stub macros and hopefully few prototypes,
57352 which can conflict with char $ac_func (); below.
57353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57354 <limits.h> exists even on freestanding compilers. */
57355 #ifdef __STDC__
57356 # include <limits.h>
57357 #else
57358 # include <assert.h>
57359 #endif
57360 /* Override any gcc2 internal prototype to avoid an error. */
57361 #ifdef __cplusplus
57362 extern "C"
57364 #endif
57365 /* We use char because int might match the return type of a gcc2
57366 builtin and then its argument prototype would still apply. */
57367 char $ac_func ();
57368 /* The GNU C library defines this for functions which it implements
57369 to always fail with ENOSYS. Some functions are actually named
57370 something starting with __ and the normal name is an alias. */
57371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57372 choke me
57373 #else
57374 char (*f) () = $ac_func;
57375 #endif
57376 #ifdef __cplusplus
57378 #endif
57381 main ()
57383 return f != $ac_func;
57385 return 0;
57387 _ACEOF
57388 rm -f conftest.$ac_objext conftest$ac_exeext
57389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57390 (eval $ac_link) 2>&5
57391 ac_status=$?
57392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393 (exit $ac_status); } &&
57394 { ac_try='test -s conftest$ac_exeext'
57395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57396 (eval $ac_try) 2>&5
57397 ac_status=$?
57398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399 (exit $ac_status); }; }; then
57400 eval "$as_ac_var=yes"
57401 else
57402 echo "$as_me: failed program was:" >&5
57403 sed 's/^/| /' conftest.$ac_ext >&5
57405 eval "$as_ac_var=no"
57407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57411 if test `eval echo '${'$as_ac_var'}'` = yes; then
57412 cat >>confdefs.h <<_ACEOF
57413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57414 _ACEOF
57417 done
57419 else
57421 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57422 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57423 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57424 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57425 echo $ECHO_N "(cached) $ECHO_C" >&6
57426 else
57430 ac_ext=cc
57431 ac_cpp='$CXXCPP $CPPFLAGS'
57432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57436 cat >conftest.$ac_ext <<_ACEOF
57437 #line $LINENO "configure"
57438 /* confdefs.h. */
57439 _ACEOF
57440 cat confdefs.h >>conftest.$ac_ext
57441 cat >>conftest.$ac_ext <<_ACEOF
57442 /* end confdefs.h. */
57443 #include <math.h>
57445 main ()
57447 _fmodl(0, 0);
57449 return 0;
57451 _ACEOF
57452 rm -f conftest.$ac_objext
57453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57454 (eval $ac_compile) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); } &&
57458 { ac_try='test -s conftest.$ac_objext'
57459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57460 (eval $ac_try) 2>&5
57461 ac_status=$?
57462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57463 (exit $ac_status); }; }; then
57464 glibcxx_cv_func__fmodl_use=yes
57465 else
57466 echo "$as_me: failed program was:" >&5
57467 sed 's/^/| /' conftest.$ac_ext >&5
57469 glibcxx_cv_func__fmodl_use=no
57471 rm -f conftest.$ac_objext conftest.$ac_ext
57472 ac_ext=c
57473 ac_cpp='$CPP $CPPFLAGS'
57474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57483 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57485 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57487 for ac_func in _fmodl
57489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57490 echo "$as_me:$LINENO: checking for $ac_func" >&5
57491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57492 if eval "test \"\${$as_ac_var+set}\" = set"; then
57493 echo $ECHO_N "(cached) $ECHO_C" >&6
57494 else
57495 if test x$gcc_no_link = xyes; then
57496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57498 { (exit 1); exit 1; }; }
57500 cat >conftest.$ac_ext <<_ACEOF
57501 #line $LINENO "configure"
57502 /* confdefs.h. */
57503 _ACEOF
57504 cat confdefs.h >>conftest.$ac_ext
57505 cat >>conftest.$ac_ext <<_ACEOF
57506 /* end confdefs.h. */
57507 /* System header to define __stub macros and hopefully few prototypes,
57508 which can conflict with char $ac_func (); below.
57509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57510 <limits.h> exists even on freestanding compilers. */
57511 #ifdef __STDC__
57512 # include <limits.h>
57513 #else
57514 # include <assert.h>
57515 #endif
57516 /* Override any gcc2 internal prototype to avoid an error. */
57517 #ifdef __cplusplus
57518 extern "C"
57520 #endif
57521 /* We use char because int might match the return type of a gcc2
57522 builtin and then its argument prototype would still apply. */
57523 char $ac_func ();
57524 /* The GNU C library defines this for functions which it implements
57525 to always fail with ENOSYS. Some functions are actually named
57526 something starting with __ and the normal name is an alias. */
57527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57528 choke me
57529 #else
57530 char (*f) () = $ac_func;
57531 #endif
57532 #ifdef __cplusplus
57534 #endif
57537 main ()
57539 return f != $ac_func;
57541 return 0;
57543 _ACEOF
57544 rm -f conftest.$ac_objext conftest$ac_exeext
57545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57546 (eval $ac_link) 2>&5
57547 ac_status=$?
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); } &&
57550 { ac_try='test -s conftest$ac_exeext'
57551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57552 (eval $ac_try) 2>&5
57553 ac_status=$?
57554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57555 (exit $ac_status); }; }; then
57556 eval "$as_ac_var=yes"
57557 else
57558 echo "$as_me: failed program was:" >&5
57559 sed 's/^/| /' conftest.$ac_ext >&5
57561 eval "$as_ac_var=no"
57563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57567 if test `eval echo '${'$as_ac_var'}'` = yes; then
57568 cat >>confdefs.h <<_ACEOF
57569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57570 _ACEOF
57573 done
57580 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57581 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57582 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57583 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57584 echo $ECHO_N "(cached) $ECHO_C" >&6
57585 else
57589 ac_ext=cc
57590 ac_cpp='$CXXCPP $CPPFLAGS'
57591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57595 cat >conftest.$ac_ext <<_ACEOF
57596 #line $LINENO "configure"
57597 /* confdefs.h. */
57598 _ACEOF
57599 cat confdefs.h >>conftest.$ac_ext
57600 cat >>conftest.$ac_ext <<_ACEOF
57601 /* end confdefs.h. */
57602 #include <math.h>
57604 main ()
57606 frexpl(0, 0);
57608 return 0;
57610 _ACEOF
57611 rm -f conftest.$ac_objext
57612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57613 (eval $ac_compile) 2>&5
57614 ac_status=$?
57615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616 (exit $ac_status); } &&
57617 { ac_try='test -s conftest.$ac_objext'
57618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57619 (eval $ac_try) 2>&5
57620 ac_status=$?
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); }; }; then
57623 glibcxx_cv_func_frexpl_use=yes
57624 else
57625 echo "$as_me: failed program was:" >&5
57626 sed 's/^/| /' conftest.$ac_ext >&5
57628 glibcxx_cv_func_frexpl_use=no
57630 rm -f conftest.$ac_objext conftest.$ac_ext
57631 ac_ext=c
57632 ac_cpp='$CPP $CPPFLAGS'
57633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57642 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57644 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57646 for ac_func in frexpl
57648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57649 echo "$as_me:$LINENO: checking for $ac_func" >&5
57650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57651 if eval "test \"\${$as_ac_var+set}\" = set"; then
57652 echo $ECHO_N "(cached) $ECHO_C" >&6
57653 else
57654 if test x$gcc_no_link = xyes; then
57655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57657 { (exit 1); exit 1; }; }
57659 cat >conftest.$ac_ext <<_ACEOF
57660 #line $LINENO "configure"
57661 /* confdefs.h. */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h. */
57666 /* System header to define __stub macros and hopefully few prototypes,
57667 which can conflict with char $ac_func (); below.
57668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57669 <limits.h> exists even on freestanding compilers. */
57670 #ifdef __STDC__
57671 # include <limits.h>
57672 #else
57673 # include <assert.h>
57674 #endif
57675 /* Override any gcc2 internal prototype to avoid an error. */
57676 #ifdef __cplusplus
57677 extern "C"
57679 #endif
57680 /* We use char because int might match the return type of a gcc2
57681 builtin and then its argument prototype would still apply. */
57682 char $ac_func ();
57683 /* The GNU C library defines this for functions which it implements
57684 to always fail with ENOSYS. Some functions are actually named
57685 something starting with __ and the normal name is an alias. */
57686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57687 choke me
57688 #else
57689 char (*f) () = $ac_func;
57690 #endif
57691 #ifdef __cplusplus
57693 #endif
57696 main ()
57698 return f != $ac_func;
57700 return 0;
57702 _ACEOF
57703 rm -f conftest.$ac_objext conftest$ac_exeext
57704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57705 (eval $ac_link) 2>&5
57706 ac_status=$?
57707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708 (exit $ac_status); } &&
57709 { ac_try='test -s conftest$ac_exeext'
57710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57711 (eval $ac_try) 2>&5
57712 ac_status=$?
57713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57714 (exit $ac_status); }; }; then
57715 eval "$as_ac_var=yes"
57716 else
57717 echo "$as_me: failed program was:" >&5
57718 sed 's/^/| /' conftest.$ac_ext >&5
57720 eval "$as_ac_var=no"
57722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57726 if test `eval echo '${'$as_ac_var'}'` = yes; then
57727 cat >>confdefs.h <<_ACEOF
57728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57729 _ACEOF
57732 done
57734 else
57736 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57737 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57738 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57739 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57740 echo $ECHO_N "(cached) $ECHO_C" >&6
57741 else
57745 ac_ext=cc
57746 ac_cpp='$CXXCPP $CPPFLAGS'
57747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57751 cat >conftest.$ac_ext <<_ACEOF
57752 #line $LINENO "configure"
57753 /* confdefs.h. */
57754 _ACEOF
57755 cat confdefs.h >>conftest.$ac_ext
57756 cat >>conftest.$ac_ext <<_ACEOF
57757 /* end confdefs.h. */
57758 #include <math.h>
57760 main ()
57762 _frexpl(0, 0);
57764 return 0;
57766 _ACEOF
57767 rm -f conftest.$ac_objext
57768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57769 (eval $ac_compile) 2>&5
57770 ac_status=$?
57771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57772 (exit $ac_status); } &&
57773 { ac_try='test -s conftest.$ac_objext'
57774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57775 (eval $ac_try) 2>&5
57776 ac_status=$?
57777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57778 (exit $ac_status); }; }; then
57779 glibcxx_cv_func__frexpl_use=yes
57780 else
57781 echo "$as_me: failed program was:" >&5
57782 sed 's/^/| /' conftest.$ac_ext >&5
57784 glibcxx_cv_func__frexpl_use=no
57786 rm -f conftest.$ac_objext conftest.$ac_ext
57787 ac_ext=c
57788 ac_cpp='$CPP $CPPFLAGS'
57789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57798 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57800 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57802 for ac_func in _frexpl
57804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57805 echo "$as_me:$LINENO: checking for $ac_func" >&5
57806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57807 if eval "test \"\${$as_ac_var+set}\" = set"; then
57808 echo $ECHO_N "(cached) $ECHO_C" >&6
57809 else
57810 if test x$gcc_no_link = xyes; then
57811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57813 { (exit 1); exit 1; }; }
57815 cat >conftest.$ac_ext <<_ACEOF
57816 #line $LINENO "configure"
57817 /* confdefs.h. */
57818 _ACEOF
57819 cat confdefs.h >>conftest.$ac_ext
57820 cat >>conftest.$ac_ext <<_ACEOF
57821 /* end confdefs.h. */
57822 /* System header to define __stub macros and hopefully few prototypes,
57823 which can conflict with char $ac_func (); below.
57824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57825 <limits.h> exists even on freestanding compilers. */
57826 #ifdef __STDC__
57827 # include <limits.h>
57828 #else
57829 # include <assert.h>
57830 #endif
57831 /* Override any gcc2 internal prototype to avoid an error. */
57832 #ifdef __cplusplus
57833 extern "C"
57835 #endif
57836 /* We use char because int might match the return type of a gcc2
57837 builtin and then its argument prototype would still apply. */
57838 char $ac_func ();
57839 /* The GNU C library defines this for functions which it implements
57840 to always fail with ENOSYS. Some functions are actually named
57841 something starting with __ and the normal name is an alias. */
57842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57843 choke me
57844 #else
57845 char (*f) () = $ac_func;
57846 #endif
57847 #ifdef __cplusplus
57849 #endif
57852 main ()
57854 return f != $ac_func;
57856 return 0;
57858 _ACEOF
57859 rm -f conftest.$ac_objext conftest$ac_exeext
57860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57861 (eval $ac_link) 2>&5
57862 ac_status=$?
57863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864 (exit $ac_status); } &&
57865 { ac_try='test -s conftest$ac_exeext'
57866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57867 (eval $ac_try) 2>&5
57868 ac_status=$?
57869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57870 (exit $ac_status); }; }; then
57871 eval "$as_ac_var=yes"
57872 else
57873 echo "$as_me: failed program was:" >&5
57874 sed 's/^/| /' conftest.$ac_ext >&5
57876 eval "$as_ac_var=no"
57878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57882 if test `eval echo '${'$as_ac_var'}'` = yes; then
57883 cat >>confdefs.h <<_ACEOF
57884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57885 _ACEOF
57888 done
57895 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57896 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57897 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57898 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57899 echo $ECHO_N "(cached) $ECHO_C" >&6
57900 else
57904 ac_ext=cc
57905 ac_cpp='$CXXCPP $CPPFLAGS'
57906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57910 cat >conftest.$ac_ext <<_ACEOF
57911 #line $LINENO "configure"
57912 /* confdefs.h. */
57913 _ACEOF
57914 cat confdefs.h >>conftest.$ac_ext
57915 cat >>conftest.$ac_ext <<_ACEOF
57916 /* end confdefs.h. */
57917 #include <math.h>
57919 main ()
57921 hypotl(0, 0);
57923 return 0;
57925 _ACEOF
57926 rm -f conftest.$ac_objext
57927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57928 (eval $ac_compile) 2>&5
57929 ac_status=$?
57930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57931 (exit $ac_status); } &&
57932 { ac_try='test -s conftest.$ac_objext'
57933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57934 (eval $ac_try) 2>&5
57935 ac_status=$?
57936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57937 (exit $ac_status); }; }; then
57938 glibcxx_cv_func_hypotl_use=yes
57939 else
57940 echo "$as_me: failed program was:" >&5
57941 sed 's/^/| /' conftest.$ac_ext >&5
57943 glibcxx_cv_func_hypotl_use=no
57945 rm -f conftest.$ac_objext conftest.$ac_ext
57946 ac_ext=c
57947 ac_cpp='$CPP $CPPFLAGS'
57948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57957 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57959 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57961 for ac_func in hypotl
57963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57964 echo "$as_me:$LINENO: checking for $ac_func" >&5
57965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57966 if eval "test \"\${$as_ac_var+set}\" = set"; then
57967 echo $ECHO_N "(cached) $ECHO_C" >&6
57968 else
57969 if test x$gcc_no_link = xyes; then
57970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57972 { (exit 1); exit 1; }; }
57974 cat >conftest.$ac_ext <<_ACEOF
57975 #line $LINENO "configure"
57976 /* confdefs.h. */
57977 _ACEOF
57978 cat confdefs.h >>conftest.$ac_ext
57979 cat >>conftest.$ac_ext <<_ACEOF
57980 /* end confdefs.h. */
57981 /* System header to define __stub macros and hopefully few prototypes,
57982 which can conflict with char $ac_func (); below.
57983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57984 <limits.h> exists even on freestanding compilers. */
57985 #ifdef __STDC__
57986 # include <limits.h>
57987 #else
57988 # include <assert.h>
57989 #endif
57990 /* Override any gcc2 internal prototype to avoid an error. */
57991 #ifdef __cplusplus
57992 extern "C"
57994 #endif
57995 /* We use char because int might match the return type of a gcc2
57996 builtin and then its argument prototype would still apply. */
57997 char $ac_func ();
57998 /* The GNU C library defines this for functions which it implements
57999 to always fail with ENOSYS. Some functions are actually named
58000 something starting with __ and the normal name is an alias. */
58001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58002 choke me
58003 #else
58004 char (*f) () = $ac_func;
58005 #endif
58006 #ifdef __cplusplus
58008 #endif
58011 main ()
58013 return f != $ac_func;
58015 return 0;
58017 _ACEOF
58018 rm -f conftest.$ac_objext conftest$ac_exeext
58019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58020 (eval $ac_link) 2>&5
58021 ac_status=$?
58022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023 (exit $ac_status); } &&
58024 { ac_try='test -s conftest$ac_exeext'
58025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026 (eval $ac_try) 2>&5
58027 ac_status=$?
58028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029 (exit $ac_status); }; }; then
58030 eval "$as_ac_var=yes"
58031 else
58032 echo "$as_me: failed program was:" >&5
58033 sed 's/^/| /' conftest.$ac_ext >&5
58035 eval "$as_ac_var=no"
58037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58041 if test `eval echo '${'$as_ac_var'}'` = yes; then
58042 cat >>confdefs.h <<_ACEOF
58043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58044 _ACEOF
58047 done
58049 else
58051 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58052 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58053 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58054 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58055 echo $ECHO_N "(cached) $ECHO_C" >&6
58056 else
58060 ac_ext=cc
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066 cat >conftest.$ac_ext <<_ACEOF
58067 #line $LINENO "configure"
58068 /* confdefs.h. */
58069 _ACEOF
58070 cat confdefs.h >>conftest.$ac_ext
58071 cat >>conftest.$ac_ext <<_ACEOF
58072 /* end confdefs.h. */
58073 #include <math.h>
58075 main ()
58077 _hypotl(0, 0);
58079 return 0;
58081 _ACEOF
58082 rm -f conftest.$ac_objext
58083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58084 (eval $ac_compile) 2>&5
58085 ac_status=$?
58086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087 (exit $ac_status); } &&
58088 { ac_try='test -s conftest.$ac_objext'
58089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090 (eval $ac_try) 2>&5
58091 ac_status=$?
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); }; }; then
58094 glibcxx_cv_func__hypotl_use=yes
58095 else
58096 echo "$as_me: failed program was:" >&5
58097 sed 's/^/| /' conftest.$ac_ext >&5
58099 glibcxx_cv_func__hypotl_use=no
58101 rm -f conftest.$ac_objext conftest.$ac_ext
58102 ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58112 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58113 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58115 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58117 for ac_func in _hypotl
58119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58120 echo "$as_me:$LINENO: checking for $ac_func" >&5
58121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58122 if eval "test \"\${$as_ac_var+set}\" = set"; then
58123 echo $ECHO_N "(cached) $ECHO_C" >&6
58124 else
58125 if test x$gcc_no_link = xyes; then
58126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58128 { (exit 1); exit 1; }; }
58130 cat >conftest.$ac_ext <<_ACEOF
58131 #line $LINENO "configure"
58132 /* confdefs.h. */
58133 _ACEOF
58134 cat confdefs.h >>conftest.$ac_ext
58135 cat >>conftest.$ac_ext <<_ACEOF
58136 /* end confdefs.h. */
58137 /* System header to define __stub macros and hopefully few prototypes,
58138 which can conflict with char $ac_func (); below.
58139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58140 <limits.h> exists even on freestanding compilers. */
58141 #ifdef __STDC__
58142 # include <limits.h>
58143 #else
58144 # include <assert.h>
58145 #endif
58146 /* Override any gcc2 internal prototype to avoid an error. */
58147 #ifdef __cplusplus
58148 extern "C"
58150 #endif
58151 /* We use char because int might match the return type of a gcc2
58152 builtin and then its argument prototype would still apply. */
58153 char $ac_func ();
58154 /* The GNU C library defines this for functions which it implements
58155 to always fail with ENOSYS. Some functions are actually named
58156 something starting with __ and the normal name is an alias. */
58157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58158 choke me
58159 #else
58160 char (*f) () = $ac_func;
58161 #endif
58162 #ifdef __cplusplus
58164 #endif
58167 main ()
58169 return f != $ac_func;
58171 return 0;
58173 _ACEOF
58174 rm -f conftest.$ac_objext conftest$ac_exeext
58175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58176 (eval $ac_link) 2>&5
58177 ac_status=$?
58178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58179 (exit $ac_status); } &&
58180 { ac_try='test -s conftest$ac_exeext'
58181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58182 (eval $ac_try) 2>&5
58183 ac_status=$?
58184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185 (exit $ac_status); }; }; then
58186 eval "$as_ac_var=yes"
58187 else
58188 echo "$as_me: failed program was:" >&5
58189 sed 's/^/| /' conftest.$ac_ext >&5
58191 eval "$as_ac_var=no"
58193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58197 if test `eval echo '${'$as_ac_var'}'` = yes; then
58198 cat >>confdefs.h <<_ACEOF
58199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58200 _ACEOF
58203 done
58210 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58211 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58212 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58213 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58214 echo $ECHO_N "(cached) $ECHO_C" >&6
58215 else
58219 ac_ext=cc
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225 cat >conftest.$ac_ext <<_ACEOF
58226 #line $LINENO "configure"
58227 /* confdefs.h. */
58228 _ACEOF
58229 cat confdefs.h >>conftest.$ac_ext
58230 cat >>conftest.$ac_ext <<_ACEOF
58231 /* end confdefs.h. */
58232 #include <math.h>
58234 main ()
58236 ldexpl(0, 0);
58238 return 0;
58240 _ACEOF
58241 rm -f conftest.$ac_objext
58242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58243 (eval $ac_compile) 2>&5
58244 ac_status=$?
58245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58246 (exit $ac_status); } &&
58247 { ac_try='test -s conftest.$ac_objext'
58248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58249 (eval $ac_try) 2>&5
58250 ac_status=$?
58251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58252 (exit $ac_status); }; }; then
58253 glibcxx_cv_func_ldexpl_use=yes
58254 else
58255 echo "$as_me: failed program was:" >&5
58256 sed 's/^/| /' conftest.$ac_ext >&5
58258 glibcxx_cv_func_ldexpl_use=no
58260 rm -f conftest.$ac_objext conftest.$ac_ext
58261 ac_ext=c
58262 ac_cpp='$CPP $CPPFLAGS'
58263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58272 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58274 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58276 for ac_func in ldexpl
58278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58279 echo "$as_me:$LINENO: checking for $ac_func" >&5
58280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58281 if eval "test \"\${$as_ac_var+set}\" = set"; then
58282 echo $ECHO_N "(cached) $ECHO_C" >&6
58283 else
58284 if test x$gcc_no_link = xyes; then
58285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58287 { (exit 1); exit 1; }; }
58289 cat >conftest.$ac_ext <<_ACEOF
58290 #line $LINENO "configure"
58291 /* confdefs.h. */
58292 _ACEOF
58293 cat confdefs.h >>conftest.$ac_ext
58294 cat >>conftest.$ac_ext <<_ACEOF
58295 /* end confdefs.h. */
58296 /* System header to define __stub macros and hopefully few prototypes,
58297 which can conflict with char $ac_func (); below.
58298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58299 <limits.h> exists even on freestanding compilers. */
58300 #ifdef __STDC__
58301 # include <limits.h>
58302 #else
58303 # include <assert.h>
58304 #endif
58305 /* Override any gcc2 internal prototype to avoid an error. */
58306 #ifdef __cplusplus
58307 extern "C"
58309 #endif
58310 /* We use char because int might match the return type of a gcc2
58311 builtin and then its argument prototype would still apply. */
58312 char $ac_func ();
58313 /* The GNU C library defines this for functions which it implements
58314 to always fail with ENOSYS. Some functions are actually named
58315 something starting with __ and the normal name is an alias. */
58316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58317 choke me
58318 #else
58319 char (*f) () = $ac_func;
58320 #endif
58321 #ifdef __cplusplus
58323 #endif
58326 main ()
58328 return f != $ac_func;
58330 return 0;
58332 _ACEOF
58333 rm -f conftest.$ac_objext conftest$ac_exeext
58334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58335 (eval $ac_link) 2>&5
58336 ac_status=$?
58337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58338 (exit $ac_status); } &&
58339 { ac_try='test -s conftest$ac_exeext'
58340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58341 (eval $ac_try) 2>&5
58342 ac_status=$?
58343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58344 (exit $ac_status); }; }; then
58345 eval "$as_ac_var=yes"
58346 else
58347 echo "$as_me: failed program was:" >&5
58348 sed 's/^/| /' conftest.$ac_ext >&5
58350 eval "$as_ac_var=no"
58352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58356 if test `eval echo '${'$as_ac_var'}'` = yes; then
58357 cat >>confdefs.h <<_ACEOF
58358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58359 _ACEOF
58362 done
58364 else
58366 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58367 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58368 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58369 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58370 echo $ECHO_N "(cached) $ECHO_C" >&6
58371 else
58375 ac_ext=cc
58376 ac_cpp='$CXXCPP $CPPFLAGS'
58377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58381 cat >conftest.$ac_ext <<_ACEOF
58382 #line $LINENO "configure"
58383 /* confdefs.h. */
58384 _ACEOF
58385 cat confdefs.h >>conftest.$ac_ext
58386 cat >>conftest.$ac_ext <<_ACEOF
58387 /* end confdefs.h. */
58388 #include <math.h>
58390 main ()
58392 _ldexpl(0, 0);
58394 return 0;
58396 _ACEOF
58397 rm -f conftest.$ac_objext
58398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58399 (eval $ac_compile) 2>&5
58400 ac_status=$?
58401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402 (exit $ac_status); } &&
58403 { ac_try='test -s conftest.$ac_objext'
58404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58405 (eval $ac_try) 2>&5
58406 ac_status=$?
58407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58408 (exit $ac_status); }; }; then
58409 glibcxx_cv_func__ldexpl_use=yes
58410 else
58411 echo "$as_me: failed program was:" >&5
58412 sed 's/^/| /' conftest.$ac_ext >&5
58414 glibcxx_cv_func__ldexpl_use=no
58416 rm -f conftest.$ac_objext conftest.$ac_ext
58417 ac_ext=c
58418 ac_cpp='$CPP $CPPFLAGS'
58419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58428 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58430 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58432 for ac_func in _ldexpl
58434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58435 echo "$as_me:$LINENO: checking for $ac_func" >&5
58436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58437 if eval "test \"\${$as_ac_var+set}\" = set"; then
58438 echo $ECHO_N "(cached) $ECHO_C" >&6
58439 else
58440 if test x$gcc_no_link = xyes; then
58441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58443 { (exit 1); exit 1; }; }
58445 cat >conftest.$ac_ext <<_ACEOF
58446 #line $LINENO "configure"
58447 /* confdefs.h. */
58448 _ACEOF
58449 cat confdefs.h >>conftest.$ac_ext
58450 cat >>conftest.$ac_ext <<_ACEOF
58451 /* end confdefs.h. */
58452 /* System header to define __stub macros and hopefully few prototypes,
58453 which can conflict with char $ac_func (); below.
58454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58455 <limits.h> exists even on freestanding compilers. */
58456 #ifdef __STDC__
58457 # include <limits.h>
58458 #else
58459 # include <assert.h>
58460 #endif
58461 /* Override any gcc2 internal prototype to avoid an error. */
58462 #ifdef __cplusplus
58463 extern "C"
58465 #endif
58466 /* We use char because int might match the return type of a gcc2
58467 builtin and then its argument prototype would still apply. */
58468 char $ac_func ();
58469 /* The GNU C library defines this for functions which it implements
58470 to always fail with ENOSYS. Some functions are actually named
58471 something starting with __ and the normal name is an alias. */
58472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58473 choke me
58474 #else
58475 char (*f) () = $ac_func;
58476 #endif
58477 #ifdef __cplusplus
58479 #endif
58482 main ()
58484 return f != $ac_func;
58486 return 0;
58488 _ACEOF
58489 rm -f conftest.$ac_objext conftest$ac_exeext
58490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58491 (eval $ac_link) 2>&5
58492 ac_status=$?
58493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494 (exit $ac_status); } &&
58495 { ac_try='test -s conftest$ac_exeext'
58496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58497 (eval $ac_try) 2>&5
58498 ac_status=$?
58499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58500 (exit $ac_status); }; }; then
58501 eval "$as_ac_var=yes"
58502 else
58503 echo "$as_me: failed program was:" >&5
58504 sed 's/^/| /' conftest.$ac_ext >&5
58506 eval "$as_ac_var=no"
58508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58512 if test `eval echo '${'$as_ac_var'}'` = yes; then
58513 cat >>confdefs.h <<_ACEOF
58514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58515 _ACEOF
58518 done
58525 echo "$as_me:$LINENO: checking for logl declaration" >&5
58526 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58527 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58528 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58529 echo $ECHO_N "(cached) $ECHO_C" >&6
58530 else
58534 ac_ext=cc
58535 ac_cpp='$CXXCPP $CPPFLAGS'
58536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58540 cat >conftest.$ac_ext <<_ACEOF
58541 #line $LINENO "configure"
58542 /* confdefs.h. */
58543 _ACEOF
58544 cat confdefs.h >>conftest.$ac_ext
58545 cat >>conftest.$ac_ext <<_ACEOF
58546 /* end confdefs.h. */
58547 #include <math.h>
58548 #ifdef HAVE_IEEEFP_H
58549 #include <ieeefp.h>
58550 #endif
58553 main ()
58555 logl(0);
58557 return 0;
58559 _ACEOF
58560 rm -f conftest.$ac_objext
58561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58562 (eval $ac_compile) 2>&5
58563 ac_status=$?
58564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565 (exit $ac_status); } &&
58566 { ac_try='test -s conftest.$ac_objext'
58567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58568 (eval $ac_try) 2>&5
58569 ac_status=$?
58570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58571 (exit $ac_status); }; }; then
58572 glibcxx_cv_func_logl_use=yes
58573 else
58574 echo "$as_me: failed program was:" >&5
58575 sed 's/^/| /' conftest.$ac_ext >&5
58577 glibcxx_cv_func_logl_use=no
58579 rm -f conftest.$ac_objext conftest.$ac_ext
58580 ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58591 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58593 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58595 for ac_func in logl
58597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58598 echo "$as_me:$LINENO: checking for $ac_func" >&5
58599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58600 if eval "test \"\${$as_ac_var+set}\" = set"; then
58601 echo $ECHO_N "(cached) $ECHO_C" >&6
58602 else
58603 if test x$gcc_no_link = xyes; then
58604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58606 { (exit 1); exit 1; }; }
58608 cat >conftest.$ac_ext <<_ACEOF
58609 #line $LINENO "configure"
58610 /* confdefs.h. */
58611 _ACEOF
58612 cat confdefs.h >>conftest.$ac_ext
58613 cat >>conftest.$ac_ext <<_ACEOF
58614 /* end confdefs.h. */
58615 /* System header to define __stub macros and hopefully few prototypes,
58616 which can conflict with char $ac_func (); below.
58617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58618 <limits.h> exists even on freestanding compilers. */
58619 #ifdef __STDC__
58620 # include <limits.h>
58621 #else
58622 # include <assert.h>
58623 #endif
58624 /* Override any gcc2 internal prototype to avoid an error. */
58625 #ifdef __cplusplus
58626 extern "C"
58628 #endif
58629 /* We use char because int might match the return type of a gcc2
58630 builtin and then its argument prototype would still apply. */
58631 char $ac_func ();
58632 /* The GNU C library defines this for functions which it implements
58633 to always fail with ENOSYS. Some functions are actually named
58634 something starting with __ and the normal name is an alias. */
58635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58636 choke me
58637 #else
58638 char (*f) () = $ac_func;
58639 #endif
58640 #ifdef __cplusplus
58642 #endif
58645 main ()
58647 return f != $ac_func;
58649 return 0;
58651 _ACEOF
58652 rm -f conftest.$ac_objext conftest$ac_exeext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58654 (eval $ac_link) 2>&5
58655 ac_status=$?
58656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657 (exit $ac_status); } &&
58658 { ac_try='test -s conftest$ac_exeext'
58659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58660 (eval $ac_try) 2>&5
58661 ac_status=$?
58662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58663 (exit $ac_status); }; }; then
58664 eval "$as_ac_var=yes"
58665 else
58666 echo "$as_me: failed program was:" >&5
58667 sed 's/^/| /' conftest.$ac_ext >&5
58669 eval "$as_ac_var=no"
58671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58675 if test `eval echo '${'$as_ac_var'}'` = yes; then
58676 cat >>confdefs.h <<_ACEOF
58677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58678 _ACEOF
58681 done
58683 else
58685 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58686 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58687 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58688 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58689 echo $ECHO_N "(cached) $ECHO_C" >&6
58690 else
58694 ac_ext=cc
58695 ac_cpp='$CXXCPP $CPPFLAGS'
58696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58700 cat >conftest.$ac_ext <<_ACEOF
58701 #line $LINENO "configure"
58702 /* confdefs.h. */
58703 _ACEOF
58704 cat confdefs.h >>conftest.$ac_ext
58705 cat >>conftest.$ac_ext <<_ACEOF
58706 /* end confdefs.h. */
58707 #include <math.h>
58708 #ifdef HAVE_IEEEFP_H
58709 #include <ieeefp.h>
58710 #endif
58713 main ()
58715 _logl(0);
58717 return 0;
58719 _ACEOF
58720 rm -f conftest.$ac_objext
58721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58722 (eval $ac_compile) 2>&5
58723 ac_status=$?
58724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58725 (exit $ac_status); } &&
58726 { ac_try='test -s conftest.$ac_objext'
58727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58728 (eval $ac_try) 2>&5
58729 ac_status=$?
58730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58731 (exit $ac_status); }; }; then
58732 glibcxx_cv_func__logl_use=yes
58733 else
58734 echo "$as_me: failed program was:" >&5
58735 sed 's/^/| /' conftest.$ac_ext >&5
58737 glibcxx_cv_func__logl_use=no
58739 rm -f conftest.$ac_objext conftest.$ac_ext
58740 ac_ext=c
58741 ac_cpp='$CPP $CPPFLAGS'
58742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58751 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58753 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58755 for ac_func in _logl
58757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58758 echo "$as_me:$LINENO: checking for $ac_func" >&5
58759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58760 if eval "test \"\${$as_ac_var+set}\" = set"; then
58761 echo $ECHO_N "(cached) $ECHO_C" >&6
58762 else
58763 if test x$gcc_no_link = xyes; then
58764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58766 { (exit 1); exit 1; }; }
58768 cat >conftest.$ac_ext <<_ACEOF
58769 #line $LINENO "configure"
58770 /* confdefs.h. */
58771 _ACEOF
58772 cat confdefs.h >>conftest.$ac_ext
58773 cat >>conftest.$ac_ext <<_ACEOF
58774 /* end confdefs.h. */
58775 /* System header to define __stub macros and hopefully few prototypes,
58776 which can conflict with char $ac_func (); below.
58777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58778 <limits.h> exists even on freestanding compilers. */
58779 #ifdef __STDC__
58780 # include <limits.h>
58781 #else
58782 # include <assert.h>
58783 #endif
58784 /* Override any gcc2 internal prototype to avoid an error. */
58785 #ifdef __cplusplus
58786 extern "C"
58788 #endif
58789 /* We use char because int might match the return type of a gcc2
58790 builtin and then its argument prototype would still apply. */
58791 char $ac_func ();
58792 /* The GNU C library defines this for functions which it implements
58793 to always fail with ENOSYS. Some functions are actually named
58794 something starting with __ and the normal name is an alias. */
58795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58796 choke me
58797 #else
58798 char (*f) () = $ac_func;
58799 #endif
58800 #ifdef __cplusplus
58802 #endif
58805 main ()
58807 return f != $ac_func;
58809 return 0;
58811 _ACEOF
58812 rm -f conftest.$ac_objext conftest$ac_exeext
58813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58814 (eval $ac_link) 2>&5
58815 ac_status=$?
58816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817 (exit $ac_status); } &&
58818 { ac_try='test -s conftest$ac_exeext'
58819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58820 (eval $ac_try) 2>&5
58821 ac_status=$?
58822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58823 (exit $ac_status); }; }; then
58824 eval "$as_ac_var=yes"
58825 else
58826 echo "$as_me: failed program was:" >&5
58827 sed 's/^/| /' conftest.$ac_ext >&5
58829 eval "$as_ac_var=no"
58831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58835 if test `eval echo '${'$as_ac_var'}'` = yes; then
58836 cat >>confdefs.h <<_ACEOF
58837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58838 _ACEOF
58841 done
58848 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58849 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58850 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58851 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58852 echo $ECHO_N "(cached) $ECHO_C" >&6
58853 else
58857 ac_ext=cc
58858 ac_cpp='$CXXCPP $CPPFLAGS'
58859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58863 cat >conftest.$ac_ext <<_ACEOF
58864 #line $LINENO "configure"
58865 /* confdefs.h. */
58866 _ACEOF
58867 cat confdefs.h >>conftest.$ac_ext
58868 cat >>conftest.$ac_ext <<_ACEOF
58869 /* end confdefs.h. */
58870 #include <math.h>
58871 #ifdef HAVE_IEEEFP_H
58872 #include <ieeefp.h>
58873 #endif
58876 main ()
58878 log10l(0);
58880 return 0;
58882 _ACEOF
58883 rm -f conftest.$ac_objext
58884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58885 (eval $ac_compile) 2>&5
58886 ac_status=$?
58887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58888 (exit $ac_status); } &&
58889 { ac_try='test -s conftest.$ac_objext'
58890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58891 (eval $ac_try) 2>&5
58892 ac_status=$?
58893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58894 (exit $ac_status); }; }; then
58895 glibcxx_cv_func_log10l_use=yes
58896 else
58897 echo "$as_me: failed program was:" >&5
58898 sed 's/^/| /' conftest.$ac_ext >&5
58900 glibcxx_cv_func_log10l_use=no
58902 rm -f conftest.$ac_objext conftest.$ac_ext
58903 ac_ext=c
58904 ac_cpp='$CPP $CPPFLAGS'
58905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58914 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58916 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58918 for ac_func in log10l
58920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58921 echo "$as_me:$LINENO: checking for $ac_func" >&5
58922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58923 if eval "test \"\${$as_ac_var+set}\" = set"; then
58924 echo $ECHO_N "(cached) $ECHO_C" >&6
58925 else
58926 if test x$gcc_no_link = xyes; then
58927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58929 { (exit 1); exit 1; }; }
58931 cat >conftest.$ac_ext <<_ACEOF
58932 #line $LINENO "configure"
58933 /* confdefs.h. */
58934 _ACEOF
58935 cat confdefs.h >>conftest.$ac_ext
58936 cat >>conftest.$ac_ext <<_ACEOF
58937 /* end confdefs.h. */
58938 /* System header to define __stub macros and hopefully few prototypes,
58939 which can conflict with char $ac_func (); below.
58940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58941 <limits.h> exists even on freestanding compilers. */
58942 #ifdef __STDC__
58943 # include <limits.h>
58944 #else
58945 # include <assert.h>
58946 #endif
58947 /* Override any gcc2 internal prototype to avoid an error. */
58948 #ifdef __cplusplus
58949 extern "C"
58951 #endif
58952 /* We use char because int might match the return type of a gcc2
58953 builtin and then its argument prototype would still apply. */
58954 char $ac_func ();
58955 /* The GNU C library defines this for functions which it implements
58956 to always fail with ENOSYS. Some functions are actually named
58957 something starting with __ and the normal name is an alias. */
58958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58959 choke me
58960 #else
58961 char (*f) () = $ac_func;
58962 #endif
58963 #ifdef __cplusplus
58965 #endif
58968 main ()
58970 return f != $ac_func;
58972 return 0;
58974 _ACEOF
58975 rm -f conftest.$ac_objext conftest$ac_exeext
58976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58977 (eval $ac_link) 2>&5
58978 ac_status=$?
58979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58980 (exit $ac_status); } &&
58981 { ac_try='test -s conftest$ac_exeext'
58982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58983 (eval $ac_try) 2>&5
58984 ac_status=$?
58985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986 (exit $ac_status); }; }; then
58987 eval "$as_ac_var=yes"
58988 else
58989 echo "$as_me: failed program was:" >&5
58990 sed 's/^/| /' conftest.$ac_ext >&5
58992 eval "$as_ac_var=no"
58994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58998 if test `eval echo '${'$as_ac_var'}'` = yes; then
58999 cat >>confdefs.h <<_ACEOF
59000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59001 _ACEOF
59004 done
59006 else
59008 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59009 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59010 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59011 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59012 echo $ECHO_N "(cached) $ECHO_C" >&6
59013 else
59017 ac_ext=cc
59018 ac_cpp='$CXXCPP $CPPFLAGS'
59019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59023 cat >conftest.$ac_ext <<_ACEOF
59024 #line $LINENO "configure"
59025 /* confdefs.h. */
59026 _ACEOF
59027 cat confdefs.h >>conftest.$ac_ext
59028 cat >>conftest.$ac_ext <<_ACEOF
59029 /* end confdefs.h. */
59030 #include <math.h>
59031 #ifdef HAVE_IEEEFP_H
59032 #include <ieeefp.h>
59033 #endif
59036 main ()
59038 _log10l(0);
59040 return 0;
59042 _ACEOF
59043 rm -f conftest.$ac_objext
59044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59045 (eval $ac_compile) 2>&5
59046 ac_status=$?
59047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59048 (exit $ac_status); } &&
59049 { ac_try='test -s conftest.$ac_objext'
59050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59051 (eval $ac_try) 2>&5
59052 ac_status=$?
59053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59054 (exit $ac_status); }; }; then
59055 glibcxx_cv_func__log10l_use=yes
59056 else
59057 echo "$as_me: failed program was:" >&5
59058 sed 's/^/| /' conftest.$ac_ext >&5
59060 glibcxx_cv_func__log10l_use=no
59062 rm -f conftest.$ac_objext conftest.$ac_ext
59063 ac_ext=c
59064 ac_cpp='$CPP $CPPFLAGS'
59065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59074 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59076 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59078 for ac_func in _log10l
59080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59081 echo "$as_me:$LINENO: checking for $ac_func" >&5
59082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59083 if eval "test \"\${$as_ac_var+set}\" = set"; then
59084 echo $ECHO_N "(cached) $ECHO_C" >&6
59085 else
59086 if test x$gcc_no_link = xyes; then
59087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59089 { (exit 1); exit 1; }; }
59091 cat >conftest.$ac_ext <<_ACEOF
59092 #line $LINENO "configure"
59093 /* confdefs.h. */
59094 _ACEOF
59095 cat confdefs.h >>conftest.$ac_ext
59096 cat >>conftest.$ac_ext <<_ACEOF
59097 /* end confdefs.h. */
59098 /* System header to define __stub macros and hopefully few prototypes,
59099 which can conflict with char $ac_func (); below.
59100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59101 <limits.h> exists even on freestanding compilers. */
59102 #ifdef __STDC__
59103 # include <limits.h>
59104 #else
59105 # include <assert.h>
59106 #endif
59107 /* Override any gcc2 internal prototype to avoid an error. */
59108 #ifdef __cplusplus
59109 extern "C"
59111 #endif
59112 /* We use char because int might match the return type of a gcc2
59113 builtin and then its argument prototype would still apply. */
59114 char $ac_func ();
59115 /* The GNU C library defines this for functions which it implements
59116 to always fail with ENOSYS. Some functions are actually named
59117 something starting with __ and the normal name is an alias. */
59118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59119 choke me
59120 #else
59121 char (*f) () = $ac_func;
59122 #endif
59123 #ifdef __cplusplus
59125 #endif
59128 main ()
59130 return f != $ac_func;
59132 return 0;
59134 _ACEOF
59135 rm -f conftest.$ac_objext conftest$ac_exeext
59136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59137 (eval $ac_link) 2>&5
59138 ac_status=$?
59139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59140 (exit $ac_status); } &&
59141 { ac_try='test -s conftest$ac_exeext'
59142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59143 (eval $ac_try) 2>&5
59144 ac_status=$?
59145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146 (exit $ac_status); }; }; then
59147 eval "$as_ac_var=yes"
59148 else
59149 echo "$as_me: failed program was:" >&5
59150 sed 's/^/| /' conftest.$ac_ext >&5
59152 eval "$as_ac_var=no"
59154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59158 if test `eval echo '${'$as_ac_var'}'` = yes; then
59159 cat >>confdefs.h <<_ACEOF
59160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59161 _ACEOF
59164 done
59171 echo "$as_me:$LINENO: checking for modfl declaration" >&5
59172 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59173 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59174 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59175 echo $ECHO_N "(cached) $ECHO_C" >&6
59176 else
59180 ac_ext=cc
59181 ac_cpp='$CXXCPP $CPPFLAGS'
59182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59186 cat >conftest.$ac_ext <<_ACEOF
59187 #line $LINENO "configure"
59188 /* confdefs.h. */
59189 _ACEOF
59190 cat confdefs.h >>conftest.$ac_ext
59191 cat >>conftest.$ac_ext <<_ACEOF
59192 /* end confdefs.h. */
59193 #include <math.h>
59195 main ()
59197 modfl(0, 0);
59199 return 0;
59201 _ACEOF
59202 rm -f conftest.$ac_objext
59203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59204 (eval $ac_compile) 2>&5
59205 ac_status=$?
59206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59207 (exit $ac_status); } &&
59208 { ac_try='test -s conftest.$ac_objext'
59209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59210 (eval $ac_try) 2>&5
59211 ac_status=$?
59212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213 (exit $ac_status); }; }; then
59214 glibcxx_cv_func_modfl_use=yes
59215 else
59216 echo "$as_me: failed program was:" >&5
59217 sed 's/^/| /' conftest.$ac_ext >&5
59219 glibcxx_cv_func_modfl_use=no
59221 rm -f conftest.$ac_objext conftest.$ac_ext
59222 ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59233 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59235 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59237 for ac_func in modfl
59239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59240 echo "$as_me:$LINENO: checking for $ac_func" >&5
59241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59242 if eval "test \"\${$as_ac_var+set}\" = set"; then
59243 echo $ECHO_N "(cached) $ECHO_C" >&6
59244 else
59245 if test x$gcc_no_link = xyes; then
59246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59248 { (exit 1); exit 1; }; }
59250 cat >conftest.$ac_ext <<_ACEOF
59251 #line $LINENO "configure"
59252 /* confdefs.h. */
59253 _ACEOF
59254 cat confdefs.h >>conftest.$ac_ext
59255 cat >>conftest.$ac_ext <<_ACEOF
59256 /* end confdefs.h. */
59257 /* System header to define __stub macros and hopefully few prototypes,
59258 which can conflict with char $ac_func (); below.
59259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59260 <limits.h> exists even on freestanding compilers. */
59261 #ifdef __STDC__
59262 # include <limits.h>
59263 #else
59264 # include <assert.h>
59265 #endif
59266 /* Override any gcc2 internal prototype to avoid an error. */
59267 #ifdef __cplusplus
59268 extern "C"
59270 #endif
59271 /* We use char because int might match the return type of a gcc2
59272 builtin and then its argument prototype would still apply. */
59273 char $ac_func ();
59274 /* The GNU C library defines this for functions which it implements
59275 to always fail with ENOSYS. Some functions are actually named
59276 something starting with __ and the normal name is an alias. */
59277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59278 choke me
59279 #else
59280 char (*f) () = $ac_func;
59281 #endif
59282 #ifdef __cplusplus
59284 #endif
59287 main ()
59289 return f != $ac_func;
59291 return 0;
59293 _ACEOF
59294 rm -f conftest.$ac_objext conftest$ac_exeext
59295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59296 (eval $ac_link) 2>&5
59297 ac_status=$?
59298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299 (exit $ac_status); } &&
59300 { ac_try='test -s conftest$ac_exeext'
59301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59302 (eval $ac_try) 2>&5
59303 ac_status=$?
59304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305 (exit $ac_status); }; }; then
59306 eval "$as_ac_var=yes"
59307 else
59308 echo "$as_me: failed program was:" >&5
59309 sed 's/^/| /' conftest.$ac_ext >&5
59311 eval "$as_ac_var=no"
59313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59317 if test `eval echo '${'$as_ac_var'}'` = yes; then
59318 cat >>confdefs.h <<_ACEOF
59319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59320 _ACEOF
59323 done
59325 else
59327 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59328 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59329 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59330 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59331 echo $ECHO_N "(cached) $ECHO_C" >&6
59332 else
59336 ac_ext=cc
59337 ac_cpp='$CXXCPP $CPPFLAGS'
59338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59342 cat >conftest.$ac_ext <<_ACEOF
59343 #line $LINENO "configure"
59344 /* confdefs.h. */
59345 _ACEOF
59346 cat confdefs.h >>conftest.$ac_ext
59347 cat >>conftest.$ac_ext <<_ACEOF
59348 /* end confdefs.h. */
59349 #include <math.h>
59351 main ()
59353 _modfl(0, 0);
59355 return 0;
59357 _ACEOF
59358 rm -f conftest.$ac_objext
59359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59360 (eval $ac_compile) 2>&5
59361 ac_status=$?
59362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59363 (exit $ac_status); } &&
59364 { ac_try='test -s conftest.$ac_objext'
59365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59366 (eval $ac_try) 2>&5
59367 ac_status=$?
59368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59369 (exit $ac_status); }; }; then
59370 glibcxx_cv_func__modfl_use=yes
59371 else
59372 echo "$as_me: failed program was:" >&5
59373 sed 's/^/| /' conftest.$ac_ext >&5
59375 glibcxx_cv_func__modfl_use=no
59377 rm -f conftest.$ac_objext conftest.$ac_ext
59378 ac_ext=c
59379 ac_cpp='$CPP $CPPFLAGS'
59380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59389 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59391 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59393 for ac_func in _modfl
59395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59396 echo "$as_me:$LINENO: checking for $ac_func" >&5
59397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59398 if eval "test \"\${$as_ac_var+set}\" = set"; then
59399 echo $ECHO_N "(cached) $ECHO_C" >&6
59400 else
59401 if test x$gcc_no_link = xyes; then
59402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59404 { (exit 1); exit 1; }; }
59406 cat >conftest.$ac_ext <<_ACEOF
59407 #line $LINENO "configure"
59408 /* confdefs.h. */
59409 _ACEOF
59410 cat confdefs.h >>conftest.$ac_ext
59411 cat >>conftest.$ac_ext <<_ACEOF
59412 /* end confdefs.h. */
59413 /* System header to define __stub macros and hopefully few prototypes,
59414 which can conflict with char $ac_func (); below.
59415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59416 <limits.h> exists even on freestanding compilers. */
59417 #ifdef __STDC__
59418 # include <limits.h>
59419 #else
59420 # include <assert.h>
59421 #endif
59422 /* Override any gcc2 internal prototype to avoid an error. */
59423 #ifdef __cplusplus
59424 extern "C"
59426 #endif
59427 /* We use char because int might match the return type of a gcc2
59428 builtin and then its argument prototype would still apply. */
59429 char $ac_func ();
59430 /* The GNU C library defines this for functions which it implements
59431 to always fail with ENOSYS. Some functions are actually named
59432 something starting with __ and the normal name is an alias. */
59433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59434 choke me
59435 #else
59436 char (*f) () = $ac_func;
59437 #endif
59438 #ifdef __cplusplus
59440 #endif
59443 main ()
59445 return f != $ac_func;
59447 return 0;
59449 _ACEOF
59450 rm -f conftest.$ac_objext conftest$ac_exeext
59451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59452 (eval $ac_link) 2>&5
59453 ac_status=$?
59454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455 (exit $ac_status); } &&
59456 { ac_try='test -s conftest$ac_exeext'
59457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59458 (eval $ac_try) 2>&5
59459 ac_status=$?
59460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59461 (exit $ac_status); }; }; then
59462 eval "$as_ac_var=yes"
59463 else
59464 echo "$as_me: failed program was:" >&5
59465 sed 's/^/| /' conftest.$ac_ext >&5
59467 eval "$as_ac_var=no"
59469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59473 if test `eval echo '${'$as_ac_var'}'` = yes; then
59474 cat >>confdefs.h <<_ACEOF
59475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59476 _ACEOF
59479 done
59486 echo "$as_me:$LINENO: checking for powl declaration" >&5
59487 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59488 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59489 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59490 echo $ECHO_N "(cached) $ECHO_C" >&6
59491 else
59495 ac_ext=cc
59496 ac_cpp='$CXXCPP $CPPFLAGS'
59497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59501 cat >conftest.$ac_ext <<_ACEOF
59502 #line $LINENO "configure"
59503 /* confdefs.h. */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h. */
59508 #include <math.h>
59510 main ()
59512 powl(0, 0);
59514 return 0;
59516 _ACEOF
59517 rm -f conftest.$ac_objext
59518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59519 (eval $ac_compile) 2>&5
59520 ac_status=$?
59521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59522 (exit $ac_status); } &&
59523 { ac_try='test -s conftest.$ac_objext'
59524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59525 (eval $ac_try) 2>&5
59526 ac_status=$?
59527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59528 (exit $ac_status); }; }; then
59529 glibcxx_cv_func_powl_use=yes
59530 else
59531 echo "$as_me: failed program was:" >&5
59532 sed 's/^/| /' conftest.$ac_ext >&5
59534 glibcxx_cv_func_powl_use=no
59536 rm -f conftest.$ac_objext conftest.$ac_ext
59537 ac_ext=c
59538 ac_cpp='$CPP $CPPFLAGS'
59539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59548 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59552 for ac_func in powl
59554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59555 echo "$as_me:$LINENO: checking for $ac_func" >&5
59556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59557 if eval "test \"\${$as_ac_var+set}\" = set"; then
59558 echo $ECHO_N "(cached) $ECHO_C" >&6
59559 else
59560 if test x$gcc_no_link = xyes; then
59561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59563 { (exit 1); exit 1; }; }
59565 cat >conftest.$ac_ext <<_ACEOF
59566 #line $LINENO "configure"
59567 /* confdefs.h. */
59568 _ACEOF
59569 cat confdefs.h >>conftest.$ac_ext
59570 cat >>conftest.$ac_ext <<_ACEOF
59571 /* end confdefs.h. */
59572 /* System header to define __stub macros and hopefully few prototypes,
59573 which can conflict with char $ac_func (); below.
59574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59575 <limits.h> exists even on freestanding compilers. */
59576 #ifdef __STDC__
59577 # include <limits.h>
59578 #else
59579 # include <assert.h>
59580 #endif
59581 /* Override any gcc2 internal prototype to avoid an error. */
59582 #ifdef __cplusplus
59583 extern "C"
59585 #endif
59586 /* We use char because int might match the return type of a gcc2
59587 builtin and then its argument prototype would still apply. */
59588 char $ac_func ();
59589 /* The GNU C library defines this for functions which it implements
59590 to always fail with ENOSYS. Some functions are actually named
59591 something starting with __ and the normal name is an alias. */
59592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59593 choke me
59594 #else
59595 char (*f) () = $ac_func;
59596 #endif
59597 #ifdef __cplusplus
59599 #endif
59602 main ()
59604 return f != $ac_func;
59606 return 0;
59608 _ACEOF
59609 rm -f conftest.$ac_objext conftest$ac_exeext
59610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59611 (eval $ac_link) 2>&5
59612 ac_status=$?
59613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59614 (exit $ac_status); } &&
59615 { ac_try='test -s conftest$ac_exeext'
59616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59617 (eval $ac_try) 2>&5
59618 ac_status=$?
59619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59620 (exit $ac_status); }; }; then
59621 eval "$as_ac_var=yes"
59622 else
59623 echo "$as_me: failed program was:" >&5
59624 sed 's/^/| /' conftest.$ac_ext >&5
59626 eval "$as_ac_var=no"
59628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59632 if test `eval echo '${'$as_ac_var'}'` = yes; then
59633 cat >>confdefs.h <<_ACEOF
59634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59635 _ACEOF
59638 done
59640 else
59642 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59643 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59644 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59645 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59646 echo $ECHO_N "(cached) $ECHO_C" >&6
59647 else
59651 ac_ext=cc
59652 ac_cpp='$CXXCPP $CPPFLAGS'
59653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59657 cat >conftest.$ac_ext <<_ACEOF
59658 #line $LINENO "configure"
59659 /* confdefs.h. */
59660 _ACEOF
59661 cat confdefs.h >>conftest.$ac_ext
59662 cat >>conftest.$ac_ext <<_ACEOF
59663 /* end confdefs.h. */
59664 #include <math.h>
59666 main ()
59668 _powl(0, 0);
59670 return 0;
59672 _ACEOF
59673 rm -f conftest.$ac_objext
59674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59675 (eval $ac_compile) 2>&5
59676 ac_status=$?
59677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59678 (exit $ac_status); } &&
59679 { ac_try='test -s conftest.$ac_objext'
59680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681 (eval $ac_try) 2>&5
59682 ac_status=$?
59683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684 (exit $ac_status); }; }; then
59685 glibcxx_cv_func__powl_use=yes
59686 else
59687 echo "$as_me: failed program was:" >&5
59688 sed 's/^/| /' conftest.$ac_ext >&5
59690 glibcxx_cv_func__powl_use=no
59692 rm -f conftest.$ac_objext conftest.$ac_ext
59693 ac_ext=c
59694 ac_cpp='$CPP $CPPFLAGS'
59695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59703 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59704 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59706 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59708 for ac_func in _powl
59710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59711 echo "$as_me:$LINENO: checking for $ac_func" >&5
59712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59713 if eval "test \"\${$as_ac_var+set}\" = set"; then
59714 echo $ECHO_N "(cached) $ECHO_C" >&6
59715 else
59716 if test x$gcc_no_link = xyes; then
59717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59719 { (exit 1); exit 1; }; }
59721 cat >conftest.$ac_ext <<_ACEOF
59722 #line $LINENO "configure"
59723 /* confdefs.h. */
59724 _ACEOF
59725 cat confdefs.h >>conftest.$ac_ext
59726 cat >>conftest.$ac_ext <<_ACEOF
59727 /* end confdefs.h. */
59728 /* System header to define __stub macros and hopefully few prototypes,
59729 which can conflict with char $ac_func (); below.
59730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59731 <limits.h> exists even on freestanding compilers. */
59732 #ifdef __STDC__
59733 # include <limits.h>
59734 #else
59735 # include <assert.h>
59736 #endif
59737 /* Override any gcc2 internal prototype to avoid an error. */
59738 #ifdef __cplusplus
59739 extern "C"
59741 #endif
59742 /* We use char because int might match the return type of a gcc2
59743 builtin and then its argument prototype would still apply. */
59744 char $ac_func ();
59745 /* The GNU C library defines this for functions which it implements
59746 to always fail with ENOSYS. Some functions are actually named
59747 something starting with __ and the normal name is an alias. */
59748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59749 choke me
59750 #else
59751 char (*f) () = $ac_func;
59752 #endif
59753 #ifdef __cplusplus
59755 #endif
59758 main ()
59760 return f != $ac_func;
59762 return 0;
59764 _ACEOF
59765 rm -f conftest.$ac_objext conftest$ac_exeext
59766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59767 (eval $ac_link) 2>&5
59768 ac_status=$?
59769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59770 (exit $ac_status); } &&
59771 { ac_try='test -s conftest$ac_exeext'
59772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59773 (eval $ac_try) 2>&5
59774 ac_status=$?
59775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59776 (exit $ac_status); }; }; then
59777 eval "$as_ac_var=yes"
59778 else
59779 echo "$as_me: failed program was:" >&5
59780 sed 's/^/| /' conftest.$ac_ext >&5
59782 eval "$as_ac_var=no"
59784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59788 if test `eval echo '${'$as_ac_var'}'` = yes; then
59789 cat >>confdefs.h <<_ACEOF
59790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59791 _ACEOF
59794 done
59801 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59802 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59803 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59804 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59805 echo $ECHO_N "(cached) $ECHO_C" >&6
59806 else
59810 ac_ext=cc
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816 cat >conftest.$ac_ext <<_ACEOF
59817 #line $LINENO "configure"
59818 /* confdefs.h. */
59819 _ACEOF
59820 cat confdefs.h >>conftest.$ac_ext
59821 cat >>conftest.$ac_ext <<_ACEOF
59822 /* end confdefs.h. */
59823 #include <math.h>
59824 #ifdef HAVE_IEEEFP_H
59825 #include <ieeefp.h>
59826 #endif
59829 main ()
59831 sqrtl(0);
59833 return 0;
59835 _ACEOF
59836 rm -f conftest.$ac_objext
59837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59838 (eval $ac_compile) 2>&5
59839 ac_status=$?
59840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59841 (exit $ac_status); } &&
59842 { ac_try='test -s conftest.$ac_objext'
59843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59844 (eval $ac_try) 2>&5
59845 ac_status=$?
59846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59847 (exit $ac_status); }; }; then
59848 glibcxx_cv_func_sqrtl_use=yes
59849 else
59850 echo "$as_me: failed program was:" >&5
59851 sed 's/^/| /' conftest.$ac_ext >&5
59853 glibcxx_cv_func_sqrtl_use=no
59855 rm -f conftest.$ac_objext conftest.$ac_ext
59856 ac_ext=c
59857 ac_cpp='$CPP $CPPFLAGS'
59858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59867 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59869 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59871 for ac_func in sqrtl
59873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59874 echo "$as_me:$LINENO: checking for $ac_func" >&5
59875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59876 if eval "test \"\${$as_ac_var+set}\" = set"; then
59877 echo $ECHO_N "(cached) $ECHO_C" >&6
59878 else
59879 if test x$gcc_no_link = xyes; then
59880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59882 { (exit 1); exit 1; }; }
59884 cat >conftest.$ac_ext <<_ACEOF
59885 #line $LINENO "configure"
59886 /* confdefs.h. */
59887 _ACEOF
59888 cat confdefs.h >>conftest.$ac_ext
59889 cat >>conftest.$ac_ext <<_ACEOF
59890 /* end confdefs.h. */
59891 /* System header to define __stub macros and hopefully few prototypes,
59892 which can conflict with char $ac_func (); below.
59893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59894 <limits.h> exists even on freestanding compilers. */
59895 #ifdef __STDC__
59896 # include <limits.h>
59897 #else
59898 # include <assert.h>
59899 #endif
59900 /* Override any gcc2 internal prototype to avoid an error. */
59901 #ifdef __cplusplus
59902 extern "C"
59904 #endif
59905 /* We use char because int might match the return type of a gcc2
59906 builtin and then its argument prototype would still apply. */
59907 char $ac_func ();
59908 /* The GNU C library defines this for functions which it implements
59909 to always fail with ENOSYS. Some functions are actually named
59910 something starting with __ and the normal name is an alias. */
59911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59912 choke me
59913 #else
59914 char (*f) () = $ac_func;
59915 #endif
59916 #ifdef __cplusplus
59918 #endif
59921 main ()
59923 return f != $ac_func;
59925 return 0;
59927 _ACEOF
59928 rm -f conftest.$ac_objext conftest$ac_exeext
59929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59930 (eval $ac_link) 2>&5
59931 ac_status=$?
59932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59933 (exit $ac_status); } &&
59934 { ac_try='test -s conftest$ac_exeext'
59935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59936 (eval $ac_try) 2>&5
59937 ac_status=$?
59938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59939 (exit $ac_status); }; }; then
59940 eval "$as_ac_var=yes"
59941 else
59942 echo "$as_me: failed program was:" >&5
59943 sed 's/^/| /' conftest.$ac_ext >&5
59945 eval "$as_ac_var=no"
59947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59951 if test `eval echo '${'$as_ac_var'}'` = yes; then
59952 cat >>confdefs.h <<_ACEOF
59953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59954 _ACEOF
59957 done
59959 else
59961 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59962 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59963 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59964 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59965 echo $ECHO_N "(cached) $ECHO_C" >&6
59966 else
59970 ac_ext=cc
59971 ac_cpp='$CXXCPP $CPPFLAGS'
59972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59976 cat >conftest.$ac_ext <<_ACEOF
59977 #line $LINENO "configure"
59978 /* confdefs.h. */
59979 _ACEOF
59980 cat confdefs.h >>conftest.$ac_ext
59981 cat >>conftest.$ac_ext <<_ACEOF
59982 /* end confdefs.h. */
59983 #include <math.h>
59984 #ifdef HAVE_IEEEFP_H
59985 #include <ieeefp.h>
59986 #endif
59989 main ()
59991 _sqrtl(0);
59993 return 0;
59995 _ACEOF
59996 rm -f conftest.$ac_objext
59997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59998 (eval $ac_compile) 2>&5
59999 ac_status=$?
60000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60001 (exit $ac_status); } &&
60002 { ac_try='test -s conftest.$ac_objext'
60003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60004 (eval $ac_try) 2>&5
60005 ac_status=$?
60006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60007 (exit $ac_status); }; }; then
60008 glibcxx_cv_func__sqrtl_use=yes
60009 else
60010 echo "$as_me: failed program was:" >&5
60011 sed 's/^/| /' conftest.$ac_ext >&5
60013 glibcxx_cv_func__sqrtl_use=no
60015 rm -f conftest.$ac_objext conftest.$ac_ext
60016 ac_ext=c
60017 ac_cpp='$CPP $CPPFLAGS'
60018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60027 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60029 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60031 for ac_func in _sqrtl
60033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60034 echo "$as_me:$LINENO: checking for $ac_func" >&5
60035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60036 if eval "test \"\${$as_ac_var+set}\" = set"; then
60037 echo $ECHO_N "(cached) $ECHO_C" >&6
60038 else
60039 if test x$gcc_no_link = xyes; then
60040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60042 { (exit 1); exit 1; }; }
60044 cat >conftest.$ac_ext <<_ACEOF
60045 #line $LINENO "configure"
60046 /* confdefs.h. */
60047 _ACEOF
60048 cat confdefs.h >>conftest.$ac_ext
60049 cat >>conftest.$ac_ext <<_ACEOF
60050 /* end confdefs.h. */
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. */
60055 #ifdef __STDC__
60056 # include <limits.h>
60057 #else
60058 # include <assert.h>
60059 #endif
60060 /* Override any gcc2 internal prototype to avoid an error. */
60061 #ifdef __cplusplus
60062 extern "C"
60064 #endif
60065 /* We use char because int might match the return type of a gcc2
60066 builtin and then its argument prototype would still apply. */
60067 char $ac_func ();
60068 /* The GNU C library defines this for functions which it implements
60069 to always fail with ENOSYS. Some functions are actually named
60070 something starting with __ and the normal name is an alias. */
60071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60072 choke me
60073 #else
60074 char (*f) () = $ac_func;
60075 #endif
60076 #ifdef __cplusplus
60078 #endif
60081 main ()
60083 return f != $ac_func;
60085 return 0;
60087 _ACEOF
60088 rm -f conftest.$ac_objext conftest$ac_exeext
60089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60090 (eval $ac_link) 2>&5
60091 ac_status=$?
60092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60093 (exit $ac_status); } &&
60094 { ac_try='test -s conftest$ac_exeext'
60095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60096 (eval $ac_try) 2>&5
60097 ac_status=$?
60098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60099 (exit $ac_status); }; }; then
60100 eval "$as_ac_var=yes"
60101 else
60102 echo "$as_me: failed program was:" >&5
60103 sed 's/^/| /' conftest.$ac_ext >&5
60105 eval "$as_ac_var=no"
60107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60111 if test `eval echo '${'$as_ac_var'}'` = yes; then
60112 cat >>confdefs.h <<_ACEOF
60113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60114 _ACEOF
60117 done
60124 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60125 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60126 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60127 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60128 echo $ECHO_N "(cached) $ECHO_C" >&6
60129 else
60133 ac_ext=cc
60134 ac_cpp='$CXXCPP $CPPFLAGS'
60135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60139 cat >conftest.$ac_ext <<_ACEOF
60140 #line $LINENO "configure"
60141 /* confdefs.h. */
60142 _ACEOF
60143 cat confdefs.h >>conftest.$ac_ext
60144 cat >>conftest.$ac_ext <<_ACEOF
60145 /* end confdefs.h. */
60146 #include <math.h>
60148 main ()
60150 sincosl(0, 0, 0);
60152 return 0;
60154 _ACEOF
60155 rm -f conftest.$ac_objext
60156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60157 (eval $ac_compile) 2>&5
60158 ac_status=$?
60159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60160 (exit $ac_status); } &&
60161 { ac_try='test -s conftest.$ac_objext'
60162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60163 (eval $ac_try) 2>&5
60164 ac_status=$?
60165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60166 (exit $ac_status); }; }; then
60167 glibcxx_cv_func_sincosl_use=yes
60168 else
60169 echo "$as_me: failed program was:" >&5
60170 sed 's/^/| /' conftest.$ac_ext >&5
60172 glibcxx_cv_func_sincosl_use=no
60174 rm -f conftest.$ac_objext conftest.$ac_ext
60175 ac_ext=c
60176 ac_cpp='$CPP $CPPFLAGS'
60177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60186 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60188 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60190 for ac_func in sincosl
60192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60193 echo "$as_me:$LINENO: checking for $ac_func" >&5
60194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60195 if eval "test \"\${$as_ac_var+set}\" = set"; then
60196 echo $ECHO_N "(cached) $ECHO_C" >&6
60197 else
60198 if test x$gcc_no_link = xyes; then
60199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60201 { (exit 1); exit 1; }; }
60203 cat >conftest.$ac_ext <<_ACEOF
60204 #line $LINENO "configure"
60205 /* confdefs.h. */
60206 _ACEOF
60207 cat confdefs.h >>conftest.$ac_ext
60208 cat >>conftest.$ac_ext <<_ACEOF
60209 /* end confdefs.h. */
60210 /* System header to define __stub macros and hopefully few prototypes,
60211 which can conflict with char $ac_func (); below.
60212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60213 <limits.h> exists even on freestanding compilers. */
60214 #ifdef __STDC__
60215 # include <limits.h>
60216 #else
60217 # include <assert.h>
60218 #endif
60219 /* Override any gcc2 internal prototype to avoid an error. */
60220 #ifdef __cplusplus
60221 extern "C"
60223 #endif
60224 /* We use char because int might match the return type of a gcc2
60225 builtin and then its argument prototype would still apply. */
60226 char $ac_func ();
60227 /* The GNU C library defines this for functions which it implements
60228 to always fail with ENOSYS. Some functions are actually named
60229 something starting with __ and the normal name is an alias. */
60230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60231 choke me
60232 #else
60233 char (*f) () = $ac_func;
60234 #endif
60235 #ifdef __cplusplus
60237 #endif
60240 main ()
60242 return f != $ac_func;
60244 return 0;
60246 _ACEOF
60247 rm -f conftest.$ac_objext conftest$ac_exeext
60248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60249 (eval $ac_link) 2>&5
60250 ac_status=$?
60251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60252 (exit $ac_status); } &&
60253 { ac_try='test -s conftest$ac_exeext'
60254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60255 (eval $ac_try) 2>&5
60256 ac_status=$?
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); }; }; then
60259 eval "$as_ac_var=yes"
60260 else
60261 echo "$as_me: failed program was:" >&5
60262 sed 's/^/| /' conftest.$ac_ext >&5
60264 eval "$as_ac_var=no"
60266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60270 if test `eval echo '${'$as_ac_var'}'` = yes; then
60271 cat >>confdefs.h <<_ACEOF
60272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60273 _ACEOF
60276 done
60278 else
60280 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60281 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60282 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60283 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60284 echo $ECHO_N "(cached) $ECHO_C" >&6
60285 else
60289 ac_ext=cc
60290 ac_cpp='$CXXCPP $CPPFLAGS'
60291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60295 cat >conftest.$ac_ext <<_ACEOF
60296 #line $LINENO "configure"
60297 /* confdefs.h. */
60298 _ACEOF
60299 cat confdefs.h >>conftest.$ac_ext
60300 cat >>conftest.$ac_ext <<_ACEOF
60301 /* end confdefs.h. */
60302 #include <math.h>
60304 main ()
60306 _sincosl(0, 0, 0);
60308 return 0;
60310 _ACEOF
60311 rm -f conftest.$ac_objext
60312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60313 (eval $ac_compile) 2>&5
60314 ac_status=$?
60315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60316 (exit $ac_status); } &&
60317 { ac_try='test -s conftest.$ac_objext'
60318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60319 (eval $ac_try) 2>&5
60320 ac_status=$?
60321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60322 (exit $ac_status); }; }; then
60323 glibcxx_cv_func__sincosl_use=yes
60324 else
60325 echo "$as_me: failed program was:" >&5
60326 sed 's/^/| /' conftest.$ac_ext >&5
60328 glibcxx_cv_func__sincosl_use=no
60330 rm -f conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60341 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60342 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60344 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60346 for ac_func in _sincosl
60348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60349 echo "$as_me:$LINENO: checking for $ac_func" >&5
60350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60351 if eval "test \"\${$as_ac_var+set}\" = set"; then
60352 echo $ECHO_N "(cached) $ECHO_C" >&6
60353 else
60354 if test x$gcc_no_link = xyes; then
60355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60357 { (exit 1); exit 1; }; }
60359 cat >conftest.$ac_ext <<_ACEOF
60360 #line $LINENO "configure"
60361 /* confdefs.h. */
60362 _ACEOF
60363 cat confdefs.h >>conftest.$ac_ext
60364 cat >>conftest.$ac_ext <<_ACEOF
60365 /* end confdefs.h. */
60366 /* System header to define __stub macros and hopefully few prototypes,
60367 which can conflict with char $ac_func (); below.
60368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60369 <limits.h> exists even on freestanding compilers. */
60370 #ifdef __STDC__
60371 # include <limits.h>
60372 #else
60373 # include <assert.h>
60374 #endif
60375 /* Override any gcc2 internal prototype to avoid an error. */
60376 #ifdef __cplusplus
60377 extern "C"
60379 #endif
60380 /* We use char because int might match the return type of a gcc2
60381 builtin and then its argument prototype would still apply. */
60382 char $ac_func ();
60383 /* The GNU C library defines this for functions which it implements
60384 to always fail with ENOSYS. Some functions are actually named
60385 something starting with __ and the normal name is an alias. */
60386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60387 choke me
60388 #else
60389 char (*f) () = $ac_func;
60390 #endif
60391 #ifdef __cplusplus
60393 #endif
60396 main ()
60398 return f != $ac_func;
60400 return 0;
60402 _ACEOF
60403 rm -f conftest.$ac_objext conftest$ac_exeext
60404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60405 (eval $ac_link) 2>&5
60406 ac_status=$?
60407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60408 (exit $ac_status); } &&
60409 { ac_try='test -s conftest$ac_exeext'
60410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60411 (eval $ac_try) 2>&5
60412 ac_status=$?
60413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60414 (exit $ac_status); }; }; then
60415 eval "$as_ac_var=yes"
60416 else
60417 echo "$as_me: failed program was:" >&5
60418 sed 's/^/| /' conftest.$ac_ext >&5
60420 eval "$as_ac_var=no"
60422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60426 if test `eval echo '${'$as_ac_var'}'` = yes; then
60427 cat >>confdefs.h <<_ACEOF
60428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60429 _ACEOF
60432 done
60439 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60440 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60441 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60442 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60443 echo $ECHO_N "(cached) $ECHO_C" >&6
60444 else
60448 ac_ext=cc
60449 ac_cpp='$CXXCPP $CPPFLAGS'
60450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60454 cat >conftest.$ac_ext <<_ACEOF
60455 #line $LINENO "configure"
60456 /* confdefs.h. */
60457 _ACEOF
60458 cat confdefs.h >>conftest.$ac_ext
60459 cat >>conftest.$ac_ext <<_ACEOF
60460 /* end confdefs.h. */
60461 #include <math.h>
60462 #ifdef HAVE_IEEEFP_H
60463 #include <ieeefp.h>
60464 #endif
60467 main ()
60469 finitel(0);
60471 return 0;
60473 _ACEOF
60474 rm -f conftest.$ac_objext
60475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60476 (eval $ac_compile) 2>&5
60477 ac_status=$?
60478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60479 (exit $ac_status); } &&
60480 { ac_try='test -s conftest.$ac_objext'
60481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60482 (eval $ac_try) 2>&5
60483 ac_status=$?
60484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60485 (exit $ac_status); }; }; then
60486 glibcxx_cv_func_finitel_use=yes
60487 else
60488 echo "$as_me: failed program was:" >&5
60489 sed 's/^/| /' conftest.$ac_ext >&5
60491 glibcxx_cv_func_finitel_use=no
60493 rm -f conftest.$ac_objext conftest.$ac_ext
60494 ac_ext=c
60495 ac_cpp='$CPP $CPPFLAGS'
60496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60505 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60507 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60509 for ac_func in finitel
60511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60512 echo "$as_me:$LINENO: checking for $ac_func" >&5
60513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60514 if eval "test \"\${$as_ac_var+set}\" = set"; then
60515 echo $ECHO_N "(cached) $ECHO_C" >&6
60516 else
60517 if test x$gcc_no_link = xyes; then
60518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60520 { (exit 1); exit 1; }; }
60522 cat >conftest.$ac_ext <<_ACEOF
60523 #line $LINENO "configure"
60524 /* confdefs.h. */
60525 _ACEOF
60526 cat confdefs.h >>conftest.$ac_ext
60527 cat >>conftest.$ac_ext <<_ACEOF
60528 /* end confdefs.h. */
60529 /* System header to define __stub macros and hopefully few prototypes,
60530 which can conflict with char $ac_func (); below.
60531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60532 <limits.h> exists even on freestanding compilers. */
60533 #ifdef __STDC__
60534 # include <limits.h>
60535 #else
60536 # include <assert.h>
60537 #endif
60538 /* Override any gcc2 internal prototype to avoid an error. */
60539 #ifdef __cplusplus
60540 extern "C"
60542 #endif
60543 /* We use char because int might match the return type of a gcc2
60544 builtin and then its argument prototype would still apply. */
60545 char $ac_func ();
60546 /* The GNU C library defines this for functions which it implements
60547 to always fail with ENOSYS. Some functions are actually named
60548 something starting with __ and the normal name is an alias. */
60549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60550 choke me
60551 #else
60552 char (*f) () = $ac_func;
60553 #endif
60554 #ifdef __cplusplus
60556 #endif
60559 main ()
60561 return f != $ac_func;
60563 return 0;
60565 _ACEOF
60566 rm -f conftest.$ac_objext conftest$ac_exeext
60567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60568 (eval $ac_link) 2>&5
60569 ac_status=$?
60570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60571 (exit $ac_status); } &&
60572 { ac_try='test -s conftest$ac_exeext'
60573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60574 (eval $ac_try) 2>&5
60575 ac_status=$?
60576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60577 (exit $ac_status); }; }; then
60578 eval "$as_ac_var=yes"
60579 else
60580 echo "$as_me: failed program was:" >&5
60581 sed 's/^/| /' conftest.$ac_ext >&5
60583 eval "$as_ac_var=no"
60585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60589 if test `eval echo '${'$as_ac_var'}'` = yes; then
60590 cat >>confdefs.h <<_ACEOF
60591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60592 _ACEOF
60595 done
60597 else
60599 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60600 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60601 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60602 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60603 echo $ECHO_N "(cached) $ECHO_C" >&6
60604 else
60608 ac_ext=cc
60609 ac_cpp='$CXXCPP $CPPFLAGS'
60610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60614 cat >conftest.$ac_ext <<_ACEOF
60615 #line $LINENO "configure"
60616 /* confdefs.h. */
60617 _ACEOF
60618 cat confdefs.h >>conftest.$ac_ext
60619 cat >>conftest.$ac_ext <<_ACEOF
60620 /* end confdefs.h. */
60621 #include <math.h>
60622 #ifdef HAVE_IEEEFP_H
60623 #include <ieeefp.h>
60624 #endif
60627 main ()
60629 _finitel(0);
60631 return 0;
60633 _ACEOF
60634 rm -f conftest.$ac_objext
60635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60636 (eval $ac_compile) 2>&5
60637 ac_status=$?
60638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639 (exit $ac_status); } &&
60640 { ac_try='test -s conftest.$ac_objext'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60643 ac_status=$?
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; }; then
60646 glibcxx_cv_func__finitel_use=yes
60647 else
60648 echo "$as_me: failed program was:" >&5
60649 sed 's/^/| /' conftest.$ac_ext >&5
60651 glibcxx_cv_func__finitel_use=no
60653 rm -f conftest.$ac_objext conftest.$ac_ext
60654 ac_ext=c
60655 ac_cpp='$CPP $CPPFLAGS'
60656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60665 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60667 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60669 for ac_func in _finitel
60671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60672 echo "$as_me:$LINENO: checking for $ac_func" >&5
60673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60674 if eval "test \"\${$as_ac_var+set}\" = set"; then
60675 echo $ECHO_N "(cached) $ECHO_C" >&6
60676 else
60677 if test x$gcc_no_link = xyes; then
60678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60680 { (exit 1); exit 1; }; }
60682 cat >conftest.$ac_ext <<_ACEOF
60683 #line $LINENO "configure"
60684 /* confdefs.h. */
60685 _ACEOF
60686 cat confdefs.h >>conftest.$ac_ext
60687 cat >>conftest.$ac_ext <<_ACEOF
60688 /* end confdefs.h. */
60689 /* System header to define __stub macros and hopefully few prototypes,
60690 which can conflict with char $ac_func (); below.
60691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60692 <limits.h> exists even on freestanding compilers. */
60693 #ifdef __STDC__
60694 # include <limits.h>
60695 #else
60696 # include <assert.h>
60697 #endif
60698 /* Override any gcc2 internal prototype to avoid an error. */
60699 #ifdef __cplusplus
60700 extern "C"
60702 #endif
60703 /* We use char because int might match the return type of a gcc2
60704 builtin and then its argument prototype would still apply. */
60705 char $ac_func ();
60706 /* The GNU C library defines this for functions which it implements
60707 to always fail with ENOSYS. Some functions are actually named
60708 something starting with __ and the normal name is an alias. */
60709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60710 choke me
60711 #else
60712 char (*f) () = $ac_func;
60713 #endif
60714 #ifdef __cplusplus
60716 #endif
60719 main ()
60721 return f != $ac_func;
60723 return 0;
60725 _ACEOF
60726 rm -f conftest.$ac_objext conftest$ac_exeext
60727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60728 (eval $ac_link) 2>&5
60729 ac_status=$?
60730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60731 (exit $ac_status); } &&
60732 { ac_try='test -s conftest$ac_exeext'
60733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60734 (eval $ac_try) 2>&5
60735 ac_status=$?
60736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60737 (exit $ac_status); }; }; then
60738 eval "$as_ac_var=yes"
60739 else
60740 echo "$as_me: failed program was:" >&5
60741 sed 's/^/| /' conftest.$ac_ext >&5
60743 eval "$as_ac_var=no"
60745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60749 if test `eval echo '${'$as_ac_var'}'` = yes; then
60750 cat >>confdefs.h <<_ACEOF
60751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60752 _ACEOF
60755 done
60763 echo "$as_me:$LINENO: checking for _float trig functions" >&5
60764 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
60765 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
60766 echo $ECHO_N "(cached) $ECHO_C" >&6
60767 else
60771 ac_ext=cc
60772 ac_cpp='$CXXCPP $CPPFLAGS'
60773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60777 cat >conftest.$ac_ext <<_ACEOF
60778 #line $LINENO "configure"
60779 /* confdefs.h. */
60780 _ACEOF
60781 cat confdefs.h >>conftest.$ac_ext
60782 cat >>conftest.$ac_ext <<_ACEOF
60783 /* end confdefs.h. */
60784 #include <math.h>
60786 main ()
60788 `for x in _acosf _asinf _atanf \
60789 _cosf _sinf _tanf \
60790 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
60792 return 0;
60794 _ACEOF
60795 rm -f conftest.$ac_objext
60796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60797 (eval $ac_compile) 2>&5
60798 ac_status=$?
60799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60800 (exit $ac_status); } &&
60801 { ac_try='test -s conftest.$ac_objext'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; }; then
60807 glibcxx_cv_func__float_trig_use=yes
60808 else
60809 echo "$as_me: failed program was:" >&5
60810 sed 's/^/| /' conftest.$ac_ext >&5
60812 glibcxx_cv_func__float_trig_use=no
60814 rm -f conftest.$ac_objext conftest.$ac_ext
60815 ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
60824 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
60825 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60835 for ac_func in _acosf _asinf _atanf \
60836 _cosf _sinf _tanf \
60837 _coshf _sinhf _tanhf
60839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60840 echo "$as_me:$LINENO: checking for $ac_func" >&5
60841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60842 if eval "test \"\${$as_ac_var+set}\" = set"; then
60843 echo $ECHO_N "(cached) $ECHO_C" >&6
60844 else
60845 if test x$gcc_no_link = xyes; then
60846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60848 { (exit 1); exit 1; }; }
60850 cat >conftest.$ac_ext <<_ACEOF
60851 #line $LINENO "configure"
60852 /* confdefs.h. */
60853 _ACEOF
60854 cat confdefs.h >>conftest.$ac_ext
60855 cat >>conftest.$ac_ext <<_ACEOF
60856 /* end confdefs.h. */
60857 /* System header to define __stub macros and hopefully few prototypes,
60858 which can conflict with char $ac_func (); below.
60859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60860 <limits.h> exists even on freestanding compilers. */
60861 #ifdef __STDC__
60862 # include <limits.h>
60863 #else
60864 # include <assert.h>
60865 #endif
60866 /* Override any gcc2 internal prototype to avoid an error. */
60867 #ifdef __cplusplus
60868 extern "C"
60870 #endif
60871 /* We use char because int might match the return type of a gcc2
60872 builtin and then its argument prototype would still apply. */
60873 char $ac_func ();
60874 /* The GNU C library defines this for functions which it implements
60875 to always fail with ENOSYS. Some functions are actually named
60876 something starting with __ and the normal name is an alias. */
60877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60878 choke me
60879 #else
60880 char (*f) () = $ac_func;
60881 #endif
60882 #ifdef __cplusplus
60884 #endif
60887 main ()
60889 return f != $ac_func;
60891 return 0;
60893 _ACEOF
60894 rm -f conftest.$ac_objext conftest$ac_exeext
60895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60896 (eval $ac_link) 2>&5
60897 ac_status=$?
60898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60899 (exit $ac_status); } &&
60900 { ac_try='test -s conftest$ac_exeext'
60901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60902 (eval $ac_try) 2>&5
60903 ac_status=$?
60904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905 (exit $ac_status); }; }; then
60906 eval "$as_ac_var=yes"
60907 else
60908 echo "$as_me: failed program was:" >&5
60909 sed 's/^/| /' conftest.$ac_ext >&5
60911 eval "$as_ac_var=no"
60913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60917 if test `eval echo '${'$as_ac_var'}'` = yes; then
60918 cat >>confdefs.h <<_ACEOF
60919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60920 _ACEOF
60923 done
60928 echo "$as_me:$LINENO: checking for _float round functions" >&5
60929 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
60930 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
60931 echo $ECHO_N "(cached) $ECHO_C" >&6
60932 else
60936 ac_ext=cc
60937 ac_cpp='$CXXCPP $CPPFLAGS'
60938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60942 cat >conftest.$ac_ext <<_ACEOF
60943 #line $LINENO "configure"
60944 /* confdefs.h. */
60945 _ACEOF
60946 cat confdefs.h >>conftest.$ac_ext
60947 cat >>conftest.$ac_ext <<_ACEOF
60948 /* end confdefs.h. */
60949 #include <math.h>
60951 main ()
60953 `for x in _ceilf _floorf; do echo "$x (0);"; done`
60955 return 0;
60957 _ACEOF
60958 rm -f conftest.$ac_objext
60959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60960 (eval $ac_compile) 2>&5
60961 ac_status=$?
60962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963 (exit $ac_status); } &&
60964 { ac_try='test -s conftest.$ac_objext'
60965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60966 (eval $ac_try) 2>&5
60967 ac_status=$?
60968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969 (exit $ac_status); }; }; then
60970 glibcxx_cv_func__float_round_use=yes
60971 else
60972 echo "$as_me: failed program was:" >&5
60973 sed 's/^/| /' conftest.$ac_ext >&5
60975 glibcxx_cv_func__float_round_use=no
60977 rm -f conftest.$ac_objext conftest.$ac_ext
60978 ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
60987 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
60988 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60991 for ac_func in _ceilf _floorf
60993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60994 echo "$as_me:$LINENO: checking for $ac_func" >&5
60995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60996 if eval "test \"\${$as_ac_var+set}\" = set"; then
60997 echo $ECHO_N "(cached) $ECHO_C" >&6
60998 else
60999 if test x$gcc_no_link = xyes; then
61000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61002 { (exit 1); exit 1; }; }
61004 cat >conftest.$ac_ext <<_ACEOF
61005 #line $LINENO "configure"
61006 /* confdefs.h. */
61007 _ACEOF
61008 cat confdefs.h >>conftest.$ac_ext
61009 cat >>conftest.$ac_ext <<_ACEOF
61010 /* end confdefs.h. */
61011 /* System header to define __stub macros and hopefully few prototypes,
61012 which can conflict with char $ac_func (); below.
61013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61014 <limits.h> exists even on freestanding compilers. */
61015 #ifdef __STDC__
61016 # include <limits.h>
61017 #else
61018 # include <assert.h>
61019 #endif
61020 /* Override any gcc2 internal prototype to avoid an error. */
61021 #ifdef __cplusplus
61022 extern "C"
61024 #endif
61025 /* We use char because int might match the return type of a gcc2
61026 builtin and then its argument prototype would still apply. */
61027 char $ac_func ();
61028 /* The GNU C library defines this for functions which it implements
61029 to always fail with ENOSYS. Some functions are actually named
61030 something starting with __ and the normal name is an alias. */
61031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61032 choke me
61033 #else
61034 char (*f) () = $ac_func;
61035 #endif
61036 #ifdef __cplusplus
61038 #endif
61041 main ()
61043 return f != $ac_func;
61045 return 0;
61047 _ACEOF
61048 rm -f conftest.$ac_objext conftest$ac_exeext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61050 (eval $ac_link) 2>&5
61051 ac_status=$?
61052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61053 (exit $ac_status); } &&
61054 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
61060 eval "$as_ac_var=yes"
61061 else
61062 echo "$as_me: failed program was:" >&5
61063 sed 's/^/| /' conftest.$ac_ext >&5
61065 eval "$as_ac_var=no"
61067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61071 if test `eval echo '${'$as_ac_var'}'` = yes; then
61072 cat >>confdefs.h <<_ACEOF
61073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61074 _ACEOF
61077 done
61083 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
61084 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
61085 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
61086 echo $ECHO_N "(cached) $ECHO_C" >&6
61087 else
61091 ac_ext=cc
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097 cat >conftest.$ac_ext <<_ACEOF
61098 #line $LINENO "configure"
61099 /* confdefs.h. */
61100 _ACEOF
61101 cat confdefs.h >>conftest.$ac_ext
61102 cat >>conftest.$ac_ext <<_ACEOF
61103 /* end confdefs.h. */
61104 #include <math.h>
61106 main ()
61108 `for x in _acosl _asinl _atanl \
61109 _cosl _sinl _tanl \
61110 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
61112 return 0;
61114 _ACEOF
61115 rm -f conftest.$ac_objext
61116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61117 (eval $ac_compile) 2>&5
61118 ac_status=$?
61119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120 (exit $ac_status); } &&
61121 { ac_try='test -s conftest.$ac_objext'
61122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61123 (eval $ac_try) 2>&5
61124 ac_status=$?
61125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126 (exit $ac_status); }; }; then
61127 glibcxx_cv_func__long_double_trig_use=yes
61128 else
61129 echo "$as_me: failed program was:" >&5
61130 sed 's/^/| /' conftest.$ac_ext >&5
61132 glibcxx_cv_func__long_double_trig_use=no
61134 rm -f conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
61144 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
61145 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61155 for ac_func in _acosl _asinl _atanl \
61156 _cosl _sinl _tanl \
61157 _coshl _sinhl _tanhl
61159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61160 echo "$as_me:$LINENO: checking for $ac_func" >&5
61161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61162 if eval "test \"\${$as_ac_var+set}\" = set"; then
61163 echo $ECHO_N "(cached) $ECHO_C" >&6
61164 else
61165 if test x$gcc_no_link = xyes; then
61166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61168 { (exit 1); exit 1; }; }
61170 cat >conftest.$ac_ext <<_ACEOF
61171 #line $LINENO "configure"
61172 /* confdefs.h. */
61173 _ACEOF
61174 cat confdefs.h >>conftest.$ac_ext
61175 cat >>conftest.$ac_ext <<_ACEOF
61176 /* end confdefs.h. */
61177 /* System header to define __stub macros and hopefully few prototypes,
61178 which can conflict with char $ac_func (); below.
61179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61180 <limits.h> exists even on freestanding compilers. */
61181 #ifdef __STDC__
61182 # include <limits.h>
61183 #else
61184 # include <assert.h>
61185 #endif
61186 /* Override any gcc2 internal prototype to avoid an error. */
61187 #ifdef __cplusplus
61188 extern "C"
61190 #endif
61191 /* We use char because int might match the return type of a gcc2
61192 builtin and then its argument prototype would still apply. */
61193 char $ac_func ();
61194 /* The GNU C library defines this for functions which it implements
61195 to always fail with ENOSYS. Some functions are actually named
61196 something starting with __ and the normal name is an alias. */
61197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61198 choke me
61199 #else
61200 char (*f) () = $ac_func;
61201 #endif
61202 #ifdef __cplusplus
61204 #endif
61207 main ()
61209 return f != $ac_func;
61211 return 0;
61213 _ACEOF
61214 rm -f conftest.$ac_objext conftest$ac_exeext
61215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61216 (eval $ac_link) 2>&5
61217 ac_status=$?
61218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219 (exit $ac_status); } &&
61220 { ac_try='test -s conftest$ac_exeext'
61221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61222 (eval $ac_try) 2>&5
61223 ac_status=$?
61224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61225 (exit $ac_status); }; }; then
61226 eval "$as_ac_var=yes"
61227 else
61228 echo "$as_me: failed program was:" >&5
61229 sed 's/^/| /' conftest.$ac_ext >&5
61231 eval "$as_ac_var=no"
61233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61237 if test `eval echo '${'$as_ac_var'}'` = yes; then
61238 cat >>confdefs.h <<_ACEOF
61239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61240 _ACEOF
61243 done
61248 echo "$as_me:$LINENO: checking for _long double round functions" >&5
61249 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
61250 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
61251 echo $ECHO_N "(cached) $ECHO_C" >&6
61252 else
61256 ac_ext=cc
61257 ac_cpp='$CXXCPP $CPPFLAGS'
61258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61262 cat >conftest.$ac_ext <<_ACEOF
61263 #line $LINENO "configure"
61264 /* confdefs.h. */
61265 _ACEOF
61266 cat confdefs.h >>conftest.$ac_ext
61267 cat >>conftest.$ac_ext <<_ACEOF
61268 /* end confdefs.h. */
61269 #include <math.h>
61271 main ()
61273 `for x in _ceill _floorl; do echo "$x (0);"; done`
61275 return 0;
61277 _ACEOF
61278 rm -f conftest.$ac_objext
61279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61280 (eval $ac_compile) 2>&5
61281 ac_status=$?
61282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283 (exit $ac_status); } &&
61284 { ac_try='test -s conftest.$ac_objext'
61285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61286 (eval $ac_try) 2>&5
61287 ac_status=$?
61288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61289 (exit $ac_status); }; }; then
61290 glibcxx_cv_func__long_double_round_use=yes
61291 else
61292 echo "$as_me: failed program was:" >&5
61293 sed 's/^/| /' conftest.$ac_ext >&5
61295 glibcxx_cv_func__long_double_round_use=no
61297 rm -f conftest.$ac_objext conftest.$ac_ext
61298 ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
61307 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
61308 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61311 for ac_func in _ceill _floorl
61313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61314 echo "$as_me:$LINENO: checking for $ac_func" >&5
61315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61316 if eval "test \"\${$as_ac_var+set}\" = set"; then
61317 echo $ECHO_N "(cached) $ECHO_C" >&6
61318 else
61319 if test x$gcc_no_link = xyes; then
61320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61322 { (exit 1); exit 1; }; }
61324 cat >conftest.$ac_ext <<_ACEOF
61325 #line $LINENO "configure"
61326 /* confdefs.h. */
61327 _ACEOF
61328 cat confdefs.h >>conftest.$ac_ext
61329 cat >>conftest.$ac_ext <<_ACEOF
61330 /* end confdefs.h. */
61331 /* System header to define __stub macros and hopefully few prototypes,
61332 which can conflict with char $ac_func (); below.
61333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61334 <limits.h> exists even on freestanding compilers. */
61335 #ifdef __STDC__
61336 # include <limits.h>
61337 #else
61338 # include <assert.h>
61339 #endif
61340 /* Override any gcc2 internal prototype to avoid an error. */
61341 #ifdef __cplusplus
61342 extern "C"
61344 #endif
61345 /* We use char because int might match the return type of a gcc2
61346 builtin and then its argument prototype would still apply. */
61347 char $ac_func ();
61348 /* The GNU C library defines this for functions which it implements
61349 to always fail with ENOSYS. Some functions are actually named
61350 something starting with __ and the normal name is an alias. */
61351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61352 choke me
61353 #else
61354 char (*f) () = $ac_func;
61355 #endif
61356 #ifdef __cplusplus
61358 #endif
61361 main ()
61363 return f != $ac_func;
61365 return 0;
61367 _ACEOF
61368 rm -f conftest.$ac_objext conftest$ac_exeext
61369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61370 (eval $ac_link) 2>&5
61371 ac_status=$?
61372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373 (exit $ac_status); } &&
61374 { ac_try='test -s conftest$ac_exeext'
61375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376 (eval $ac_try) 2>&5
61377 ac_status=$?
61378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379 (exit $ac_status); }; }; then
61380 eval "$as_ac_var=yes"
61381 else
61382 echo "$as_me: failed program was:" >&5
61383 sed 's/^/| /' conftest.$ac_ext >&5
61385 eval "$as_ac_var=no"
61387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61391 if test `eval echo '${'$as_ac_var'}'` = yes; then
61392 cat >>confdefs.h <<_ACEOF
61393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61394 _ACEOF
61397 done
61402 LIBS="$ac_save_LIBS"
61403 CXXFLAGS="$ac_save_CXXFLAGS"
61407 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61408 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61409 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61410 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61411 echo $ECHO_N "(cached) $ECHO_C" >&6
61412 else
61416 ac_ext=cc
61417 ac_cpp='$CXXCPP $CPPFLAGS'
61418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422 cat >conftest.$ac_ext <<_ACEOF
61423 #line $LINENO "configure"
61424 /* confdefs.h. */
61425 _ACEOF
61426 cat confdefs.h >>conftest.$ac_ext
61427 cat >>conftest.$ac_ext <<_ACEOF
61428 /* end confdefs.h. */
61429 #include <math.h>
61431 main ()
61433 __builtin_abs(0);
61435 return 0;
61437 _ACEOF
61438 rm -f conftest.$ac_objext
61439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61440 (eval $ac_compile) 2>&5
61441 ac_status=$?
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); } &&
61444 { ac_try='test -s conftest.$ac_objext'
61445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446 (eval $ac_try) 2>&5
61447 ac_status=$?
61448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449 (exit $ac_status); }; }; then
61450 glibcxx_cv_func___builtin_abs_use=yes
61451 else
61452 echo "$as_me: failed program was:" >&5
61453 sed 's/^/| /' conftest.$ac_ext >&5
61455 glibcxx_cv_func___builtin_abs_use=no
61457 rm -f conftest.$ac_objext conftest.$ac_ext
61458 ac_ext=c
61459 ac_cpp='$CPP $CPPFLAGS'
61460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61468 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61469 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61470 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61471 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61472 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61473 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61474 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61475 echo $ECHO_N "(cached) $ECHO_C" >&6
61476 else
61478 if test x$gcc_no_link = xyes; then
61479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61481 { (exit 1); exit 1; }; }
61483 cat >conftest.$ac_ext <<_ACEOF
61484 #line $LINENO "configure"
61485 /* confdefs.h. */
61486 _ACEOF
61487 cat confdefs.h >>conftest.$ac_ext
61488 cat >>conftest.$ac_ext <<_ACEOF
61489 /* end confdefs.h. */
61490 #include <math.h>
61492 main ()
61494 __builtin_abs(0);
61496 return 0;
61498 _ACEOF
61499 rm -f conftest.$ac_objext conftest$ac_exeext
61500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61501 (eval $ac_link) 2>&5
61502 ac_status=$?
61503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504 (exit $ac_status); } &&
61505 { ac_try='test -s conftest$ac_exeext'
61506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61507 (eval $ac_try) 2>&5
61508 ac_status=$?
61509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61510 (exit $ac_status); }; }; then
61511 glibcxx_cv_func___builtin_abs_link=yes
61512 else
61513 echo "$as_me: failed program was:" >&5
61514 sed 's/^/| /' conftest.$ac_ext >&5
61516 glibcxx_cv_func___builtin_abs_link=no
61518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61524 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61525 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61526 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61528 cat >>confdefs.h <<_ACEOF
61529 #define ${ac_tr_func} 1
61530 _ACEOF
61536 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61537 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61538 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61539 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61540 echo $ECHO_N "(cached) $ECHO_C" >&6
61541 else
61545 ac_ext=cc
61546 ac_cpp='$CXXCPP $CPPFLAGS'
61547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61551 cat >conftest.$ac_ext <<_ACEOF
61552 #line $LINENO "configure"
61553 /* confdefs.h. */
61554 _ACEOF
61555 cat confdefs.h >>conftest.$ac_ext
61556 cat >>conftest.$ac_ext <<_ACEOF
61557 /* end confdefs.h. */
61558 #include <math.h>
61560 main ()
61562 __builtin_fabsf(0);
61564 return 0;
61566 _ACEOF
61567 rm -f conftest.$ac_objext
61568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61569 (eval $ac_compile) 2>&5
61570 ac_status=$?
61571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61572 (exit $ac_status); } &&
61573 { ac_try='test -s conftest.$ac_objext'
61574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61575 (eval $ac_try) 2>&5
61576 ac_status=$?
61577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61578 (exit $ac_status); }; }; then
61579 glibcxx_cv_func___builtin_fabsf_use=yes
61580 else
61581 echo "$as_me: failed program was:" >&5
61582 sed 's/^/| /' conftest.$ac_ext >&5
61584 glibcxx_cv_func___builtin_fabsf_use=no
61586 rm -f conftest.$ac_objext conftest.$ac_ext
61587 ac_ext=c
61588 ac_cpp='$CPP $CPPFLAGS'
61589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61597 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61599 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61600 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61601 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61602 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61603 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61604 echo $ECHO_N "(cached) $ECHO_C" >&6
61605 else
61607 if test x$gcc_no_link = xyes; then
61608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61610 { (exit 1); exit 1; }; }
61612 cat >conftest.$ac_ext <<_ACEOF
61613 #line $LINENO "configure"
61614 /* confdefs.h. */
61615 _ACEOF
61616 cat confdefs.h >>conftest.$ac_ext
61617 cat >>conftest.$ac_ext <<_ACEOF
61618 /* end confdefs.h. */
61619 #include <math.h>
61621 main ()
61623 __builtin_fabsf(0);
61625 return 0;
61627 _ACEOF
61628 rm -f conftest.$ac_objext conftest$ac_exeext
61629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61630 (eval $ac_link) 2>&5
61631 ac_status=$?
61632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 (exit $ac_status); } &&
61634 { ac_try='test -s conftest$ac_exeext'
61635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636 (eval $ac_try) 2>&5
61637 ac_status=$?
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); }; }; then
61640 glibcxx_cv_func___builtin_fabsf_link=yes
61641 else
61642 echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61645 glibcxx_cv_func___builtin_fabsf_link=no
61647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61653 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61654 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61655 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61657 cat >>confdefs.h <<_ACEOF
61658 #define ${ac_tr_func} 1
61659 _ACEOF
61665 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61666 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61667 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61668 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61669 echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61674 ac_ext=cc
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61680 cat >conftest.$ac_ext <<_ACEOF
61681 #line $LINENO "configure"
61682 /* confdefs.h. */
61683 _ACEOF
61684 cat confdefs.h >>conftest.$ac_ext
61685 cat >>conftest.$ac_ext <<_ACEOF
61686 /* end confdefs.h. */
61687 #include <math.h>
61689 main ()
61691 __builtin_fabs(0);
61693 return 0;
61695 _ACEOF
61696 rm -f conftest.$ac_objext
61697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61698 (eval $ac_compile) 2>&5
61699 ac_status=$?
61700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701 (exit $ac_status); } &&
61702 { ac_try='test -s conftest.$ac_objext'
61703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704 (eval $ac_try) 2>&5
61705 ac_status=$?
61706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707 (exit $ac_status); }; }; then
61708 glibcxx_cv_func___builtin_fabs_use=yes
61709 else
61710 echo "$as_me: failed program was:" >&5
61711 sed 's/^/| /' conftest.$ac_ext >&5
61713 glibcxx_cv_func___builtin_fabs_use=no
61715 rm -f conftest.$ac_objext conftest.$ac_ext
61716 ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61727 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61728 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61729 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61730 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61731 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61732 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61733 echo $ECHO_N "(cached) $ECHO_C" >&6
61734 else
61736 if test x$gcc_no_link = xyes; then
61737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61739 { (exit 1); exit 1; }; }
61741 cat >conftest.$ac_ext <<_ACEOF
61742 #line $LINENO "configure"
61743 /* confdefs.h. */
61744 _ACEOF
61745 cat confdefs.h >>conftest.$ac_ext
61746 cat >>conftest.$ac_ext <<_ACEOF
61747 /* end confdefs.h. */
61748 #include <math.h>
61750 main ()
61752 __builtin_fabs(0);
61754 return 0;
61756 _ACEOF
61757 rm -f conftest.$ac_objext conftest$ac_exeext
61758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61759 (eval $ac_link) 2>&5
61760 ac_status=$?
61761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762 (exit $ac_status); } &&
61763 { ac_try='test -s conftest$ac_exeext'
61764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61765 (eval $ac_try) 2>&5
61766 ac_status=$?
61767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61768 (exit $ac_status); }; }; then
61769 glibcxx_cv_func___builtin_fabs_link=yes
61770 else
61771 echo "$as_me: failed program was:" >&5
61772 sed 's/^/| /' conftest.$ac_ext >&5
61774 glibcxx_cv_func___builtin_fabs_link=no
61776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61782 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61783 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61784 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61786 cat >>confdefs.h <<_ACEOF
61787 #define ${ac_tr_func} 1
61788 _ACEOF
61794 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61795 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61796 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61797 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61798 echo $ECHO_N "(cached) $ECHO_C" >&6
61799 else
61803 ac_ext=cc
61804 ac_cpp='$CXXCPP $CPPFLAGS'
61805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61809 cat >conftest.$ac_ext <<_ACEOF
61810 #line $LINENO "configure"
61811 /* confdefs.h. */
61812 _ACEOF
61813 cat confdefs.h >>conftest.$ac_ext
61814 cat >>conftest.$ac_ext <<_ACEOF
61815 /* end confdefs.h. */
61816 #include <math.h>
61818 main ()
61820 __builtin_fabsl(0);
61822 return 0;
61824 _ACEOF
61825 rm -f conftest.$ac_objext
61826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61827 (eval $ac_compile) 2>&5
61828 ac_status=$?
61829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61830 (exit $ac_status); } &&
61831 { ac_try='test -s conftest.$ac_objext'
61832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61833 (eval $ac_try) 2>&5
61834 ac_status=$?
61835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61836 (exit $ac_status); }; }; then
61837 glibcxx_cv_func___builtin_fabsl_use=yes
61838 else
61839 echo "$as_me: failed program was:" >&5
61840 sed 's/^/| /' conftest.$ac_ext >&5
61842 glibcxx_cv_func___builtin_fabsl_use=no
61844 rm -f conftest.$ac_objext conftest.$ac_ext
61845 ac_ext=c
61846 ac_cpp='$CPP $CPPFLAGS'
61847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61855 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61856 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61857 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61858 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61859 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61860 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61861 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61862 echo $ECHO_N "(cached) $ECHO_C" >&6
61863 else
61865 if test x$gcc_no_link = xyes; then
61866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61868 { (exit 1); exit 1; }; }
61870 cat >conftest.$ac_ext <<_ACEOF
61871 #line $LINENO "configure"
61872 /* confdefs.h. */
61873 _ACEOF
61874 cat confdefs.h >>conftest.$ac_ext
61875 cat >>conftest.$ac_ext <<_ACEOF
61876 /* end confdefs.h. */
61877 #include <math.h>
61879 main ()
61881 __builtin_fabsl(0);
61883 return 0;
61885 _ACEOF
61886 rm -f conftest.$ac_objext conftest$ac_exeext
61887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61888 (eval $ac_link) 2>&5
61889 ac_status=$?
61890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61891 (exit $ac_status); } &&
61892 { ac_try='test -s conftest$ac_exeext'
61893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61894 (eval $ac_try) 2>&5
61895 ac_status=$?
61896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61897 (exit $ac_status); }; }; then
61898 glibcxx_cv_func___builtin_fabsl_link=yes
61899 else
61900 echo "$as_me: failed program was:" >&5
61901 sed 's/^/| /' conftest.$ac_ext >&5
61903 glibcxx_cv_func___builtin_fabsl_link=no
61905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61912 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61913 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61915 cat >>confdefs.h <<_ACEOF
61916 #define ${ac_tr_func} 1
61917 _ACEOF
61923 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61924 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61925 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61926 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61927 echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61932 ac_ext=cc
61933 ac_cpp='$CXXCPP $CPPFLAGS'
61934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938 cat >conftest.$ac_ext <<_ACEOF
61939 #line $LINENO "configure"
61940 /* confdefs.h. */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h. */
61945 #include <math.h>
61947 main ()
61949 __builtin_labs(0);
61951 return 0;
61953 _ACEOF
61954 rm -f conftest.$ac_objext
61955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61956 (eval $ac_compile) 2>&5
61957 ac_status=$?
61958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61959 (exit $ac_status); } &&
61960 { ac_try='test -s conftest.$ac_objext'
61961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61962 (eval $ac_try) 2>&5
61963 ac_status=$?
61964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61965 (exit $ac_status); }; }; then
61966 glibcxx_cv_func___builtin_labs_use=yes
61967 else
61968 echo "$as_me: failed program was:" >&5
61969 sed 's/^/| /' conftest.$ac_ext >&5
61971 glibcxx_cv_func___builtin_labs_use=no
61973 rm -f conftest.$ac_objext conftest.$ac_ext
61974 ac_ext=c
61975 ac_cpp='$CPP $CPPFLAGS'
61976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61985 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61986 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61987 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61988 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61989 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61990 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61991 echo $ECHO_N "(cached) $ECHO_C" >&6
61992 else
61994 if test x$gcc_no_link = xyes; then
61995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61997 { (exit 1); exit 1; }; }
61999 cat >conftest.$ac_ext <<_ACEOF
62000 #line $LINENO "configure"
62001 /* confdefs.h. */
62002 _ACEOF
62003 cat confdefs.h >>conftest.$ac_ext
62004 cat >>conftest.$ac_ext <<_ACEOF
62005 /* end confdefs.h. */
62006 #include <math.h>
62008 main ()
62010 __builtin_labs(0);
62012 return 0;
62014 _ACEOF
62015 rm -f conftest.$ac_objext conftest$ac_exeext
62016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62017 (eval $ac_link) 2>&5
62018 ac_status=$?
62019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62020 (exit $ac_status); } &&
62021 { ac_try='test -s conftest$ac_exeext'
62022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62023 (eval $ac_try) 2>&5
62024 ac_status=$?
62025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62026 (exit $ac_status); }; }; then
62027 glibcxx_cv_func___builtin_labs_link=yes
62028 else
62029 echo "$as_me: failed program was:" >&5
62030 sed 's/^/| /' conftest.$ac_ext >&5
62032 glibcxx_cv_func___builtin_labs_link=no
62034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62039 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62040 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62041 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62042 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62044 cat >>confdefs.h <<_ACEOF
62045 #define ${ac_tr_func} 1
62046 _ACEOF
62053 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62054 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62055 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62056 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62057 echo $ECHO_N "(cached) $ECHO_C" >&6
62058 else
62062 ac_ext=cc
62063 ac_cpp='$CXXCPP $CPPFLAGS'
62064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62068 cat >conftest.$ac_ext <<_ACEOF
62069 #line $LINENO "configure"
62070 /* confdefs.h. */
62071 _ACEOF
62072 cat confdefs.h >>conftest.$ac_ext
62073 cat >>conftest.$ac_ext <<_ACEOF
62074 /* end confdefs.h. */
62075 #include <math.h>
62077 main ()
62079 __builtin_sqrtf(0);
62081 return 0;
62083 _ACEOF
62084 rm -f conftest.$ac_objext
62085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62086 (eval $ac_compile) 2>&5
62087 ac_status=$?
62088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62089 (exit $ac_status); } &&
62090 { ac_try='test -s conftest.$ac_objext'
62091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62092 (eval $ac_try) 2>&5
62093 ac_status=$?
62094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62095 (exit $ac_status); }; }; then
62096 glibcxx_cv_func___builtin_sqrtf_use=yes
62097 else
62098 echo "$as_me: failed program was:" >&5
62099 sed 's/^/| /' conftest.$ac_ext >&5
62101 glibcxx_cv_func___builtin_sqrtf_use=no
62103 rm -f conftest.$ac_objext conftest.$ac_ext
62104 ac_ext=c
62105 ac_cpp='$CPP $CPPFLAGS'
62106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62114 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62116 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62117 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62118 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62119 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62120 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62121 echo $ECHO_N "(cached) $ECHO_C" >&6
62122 else
62124 if test x$gcc_no_link = xyes; then
62125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62127 { (exit 1); exit 1; }; }
62129 cat >conftest.$ac_ext <<_ACEOF
62130 #line $LINENO "configure"
62131 /* confdefs.h. */
62132 _ACEOF
62133 cat confdefs.h >>conftest.$ac_ext
62134 cat >>conftest.$ac_ext <<_ACEOF
62135 /* end confdefs.h. */
62136 #include <math.h>
62138 main ()
62140 __builtin_sqrtf(0);
62142 return 0;
62144 _ACEOF
62145 rm -f conftest.$ac_objext conftest$ac_exeext
62146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62147 (eval $ac_link) 2>&5
62148 ac_status=$?
62149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62150 (exit $ac_status); } &&
62151 { ac_try='test -s conftest$ac_exeext'
62152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62153 (eval $ac_try) 2>&5
62154 ac_status=$?
62155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62156 (exit $ac_status); }; }; then
62157 glibcxx_cv_func___builtin_sqrtf_link=yes
62158 else
62159 echo "$as_me: failed program was:" >&5
62160 sed 's/^/| /' conftest.$ac_ext >&5
62162 glibcxx_cv_func___builtin_sqrtf_link=no
62164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62171 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62172 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62174 cat >>confdefs.h <<_ACEOF
62175 #define ${ac_tr_func} 1
62176 _ACEOF
62182 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62183 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62184 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62185 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62186 echo $ECHO_N "(cached) $ECHO_C" >&6
62187 else
62191 ac_ext=cc
62192 ac_cpp='$CXXCPP $CPPFLAGS'
62193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62197 cat >conftest.$ac_ext <<_ACEOF
62198 #line $LINENO "configure"
62199 /* confdefs.h. */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h. */
62204 #include <math.h>
62206 main ()
62208 __builtin_sqrt(0);
62210 return 0;
62212 _ACEOF
62213 rm -f conftest.$ac_objext
62214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62215 (eval $ac_compile) 2>&5
62216 ac_status=$?
62217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62218 (exit $ac_status); } &&
62219 { ac_try='test -s conftest.$ac_objext'
62220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62221 (eval $ac_try) 2>&5
62222 ac_status=$?
62223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62224 (exit $ac_status); }; }; then
62225 glibcxx_cv_func___builtin_sqrt_use=yes
62226 else
62227 echo "$as_me: failed program was:" >&5
62228 sed 's/^/| /' conftest.$ac_ext >&5
62230 glibcxx_cv_func___builtin_sqrt_use=no
62232 rm -f conftest.$ac_objext conftest.$ac_ext
62233 ac_ext=c
62234 ac_cpp='$CPP $CPPFLAGS'
62235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62245 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62246 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62247 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62248 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62249 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62250 echo $ECHO_N "(cached) $ECHO_C" >&6
62251 else
62253 if test x$gcc_no_link = xyes; then
62254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62256 { (exit 1); exit 1; }; }
62258 cat >conftest.$ac_ext <<_ACEOF
62259 #line $LINENO "configure"
62260 /* confdefs.h. */
62261 _ACEOF
62262 cat confdefs.h >>conftest.$ac_ext
62263 cat >>conftest.$ac_ext <<_ACEOF
62264 /* end confdefs.h. */
62265 #include <math.h>
62267 main ()
62269 __builtin_sqrt(0);
62271 return 0;
62273 _ACEOF
62274 rm -f conftest.$ac_objext conftest$ac_exeext
62275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62276 (eval $ac_link) 2>&5
62277 ac_status=$?
62278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279 (exit $ac_status); } &&
62280 { ac_try='test -s conftest$ac_exeext'
62281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62282 (eval $ac_try) 2>&5
62283 ac_status=$?
62284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62285 (exit $ac_status); }; }; then
62286 glibcxx_cv_func___builtin_sqrt_link=yes
62287 else
62288 echo "$as_me: failed program was:" >&5
62289 sed 's/^/| /' conftest.$ac_ext >&5
62291 glibcxx_cv_func___builtin_sqrt_link=no
62293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62299 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62300 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62301 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62303 cat >>confdefs.h <<_ACEOF
62304 #define ${ac_tr_func} 1
62305 _ACEOF
62311 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62312 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62313 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62314 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62315 echo $ECHO_N "(cached) $ECHO_C" >&6
62316 else
62320 ac_ext=cc
62321 ac_cpp='$CXXCPP $CPPFLAGS'
62322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62326 cat >conftest.$ac_ext <<_ACEOF
62327 #line $LINENO "configure"
62328 /* confdefs.h. */
62329 _ACEOF
62330 cat confdefs.h >>conftest.$ac_ext
62331 cat >>conftest.$ac_ext <<_ACEOF
62332 /* end confdefs.h. */
62333 #include <math.h>
62335 main ()
62337 __builtin_sqrtl(0);
62339 return 0;
62341 _ACEOF
62342 rm -f conftest.$ac_objext
62343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62344 (eval $ac_compile) 2>&5
62345 ac_status=$?
62346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62347 (exit $ac_status); } &&
62348 { ac_try='test -s conftest.$ac_objext'
62349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62350 (eval $ac_try) 2>&5
62351 ac_status=$?
62352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353 (exit $ac_status); }; }; then
62354 glibcxx_cv_func___builtin_sqrtl_use=yes
62355 else
62356 echo "$as_me: failed program was:" >&5
62357 sed 's/^/| /' conftest.$ac_ext >&5
62359 glibcxx_cv_func___builtin_sqrtl_use=no
62361 rm -f conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62372 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62373 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62374 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62375 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62376 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62377 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62378 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62379 echo $ECHO_N "(cached) $ECHO_C" >&6
62380 else
62382 if test x$gcc_no_link = xyes; then
62383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62385 { (exit 1); exit 1; }; }
62387 cat >conftest.$ac_ext <<_ACEOF
62388 #line $LINENO "configure"
62389 /* confdefs.h. */
62390 _ACEOF
62391 cat confdefs.h >>conftest.$ac_ext
62392 cat >>conftest.$ac_ext <<_ACEOF
62393 /* end confdefs.h. */
62394 #include <math.h>
62396 main ()
62398 __builtin_sqrtl(0);
62400 return 0;
62402 _ACEOF
62403 rm -f conftest.$ac_objext conftest$ac_exeext
62404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62405 (eval $ac_link) 2>&5
62406 ac_status=$?
62407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62408 (exit $ac_status); } &&
62409 { ac_try='test -s conftest$ac_exeext'
62410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62411 (eval $ac_try) 2>&5
62412 ac_status=$?
62413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62414 (exit $ac_status); }; }; then
62415 glibcxx_cv_func___builtin_sqrtl_link=yes
62416 else
62417 echo "$as_me: failed program was:" >&5
62418 sed 's/^/| /' conftest.$ac_ext >&5
62420 glibcxx_cv_func___builtin_sqrtl_link=no
62422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62429 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62430 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62432 cat >>confdefs.h <<_ACEOF
62433 #define ${ac_tr_func} 1
62434 _ACEOF
62441 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62442 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62443 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62444 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62445 echo $ECHO_N "(cached) $ECHO_C" >&6
62446 else
62450 ac_ext=cc
62451 ac_cpp='$CXXCPP $CPPFLAGS'
62452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62456 cat >conftest.$ac_ext <<_ACEOF
62457 #line $LINENO "configure"
62458 /* confdefs.h. */
62459 _ACEOF
62460 cat confdefs.h >>conftest.$ac_ext
62461 cat >>conftest.$ac_ext <<_ACEOF
62462 /* end confdefs.h. */
62463 #include <math.h>
62465 main ()
62467 __builtin_sinf(0);
62469 return 0;
62471 _ACEOF
62472 rm -f conftest.$ac_objext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62474 (eval $ac_compile) 2>&5
62475 ac_status=$?
62476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477 (exit $ac_status); } &&
62478 { ac_try='test -s conftest.$ac_objext'
62479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62480 (eval $ac_try) 2>&5
62481 ac_status=$?
62482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483 (exit $ac_status); }; }; then
62484 glibcxx_cv_func___builtin_sinf_use=yes
62485 else
62486 echo "$as_me: failed program was:" >&5
62487 sed 's/^/| /' conftest.$ac_ext >&5
62489 glibcxx_cv_func___builtin_sinf_use=no
62491 rm -f conftest.$ac_objext conftest.$ac_ext
62492 ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62502 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62503 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62504 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62505 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62506 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62507 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62508 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62509 echo $ECHO_N "(cached) $ECHO_C" >&6
62510 else
62512 if test x$gcc_no_link = xyes; then
62513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62515 { (exit 1); exit 1; }; }
62517 cat >conftest.$ac_ext <<_ACEOF
62518 #line $LINENO "configure"
62519 /* confdefs.h. */
62520 _ACEOF
62521 cat confdefs.h >>conftest.$ac_ext
62522 cat >>conftest.$ac_ext <<_ACEOF
62523 /* end confdefs.h. */
62524 #include <math.h>
62526 main ()
62528 __builtin_sinf(0);
62530 return 0;
62532 _ACEOF
62533 rm -f conftest.$ac_objext conftest$ac_exeext
62534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62535 (eval $ac_link) 2>&5
62536 ac_status=$?
62537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62538 (exit $ac_status); } &&
62539 { ac_try='test -s conftest$ac_exeext'
62540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62541 (eval $ac_try) 2>&5
62542 ac_status=$?
62543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62544 (exit $ac_status); }; }; then
62545 glibcxx_cv_func___builtin_sinf_link=yes
62546 else
62547 echo "$as_me: failed program was:" >&5
62548 sed 's/^/| /' conftest.$ac_ext >&5
62550 glibcxx_cv_func___builtin_sinf_link=no
62552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62558 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62559 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62560 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62562 cat >>confdefs.h <<_ACEOF
62563 #define ${ac_tr_func} 1
62564 _ACEOF
62570 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62571 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62572 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62573 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62574 echo $ECHO_N "(cached) $ECHO_C" >&6
62575 else
62579 ac_ext=cc
62580 ac_cpp='$CXXCPP $CPPFLAGS'
62581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62585 cat >conftest.$ac_ext <<_ACEOF
62586 #line $LINENO "configure"
62587 /* confdefs.h. */
62588 _ACEOF
62589 cat confdefs.h >>conftest.$ac_ext
62590 cat >>conftest.$ac_ext <<_ACEOF
62591 /* end confdefs.h. */
62592 #include <math.h>
62594 main ()
62596 __builtin_sin(0);
62598 return 0;
62600 _ACEOF
62601 rm -f conftest.$ac_objext
62602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62603 (eval $ac_compile) 2>&5
62604 ac_status=$?
62605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62606 (exit $ac_status); } &&
62607 { ac_try='test -s conftest.$ac_objext'
62608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62609 (eval $ac_try) 2>&5
62610 ac_status=$?
62611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62612 (exit $ac_status); }; }; then
62613 glibcxx_cv_func___builtin_sin_use=yes
62614 else
62615 echo "$as_me: failed program was:" >&5
62616 sed 's/^/| /' conftest.$ac_ext >&5
62618 glibcxx_cv_func___builtin_sin_use=no
62620 rm -f conftest.$ac_objext conftest.$ac_ext
62621 ac_ext=c
62622 ac_cpp='$CPP $CPPFLAGS'
62623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62631 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62632 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62633 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62634 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62635 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62636 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62637 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62638 echo $ECHO_N "(cached) $ECHO_C" >&6
62639 else
62641 if test x$gcc_no_link = xyes; then
62642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62644 { (exit 1); exit 1; }; }
62646 cat >conftest.$ac_ext <<_ACEOF
62647 #line $LINENO "configure"
62648 /* confdefs.h. */
62649 _ACEOF
62650 cat confdefs.h >>conftest.$ac_ext
62651 cat >>conftest.$ac_ext <<_ACEOF
62652 /* end confdefs.h. */
62653 #include <math.h>
62655 main ()
62657 __builtin_sin(0);
62659 return 0;
62661 _ACEOF
62662 rm -f conftest.$ac_objext conftest$ac_exeext
62663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62664 (eval $ac_link) 2>&5
62665 ac_status=$?
62666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667 (exit $ac_status); } &&
62668 { ac_try='test -s conftest$ac_exeext'
62669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62670 (eval $ac_try) 2>&5
62671 ac_status=$?
62672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62673 (exit $ac_status); }; }; then
62674 glibcxx_cv_func___builtin_sin_link=yes
62675 else
62676 echo "$as_me: failed program was:" >&5
62677 sed 's/^/| /' conftest.$ac_ext >&5
62679 glibcxx_cv_func___builtin_sin_link=no
62681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62688 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62689 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62691 cat >>confdefs.h <<_ACEOF
62692 #define ${ac_tr_func} 1
62693 _ACEOF
62699 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62700 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62701 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62702 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62703 echo $ECHO_N "(cached) $ECHO_C" >&6
62704 else
62708 ac_ext=cc
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62714 cat >conftest.$ac_ext <<_ACEOF
62715 #line $LINENO "configure"
62716 /* confdefs.h. */
62717 _ACEOF
62718 cat confdefs.h >>conftest.$ac_ext
62719 cat >>conftest.$ac_ext <<_ACEOF
62720 /* end confdefs.h. */
62721 #include <math.h>
62723 main ()
62725 __builtin_sinl(0);
62727 return 0;
62729 _ACEOF
62730 rm -f conftest.$ac_objext
62731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62732 (eval $ac_compile) 2>&5
62733 ac_status=$?
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 (exit $ac_status); } &&
62736 { ac_try='test -s conftest.$ac_objext'
62737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62738 (eval $ac_try) 2>&5
62739 ac_status=$?
62740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62741 (exit $ac_status); }; }; then
62742 glibcxx_cv_func___builtin_sinl_use=yes
62743 else
62744 echo "$as_me: failed program was:" >&5
62745 sed 's/^/| /' conftest.$ac_ext >&5
62747 glibcxx_cv_func___builtin_sinl_use=no
62749 rm -f conftest.$ac_objext conftest.$ac_ext
62750 ac_ext=c
62751 ac_cpp='$CPP $CPPFLAGS'
62752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62762 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62763 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62764 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62765 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62766 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62767 echo $ECHO_N "(cached) $ECHO_C" >&6
62768 else
62770 if test x$gcc_no_link = xyes; then
62771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62773 { (exit 1); exit 1; }; }
62775 cat >conftest.$ac_ext <<_ACEOF
62776 #line $LINENO "configure"
62777 /* confdefs.h. */
62778 _ACEOF
62779 cat confdefs.h >>conftest.$ac_ext
62780 cat >>conftest.$ac_ext <<_ACEOF
62781 /* end confdefs.h. */
62782 #include <math.h>
62784 main ()
62786 __builtin_sinl(0);
62788 return 0;
62790 _ACEOF
62791 rm -f conftest.$ac_objext conftest$ac_exeext
62792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62793 (eval $ac_link) 2>&5
62794 ac_status=$?
62795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62796 (exit $ac_status); } &&
62797 { ac_try='test -s conftest$ac_exeext'
62798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62799 (eval $ac_try) 2>&5
62800 ac_status=$?
62801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62802 (exit $ac_status); }; }; then
62803 glibcxx_cv_func___builtin_sinl_link=yes
62804 else
62805 echo "$as_me: failed program was:" >&5
62806 sed 's/^/| /' conftest.$ac_ext >&5
62808 glibcxx_cv_func___builtin_sinl_link=no
62810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62816 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62817 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62818 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62820 cat >>confdefs.h <<_ACEOF
62821 #define ${ac_tr_func} 1
62822 _ACEOF
62829 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62830 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62831 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62832 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62833 echo $ECHO_N "(cached) $ECHO_C" >&6
62834 else
62838 ac_ext=cc
62839 ac_cpp='$CXXCPP $CPPFLAGS'
62840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62844 cat >conftest.$ac_ext <<_ACEOF
62845 #line $LINENO "configure"
62846 /* confdefs.h. */
62847 _ACEOF
62848 cat confdefs.h >>conftest.$ac_ext
62849 cat >>conftest.$ac_ext <<_ACEOF
62850 /* end confdefs.h. */
62851 #include <math.h>
62853 main ()
62855 __builtin_cosf(0);
62857 return 0;
62859 _ACEOF
62860 rm -f conftest.$ac_objext
62861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62862 (eval $ac_compile) 2>&5
62863 ac_status=$?
62864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865 (exit $ac_status); } &&
62866 { ac_try='test -s conftest.$ac_objext'
62867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868 (eval $ac_try) 2>&5
62869 ac_status=$?
62870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871 (exit $ac_status); }; }; then
62872 glibcxx_cv_func___builtin_cosf_use=yes
62873 else
62874 echo "$as_me: failed program was:" >&5
62875 sed 's/^/| /' conftest.$ac_ext >&5
62877 glibcxx_cv_func___builtin_cosf_use=no
62879 rm -f conftest.$ac_objext conftest.$ac_ext
62880 ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62890 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62891 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62892 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62893 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62894 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62895 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62896 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62897 echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62900 if test x$gcc_no_link = xyes; then
62901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62903 { (exit 1); exit 1; }; }
62905 cat >conftest.$ac_ext <<_ACEOF
62906 #line $LINENO "configure"
62907 /* confdefs.h. */
62908 _ACEOF
62909 cat confdefs.h >>conftest.$ac_ext
62910 cat >>conftest.$ac_ext <<_ACEOF
62911 /* end confdefs.h. */
62912 #include <math.h>
62914 main ()
62916 __builtin_cosf(0);
62918 return 0;
62920 _ACEOF
62921 rm -f conftest.$ac_objext conftest$ac_exeext
62922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62923 (eval $ac_link) 2>&5
62924 ac_status=$?
62925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62926 (exit $ac_status); } &&
62927 { ac_try='test -s conftest$ac_exeext'
62928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62929 (eval $ac_try) 2>&5
62930 ac_status=$?
62931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932 (exit $ac_status); }; }; then
62933 glibcxx_cv_func___builtin_cosf_link=yes
62934 else
62935 echo "$as_me: failed program was:" >&5
62936 sed 's/^/| /' conftest.$ac_ext >&5
62938 glibcxx_cv_func___builtin_cosf_link=no
62940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62947 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62948 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62950 cat >>confdefs.h <<_ACEOF
62951 #define ${ac_tr_func} 1
62952 _ACEOF
62958 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62959 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62960 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62961 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62962 echo $ECHO_N "(cached) $ECHO_C" >&6
62963 else
62967 ac_ext=cc
62968 ac_cpp='$CXXCPP $CPPFLAGS'
62969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973 cat >conftest.$ac_ext <<_ACEOF
62974 #line $LINENO "configure"
62975 /* confdefs.h. */
62976 _ACEOF
62977 cat confdefs.h >>conftest.$ac_ext
62978 cat >>conftest.$ac_ext <<_ACEOF
62979 /* end confdefs.h. */
62980 #include <math.h>
62982 main ()
62984 __builtin_cos(0);
62986 return 0;
62988 _ACEOF
62989 rm -f conftest.$ac_objext
62990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62991 (eval $ac_compile) 2>&5
62992 ac_status=$?
62993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62994 (exit $ac_status); } &&
62995 { ac_try='test -s conftest.$ac_objext'
62996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62997 (eval $ac_try) 2>&5
62998 ac_status=$?
62999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63000 (exit $ac_status); }; }; then
63001 glibcxx_cv_func___builtin_cos_use=yes
63002 else
63003 echo "$as_me: failed program was:" >&5
63004 sed 's/^/| /' conftest.$ac_ext >&5
63006 glibcxx_cv_func___builtin_cos_use=no
63008 rm -f conftest.$ac_objext conftest.$ac_ext
63009 ac_ext=c
63010 ac_cpp='$CPP $CPPFLAGS'
63011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63019 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63020 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63021 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63022 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63023 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63024 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63025 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63026 echo $ECHO_N "(cached) $ECHO_C" >&6
63027 else
63029 if test x$gcc_no_link = xyes; then
63030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63032 { (exit 1); exit 1; }; }
63034 cat >conftest.$ac_ext <<_ACEOF
63035 #line $LINENO "configure"
63036 /* confdefs.h. */
63037 _ACEOF
63038 cat confdefs.h >>conftest.$ac_ext
63039 cat >>conftest.$ac_ext <<_ACEOF
63040 /* end confdefs.h. */
63041 #include <math.h>
63043 main ()
63045 __builtin_cos(0);
63047 return 0;
63049 _ACEOF
63050 rm -f conftest.$ac_objext conftest$ac_exeext
63051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63052 (eval $ac_link) 2>&5
63053 ac_status=$?
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); } &&
63056 { ac_try='test -s conftest$ac_exeext'
63057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058 (eval $ac_try) 2>&5
63059 ac_status=$?
63060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061 (exit $ac_status); }; }; then
63062 glibcxx_cv_func___builtin_cos_link=yes
63063 else
63064 echo "$as_me: failed program was:" >&5
63065 sed 's/^/| /' conftest.$ac_ext >&5
63067 glibcxx_cv_func___builtin_cos_link=no
63069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63074 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63075 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63076 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63077 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
63079 cat >>confdefs.h <<_ACEOF
63080 #define ${ac_tr_func} 1
63081 _ACEOF
63087 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63088 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63089 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63090 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63091 echo $ECHO_N "(cached) $ECHO_C" >&6
63092 else
63096 ac_ext=cc
63097 ac_cpp='$CXXCPP $CPPFLAGS'
63098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63102 cat >conftest.$ac_ext <<_ACEOF
63103 #line $LINENO "configure"
63104 /* confdefs.h. */
63105 _ACEOF
63106 cat confdefs.h >>conftest.$ac_ext
63107 cat >>conftest.$ac_ext <<_ACEOF
63108 /* end confdefs.h. */
63109 #include <math.h>
63111 main ()
63113 __builtin_cosl(0);
63115 return 0;
63117 _ACEOF
63118 rm -f conftest.$ac_objext
63119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63120 (eval $ac_compile) 2>&5
63121 ac_status=$?
63122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63123 (exit $ac_status); } &&
63124 { ac_try='test -s conftest.$ac_objext'
63125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63126 (eval $ac_try) 2>&5
63127 ac_status=$?
63128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63129 (exit $ac_status); }; }; then
63130 glibcxx_cv_func___builtin_cosl_use=yes
63131 else
63132 echo "$as_me: failed program was:" >&5
63133 sed 's/^/| /' conftest.$ac_ext >&5
63135 glibcxx_cv_func___builtin_cosl_use=no
63137 rm -f conftest.$ac_objext conftest.$ac_ext
63138 ac_ext=c
63139 ac_cpp='$CPP $CPPFLAGS'
63140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63148 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63149 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63150 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63151 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63152 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63153 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63154 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63155 echo $ECHO_N "(cached) $ECHO_C" >&6
63156 else
63158 if test x$gcc_no_link = xyes; then
63159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63161 { (exit 1); exit 1; }; }
63163 cat >conftest.$ac_ext <<_ACEOF
63164 #line $LINENO "configure"
63165 /* confdefs.h. */
63166 _ACEOF
63167 cat confdefs.h >>conftest.$ac_ext
63168 cat >>conftest.$ac_ext <<_ACEOF
63169 /* end confdefs.h. */
63170 #include <math.h>
63172 main ()
63174 __builtin_cosl(0);
63176 return 0;
63178 _ACEOF
63179 rm -f conftest.$ac_objext conftest$ac_exeext
63180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63181 (eval $ac_link) 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 glibcxx_cv_func___builtin_cosl_link=yes
63192 else
63193 echo "$as_me: failed program was:" >&5
63194 sed 's/^/| /' conftest.$ac_ext >&5
63196 glibcxx_cv_func___builtin_cosl_link=no
63198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63203 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63204 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63205 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63206 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
63208 cat >>confdefs.h <<_ACEOF
63209 #define ${ac_tr_func} 1
63210 _ACEOF
63218 echo "$as_me:$LINENO: checking for main in -lm" >&5
63219 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63220 if test "${ac_cv_lib_m_main+set}" = set; then
63221 echo $ECHO_N "(cached) $ECHO_C" >&6
63222 else
63223 ac_check_lib_save_LIBS=$LIBS
63224 LIBS="-lm $LIBS"
63225 if test x$gcc_no_link = xyes; then
63226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63228 { (exit 1); exit 1; }; }
63230 cat >conftest.$ac_ext <<_ACEOF
63231 #line $LINENO "configure"
63232 /* confdefs.h. */
63233 _ACEOF
63234 cat confdefs.h >>conftest.$ac_ext
63235 cat >>conftest.$ac_ext <<_ACEOF
63236 /* end confdefs.h. */
63240 main ()
63242 main ();
63244 return 0;
63246 _ACEOF
63247 rm -f conftest.$ac_objext conftest$ac_exeext
63248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63249 (eval $ac_link) 2>&5
63250 ac_status=$?
63251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63252 (exit $ac_status); } &&
63253 { ac_try='test -s conftest$ac_exeext'
63254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63255 (eval $ac_try) 2>&5
63256 ac_status=$?
63257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258 (exit $ac_status); }; }; then
63259 ac_cv_lib_m_main=yes
63260 else
63261 echo "$as_me: failed program was:" >&5
63262 sed 's/^/| /' conftest.$ac_ext >&5
63264 ac_cv_lib_m_main=no
63266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63267 LIBS=$ac_check_lib_save_LIBS
63269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63270 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63271 if test $ac_cv_lib_m_main = yes; then
63272 cat >>confdefs.h <<_ACEOF
63273 #define HAVE_LIBM 1
63274 _ACEOF
63276 LIBS="-lm $LIBS"
63281 for ac_func in copysignf
63283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63284 echo "$as_me:$LINENO: checking for $ac_func" >&5
63285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63286 if eval "test \"\${$as_ac_var+set}\" = set"; then
63287 echo $ECHO_N "(cached) $ECHO_C" >&6
63288 else
63289 if test x$gcc_no_link = xyes; then
63290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63292 { (exit 1); exit 1; }; }
63294 cat >conftest.$ac_ext <<_ACEOF
63295 #line $LINENO "configure"
63296 /* confdefs.h. */
63297 _ACEOF
63298 cat confdefs.h >>conftest.$ac_ext
63299 cat >>conftest.$ac_ext <<_ACEOF
63300 /* end confdefs.h. */
63301 /* System header to define __stub macros and hopefully few prototypes,
63302 which can conflict with char $ac_func (); below.
63303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63304 <limits.h> exists even on freestanding compilers. */
63305 #ifdef __STDC__
63306 # include <limits.h>
63307 #else
63308 # include <assert.h>
63309 #endif
63310 /* Override any gcc2 internal prototype to avoid an error. */
63311 #ifdef __cplusplus
63312 extern "C"
63314 #endif
63315 /* We use char because int might match the return type of a gcc2
63316 builtin and then its argument prototype would still apply. */
63317 char $ac_func ();
63318 /* The GNU C library defines this for functions which it implements
63319 to always fail with ENOSYS. Some functions are actually named
63320 something starting with __ and the normal name is an alias. */
63321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63322 choke me
63323 #else
63324 char (*f) () = $ac_func;
63325 #endif
63326 #ifdef __cplusplus
63328 #endif
63331 main ()
63333 return f != $ac_func;
63335 return 0;
63337 _ACEOF
63338 rm -f conftest.$ac_objext conftest$ac_exeext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63340 (eval $ac_link) 2>&5
63341 ac_status=$?
63342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63343 (exit $ac_status); } &&
63344 { ac_try='test -s conftest$ac_exeext'
63345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63346 (eval $ac_try) 2>&5
63347 ac_status=$?
63348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63349 (exit $ac_status); }; }; then
63350 eval "$as_ac_var=yes"
63351 else
63352 echo "$as_me: failed program was:" >&5
63353 sed 's/^/| /' conftest.$ac_ext >&5
63355 eval "$as_ac_var=no"
63357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63361 if test `eval echo '${'$as_ac_var'}'` = yes; then
63362 cat >>confdefs.h <<_ACEOF
63363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63364 _ACEOF
63366 else
63367 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63369 done
63373 for ac_func in __signbit
63375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63376 echo "$as_me:$LINENO: checking for $ac_func" >&5
63377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63378 if eval "test \"\${$as_ac_var+set}\" = set"; then
63379 echo $ECHO_N "(cached) $ECHO_C" >&6
63380 else
63381 if test x$gcc_no_link = xyes; then
63382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63384 { (exit 1); exit 1; }; }
63386 cat >conftest.$ac_ext <<_ACEOF
63387 #line $LINENO "configure"
63388 /* confdefs.h. */
63389 _ACEOF
63390 cat confdefs.h >>conftest.$ac_ext
63391 cat >>conftest.$ac_ext <<_ACEOF
63392 /* end confdefs.h. */
63393 /* System header to define __stub macros and hopefully few prototypes,
63394 which can conflict with char $ac_func (); below.
63395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63396 <limits.h> exists even on freestanding compilers. */
63397 #ifdef __STDC__
63398 # include <limits.h>
63399 #else
63400 # include <assert.h>
63401 #endif
63402 /* Override any gcc2 internal prototype to avoid an error. */
63403 #ifdef __cplusplus
63404 extern "C"
63406 #endif
63407 /* We use char because int might match the return type of a gcc2
63408 builtin and then its argument prototype would still apply. */
63409 char $ac_func ();
63410 /* The GNU C library defines this for functions which it implements
63411 to always fail with ENOSYS. Some functions are actually named
63412 something starting with __ and the normal name is an alias. */
63413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63414 choke me
63415 #else
63416 char (*f) () = $ac_func;
63417 #endif
63418 #ifdef __cplusplus
63420 #endif
63423 main ()
63425 return f != $ac_func;
63427 return 0;
63429 _ACEOF
63430 rm -f conftest.$ac_objext conftest$ac_exeext
63431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63432 (eval $ac_link) 2>&5
63433 ac_status=$?
63434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435 (exit $ac_status); } &&
63436 { ac_try='test -s conftest$ac_exeext'
63437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63438 (eval $ac_try) 2>&5
63439 ac_status=$?
63440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63441 (exit $ac_status); }; }; then
63442 eval "$as_ac_var=yes"
63443 else
63444 echo "$as_me: failed program was:" >&5
63445 sed 's/^/| /' conftest.$ac_ext >&5
63447 eval "$as_ac_var=no"
63449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63453 if test `eval echo '${'$as_ac_var'}'` = yes; then
63454 cat >>confdefs.h <<_ACEOF
63455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63456 _ACEOF
63458 else
63459 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63461 done
63465 for ac_func in __signbitf
63467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63468 echo "$as_me:$LINENO: checking for $ac_func" >&5
63469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63470 if eval "test \"\${$as_ac_var+set}\" = set"; then
63471 echo $ECHO_N "(cached) $ECHO_C" >&6
63472 else
63473 if test x$gcc_no_link = xyes; then
63474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63476 { (exit 1); exit 1; }; }
63478 cat >conftest.$ac_ext <<_ACEOF
63479 #line $LINENO "configure"
63480 /* confdefs.h. */
63481 _ACEOF
63482 cat confdefs.h >>conftest.$ac_ext
63483 cat >>conftest.$ac_ext <<_ACEOF
63484 /* end confdefs.h. */
63485 /* System header to define __stub macros and hopefully few prototypes,
63486 which can conflict with char $ac_func (); below.
63487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63488 <limits.h> exists even on freestanding compilers. */
63489 #ifdef __STDC__
63490 # include <limits.h>
63491 #else
63492 # include <assert.h>
63493 #endif
63494 /* Override any gcc2 internal prototype to avoid an error. */
63495 #ifdef __cplusplus
63496 extern "C"
63498 #endif
63499 /* We use char because int might match the return type of a gcc2
63500 builtin and then its argument prototype would still apply. */
63501 char $ac_func ();
63502 /* The GNU C library defines this for functions which it implements
63503 to always fail with ENOSYS. Some functions are actually named
63504 something starting with __ and the normal name is an alias. */
63505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63506 choke me
63507 #else
63508 char (*f) () = $ac_func;
63509 #endif
63510 #ifdef __cplusplus
63512 #endif
63515 main ()
63517 return f != $ac_func;
63519 return 0;
63521 _ACEOF
63522 rm -f conftest.$ac_objext conftest$ac_exeext
63523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63524 (eval $ac_link) 2>&5
63525 ac_status=$?
63526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63527 (exit $ac_status); } &&
63528 { ac_try='test -s conftest$ac_exeext'
63529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63530 (eval $ac_try) 2>&5
63531 ac_status=$?
63532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63533 (exit $ac_status); }; }; then
63534 eval "$as_ac_var=yes"
63535 else
63536 echo "$as_me: failed program was:" >&5
63537 sed 's/^/| /' conftest.$ac_ext >&5
63539 eval "$as_ac_var=no"
63541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63545 if test `eval echo '${'$as_ac_var'}'` = yes; then
63546 cat >>confdefs.h <<_ACEOF
63547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63548 _ACEOF
63550 else
63551 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63553 done
63556 if test x$ac_cv_func_copysignl = x"yes"; then
63558 for ac_func in __signbitl
63560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63561 echo "$as_me:$LINENO: checking for $ac_func" >&5
63562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63563 if eval "test \"\${$as_ac_var+set}\" = set"; then
63564 echo $ECHO_N "(cached) $ECHO_C" >&6
63565 else
63566 if test x$gcc_no_link = xyes; then
63567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63569 { (exit 1); exit 1; }; }
63571 cat >conftest.$ac_ext <<_ACEOF
63572 #line $LINENO "configure"
63573 /* confdefs.h. */
63574 _ACEOF
63575 cat confdefs.h >>conftest.$ac_ext
63576 cat >>conftest.$ac_ext <<_ACEOF
63577 /* end confdefs.h. */
63578 /* System header to define __stub macros and hopefully few prototypes,
63579 which can conflict with char $ac_func (); below.
63580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63581 <limits.h> exists even on freestanding compilers. */
63582 #ifdef __STDC__
63583 # include <limits.h>
63584 #else
63585 # include <assert.h>
63586 #endif
63587 /* Override any gcc2 internal prototype to avoid an error. */
63588 #ifdef __cplusplus
63589 extern "C"
63591 #endif
63592 /* We use char because int might match the return type of a gcc2
63593 builtin and then its argument prototype would still apply. */
63594 char $ac_func ();
63595 /* The GNU C library defines this for functions which it implements
63596 to always fail with ENOSYS. Some functions are actually named
63597 something starting with __ and the normal name is an alias. */
63598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63599 choke me
63600 #else
63601 char (*f) () = $ac_func;
63602 #endif
63603 #ifdef __cplusplus
63605 #endif
63608 main ()
63610 return f != $ac_func;
63612 return 0;
63614 _ACEOF
63615 rm -f conftest.$ac_objext conftest$ac_exeext
63616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63617 (eval $ac_link) 2>&5
63618 ac_status=$?
63619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63620 (exit $ac_status); } &&
63621 { ac_try='test -s conftest$ac_exeext'
63622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63623 (eval $ac_try) 2>&5
63624 ac_status=$?
63625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63626 (exit $ac_status); }; }; then
63627 eval "$as_ac_var=yes"
63628 else
63629 echo "$as_me: failed program was:" >&5
63630 sed 's/^/| /' conftest.$ac_ext >&5
63632 eval "$as_ac_var=no"
63634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63638 if test `eval echo '${'$as_ac_var'}'` = yes; then
63639 cat >>confdefs.h <<_ACEOF
63640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63641 _ACEOF
63643 else
63644 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63646 done
63650 # Used in libmath/Makefile.am.
63651 if test -n "$LIBMATHOBJS"; then
63652 need_libmath=yes
63657 # Test wchar.h for mbstate_t, which is needed for char_traits and
63658 # others even if wchar_t support is not on.
63659 echo "$as_me:$LINENO: checking for mbstate_t" >&5
63660 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
63661 cat >conftest.$ac_ext <<_ACEOF
63662 #line $LINENO "configure"
63663 /* confdefs.h. */
63664 _ACEOF
63665 cat confdefs.h >>conftest.$ac_ext
63666 cat >>conftest.$ac_ext <<_ACEOF
63667 /* end confdefs.h. */
63668 #include <wchar.h>
63670 main ()
63672 mbstate_t teststate;
63674 return 0;
63676 _ACEOF
63677 rm -f conftest.$ac_objext
63678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63679 (eval $ac_compile) 2>&5
63680 ac_status=$?
63681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63682 (exit $ac_status); } &&
63683 { ac_try='test -s conftest.$ac_objext'
63684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63685 (eval $ac_try) 2>&5
63686 ac_status=$?
63687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63688 (exit $ac_status); }; }; then
63689 have_mbstate_t=yes
63690 else
63691 echo "$as_me: failed program was:" >&5
63692 sed 's/^/| /' conftest.$ac_ext >&5
63694 have_mbstate_t=no
63696 rm -f conftest.$ac_objext conftest.$ac_ext
63697 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
63698 echo "${ECHO_T}$have_mbstate_t" >&6
63699 if test x"$have_mbstate_t" = xyes; then
63700 cat >>confdefs.h <<\_ACEOF
63701 #define HAVE_MBSTATE_T 1
63702 _ACEOF
63706 # Sanity check for existence of ISO C99 headers for extended encoding.
63708 for ac_header in wchar.h
63710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63712 echo "$as_me:$LINENO: checking for $ac_header" >&5
63713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63715 echo $ECHO_N "(cached) $ECHO_C" >&6
63717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63719 else
63720 # Is the header compilable?
63721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63723 cat >conftest.$ac_ext <<_ACEOF
63724 #line $LINENO "configure"
63725 /* confdefs.h. */
63726 _ACEOF
63727 cat confdefs.h >>conftest.$ac_ext
63728 cat >>conftest.$ac_ext <<_ACEOF
63729 /* end confdefs.h. */
63730 $ac_includes_default
63731 #include <$ac_header>
63732 _ACEOF
63733 rm -f conftest.$ac_objext
63734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63735 (eval $ac_compile) 2>&5
63736 ac_status=$?
63737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738 (exit $ac_status); } &&
63739 { ac_try='test -s conftest.$ac_objext'
63740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63741 (eval $ac_try) 2>&5
63742 ac_status=$?
63743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63744 (exit $ac_status); }; }; then
63745 ac_header_compiler=yes
63746 else
63747 echo "$as_me: failed program was:" >&5
63748 sed 's/^/| /' conftest.$ac_ext >&5
63750 ac_header_compiler=no
63752 rm -f conftest.$ac_objext conftest.$ac_ext
63753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63754 echo "${ECHO_T}$ac_header_compiler" >&6
63756 # Is the header present?
63757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63759 cat >conftest.$ac_ext <<_ACEOF
63760 #line $LINENO "configure"
63761 /* confdefs.h. */
63762 _ACEOF
63763 cat confdefs.h >>conftest.$ac_ext
63764 cat >>conftest.$ac_ext <<_ACEOF
63765 /* end confdefs.h. */
63766 #include <$ac_header>
63767 _ACEOF
63768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63770 ac_status=$?
63771 grep -v '^ *+' conftest.er1 >conftest.err
63772 rm -f conftest.er1
63773 cat conftest.err >&5
63774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775 (exit $ac_status); } >/dev/null; then
63776 if test -s conftest.err; then
63777 ac_cpp_err=$ac_c_preproc_warn_flag
63778 else
63779 ac_cpp_err=
63781 else
63782 ac_cpp_err=yes
63784 if test -z "$ac_cpp_err"; then
63785 ac_header_preproc=yes
63786 else
63787 echo "$as_me: failed program was:" >&5
63788 sed 's/^/| /' conftest.$ac_ext >&5
63790 ac_header_preproc=no
63792 rm -f conftest.err conftest.$ac_ext
63793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63794 echo "${ECHO_T}$ac_header_preproc" >&6
63796 # So? What about this header?
63797 case $ac_header_compiler:$ac_header_preproc in
63798 yes:no )
63799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63804 cat <<\_ASBOX
63805 ## ------------------------------------ ##
63806 ## Report this to bug-autoconf@gnu.org. ##
63807 ## ------------------------------------ ##
63808 _ASBOX
63810 sed "s/^/$as_me: WARNING: /" >&2
63812 no:yes )
63813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63820 cat <<\_ASBOX
63821 ## ------------------------------------ ##
63822 ## Report this to bug-autoconf@gnu.org. ##
63823 ## ------------------------------------ ##
63824 _ASBOX
63826 sed "s/^/$as_me: WARNING: /" >&2
63828 esac
63829 echo "$as_me:$LINENO: checking for $ac_header" >&5
63830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63832 echo $ECHO_N "(cached) $ECHO_C" >&6
63833 else
63834 eval "$as_ac_Header=$ac_header_preproc"
63836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63841 cat >>confdefs.h <<_ACEOF
63842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63843 _ACEOF
63844 ac_has_wchar_h=yes
63845 else
63846 ac_has_wchar_h=no
63849 done
63852 for ac_header in wctype.h
63854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63856 echo "$as_me:$LINENO: checking for $ac_header" >&5
63857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63859 echo $ECHO_N "(cached) $ECHO_C" >&6
63861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63863 else
63864 # Is the header compilable?
63865 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63866 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63867 cat >conftest.$ac_ext <<_ACEOF
63868 #line $LINENO "configure"
63869 /* confdefs.h. */
63870 _ACEOF
63871 cat confdefs.h >>conftest.$ac_ext
63872 cat >>conftest.$ac_ext <<_ACEOF
63873 /* end confdefs.h. */
63874 $ac_includes_default
63875 #include <$ac_header>
63876 _ACEOF
63877 rm -f conftest.$ac_objext
63878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63879 (eval $ac_compile) 2>&5
63880 ac_status=$?
63881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63882 (exit $ac_status); } &&
63883 { ac_try='test -s conftest.$ac_objext'
63884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63885 (eval $ac_try) 2>&5
63886 ac_status=$?
63887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63888 (exit $ac_status); }; }; then
63889 ac_header_compiler=yes
63890 else
63891 echo "$as_me: failed program was:" >&5
63892 sed 's/^/| /' conftest.$ac_ext >&5
63894 ac_header_compiler=no
63896 rm -f conftest.$ac_objext conftest.$ac_ext
63897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63898 echo "${ECHO_T}$ac_header_compiler" >&6
63900 # Is the header present?
63901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63903 cat >conftest.$ac_ext <<_ACEOF
63904 #line $LINENO "configure"
63905 /* confdefs.h. */
63906 _ACEOF
63907 cat confdefs.h >>conftest.$ac_ext
63908 cat >>conftest.$ac_ext <<_ACEOF
63909 /* end confdefs.h. */
63910 #include <$ac_header>
63911 _ACEOF
63912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63914 ac_status=$?
63915 grep -v '^ *+' conftest.er1 >conftest.err
63916 rm -f conftest.er1
63917 cat conftest.err >&5
63918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63919 (exit $ac_status); } >/dev/null; then
63920 if test -s conftest.err; then
63921 ac_cpp_err=$ac_c_preproc_warn_flag
63922 else
63923 ac_cpp_err=
63925 else
63926 ac_cpp_err=yes
63928 if test -z "$ac_cpp_err"; then
63929 ac_header_preproc=yes
63930 else
63931 echo "$as_me: failed program was:" >&5
63932 sed 's/^/| /' conftest.$ac_ext >&5
63934 ac_header_preproc=no
63936 rm -f conftest.err conftest.$ac_ext
63937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63938 echo "${ECHO_T}$ac_header_preproc" >&6
63940 # So? What about this header?
63941 case $ac_header_compiler:$ac_header_preproc in
63942 yes:no )
63943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63948 cat <<\_ASBOX
63949 ## ------------------------------------ ##
63950 ## Report this to bug-autoconf@gnu.org. ##
63951 ## ------------------------------------ ##
63952 _ASBOX
63954 sed "s/^/$as_me: WARNING: /" >&2
63956 no:yes )
63957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63964 cat <<\_ASBOX
63965 ## ------------------------------------ ##
63966 ## Report this to bug-autoconf@gnu.org. ##
63967 ## ------------------------------------ ##
63968 _ASBOX
63970 sed "s/^/$as_me: WARNING: /" >&2
63972 esac
63973 echo "$as_me:$LINENO: checking for $ac_header" >&5
63974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63976 echo $ECHO_N "(cached) $ECHO_C" >&6
63977 else
63978 eval "$as_ac_Header=$ac_header_preproc"
63980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63985 cat >>confdefs.h <<_ACEOF
63986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63987 _ACEOF
63988 ac_has_wctype_h=yes
63989 else
63990 ac_has_wctype_h=no
63993 done
63996 # Only continue checking if the ISO C99 headers exist and support is on.
63997 if test x"$ac_has_wchar_h" = xyes &&
63998 test x"$ac_has_wctype_h" = xyes &&
63999 test x"$enable_c_mbchar" != xno; then
64001 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
64002 # numeric_limits can instantiate type_traits<wchar_t>
64003 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
64004 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
64005 cat >conftest.$ac_ext <<_ACEOF
64006 #line $LINENO "configure"
64007 /* confdefs.h. */
64008 _ACEOF
64009 cat confdefs.h >>conftest.$ac_ext
64010 cat >>conftest.$ac_ext <<_ACEOF
64011 /* end confdefs.h. */
64012 #include <wchar.h>
64014 main ()
64016 int i = WCHAR_MIN; int j = WCHAR_MAX;
64018 return 0;
64020 _ACEOF
64021 rm -f conftest.$ac_objext
64022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64023 (eval $ac_compile) 2>&5
64024 ac_status=$?
64025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64026 (exit $ac_status); } &&
64027 { ac_try='test -s conftest.$ac_objext'
64028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64029 (eval $ac_try) 2>&5
64030 ac_status=$?
64031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64032 (exit $ac_status); }; }; then
64033 has_wchar_minmax=yes
64034 else
64035 echo "$as_me: failed program was:" >&5
64036 sed 's/^/| /' conftest.$ac_ext >&5
64038 has_wchar_minmax=no
64040 rm -f conftest.$ac_objext conftest.$ac_ext
64041 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
64042 echo "${ECHO_T}$has_wchar_minmax" >&6
64044 # Test wchar.h for WEOF, which is what we use to determine whether
64045 # to specialize for char_traits<wchar_t> or not.
64046 echo "$as_me:$LINENO: checking for WEOF" >&5
64047 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
64048 cat >conftest.$ac_ext <<_ACEOF
64049 #line $LINENO "configure"
64050 /* confdefs.h. */
64051 _ACEOF
64052 cat confdefs.h >>conftest.$ac_ext
64053 cat >>conftest.$ac_ext <<_ACEOF
64054 /* end confdefs.h. */
64056 #include <wchar.h>
64057 #include <stddef.h>
64059 main ()
64061 wint_t i = WEOF;
64063 return 0;
64065 _ACEOF
64066 rm -f conftest.$ac_objext
64067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64068 (eval $ac_compile) 2>&5
64069 ac_status=$?
64070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64071 (exit $ac_status); } &&
64072 { ac_try='test -s conftest.$ac_objext'
64073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64074 (eval $ac_try) 2>&5
64075 ac_status=$?
64076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64077 (exit $ac_status); }; }; then
64078 has_weof=yes
64079 else
64080 echo "$as_me: failed program was:" >&5
64081 sed 's/^/| /' conftest.$ac_ext >&5
64083 has_weof=no
64085 rm -f conftest.$ac_objext conftest.$ac_ext
64086 echo "$as_me:$LINENO: result: $has_weof" >&5
64087 echo "${ECHO_T}$has_weof" >&6
64089 # Tests for wide character functions used in char_traits<wchar_t>.
64090 ac_wfuncs=yes
64097 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
64099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64100 echo "$as_me:$LINENO: checking for $ac_func" >&5
64101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64102 if eval "test \"\${$as_ac_var+set}\" = set"; then
64103 echo $ECHO_N "(cached) $ECHO_C" >&6
64104 else
64105 if test x$gcc_no_link = xyes; then
64106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64108 { (exit 1); exit 1; }; }
64110 cat >conftest.$ac_ext <<_ACEOF
64111 #line $LINENO "configure"
64112 /* confdefs.h. */
64113 _ACEOF
64114 cat confdefs.h >>conftest.$ac_ext
64115 cat >>conftest.$ac_ext <<_ACEOF
64116 /* end confdefs.h. */
64117 /* System header to define __stub macros and hopefully few prototypes,
64118 which can conflict with char $ac_func (); below.
64119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64120 <limits.h> exists even on freestanding compilers. */
64121 #ifdef __STDC__
64122 # include <limits.h>
64123 #else
64124 # include <assert.h>
64125 #endif
64126 /* Override any gcc2 internal prototype to avoid an error. */
64127 #ifdef __cplusplus
64128 extern "C"
64130 #endif
64131 /* We use char because int might match the return type of a gcc2
64132 builtin and then its argument prototype would still apply. */
64133 char $ac_func ();
64134 /* The GNU C library defines this for functions which it implements
64135 to always fail with ENOSYS. Some functions are actually named
64136 something starting with __ and the normal name is an alias. */
64137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64138 choke me
64139 #else
64140 char (*f) () = $ac_func;
64141 #endif
64142 #ifdef __cplusplus
64144 #endif
64147 main ()
64149 return f != $ac_func;
64151 return 0;
64153 _ACEOF
64154 rm -f conftest.$ac_objext conftest$ac_exeext
64155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64156 (eval $ac_link) 2>&5
64157 ac_status=$?
64158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159 (exit $ac_status); } &&
64160 { ac_try='test -s conftest$ac_exeext'
64161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162 (eval $ac_try) 2>&5
64163 ac_status=$?
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); }; }; then
64166 eval "$as_ac_var=yes"
64167 else
64168 echo "$as_me: failed program was:" >&5
64169 sed 's/^/| /' conftest.$ac_ext >&5
64171 eval "$as_ac_var=no"
64173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64177 if test `eval echo '${'$as_ac_var'}'` = yes; then
64178 cat >>confdefs.h <<_ACEOF
64179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64180 _ACEOF
64182 else
64183 ac_wfuncs=no
64185 done
64188 # Checks for names injected into std:: by the c_std headers.
64235 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
64236 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
64237 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
64238 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
64239 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
64240 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
64242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64243 echo "$as_me:$LINENO: checking for $ac_func" >&5
64244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64245 if eval "test \"\${$as_ac_var+set}\" = set"; then
64246 echo $ECHO_N "(cached) $ECHO_C" >&6
64247 else
64248 if test x$gcc_no_link = xyes; then
64249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64251 { (exit 1); exit 1; }; }
64253 cat >conftest.$ac_ext <<_ACEOF
64254 #line $LINENO "configure"
64255 /* confdefs.h. */
64256 _ACEOF
64257 cat confdefs.h >>conftest.$ac_ext
64258 cat >>conftest.$ac_ext <<_ACEOF
64259 /* end confdefs.h. */
64260 /* System header to define __stub macros and hopefully few prototypes,
64261 which can conflict with char $ac_func (); below.
64262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64263 <limits.h> exists even on freestanding compilers. */
64264 #ifdef __STDC__
64265 # include <limits.h>
64266 #else
64267 # include <assert.h>
64268 #endif
64269 /* Override any gcc2 internal prototype to avoid an error. */
64270 #ifdef __cplusplus
64271 extern "C"
64273 #endif
64274 /* We use char because int might match the return type of a gcc2
64275 builtin and then its argument prototype would still apply. */
64276 char $ac_func ();
64277 /* The GNU C library defines this for functions which it implements
64278 to always fail with ENOSYS. Some functions are actually named
64279 something starting with __ and the normal name is an alias. */
64280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64281 choke me
64282 #else
64283 char (*f) () = $ac_func;
64284 #endif
64285 #ifdef __cplusplus
64287 #endif
64290 main ()
64292 return f != $ac_func;
64294 return 0;
64296 _ACEOF
64297 rm -f conftest.$ac_objext conftest$ac_exeext
64298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64299 (eval $ac_link) 2>&5
64300 ac_status=$?
64301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302 (exit $ac_status); } &&
64303 { ac_try='test -s conftest$ac_exeext'
64304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305 (eval $ac_try) 2>&5
64306 ac_status=$?
64307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308 (exit $ac_status); }; }; then
64309 eval "$as_ac_var=yes"
64310 else
64311 echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64314 eval "$as_ac_var=no"
64316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64320 if test `eval echo '${'$as_ac_var'}'` = yes; then
64321 cat >>confdefs.h <<_ACEOF
64322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64323 _ACEOF
64325 else
64326 ac_wfuncs=no
64328 done
64331 # Checks for wide character functions that are not required
64332 # for basic wchar_t support. Don't disable support if they are missing.
64333 # Injection of these is wrapped with guard macros.
64339 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
64341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64342 echo "$as_me:$LINENO: checking for $ac_func" >&5
64343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64344 if eval "test \"\${$as_ac_var+set}\" = set"; then
64345 echo $ECHO_N "(cached) $ECHO_C" >&6
64346 else
64347 if test x$gcc_no_link = xyes; then
64348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64350 { (exit 1); exit 1; }; }
64352 cat >conftest.$ac_ext <<_ACEOF
64353 #line $LINENO "configure"
64354 /* confdefs.h. */
64355 _ACEOF
64356 cat confdefs.h >>conftest.$ac_ext
64357 cat >>conftest.$ac_ext <<_ACEOF
64358 /* end confdefs.h. */
64359 /* System header to define __stub macros and hopefully few prototypes,
64360 which can conflict with char $ac_func (); below.
64361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64362 <limits.h> exists even on freestanding compilers. */
64363 #ifdef __STDC__
64364 # include <limits.h>
64365 #else
64366 # include <assert.h>
64367 #endif
64368 /* Override any gcc2 internal prototype to avoid an error. */
64369 #ifdef __cplusplus
64370 extern "C"
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374 builtin and then its argument prototype would still apply. */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377 to always fail with ENOSYS. Some functions are actually named
64378 something starting with __ and the normal name is an alias. */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64386 #endif
64389 main ()
64391 return f != $ac_func;
64393 return 0;
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398 (eval $ac_link) 2>&5
64399 ac_status=$?
64400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64401 (exit $ac_status); } &&
64402 { ac_try='test -s conftest$ac_exeext'
64403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64404 (eval $ac_try) 2>&5
64405 ac_status=$?
64406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407 (exit $ac_status); }; }; then
64408 eval "$as_ac_var=yes"
64409 else
64410 echo "$as_me: failed program was:" >&5
64411 sed 's/^/| /' conftest.$ac_ext >&5
64413 eval "$as_ac_var=no"
64415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64419 if test `eval echo '${'$as_ac_var'}'` = yes; then
64420 cat >>confdefs.h <<_ACEOF
64421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64422 _ACEOF
64425 done
64428 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
64429 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
64430 if test x"$has_weof" = xyes &&
64431 test x"$has_wchar_minmax" = xyes &&
64432 test x"$ac_wfuncs" = xyes;
64433 then
64434 ac_isoC99_wchar_t=yes
64435 else
64436 ac_isoC99_wchar_t=no
64438 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
64439 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
64441 # Use iconv for wchar_t to char conversions. As such, check for
64442 # X/Open Portability Guide, version 2 features (XPG2).
64443 if test "${ac_cv_header_iconv_h+set}" = set; then
64444 echo "$as_me:$LINENO: checking for iconv.h" >&5
64445 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64446 if test "${ac_cv_header_iconv_h+set}" = set; then
64447 echo $ECHO_N "(cached) $ECHO_C" >&6
64449 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64450 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64451 else
64452 # Is the header compilable?
64453 echo "$as_me:$LINENO: checking iconv.h usability" >&5
64454 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
64455 cat >conftest.$ac_ext <<_ACEOF
64456 #line $LINENO "configure"
64457 /* confdefs.h. */
64458 _ACEOF
64459 cat confdefs.h >>conftest.$ac_ext
64460 cat >>conftest.$ac_ext <<_ACEOF
64461 /* end confdefs.h. */
64462 $ac_includes_default
64463 #include <iconv.h>
64464 _ACEOF
64465 rm -f conftest.$ac_objext
64466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64467 (eval $ac_compile) 2>&5
64468 ac_status=$?
64469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470 (exit $ac_status); } &&
64471 { ac_try='test -s conftest.$ac_objext'
64472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64473 (eval $ac_try) 2>&5
64474 ac_status=$?
64475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64476 (exit $ac_status); }; }; then
64477 ac_header_compiler=yes
64478 else
64479 echo "$as_me: failed program was:" >&5
64480 sed 's/^/| /' conftest.$ac_ext >&5
64482 ac_header_compiler=no
64484 rm -f conftest.$ac_objext conftest.$ac_ext
64485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64486 echo "${ECHO_T}$ac_header_compiler" >&6
64488 # Is the header present?
64489 echo "$as_me:$LINENO: checking iconv.h presence" >&5
64490 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
64491 cat >conftest.$ac_ext <<_ACEOF
64492 #line $LINENO "configure"
64493 /* confdefs.h. */
64494 _ACEOF
64495 cat confdefs.h >>conftest.$ac_ext
64496 cat >>conftest.$ac_ext <<_ACEOF
64497 /* end confdefs.h. */
64498 #include <iconv.h>
64499 _ACEOF
64500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64502 ac_status=$?
64503 grep -v '^ *+' conftest.er1 >conftest.err
64504 rm -f conftest.er1
64505 cat conftest.err >&5
64506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64507 (exit $ac_status); } >/dev/null; then
64508 if test -s conftest.err; then
64509 ac_cpp_err=$ac_c_preproc_warn_flag
64510 else
64511 ac_cpp_err=
64513 else
64514 ac_cpp_err=yes
64516 if test -z "$ac_cpp_err"; then
64517 ac_header_preproc=yes
64518 else
64519 echo "$as_me: failed program was:" >&5
64520 sed 's/^/| /' conftest.$ac_ext >&5
64522 ac_header_preproc=no
64524 rm -f conftest.err conftest.$ac_ext
64525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64526 echo "${ECHO_T}$ac_header_preproc" >&6
64528 # So? What about this header?
64529 case $ac_header_compiler:$ac_header_preproc in
64530 yes:no )
64531 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
64532 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64533 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64534 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64536 cat <<\_ASBOX
64537 ## ------------------------------------ ##
64538 ## Report this to bug-autoconf@gnu.org. ##
64539 ## ------------------------------------ ##
64540 _ASBOX
64542 sed "s/^/$as_me: WARNING: /" >&2
64544 no:yes )
64545 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
64546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
64547 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
64548 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
64549 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64550 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64552 cat <<\_ASBOX
64553 ## ------------------------------------ ##
64554 ## Report this to bug-autoconf@gnu.org. ##
64555 ## ------------------------------------ ##
64556 _ASBOX
64558 sed "s/^/$as_me: WARNING: /" >&2
64560 esac
64561 echo "$as_me:$LINENO: checking for iconv.h" >&5
64562 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64563 if test "${ac_cv_header_iconv_h+set}" = set; then
64564 echo $ECHO_N "(cached) $ECHO_C" >&6
64565 else
64566 ac_cv_header_iconv_h=$ac_header_preproc
64568 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64569 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64572 if test $ac_cv_header_iconv_h = yes; then
64573 ac_has_iconv_h=yes
64574 else
64575 ac_has_iconv_h=no
64579 if test "${ac_cv_header_langinfo_h+set}" = set; then
64580 echo "$as_me:$LINENO: checking for langinfo.h" >&5
64581 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64582 if test "${ac_cv_header_langinfo_h+set}" = set; then
64583 echo $ECHO_N "(cached) $ECHO_C" >&6
64585 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64586 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64587 else
64588 # Is the header compilable?
64589 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
64590 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
64591 cat >conftest.$ac_ext <<_ACEOF
64592 #line $LINENO "configure"
64593 /* confdefs.h. */
64594 _ACEOF
64595 cat confdefs.h >>conftest.$ac_ext
64596 cat >>conftest.$ac_ext <<_ACEOF
64597 /* end confdefs.h. */
64598 $ac_includes_default
64599 #include <langinfo.h>
64600 _ACEOF
64601 rm -f conftest.$ac_objext
64602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64603 (eval $ac_compile) 2>&5
64604 ac_status=$?
64605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64606 (exit $ac_status); } &&
64607 { ac_try='test -s conftest.$ac_objext'
64608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64609 (eval $ac_try) 2>&5
64610 ac_status=$?
64611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64612 (exit $ac_status); }; }; then
64613 ac_header_compiler=yes
64614 else
64615 echo "$as_me: failed program was:" >&5
64616 sed 's/^/| /' conftest.$ac_ext >&5
64618 ac_header_compiler=no
64620 rm -f conftest.$ac_objext conftest.$ac_ext
64621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64622 echo "${ECHO_T}$ac_header_compiler" >&6
64624 # Is the header present?
64625 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
64626 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
64627 cat >conftest.$ac_ext <<_ACEOF
64628 #line $LINENO "configure"
64629 /* confdefs.h. */
64630 _ACEOF
64631 cat confdefs.h >>conftest.$ac_ext
64632 cat >>conftest.$ac_ext <<_ACEOF
64633 /* end confdefs.h. */
64634 #include <langinfo.h>
64635 _ACEOF
64636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64638 ac_status=$?
64639 grep -v '^ *+' conftest.er1 >conftest.err
64640 rm -f conftest.er1
64641 cat conftest.err >&5
64642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64643 (exit $ac_status); } >/dev/null; then
64644 if test -s conftest.err; then
64645 ac_cpp_err=$ac_c_preproc_warn_flag
64646 else
64647 ac_cpp_err=
64649 else
64650 ac_cpp_err=yes
64652 if test -z "$ac_cpp_err"; then
64653 ac_header_preproc=yes
64654 else
64655 echo "$as_me: failed program was:" >&5
64656 sed 's/^/| /' conftest.$ac_ext >&5
64658 ac_header_preproc=no
64660 rm -f conftest.err conftest.$ac_ext
64661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64662 echo "${ECHO_T}$ac_header_preproc" >&6
64664 # So? What about this header?
64665 case $ac_header_compiler:$ac_header_preproc in
64666 yes:no )
64667 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
64668 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64669 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
64670 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
64672 cat <<\_ASBOX
64673 ## ------------------------------------ ##
64674 ## Report this to bug-autoconf@gnu.org. ##
64675 ## ------------------------------------ ##
64676 _ASBOX
64678 sed "s/^/$as_me: WARNING: /" >&2
64680 no:yes )
64681 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
64682 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
64683 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
64684 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
64685 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
64686 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
64688 cat <<\_ASBOX
64689 ## ------------------------------------ ##
64690 ## Report this to bug-autoconf@gnu.org. ##
64691 ## ------------------------------------ ##
64692 _ASBOX
64694 sed "s/^/$as_me: WARNING: /" >&2
64696 esac
64697 echo "$as_me:$LINENO: checking for langinfo.h" >&5
64698 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64699 if test "${ac_cv_header_langinfo_h+set}" = set; then
64700 echo $ECHO_N "(cached) $ECHO_C" >&6
64701 else
64702 ac_cv_header_langinfo_h=$ac_header_preproc
64704 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64705 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64708 if test $ac_cv_header_langinfo_h = yes; then
64709 ac_has_langinfo_h=yes
64710 else
64711 ac_has_langinfo_h=no
64716 # Check for existence of libiconv.a providing XPG2 wchar_t support.
64717 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
64718 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
64719 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
64720 echo $ECHO_N "(cached) $ECHO_C" >&6
64721 else
64722 ac_check_lib_save_LIBS=$LIBS
64723 LIBS="-liconv $LIBS"
64724 if test x$gcc_no_link = xyes; then
64725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64727 { (exit 1); exit 1; }; }
64729 cat >conftest.$ac_ext <<_ACEOF
64730 #line $LINENO "configure"
64731 /* confdefs.h. */
64732 _ACEOF
64733 cat confdefs.h >>conftest.$ac_ext
64734 cat >>conftest.$ac_ext <<_ACEOF
64735 /* end confdefs.h. */
64737 /* Override any gcc2 internal prototype to avoid an error. */
64738 #ifdef __cplusplus
64739 extern "C"
64740 #endif
64741 /* We use char because int might match the return type of a gcc2
64742 builtin and then its argument prototype would still apply. */
64743 char iconv ();
64745 main ()
64747 iconv ();
64749 return 0;
64751 _ACEOF
64752 rm -f conftest.$ac_objext conftest$ac_exeext
64753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64754 (eval $ac_link) 2>&5
64755 ac_status=$?
64756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64757 (exit $ac_status); } &&
64758 { ac_try='test -s conftest$ac_exeext'
64759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64760 (eval $ac_try) 2>&5
64761 ac_status=$?
64762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64763 (exit $ac_status); }; }; then
64764 ac_cv_lib_iconv_iconv=yes
64765 else
64766 echo "$as_me: failed program was:" >&5
64767 sed 's/^/| /' conftest.$ac_ext >&5
64769 ac_cv_lib_iconv_iconv=no
64771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64772 LIBS=$ac_check_lib_save_LIBS
64774 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
64775 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
64776 if test $ac_cv_lib_iconv_iconv = yes; then
64777 libiconv="-liconv"
64780 ac_save_LIBS="$LIBS"
64781 LIBS="$LIBS $libiconv"
64787 for ac_func in iconv_open iconv_close iconv nl_langinfo
64789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64790 echo "$as_me:$LINENO: checking for $ac_func" >&5
64791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64792 if eval "test \"\${$as_ac_var+set}\" = set"; then
64793 echo $ECHO_N "(cached) $ECHO_C" >&6
64794 else
64795 if test x$gcc_no_link = xyes; then
64796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64798 { (exit 1); exit 1; }; }
64800 cat >conftest.$ac_ext <<_ACEOF
64801 #line $LINENO "configure"
64802 /* confdefs.h. */
64803 _ACEOF
64804 cat confdefs.h >>conftest.$ac_ext
64805 cat >>conftest.$ac_ext <<_ACEOF
64806 /* end confdefs.h. */
64807 /* System header to define __stub macros and hopefully few prototypes,
64808 which can conflict with char $ac_func (); below.
64809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64810 <limits.h> exists even on freestanding compilers. */
64811 #ifdef __STDC__
64812 # include <limits.h>
64813 #else
64814 # include <assert.h>
64815 #endif
64816 /* Override any gcc2 internal prototype to avoid an error. */
64817 #ifdef __cplusplus
64818 extern "C"
64820 #endif
64821 /* We use char because int might match the return type of a gcc2
64822 builtin and then its argument prototype would still apply. */
64823 char $ac_func ();
64824 /* The GNU C library defines this for functions which it implements
64825 to always fail with ENOSYS. Some functions are actually named
64826 something starting with __ and the normal name is an alias. */
64827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64828 choke me
64829 #else
64830 char (*f) () = $ac_func;
64831 #endif
64832 #ifdef __cplusplus
64834 #endif
64837 main ()
64839 return f != $ac_func;
64841 return 0;
64843 _ACEOF
64844 rm -f conftest.$ac_objext conftest$ac_exeext
64845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64846 (eval $ac_link) 2>&5
64847 ac_status=$?
64848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64849 (exit $ac_status); } &&
64850 { ac_try='test -s conftest$ac_exeext'
64851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64852 (eval $ac_try) 2>&5
64853 ac_status=$?
64854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855 (exit $ac_status); }; }; then
64856 eval "$as_ac_var=yes"
64857 else
64858 echo "$as_me: failed program was:" >&5
64859 sed 's/^/| /' conftest.$ac_ext >&5
64861 eval "$as_ac_var=no"
64863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64867 if test `eval echo '${'$as_ac_var'}'` = yes; then
64868 cat >>confdefs.h <<_ACEOF
64869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64870 _ACEOF
64871 ac_XPG2funcs=yes
64872 else
64873 ac_XPG2funcs=no
64875 done
64878 LIBS="$ac_save_LIBS"
64880 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
64881 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
64882 if test x"$ac_has_iconv_h" = xyes &&
64883 test x"$ac_has_langinfo_h" = xyes &&
64884 test x"$ac_XPG2funcs" = xyes;
64885 then
64886 ac_XPG2_wchar_t=yes
64887 else
64888 ac_XPG2_wchar_t=no
64890 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
64891 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
64893 # At the moment, only enable wchar_t specializations if all the
64894 # above support is present.
64895 if test x"$ac_isoC99_wchar_t" = xyes &&
64896 test x"$ac_XPG2_wchar_t" = xyes;
64897 then
64898 cat >>confdefs.h <<\_ACEOF
64899 #define _GLIBCXX_USE_WCHAR_T 1
64900 _ACEOF
64902 enable_wchar_t=yes
64905 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
64906 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
64907 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
64908 echo "${ECHO_T}$enable_wchar_t" >&6
64911 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64912 ac_save_CXXFLAGS="$CXXFLAGS"
64913 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64916 echo "$as_me:$LINENO: checking for strtold declaration" >&5
64917 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64918 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64919 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64920 echo $ECHO_N "(cached) $ECHO_C" >&6
64921 else
64925 ac_ext=cc
64926 ac_cpp='$CXXCPP $CPPFLAGS'
64927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64931 cat >conftest.$ac_ext <<_ACEOF
64932 #line $LINENO "configure"
64933 /* confdefs.h. */
64934 _ACEOF
64935 cat confdefs.h >>conftest.$ac_ext
64936 cat >>conftest.$ac_ext <<_ACEOF
64937 /* end confdefs.h. */
64938 #include <stdlib.h>
64940 main ()
64942 strtold(0, 0);
64944 return 0;
64946 _ACEOF
64947 rm -f conftest.$ac_objext
64948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64949 (eval $ac_compile) 2>&5
64950 ac_status=$?
64951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64952 (exit $ac_status); } &&
64953 { ac_try='test -s conftest.$ac_objext'
64954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64955 (eval $ac_try) 2>&5
64956 ac_status=$?
64957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64958 (exit $ac_status); }; }; then
64959 glibcxx_cv_func_strtold_use=yes
64960 else
64961 echo "$as_me: failed program was:" >&5
64962 sed 's/^/| /' conftest.$ac_ext >&5
64964 glibcxx_cv_func_strtold_use=no
64966 rm -f conftest.$ac_objext conftest.$ac_ext
64967 ac_ext=c
64968 ac_cpp='$CPP $CPPFLAGS'
64969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
64978 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64979 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64981 for ac_func in strtold
64983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64984 echo "$as_me:$LINENO: checking for $ac_func" >&5
64985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64986 if eval "test \"\${$as_ac_var+set}\" = set"; then
64987 echo $ECHO_N "(cached) $ECHO_C" >&6
64988 else
64989 if test x$gcc_no_link = xyes; then
64990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64992 { (exit 1); exit 1; }; }
64994 cat >conftest.$ac_ext <<_ACEOF
64995 #line $LINENO "configure"
64996 /* confdefs.h. */
64997 _ACEOF
64998 cat confdefs.h >>conftest.$ac_ext
64999 cat >>conftest.$ac_ext <<_ACEOF
65000 /* end confdefs.h. */
65001 /* System header to define __stub macros and hopefully few prototypes,
65002 which can conflict with char $ac_func (); below.
65003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65004 <limits.h> exists even on freestanding compilers. */
65005 #ifdef __STDC__
65006 # include <limits.h>
65007 #else
65008 # include <assert.h>
65009 #endif
65010 /* Override any gcc2 internal prototype to avoid an error. */
65011 #ifdef __cplusplus
65012 extern "C"
65014 #endif
65015 /* We use char because int might match the return type of a gcc2
65016 builtin and then its argument prototype would still apply. */
65017 char $ac_func ();
65018 /* The GNU C library defines this for functions which it implements
65019 to always fail with ENOSYS. Some functions are actually named
65020 something starting with __ and the normal name is an alias. */
65021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65022 choke me
65023 #else
65024 char (*f) () = $ac_func;
65025 #endif
65026 #ifdef __cplusplus
65028 #endif
65031 main ()
65033 return f != $ac_func;
65035 return 0;
65037 _ACEOF
65038 rm -f conftest.$ac_objext conftest$ac_exeext
65039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65040 (eval $ac_link) 2>&5
65041 ac_status=$?
65042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65043 (exit $ac_status); } &&
65044 { ac_try='test -s conftest$ac_exeext'
65045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65046 (eval $ac_try) 2>&5
65047 ac_status=$?
65048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65049 (exit $ac_status); }; }; then
65050 eval "$as_ac_var=yes"
65051 else
65052 echo "$as_me: failed program was:" >&5
65053 sed 's/^/| /' conftest.$ac_ext >&5
65055 eval "$as_ac_var=no"
65057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65061 if test `eval echo '${'$as_ac_var'}'` = yes; then
65062 cat >>confdefs.h <<_ACEOF
65063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65064 _ACEOF
65067 done
65072 echo "$as_me:$LINENO: checking for strtof declaration" >&5
65073 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
65074 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65075 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
65076 echo $ECHO_N "(cached) $ECHO_C" >&6
65077 else
65081 ac_ext=cc
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65087 cat >conftest.$ac_ext <<_ACEOF
65088 #line $LINENO "configure"
65089 /* confdefs.h. */
65090 _ACEOF
65091 cat confdefs.h >>conftest.$ac_ext
65092 cat >>conftest.$ac_ext <<_ACEOF
65093 /* end confdefs.h. */
65094 #include <stdlib.h>
65096 main ()
65098 strtof(0, 0);
65100 return 0;
65102 _ACEOF
65103 rm -f conftest.$ac_objext
65104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65105 (eval $ac_compile) 2>&5
65106 ac_status=$?
65107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65108 (exit $ac_status); } &&
65109 { ac_try='test -s conftest.$ac_objext'
65110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65111 (eval $ac_try) 2>&5
65112 ac_status=$?
65113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65114 (exit $ac_status); }; }; then
65115 glibcxx_cv_func_strtof_use=yes
65116 else
65117 echo "$as_me: failed program was:" >&5
65118 sed 's/^/| /' conftest.$ac_ext >&5
65120 glibcxx_cv_func_strtof_use=no
65122 rm -f conftest.$ac_objext conftest.$ac_ext
65123 ac_ext=c
65124 ac_cpp='$CPP $CPPFLAGS'
65125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
65134 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
65135 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65137 for ac_func in strtof
65139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65140 echo "$as_me:$LINENO: checking for $ac_func" >&5
65141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65142 if eval "test \"\${$as_ac_var+set}\" = set"; then
65143 echo $ECHO_N "(cached) $ECHO_C" >&6
65144 else
65145 if test x$gcc_no_link = xyes; then
65146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65148 { (exit 1); exit 1; }; }
65150 cat >conftest.$ac_ext <<_ACEOF
65151 #line $LINENO "configure"
65152 /* confdefs.h. */
65153 _ACEOF
65154 cat confdefs.h >>conftest.$ac_ext
65155 cat >>conftest.$ac_ext <<_ACEOF
65156 /* end confdefs.h. */
65157 /* System header to define __stub macros and hopefully few prototypes,
65158 which can conflict with char $ac_func (); below.
65159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65160 <limits.h> exists even on freestanding compilers. */
65161 #ifdef __STDC__
65162 # include <limits.h>
65163 #else
65164 # include <assert.h>
65165 #endif
65166 /* Override any gcc2 internal prototype to avoid an error. */
65167 #ifdef __cplusplus
65168 extern "C"
65170 #endif
65171 /* We use char because int might match the return type of a gcc2
65172 builtin and then its argument prototype would still apply. */
65173 char $ac_func ();
65174 /* The GNU C library defines this for functions which it implements
65175 to always fail with ENOSYS. Some functions are actually named
65176 something starting with __ and the normal name is an alias. */
65177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65178 choke me
65179 #else
65180 char (*f) () = $ac_func;
65181 #endif
65182 #ifdef __cplusplus
65184 #endif
65187 main ()
65189 return f != $ac_func;
65191 return 0;
65193 _ACEOF
65194 rm -f conftest.$ac_objext conftest$ac_exeext
65195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65196 (eval $ac_link) 2>&5
65197 ac_status=$?
65198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199 (exit $ac_status); } &&
65200 { ac_try='test -s conftest$ac_exeext'
65201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65202 (eval $ac_try) 2>&5
65203 ac_status=$?
65204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65205 (exit $ac_status); }; }; then
65206 eval "$as_ac_var=yes"
65207 else
65208 echo "$as_me: failed program was:" >&5
65209 sed 's/^/| /' conftest.$ac_ext >&5
65211 eval "$as_ac_var=no"
65213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65217 if test `eval echo '${'$as_ac_var'}'` = yes; then
65218 cat >>confdefs.h <<_ACEOF
65219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65220 _ACEOF
65223 done
65228 CXXFLAGS="$ac_save_CXXFLAGS"
65231 if test "${glibcxx_cv_S_ISREG+set}" = set; then
65232 echo $ECHO_N "(cached) $ECHO_C" >&6
65233 else
65235 if test x$gcc_no_link = xyes; then
65236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65238 { (exit 1); exit 1; }; }
65240 cat >conftest.$ac_ext <<_ACEOF
65241 #line $LINENO "configure"
65242 /* confdefs.h. */
65243 _ACEOF
65244 cat confdefs.h >>conftest.$ac_ext
65245 cat >>conftest.$ac_ext <<_ACEOF
65246 /* end confdefs.h. */
65247 #include <sys/stat.h>
65249 main ()
65251 struct stat buffer;
65252 fstat(0, &buffer);
65253 S_ISREG(buffer.st_mode);
65255 return 0;
65257 _ACEOF
65258 rm -f conftest.$ac_objext conftest$ac_exeext
65259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65260 (eval $ac_link) 2>&5
65261 ac_status=$?
65262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65263 (exit $ac_status); } &&
65264 { ac_try='test -s conftest$ac_exeext'
65265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65266 (eval $ac_try) 2>&5
65267 ac_status=$?
65268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65269 (exit $ac_status); }; }; then
65270 glibcxx_cv_S_ISREG=yes
65271 else
65272 echo "$as_me: failed program was:" >&5
65273 sed 's/^/| /' conftest.$ac_ext >&5
65275 glibcxx_cv_S_ISREG=no
65277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65281 if test "${glibcxx_cv_S_IFREG+set}" = set; then
65282 echo $ECHO_N "(cached) $ECHO_C" >&6
65283 else
65285 if test x$gcc_no_link = xyes; then
65286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65288 { (exit 1); exit 1; }; }
65290 cat >conftest.$ac_ext <<_ACEOF
65291 #line $LINENO "configure"
65292 /* confdefs.h. */
65293 _ACEOF
65294 cat confdefs.h >>conftest.$ac_ext
65295 cat >>conftest.$ac_ext <<_ACEOF
65296 /* end confdefs.h. */
65297 #include <sys/stat.h>
65299 main ()
65301 struct stat buffer;
65302 fstat(0, &buffer);
65303 S_IFREG & buffer.st_mode;
65305 return 0;
65307 _ACEOF
65308 rm -f conftest.$ac_objext conftest$ac_exeext
65309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65310 (eval $ac_link) 2>&5
65311 ac_status=$?
65312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65313 (exit $ac_status); } &&
65314 { ac_try='test -s conftest$ac_exeext'
65315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65316 (eval $ac_try) 2>&5
65317 ac_status=$?
65318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65319 (exit $ac_status); }; }; then
65320 glibcxx_cv_S_IFREG=yes
65321 else
65322 echo "$as_me: failed program was:" >&5
65323 sed 's/^/| /' conftest.$ac_ext >&5
65325 glibcxx_cv_S_IFREG=no
65327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65331 if test $glibcxx_cv_S_ISREG = yes; then
65332 cat >>confdefs.h <<\_ACEOF
65333 #define HAVE_S_ISREG 1
65334 _ACEOF
65336 elif test $glibcxx_cv_S_IFREG = yes; then
65337 cat >>confdefs.h <<\_ACEOF
65338 #define HAVE_S_IFREG 1
65339 _ACEOF
65343 cat >>confdefs.h <<\_ACEOF
65344 #define HAVE_WRITEV 1
65345 _ACEOF
65349 *-freebsd*)
65366 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
65367 machine/endian.h machine/param.h sys/machine.h sys/types.h \
65368 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
65369 sys/time.h unistd.h
65371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
65372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65373 echo "$as_me:$LINENO: checking for $ac_header" >&5
65374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65376 echo $ECHO_N "(cached) $ECHO_C" >&6
65378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65380 else
65381 # Is the header compilable?
65382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
65383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
65384 cat >conftest.$ac_ext <<_ACEOF
65385 #line $LINENO "configure"
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>&5
65397 ac_status=$?
65398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65399 (exit $ac_status); } &&
65400 { ac_try='test -s conftest.$ac_objext'
65401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65402 (eval $ac_try) 2>&5
65403 ac_status=$?
65404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65405 (exit $ac_status); }; }; then
65406 ac_header_compiler=yes
65407 else
65408 echo "$as_me: failed program was:" >&5
65409 sed 's/^/| /' conftest.$ac_ext >&5
65411 ac_header_compiler=no
65413 rm -f conftest.$ac_objext conftest.$ac_ext
65414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65415 echo "${ECHO_T}$ac_header_compiler" >&6
65417 # Is the header present?
65418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65420 cat >conftest.$ac_ext <<_ACEOF
65421 #line $LINENO "configure"
65422 /* confdefs.h. */
65423 _ACEOF
65424 cat confdefs.h >>conftest.$ac_ext
65425 cat >>conftest.$ac_ext <<_ACEOF
65426 /* end confdefs.h. */
65427 #include <$ac_header>
65428 _ACEOF
65429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65431 ac_status=$?
65432 grep -v '^ *+' conftest.er1 >conftest.err
65433 rm -f conftest.er1
65434 cat conftest.err >&5
65435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65436 (exit $ac_status); } >/dev/null; then
65437 if test -s conftest.err; then
65438 ac_cpp_err=$ac_c_preproc_warn_flag
65439 else
65440 ac_cpp_err=
65442 else
65443 ac_cpp_err=yes
65445 if test -z "$ac_cpp_err"; then
65446 ac_header_preproc=yes
65447 else
65448 echo "$as_me: failed program was:" >&5
65449 sed 's/^/| /' conftest.$ac_ext >&5
65451 ac_header_preproc=no
65453 rm -f conftest.err conftest.$ac_ext
65454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65455 echo "${ECHO_T}$ac_header_preproc" >&6
65457 # So? What about this header?
65458 case $ac_header_compiler:$ac_header_preproc in
65459 yes:no )
65460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65465 cat <<\_ASBOX
65466 ## ------------------------------------ ##
65467 ## Report this to bug-autoconf@gnu.org. ##
65468 ## ------------------------------------ ##
65469 _ASBOX
65471 sed "s/^/$as_me: WARNING: /" >&2
65473 no:yes )
65474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65481 cat <<\_ASBOX
65482 ## ------------------------------------ ##
65483 ## Report this to bug-autoconf@gnu.org. ##
65484 ## ------------------------------------ ##
65485 _ASBOX
65487 sed "s/^/$as_me: WARNING: /" >&2
65489 esac
65490 echo "$as_me:$LINENO: checking for $ac_header" >&5
65491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65493 echo $ECHO_N "(cached) $ECHO_C" >&6
65494 else
65495 eval "$as_ac_Header=$ac_header_preproc"
65497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65502 cat >>confdefs.h <<_ACEOF
65503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65504 _ACEOF
65508 done
65510 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65513 # If we're not using GNU ld, then there's no point in even trying these
65514 # tests. Check for that first. We should have already tested for gld
65515 # by now (in libtool), but require it now just to be safe...
65516 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65517 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65521 # The name set by libtool depends on the version of libtool. Shame on us
65522 # for depending on an impl detail, but c'est la vie. Older versions used
65523 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65524 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65525 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65526 # set (hence we're using an older libtool), then set it.
65527 if test x${with_gnu_ld+set} != xset; then
65528 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65529 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65530 with_gnu_ld=no
65531 else
65532 with_gnu_ld=$ac_cv_prog_gnu_ld
65536 # Start by getting the version number. I think the libtool test already
65537 # does some of this, but throws away the result.
65539 ldver=`$LD --version 2>/dev/null | head -1 | \
65540 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
65542 glibcxx_gnu_ld_version=`echo $ldver | \
65543 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65545 # Set --gc-sections.
65546 if test "$with_gnu_ld" = "notbroken"; then
65547 # GNU ld it is! Joy and bunny rabbits!
65549 # All these tests are for C++; save the language and the compiler flags.
65550 # Need to do this so that g++ won't try to link in libstdc++
65551 ac_test_CFLAGS="${CFLAGS+set}"
65552 ac_save_CFLAGS="$CFLAGS"
65553 CFLAGS='-x c++ -Wl,--gc-sections'
65555 # Check for -Wl,--gc-sections
65556 # XXX This test is broken at the moment, as symbols required for linking
65557 # are now in libsupc++ (not built yet). In addition, this test has
65558 # cored on solaris in the past. In addition, --gc-sections doesn't
65559 # really work at the moment (keeps on discarding used sections, first
65560 # .eh_frame and now some of the glibc sections for iconv).
65561 # Bzzzzt. Thanks for playing, maybe next time.
65562 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65563 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65564 if test "$cross_compiling" = yes; then
65565 ac_sectionLDflags=yes
65566 else
65567 cat >conftest.$ac_ext <<_ACEOF
65568 #line $LINENO "configure"
65569 /* confdefs.h. */
65570 _ACEOF
65571 cat confdefs.h >>conftest.$ac_ext
65572 cat >>conftest.$ac_ext <<_ACEOF
65573 /* end confdefs.h. */
65575 int main(void)
65577 try { throw 1; }
65578 catch (...) { };
65579 return 0;
65582 _ACEOF
65583 rm -f conftest$ac_exeext
65584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65585 (eval $ac_link) 2>&5
65586 ac_status=$?
65587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
65589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65590 (eval $ac_try) 2>&5
65591 ac_status=$?
65592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65593 (exit $ac_status); }; }; then
65594 ac_sectionLDflags=yes
65595 else
65596 echo "$as_me: program exited with status $ac_status" >&5
65597 echo "$as_me: failed program was:" >&5
65598 sed 's/^/| /' conftest.$ac_ext >&5
65600 ( exit $ac_status )
65601 ac_sectionLDflags=no
65603 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
65605 if test "$ac_test_CFLAGS" = set; then
65606 CFLAGS="$ac_save_CFLAGS"
65607 else
65608 # this is the suspicious part
65609 CFLAGS=''
65611 if test "$ac_sectionLDflags" = "yes"; then
65612 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65614 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
65615 echo "${ECHO_T}$ac_sectionLDflags" >&6
65618 # Set linker optimization flags.
65619 if test x"$with_gnu_ld" = x"yes"; then
65620 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65628 echo "$as_me:$LINENO: checking for main in -lm" >&5
65629 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
65630 if test "${ac_cv_lib_m_main+set}" = set; then
65631 echo $ECHO_N "(cached) $ECHO_C" >&6
65632 else
65633 ac_check_lib_save_LIBS=$LIBS
65634 LIBS="-lm $LIBS"
65635 if test x$gcc_no_link = xyes; then
65636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65638 { (exit 1); exit 1; }; }
65640 cat >conftest.$ac_ext <<_ACEOF
65641 #line $LINENO "configure"
65642 /* confdefs.h. */
65643 _ACEOF
65644 cat confdefs.h >>conftest.$ac_ext
65645 cat >>conftest.$ac_ext <<_ACEOF
65646 /* end confdefs.h. */
65650 main ()
65652 main ();
65654 return 0;
65656 _ACEOF
65657 rm -f conftest.$ac_objext conftest$ac_exeext
65658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65659 (eval $ac_link) 2>&5
65660 ac_status=$?
65661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662 (exit $ac_status); } &&
65663 { ac_try='test -s conftest$ac_exeext'
65664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665 (eval $ac_try) 2>&5
65666 ac_status=$?
65667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668 (exit $ac_status); }; }; then
65669 ac_cv_lib_m_main=yes
65670 else
65671 echo "$as_me: failed program was:" >&5
65672 sed 's/^/| /' conftest.$ac_ext >&5
65674 ac_cv_lib_m_main=no
65676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65677 LIBS=$ac_check_lib_save_LIBS
65679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
65680 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
65681 if test $ac_cv_lib_m_main = yes; then
65682 cat >>confdefs.h <<_ACEOF
65683 #define HAVE_LIBM 1
65684 _ACEOF
65686 LIBS="-lm $LIBS"
65691 for ac_func in copysignf
65693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65694 echo "$as_me:$LINENO: checking for $ac_func" >&5
65695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65696 if eval "test \"\${$as_ac_var+set}\" = set"; then
65697 echo $ECHO_N "(cached) $ECHO_C" >&6
65698 else
65699 if test x$gcc_no_link = xyes; then
65700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65702 { (exit 1); exit 1; }; }
65704 cat >conftest.$ac_ext <<_ACEOF
65705 #line $LINENO "configure"
65706 /* confdefs.h. */
65707 _ACEOF
65708 cat confdefs.h >>conftest.$ac_ext
65709 cat >>conftest.$ac_ext <<_ACEOF
65710 /* end confdefs.h. */
65711 /* System header to define __stub macros and hopefully few prototypes,
65712 which can conflict with char $ac_func (); below.
65713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65714 <limits.h> exists even on freestanding compilers. */
65715 #ifdef __STDC__
65716 # include <limits.h>
65717 #else
65718 # include <assert.h>
65719 #endif
65720 /* Override any gcc2 internal prototype to avoid an error. */
65721 #ifdef __cplusplus
65722 extern "C"
65724 #endif
65725 /* We use char because int might match the return type of a gcc2
65726 builtin and then its argument prototype would still apply. */
65727 char $ac_func ();
65728 /* The GNU C library defines this for functions which it implements
65729 to always fail with ENOSYS. Some functions are actually named
65730 something starting with __ and the normal name is an alias. */
65731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65732 choke me
65733 #else
65734 char (*f) () = $ac_func;
65735 #endif
65736 #ifdef __cplusplus
65738 #endif
65741 main ()
65743 return f != $ac_func;
65745 return 0;
65747 _ACEOF
65748 rm -f conftest.$ac_objext conftest$ac_exeext
65749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65750 (eval $ac_link) 2>&5
65751 ac_status=$?
65752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753 (exit $ac_status); } &&
65754 { ac_try='test -s conftest$ac_exeext'
65755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65756 (eval $ac_try) 2>&5
65757 ac_status=$?
65758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65759 (exit $ac_status); }; }; then
65760 eval "$as_ac_var=yes"
65761 else
65762 echo "$as_me: failed program was:" >&5
65763 sed 's/^/| /' conftest.$ac_ext >&5
65765 eval "$as_ac_var=no"
65767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65771 if test `eval echo '${'$as_ac_var'}'` = yes; then
65772 cat >>confdefs.h <<_ACEOF
65773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65774 _ACEOF
65776 else
65777 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
65779 done
65783 for ac_func in __signbit
65785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65786 echo "$as_me:$LINENO: checking for $ac_func" >&5
65787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65788 if eval "test \"\${$as_ac_var+set}\" = set"; then
65789 echo $ECHO_N "(cached) $ECHO_C" >&6
65790 else
65791 if test x$gcc_no_link = xyes; then
65792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65794 { (exit 1); exit 1; }; }
65796 cat >conftest.$ac_ext <<_ACEOF
65797 #line $LINENO "configure"
65798 /* confdefs.h. */
65799 _ACEOF
65800 cat confdefs.h >>conftest.$ac_ext
65801 cat >>conftest.$ac_ext <<_ACEOF
65802 /* end confdefs.h. */
65803 /* System header to define __stub macros and hopefully few prototypes,
65804 which can conflict with char $ac_func (); below.
65805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65806 <limits.h> exists even on freestanding compilers. */
65807 #ifdef __STDC__
65808 # include <limits.h>
65809 #else
65810 # include <assert.h>
65811 #endif
65812 /* Override any gcc2 internal prototype to avoid an error. */
65813 #ifdef __cplusplus
65814 extern "C"
65816 #endif
65817 /* We use char because int might match the return type of a gcc2
65818 builtin and then its argument prototype would still apply. */
65819 char $ac_func ();
65820 /* The GNU C library defines this for functions which it implements
65821 to always fail with ENOSYS. Some functions are actually named
65822 something starting with __ and the normal name is an alias. */
65823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65824 choke me
65825 #else
65826 char (*f) () = $ac_func;
65827 #endif
65828 #ifdef __cplusplus
65830 #endif
65833 main ()
65835 return f != $ac_func;
65837 return 0;
65839 _ACEOF
65840 rm -f conftest.$ac_objext conftest$ac_exeext
65841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65842 (eval $ac_link) 2>&5
65843 ac_status=$?
65844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65845 (exit $ac_status); } &&
65846 { ac_try='test -s conftest$ac_exeext'
65847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65848 (eval $ac_try) 2>&5
65849 ac_status=$?
65850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65851 (exit $ac_status); }; }; then
65852 eval "$as_ac_var=yes"
65853 else
65854 echo "$as_me: failed program was:" >&5
65855 sed 's/^/| /' conftest.$ac_ext >&5
65857 eval "$as_ac_var=no"
65859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65863 if test `eval echo '${'$as_ac_var'}'` = yes; then
65864 cat >>confdefs.h <<_ACEOF
65865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65866 _ACEOF
65868 else
65869 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65871 done
65875 for ac_func in __signbitf
65877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65878 echo "$as_me:$LINENO: checking for $ac_func" >&5
65879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65880 if eval "test \"\${$as_ac_var+set}\" = set"; then
65881 echo $ECHO_N "(cached) $ECHO_C" >&6
65882 else
65883 if test x$gcc_no_link = xyes; then
65884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65886 { (exit 1); exit 1; }; }
65888 cat >conftest.$ac_ext <<_ACEOF
65889 #line $LINENO "configure"
65890 /* confdefs.h. */
65891 _ACEOF
65892 cat confdefs.h >>conftest.$ac_ext
65893 cat >>conftest.$ac_ext <<_ACEOF
65894 /* end confdefs.h. */
65895 /* System header to define __stub macros and hopefully few prototypes,
65896 which can conflict with char $ac_func (); below.
65897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65898 <limits.h> exists even on freestanding compilers. */
65899 #ifdef __STDC__
65900 # include <limits.h>
65901 #else
65902 # include <assert.h>
65903 #endif
65904 /* Override any gcc2 internal prototype to avoid an error. */
65905 #ifdef __cplusplus
65906 extern "C"
65908 #endif
65909 /* We use char because int might match the return type of a gcc2
65910 builtin and then its argument prototype would still apply. */
65911 char $ac_func ();
65912 /* The GNU C library defines this for functions which it implements
65913 to always fail with ENOSYS. Some functions are actually named
65914 something starting with __ and the normal name is an alias. */
65915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65916 choke me
65917 #else
65918 char (*f) () = $ac_func;
65919 #endif
65920 #ifdef __cplusplus
65922 #endif
65925 main ()
65927 return f != $ac_func;
65929 return 0;
65931 _ACEOF
65932 rm -f conftest.$ac_objext conftest$ac_exeext
65933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65934 (eval $ac_link) 2>&5
65935 ac_status=$?
65936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937 (exit $ac_status); } &&
65938 { ac_try='test -s conftest$ac_exeext'
65939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65940 (eval $ac_try) 2>&5
65941 ac_status=$?
65942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943 (exit $ac_status); }; }; then
65944 eval "$as_ac_var=yes"
65945 else
65946 echo "$as_me: failed program was:" >&5
65947 sed 's/^/| /' conftest.$ac_ext >&5
65949 eval "$as_ac_var=no"
65951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65955 if test `eval echo '${'$as_ac_var'}'` = yes; then
65956 cat >>confdefs.h <<_ACEOF
65957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65958 _ACEOF
65960 else
65961 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
65963 done
65966 if test x$ac_cv_func_copysignl = x"yes"; then
65968 for ac_func in __signbitl
65970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65971 echo "$as_me:$LINENO: checking for $ac_func" >&5
65972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65973 if eval "test \"\${$as_ac_var+set}\" = set"; then
65974 echo $ECHO_N "(cached) $ECHO_C" >&6
65975 else
65976 if test x$gcc_no_link = xyes; then
65977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65979 { (exit 1); exit 1; }; }
65981 cat >conftest.$ac_ext <<_ACEOF
65982 #line $LINENO "configure"
65983 /* confdefs.h. */
65984 _ACEOF
65985 cat confdefs.h >>conftest.$ac_ext
65986 cat >>conftest.$ac_ext <<_ACEOF
65987 /* end confdefs.h. */
65988 /* System header to define __stub macros and hopefully few prototypes,
65989 which can conflict with char $ac_func (); below.
65990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65991 <limits.h> exists even on freestanding compilers. */
65992 #ifdef __STDC__
65993 # include <limits.h>
65994 #else
65995 # include <assert.h>
65996 #endif
65997 /* Override any gcc2 internal prototype to avoid an error. */
65998 #ifdef __cplusplus
65999 extern "C"
66001 #endif
66002 /* We use char because int might match the return type of a gcc2
66003 builtin and then its argument prototype would still apply. */
66004 char $ac_func ();
66005 /* The GNU C library defines this for functions which it implements
66006 to always fail with ENOSYS. Some functions are actually named
66007 something starting with __ and the normal name is an alias. */
66008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66009 choke me
66010 #else
66011 char (*f) () = $ac_func;
66012 #endif
66013 #ifdef __cplusplus
66015 #endif
66018 main ()
66020 return f != $ac_func;
66022 return 0;
66024 _ACEOF
66025 rm -f conftest.$ac_objext conftest$ac_exeext
66026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66027 (eval $ac_link) 2>&5
66028 ac_status=$?
66029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66030 (exit $ac_status); } &&
66031 { ac_try='test -s conftest$ac_exeext'
66032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66033 (eval $ac_try) 2>&5
66034 ac_status=$?
66035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66036 (exit $ac_status); }; }; then
66037 eval "$as_ac_var=yes"
66038 else
66039 echo "$as_me: failed program was:" >&5
66040 sed 's/^/| /' conftest.$ac_ext >&5
66042 eval "$as_ac_var=no"
66044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66048 if test `eval echo '${'$as_ac_var'}'` = yes; then
66049 cat >>confdefs.h <<_ACEOF
66050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66051 _ACEOF
66053 else
66054 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
66056 done
66060 # Used in libmath/Makefile.am.
66061 if test -n "$LIBMATHOBJS"; then
66062 need_libmath=yes
66067 # Test wchar.h for mbstate_t, which is needed for char_traits and
66068 # others even if wchar_t support is not on.
66069 echo "$as_me:$LINENO: checking for mbstate_t" >&5
66070 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
66071 cat >conftest.$ac_ext <<_ACEOF
66072 #line $LINENO "configure"
66073 /* confdefs.h. */
66074 _ACEOF
66075 cat confdefs.h >>conftest.$ac_ext
66076 cat >>conftest.$ac_ext <<_ACEOF
66077 /* end confdefs.h. */
66078 #include <wchar.h>
66080 main ()
66082 mbstate_t teststate;
66084 return 0;
66086 _ACEOF
66087 rm -f conftest.$ac_objext
66088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66089 (eval $ac_compile) 2>&5
66090 ac_status=$?
66091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66092 (exit $ac_status); } &&
66093 { ac_try='test -s conftest.$ac_objext'
66094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66095 (eval $ac_try) 2>&5
66096 ac_status=$?
66097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66098 (exit $ac_status); }; }; then
66099 have_mbstate_t=yes
66100 else
66101 echo "$as_me: failed program was:" >&5
66102 sed 's/^/| /' conftest.$ac_ext >&5
66104 have_mbstate_t=no
66106 rm -f conftest.$ac_objext conftest.$ac_ext
66107 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
66108 echo "${ECHO_T}$have_mbstate_t" >&6
66109 if test x"$have_mbstate_t" = xyes; then
66110 cat >>confdefs.h <<\_ACEOF
66111 #define HAVE_MBSTATE_T 1
66112 _ACEOF
66116 # Sanity check for existence of ISO C99 headers for extended encoding.
66118 for ac_header in wchar.h
66120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66122 echo "$as_me:$LINENO: checking for $ac_header" >&5
66123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66125 echo $ECHO_N "(cached) $ECHO_C" >&6
66127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66129 else
66130 # Is the header compilable?
66131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66133 cat >conftest.$ac_ext <<_ACEOF
66134 #line $LINENO "configure"
66135 /* confdefs.h. */
66136 _ACEOF
66137 cat confdefs.h >>conftest.$ac_ext
66138 cat >>conftest.$ac_ext <<_ACEOF
66139 /* end confdefs.h. */
66140 $ac_includes_default
66141 #include <$ac_header>
66142 _ACEOF
66143 rm -f conftest.$ac_objext
66144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66145 (eval $ac_compile) 2>&5
66146 ac_status=$?
66147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66148 (exit $ac_status); } &&
66149 { ac_try='test -s conftest.$ac_objext'
66150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66151 (eval $ac_try) 2>&5
66152 ac_status=$?
66153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66154 (exit $ac_status); }; }; then
66155 ac_header_compiler=yes
66156 else
66157 echo "$as_me: failed program was:" >&5
66158 sed 's/^/| /' conftest.$ac_ext >&5
66160 ac_header_compiler=no
66162 rm -f conftest.$ac_objext conftest.$ac_ext
66163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66164 echo "${ECHO_T}$ac_header_compiler" >&6
66166 # Is the header present?
66167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66169 cat >conftest.$ac_ext <<_ACEOF
66170 #line $LINENO "configure"
66171 /* confdefs.h. */
66172 _ACEOF
66173 cat confdefs.h >>conftest.$ac_ext
66174 cat >>conftest.$ac_ext <<_ACEOF
66175 /* end confdefs.h. */
66176 #include <$ac_header>
66177 _ACEOF
66178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66180 ac_status=$?
66181 grep -v '^ *+' conftest.er1 >conftest.err
66182 rm -f conftest.er1
66183 cat conftest.err >&5
66184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66185 (exit $ac_status); } >/dev/null; then
66186 if test -s conftest.err; then
66187 ac_cpp_err=$ac_c_preproc_warn_flag
66188 else
66189 ac_cpp_err=
66191 else
66192 ac_cpp_err=yes
66194 if test -z "$ac_cpp_err"; then
66195 ac_header_preproc=yes
66196 else
66197 echo "$as_me: failed program was:" >&5
66198 sed 's/^/| /' conftest.$ac_ext >&5
66200 ac_header_preproc=no
66202 rm -f conftest.err conftest.$ac_ext
66203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66204 echo "${ECHO_T}$ac_header_preproc" >&6
66206 # So? What about this header?
66207 case $ac_header_compiler:$ac_header_preproc in
66208 yes:no )
66209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66214 cat <<\_ASBOX
66215 ## ------------------------------------ ##
66216 ## Report this to bug-autoconf@gnu.org. ##
66217 ## ------------------------------------ ##
66218 _ASBOX
66220 sed "s/^/$as_me: WARNING: /" >&2
66222 no:yes )
66223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66230 cat <<\_ASBOX
66231 ## ------------------------------------ ##
66232 ## Report this to bug-autoconf@gnu.org. ##
66233 ## ------------------------------------ ##
66234 _ASBOX
66236 sed "s/^/$as_me: WARNING: /" >&2
66238 esac
66239 echo "$as_me:$LINENO: checking for $ac_header" >&5
66240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66242 echo $ECHO_N "(cached) $ECHO_C" >&6
66243 else
66244 eval "$as_ac_Header=$ac_header_preproc"
66246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66251 cat >>confdefs.h <<_ACEOF
66252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66253 _ACEOF
66254 ac_has_wchar_h=yes
66255 else
66256 ac_has_wchar_h=no
66259 done
66262 for ac_header in wctype.h
66264 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66266 echo "$as_me:$LINENO: checking for $ac_header" >&5
66267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66269 echo $ECHO_N "(cached) $ECHO_C" >&6
66271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66273 else
66274 # Is the header compilable?
66275 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66276 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66277 cat >conftest.$ac_ext <<_ACEOF
66278 #line $LINENO "configure"
66279 /* confdefs.h. */
66280 _ACEOF
66281 cat confdefs.h >>conftest.$ac_ext
66282 cat >>conftest.$ac_ext <<_ACEOF
66283 /* end confdefs.h. */
66284 $ac_includes_default
66285 #include <$ac_header>
66286 _ACEOF
66287 rm -f conftest.$ac_objext
66288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66289 (eval $ac_compile) 2>&5
66290 ac_status=$?
66291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66292 (exit $ac_status); } &&
66293 { ac_try='test -s conftest.$ac_objext'
66294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66295 (eval $ac_try) 2>&5
66296 ac_status=$?
66297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66298 (exit $ac_status); }; }; then
66299 ac_header_compiler=yes
66300 else
66301 echo "$as_me: failed program was:" >&5
66302 sed 's/^/| /' conftest.$ac_ext >&5
66304 ac_header_compiler=no
66306 rm -f conftest.$ac_objext conftest.$ac_ext
66307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66308 echo "${ECHO_T}$ac_header_compiler" >&6
66310 # Is the header present?
66311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66313 cat >conftest.$ac_ext <<_ACEOF
66314 #line $LINENO "configure"
66315 /* confdefs.h. */
66316 _ACEOF
66317 cat confdefs.h >>conftest.$ac_ext
66318 cat >>conftest.$ac_ext <<_ACEOF
66319 /* end confdefs.h. */
66320 #include <$ac_header>
66321 _ACEOF
66322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66324 ac_status=$?
66325 grep -v '^ *+' conftest.er1 >conftest.err
66326 rm -f conftest.er1
66327 cat conftest.err >&5
66328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329 (exit $ac_status); } >/dev/null; then
66330 if test -s conftest.err; then
66331 ac_cpp_err=$ac_c_preproc_warn_flag
66332 else
66333 ac_cpp_err=
66335 else
66336 ac_cpp_err=yes
66338 if test -z "$ac_cpp_err"; then
66339 ac_header_preproc=yes
66340 else
66341 echo "$as_me: failed program was:" >&5
66342 sed 's/^/| /' conftest.$ac_ext >&5
66344 ac_header_preproc=no
66346 rm -f conftest.err conftest.$ac_ext
66347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66348 echo "${ECHO_T}$ac_header_preproc" >&6
66350 # So? What about this header?
66351 case $ac_header_compiler:$ac_header_preproc in
66352 yes:no )
66353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66358 cat <<\_ASBOX
66359 ## ------------------------------------ ##
66360 ## Report this to bug-autoconf@gnu.org. ##
66361 ## ------------------------------------ ##
66362 _ASBOX
66364 sed "s/^/$as_me: WARNING: /" >&2
66366 no:yes )
66367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66374 cat <<\_ASBOX
66375 ## ------------------------------------ ##
66376 ## Report this to bug-autoconf@gnu.org. ##
66377 ## ------------------------------------ ##
66378 _ASBOX
66380 sed "s/^/$as_me: WARNING: /" >&2
66382 esac
66383 echo "$as_me:$LINENO: checking for $ac_header" >&5
66384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66386 echo $ECHO_N "(cached) $ECHO_C" >&6
66387 else
66388 eval "$as_ac_Header=$ac_header_preproc"
66390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66395 cat >>confdefs.h <<_ACEOF
66396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66397 _ACEOF
66398 ac_has_wctype_h=yes
66399 else
66400 ac_has_wctype_h=no
66403 done
66406 # Only continue checking if the ISO C99 headers exist and support is on.
66407 if test x"$ac_has_wchar_h" = xyes &&
66408 test x"$ac_has_wctype_h" = xyes &&
66409 test x"$enable_c_mbchar" != xno; then
66411 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
66412 # numeric_limits can instantiate type_traits<wchar_t>
66413 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
66414 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
66415 cat >conftest.$ac_ext <<_ACEOF
66416 #line $LINENO "configure"
66417 /* confdefs.h. */
66418 _ACEOF
66419 cat confdefs.h >>conftest.$ac_ext
66420 cat >>conftest.$ac_ext <<_ACEOF
66421 /* end confdefs.h. */
66422 #include <wchar.h>
66424 main ()
66426 int i = WCHAR_MIN; int j = WCHAR_MAX;
66428 return 0;
66430 _ACEOF
66431 rm -f conftest.$ac_objext
66432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66433 (eval $ac_compile) 2>&5
66434 ac_status=$?
66435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66436 (exit $ac_status); } &&
66437 { ac_try='test -s conftest.$ac_objext'
66438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66439 (eval $ac_try) 2>&5
66440 ac_status=$?
66441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66442 (exit $ac_status); }; }; then
66443 has_wchar_minmax=yes
66444 else
66445 echo "$as_me: failed program was:" >&5
66446 sed 's/^/| /' conftest.$ac_ext >&5
66448 has_wchar_minmax=no
66450 rm -f conftest.$ac_objext conftest.$ac_ext
66451 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
66452 echo "${ECHO_T}$has_wchar_minmax" >&6
66454 # Test wchar.h for WEOF, which is what we use to determine whether
66455 # to specialize for char_traits<wchar_t> or not.
66456 echo "$as_me:$LINENO: checking for WEOF" >&5
66457 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
66458 cat >conftest.$ac_ext <<_ACEOF
66459 #line $LINENO "configure"
66460 /* confdefs.h. */
66461 _ACEOF
66462 cat confdefs.h >>conftest.$ac_ext
66463 cat >>conftest.$ac_ext <<_ACEOF
66464 /* end confdefs.h. */
66466 #include <wchar.h>
66467 #include <stddef.h>
66469 main ()
66471 wint_t i = WEOF;
66473 return 0;
66475 _ACEOF
66476 rm -f conftest.$ac_objext
66477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66478 (eval $ac_compile) 2>&5
66479 ac_status=$?
66480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481 (exit $ac_status); } &&
66482 { ac_try='test -s conftest.$ac_objext'
66483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66484 (eval $ac_try) 2>&5
66485 ac_status=$?
66486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66487 (exit $ac_status); }; }; then
66488 has_weof=yes
66489 else
66490 echo "$as_me: failed program was:" >&5
66491 sed 's/^/| /' conftest.$ac_ext >&5
66493 has_weof=no
66495 rm -f conftest.$ac_objext conftest.$ac_ext
66496 echo "$as_me:$LINENO: result: $has_weof" >&5
66497 echo "${ECHO_T}$has_weof" >&6
66499 # Tests for wide character functions used in char_traits<wchar_t>.
66500 ac_wfuncs=yes
66507 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
66509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66510 echo "$as_me:$LINENO: checking for $ac_func" >&5
66511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66512 if eval "test \"\${$as_ac_var+set}\" = set"; then
66513 echo $ECHO_N "(cached) $ECHO_C" >&6
66514 else
66515 if test x$gcc_no_link = xyes; then
66516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66518 { (exit 1); exit 1; }; }
66520 cat >conftest.$ac_ext <<_ACEOF
66521 #line $LINENO "configure"
66522 /* confdefs.h. */
66523 _ACEOF
66524 cat confdefs.h >>conftest.$ac_ext
66525 cat >>conftest.$ac_ext <<_ACEOF
66526 /* end confdefs.h. */
66527 /* System header to define __stub macros and hopefully few prototypes,
66528 which can conflict with char $ac_func (); below.
66529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66530 <limits.h> exists even on freestanding compilers. */
66531 #ifdef __STDC__
66532 # include <limits.h>
66533 #else
66534 # include <assert.h>
66535 #endif
66536 /* Override any gcc2 internal prototype to avoid an error. */
66537 #ifdef __cplusplus
66538 extern "C"
66540 #endif
66541 /* We use char because int might match the return type of a gcc2
66542 builtin and then its argument prototype would still apply. */
66543 char $ac_func ();
66544 /* The GNU C library defines this for functions which it implements
66545 to always fail with ENOSYS. Some functions are actually named
66546 something starting with __ and the normal name is an alias. */
66547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66548 choke me
66549 #else
66550 char (*f) () = $ac_func;
66551 #endif
66552 #ifdef __cplusplus
66554 #endif
66557 main ()
66559 return f != $ac_func;
66561 return 0;
66563 _ACEOF
66564 rm -f conftest.$ac_objext conftest$ac_exeext
66565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66566 (eval $ac_link) 2>&5
66567 ac_status=$?
66568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66569 (exit $ac_status); } &&
66570 { ac_try='test -s conftest$ac_exeext'
66571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66572 (eval $ac_try) 2>&5
66573 ac_status=$?
66574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66575 (exit $ac_status); }; }; then
66576 eval "$as_ac_var=yes"
66577 else
66578 echo "$as_me: failed program was:" >&5
66579 sed 's/^/| /' conftest.$ac_ext >&5
66581 eval "$as_ac_var=no"
66583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66587 if test `eval echo '${'$as_ac_var'}'` = yes; then
66588 cat >>confdefs.h <<_ACEOF
66589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66590 _ACEOF
66592 else
66593 ac_wfuncs=no
66595 done
66598 # Checks for names injected into std:: by the c_std headers.
66645 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
66646 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
66647 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
66648 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
66649 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
66650 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
66652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66653 echo "$as_me:$LINENO: checking for $ac_func" >&5
66654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66655 if eval "test \"\${$as_ac_var+set}\" = set"; then
66656 echo $ECHO_N "(cached) $ECHO_C" >&6
66657 else
66658 if test x$gcc_no_link = xyes; then
66659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66661 { (exit 1); exit 1; }; }
66663 cat >conftest.$ac_ext <<_ACEOF
66664 #line $LINENO "configure"
66665 /* confdefs.h. */
66666 _ACEOF
66667 cat confdefs.h >>conftest.$ac_ext
66668 cat >>conftest.$ac_ext <<_ACEOF
66669 /* end confdefs.h. */
66670 /* System header to define __stub macros and hopefully few prototypes,
66671 which can conflict with char $ac_func (); below.
66672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66673 <limits.h> exists even on freestanding compilers. */
66674 #ifdef __STDC__
66675 # include <limits.h>
66676 #else
66677 # include <assert.h>
66678 #endif
66679 /* Override any gcc2 internal prototype to avoid an error. */
66680 #ifdef __cplusplus
66681 extern "C"
66683 #endif
66684 /* We use char because int might match the return type of a gcc2
66685 builtin and then its argument prototype would still apply. */
66686 char $ac_func ();
66687 /* The GNU C library defines this for functions which it implements
66688 to always fail with ENOSYS. Some functions are actually named
66689 something starting with __ and the normal name is an alias. */
66690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66691 choke me
66692 #else
66693 char (*f) () = $ac_func;
66694 #endif
66695 #ifdef __cplusplus
66697 #endif
66700 main ()
66702 return f != $ac_func;
66704 return 0;
66706 _ACEOF
66707 rm -f conftest.$ac_objext conftest$ac_exeext
66708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66709 (eval $ac_link) 2>&5
66710 ac_status=$?
66711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66712 (exit $ac_status); } &&
66713 { ac_try='test -s conftest$ac_exeext'
66714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66715 (eval $ac_try) 2>&5
66716 ac_status=$?
66717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66718 (exit $ac_status); }; }; then
66719 eval "$as_ac_var=yes"
66720 else
66721 echo "$as_me: failed program was:" >&5
66722 sed 's/^/| /' conftest.$ac_ext >&5
66724 eval "$as_ac_var=no"
66726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66730 if test `eval echo '${'$as_ac_var'}'` = yes; then
66731 cat >>confdefs.h <<_ACEOF
66732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66733 _ACEOF
66735 else
66736 ac_wfuncs=no
66738 done
66741 # Checks for wide character functions that are not required
66742 # for basic wchar_t support. Don't disable support if they are missing.
66743 # Injection of these is wrapped with guard macros.
66749 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
66751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66752 echo "$as_me:$LINENO: checking for $ac_func" >&5
66753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66754 if eval "test \"\${$as_ac_var+set}\" = set"; then
66755 echo $ECHO_N "(cached) $ECHO_C" >&6
66756 else
66757 if test x$gcc_no_link = xyes; then
66758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66760 { (exit 1); exit 1; }; }
66762 cat >conftest.$ac_ext <<_ACEOF
66763 #line $LINENO "configure"
66764 /* confdefs.h. */
66765 _ACEOF
66766 cat confdefs.h >>conftest.$ac_ext
66767 cat >>conftest.$ac_ext <<_ACEOF
66768 /* end confdefs.h. */
66769 /* System header to define __stub macros and hopefully few prototypes,
66770 which can conflict with char $ac_func (); below.
66771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66772 <limits.h> exists even on freestanding compilers. */
66773 #ifdef __STDC__
66774 # include <limits.h>
66775 #else
66776 # include <assert.h>
66777 #endif
66778 /* Override any gcc2 internal prototype to avoid an error. */
66779 #ifdef __cplusplus
66780 extern "C"
66782 #endif
66783 /* We use char because int might match the return type of a gcc2
66784 builtin and then its argument prototype would still apply. */
66785 char $ac_func ();
66786 /* The GNU C library defines this for functions which it implements
66787 to always fail with ENOSYS. Some functions are actually named
66788 something starting with __ and the normal name is an alias. */
66789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66790 choke me
66791 #else
66792 char (*f) () = $ac_func;
66793 #endif
66794 #ifdef __cplusplus
66796 #endif
66799 main ()
66801 return f != $ac_func;
66803 return 0;
66805 _ACEOF
66806 rm -f conftest.$ac_objext conftest$ac_exeext
66807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66808 (eval $ac_link) 2>&5
66809 ac_status=$?
66810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66811 (exit $ac_status); } &&
66812 { ac_try='test -s conftest$ac_exeext'
66813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66814 (eval $ac_try) 2>&5
66815 ac_status=$?
66816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66817 (exit $ac_status); }; }; then
66818 eval "$as_ac_var=yes"
66819 else
66820 echo "$as_me: failed program was:" >&5
66821 sed 's/^/| /' conftest.$ac_ext >&5
66823 eval "$as_ac_var=no"
66825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66829 if test `eval echo '${'$as_ac_var'}'` = yes; then
66830 cat >>confdefs.h <<_ACEOF
66831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66832 _ACEOF
66835 done
66838 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
66839 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
66840 if test x"$has_weof" = xyes &&
66841 test x"$has_wchar_minmax" = xyes &&
66842 test x"$ac_wfuncs" = xyes;
66843 then
66844 ac_isoC99_wchar_t=yes
66845 else
66846 ac_isoC99_wchar_t=no
66848 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
66849 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
66851 # Use iconv for wchar_t to char conversions. As such, check for
66852 # X/Open Portability Guide, version 2 features (XPG2).
66853 if test "${ac_cv_header_iconv_h+set}" = set; then
66854 echo "$as_me:$LINENO: checking for iconv.h" >&5
66855 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66856 if test "${ac_cv_header_iconv_h+set}" = set; then
66857 echo $ECHO_N "(cached) $ECHO_C" >&6
66859 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66860 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66861 else
66862 # Is the header compilable?
66863 echo "$as_me:$LINENO: checking iconv.h usability" >&5
66864 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
66865 cat >conftest.$ac_ext <<_ACEOF
66866 #line $LINENO "configure"
66867 /* confdefs.h. */
66868 _ACEOF
66869 cat confdefs.h >>conftest.$ac_ext
66870 cat >>conftest.$ac_ext <<_ACEOF
66871 /* end confdefs.h. */
66872 $ac_includes_default
66873 #include <iconv.h>
66874 _ACEOF
66875 rm -f conftest.$ac_objext
66876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66877 (eval $ac_compile) 2>&5
66878 ac_status=$?
66879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66880 (exit $ac_status); } &&
66881 { ac_try='test -s conftest.$ac_objext'
66882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883 (eval $ac_try) 2>&5
66884 ac_status=$?
66885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886 (exit $ac_status); }; }; then
66887 ac_header_compiler=yes
66888 else
66889 echo "$as_me: failed program was:" >&5
66890 sed 's/^/| /' conftest.$ac_ext >&5
66892 ac_header_compiler=no
66894 rm -f conftest.$ac_objext conftest.$ac_ext
66895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66896 echo "${ECHO_T}$ac_header_compiler" >&6
66898 # Is the header present?
66899 echo "$as_me:$LINENO: checking iconv.h presence" >&5
66900 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
66901 cat >conftest.$ac_ext <<_ACEOF
66902 #line $LINENO "configure"
66903 /* confdefs.h. */
66904 _ACEOF
66905 cat confdefs.h >>conftest.$ac_ext
66906 cat >>conftest.$ac_ext <<_ACEOF
66907 /* end confdefs.h. */
66908 #include <iconv.h>
66909 _ACEOF
66910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66912 ac_status=$?
66913 grep -v '^ *+' conftest.er1 >conftest.err
66914 rm -f conftest.er1
66915 cat conftest.err >&5
66916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66917 (exit $ac_status); } >/dev/null; then
66918 if test -s conftest.err; then
66919 ac_cpp_err=$ac_c_preproc_warn_flag
66920 else
66921 ac_cpp_err=
66923 else
66924 ac_cpp_err=yes
66926 if test -z "$ac_cpp_err"; then
66927 ac_header_preproc=yes
66928 else
66929 echo "$as_me: failed program was:" >&5
66930 sed 's/^/| /' conftest.$ac_ext >&5
66932 ac_header_preproc=no
66934 rm -f conftest.err conftest.$ac_ext
66935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66936 echo "${ECHO_T}$ac_header_preproc" >&6
66938 # So? What about this header?
66939 case $ac_header_compiler:$ac_header_preproc in
66940 yes:no )
66941 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
66942 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
66943 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
66944 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
66946 cat <<\_ASBOX
66947 ## ------------------------------------ ##
66948 ## Report this to bug-autoconf@gnu.org. ##
66949 ## ------------------------------------ ##
66950 _ASBOX
66952 sed "s/^/$as_me: WARNING: /" >&2
66954 no:yes )
66955 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
66956 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
66957 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
66958 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
66959 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
66960 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
66962 cat <<\_ASBOX
66963 ## ------------------------------------ ##
66964 ## Report this to bug-autoconf@gnu.org. ##
66965 ## ------------------------------------ ##
66966 _ASBOX
66968 sed "s/^/$as_me: WARNING: /" >&2
66970 esac
66971 echo "$as_me:$LINENO: checking for iconv.h" >&5
66972 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66973 if test "${ac_cv_header_iconv_h+set}" = set; then
66974 echo $ECHO_N "(cached) $ECHO_C" >&6
66975 else
66976 ac_cv_header_iconv_h=$ac_header_preproc
66978 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66979 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66982 if test $ac_cv_header_iconv_h = yes; then
66983 ac_has_iconv_h=yes
66984 else
66985 ac_has_iconv_h=no
66989 if test "${ac_cv_header_langinfo_h+set}" = set; then
66990 echo "$as_me:$LINENO: checking for langinfo.h" >&5
66991 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
66992 if test "${ac_cv_header_langinfo_h+set}" = set; then
66993 echo $ECHO_N "(cached) $ECHO_C" >&6
66995 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
66996 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
66997 else
66998 # Is the header compilable?
66999 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
67000 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
67001 cat >conftest.$ac_ext <<_ACEOF
67002 #line $LINENO "configure"
67003 /* confdefs.h. */
67004 _ACEOF
67005 cat confdefs.h >>conftest.$ac_ext
67006 cat >>conftest.$ac_ext <<_ACEOF
67007 /* end confdefs.h. */
67008 $ac_includes_default
67009 #include <langinfo.h>
67010 _ACEOF
67011 rm -f conftest.$ac_objext
67012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67013 (eval $ac_compile) 2>&5
67014 ac_status=$?
67015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67016 (exit $ac_status); } &&
67017 { ac_try='test -s conftest.$ac_objext'
67018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67019 (eval $ac_try) 2>&5
67020 ac_status=$?
67021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022 (exit $ac_status); }; }; then
67023 ac_header_compiler=yes
67024 else
67025 echo "$as_me: failed program was:" >&5
67026 sed 's/^/| /' conftest.$ac_ext >&5
67028 ac_header_compiler=no
67030 rm -f conftest.$ac_objext conftest.$ac_ext
67031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67032 echo "${ECHO_T}$ac_header_compiler" >&6
67034 # Is the header present?
67035 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
67036 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
67037 cat >conftest.$ac_ext <<_ACEOF
67038 #line $LINENO "configure"
67039 /* confdefs.h. */
67040 _ACEOF
67041 cat confdefs.h >>conftest.$ac_ext
67042 cat >>conftest.$ac_ext <<_ACEOF
67043 /* end confdefs.h. */
67044 #include <langinfo.h>
67045 _ACEOF
67046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67048 ac_status=$?
67049 grep -v '^ *+' conftest.er1 >conftest.err
67050 rm -f conftest.er1
67051 cat conftest.err >&5
67052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67053 (exit $ac_status); } >/dev/null; then
67054 if test -s conftest.err; then
67055 ac_cpp_err=$ac_c_preproc_warn_flag
67056 else
67057 ac_cpp_err=
67059 else
67060 ac_cpp_err=yes
67062 if test -z "$ac_cpp_err"; then
67063 ac_header_preproc=yes
67064 else
67065 echo "$as_me: failed program was:" >&5
67066 sed 's/^/| /' conftest.$ac_ext >&5
67068 ac_header_preproc=no
67070 rm -f conftest.err conftest.$ac_ext
67071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67072 echo "${ECHO_T}$ac_header_preproc" >&6
67074 # So? What about this header?
67075 case $ac_header_compiler:$ac_header_preproc in
67076 yes:no )
67077 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
67078 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67079 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67080 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67082 cat <<\_ASBOX
67083 ## ------------------------------------ ##
67084 ## Report this to bug-autoconf@gnu.org. ##
67085 ## ------------------------------------ ##
67086 _ASBOX
67088 sed "s/^/$as_me: WARNING: /" >&2
67090 no:yes )
67091 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
67092 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
67093 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
67094 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
67095 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67096 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67098 cat <<\_ASBOX
67099 ## ------------------------------------ ##
67100 ## Report this to bug-autoconf@gnu.org. ##
67101 ## ------------------------------------ ##
67102 _ASBOX
67104 sed "s/^/$as_me: WARNING: /" >&2
67106 esac
67107 echo "$as_me:$LINENO: checking for langinfo.h" >&5
67108 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67109 if test "${ac_cv_header_langinfo_h+set}" = set; then
67110 echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67112 ac_cv_header_langinfo_h=$ac_header_preproc
67114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67118 if test $ac_cv_header_langinfo_h = yes; then
67119 ac_has_langinfo_h=yes
67120 else
67121 ac_has_langinfo_h=no
67126 # Check for existence of libiconv.a providing XPG2 wchar_t support.
67127 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
67128 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
67129 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
67130 echo $ECHO_N "(cached) $ECHO_C" >&6
67131 else
67132 ac_check_lib_save_LIBS=$LIBS
67133 LIBS="-liconv $LIBS"
67134 if test x$gcc_no_link = xyes; then
67135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67137 { (exit 1); exit 1; }; }
67139 cat >conftest.$ac_ext <<_ACEOF
67140 #line $LINENO "configure"
67141 /* confdefs.h. */
67142 _ACEOF
67143 cat confdefs.h >>conftest.$ac_ext
67144 cat >>conftest.$ac_ext <<_ACEOF
67145 /* end confdefs.h. */
67147 /* Override any gcc2 internal prototype to avoid an error. */
67148 #ifdef __cplusplus
67149 extern "C"
67150 #endif
67151 /* We use char because int might match the return type of a gcc2
67152 builtin and then its argument prototype would still apply. */
67153 char iconv ();
67155 main ()
67157 iconv ();
67159 return 0;
67161 _ACEOF
67162 rm -f conftest.$ac_objext conftest$ac_exeext
67163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67164 (eval $ac_link) 2>&5
67165 ac_status=$?
67166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67167 (exit $ac_status); } &&
67168 { ac_try='test -s conftest$ac_exeext'
67169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67170 (eval $ac_try) 2>&5
67171 ac_status=$?
67172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67173 (exit $ac_status); }; }; then
67174 ac_cv_lib_iconv_iconv=yes
67175 else
67176 echo "$as_me: failed program was:" >&5
67177 sed 's/^/| /' conftest.$ac_ext >&5
67179 ac_cv_lib_iconv_iconv=no
67181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67182 LIBS=$ac_check_lib_save_LIBS
67184 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
67185 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
67186 if test $ac_cv_lib_iconv_iconv = yes; then
67187 libiconv="-liconv"
67190 ac_save_LIBS="$LIBS"
67191 LIBS="$LIBS $libiconv"
67197 for ac_func in iconv_open iconv_close iconv nl_langinfo
67199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67200 echo "$as_me:$LINENO: checking for $ac_func" >&5
67201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67202 if eval "test \"\${$as_ac_var+set}\" = set"; then
67203 echo $ECHO_N "(cached) $ECHO_C" >&6
67204 else
67205 if test x$gcc_no_link = xyes; then
67206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67208 { (exit 1); exit 1; }; }
67210 cat >conftest.$ac_ext <<_ACEOF
67211 #line $LINENO "configure"
67212 /* confdefs.h. */
67213 _ACEOF
67214 cat confdefs.h >>conftest.$ac_ext
67215 cat >>conftest.$ac_ext <<_ACEOF
67216 /* end confdefs.h. */
67217 /* System header to define __stub macros and hopefully few prototypes,
67218 which can conflict with char $ac_func (); below.
67219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67220 <limits.h> exists even on freestanding compilers. */
67221 #ifdef __STDC__
67222 # include <limits.h>
67223 #else
67224 # include <assert.h>
67225 #endif
67226 /* Override any gcc2 internal prototype to avoid an error. */
67227 #ifdef __cplusplus
67228 extern "C"
67230 #endif
67231 /* We use char because int might match the return type of a gcc2
67232 builtin and then its argument prototype would still apply. */
67233 char $ac_func ();
67234 /* The GNU C library defines this for functions which it implements
67235 to always fail with ENOSYS. Some functions are actually named
67236 something starting with __ and the normal name is an alias. */
67237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67238 choke me
67239 #else
67240 char (*f) () = $ac_func;
67241 #endif
67242 #ifdef __cplusplus
67244 #endif
67247 main ()
67249 return f != $ac_func;
67251 return 0;
67253 _ACEOF
67254 rm -f conftest.$ac_objext conftest$ac_exeext
67255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67256 (eval $ac_link) 2>&5
67257 ac_status=$?
67258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259 (exit $ac_status); } &&
67260 { ac_try='test -s conftest$ac_exeext'
67261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67262 (eval $ac_try) 2>&5
67263 ac_status=$?
67264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67265 (exit $ac_status); }; }; then
67266 eval "$as_ac_var=yes"
67267 else
67268 echo "$as_me: failed program was:" >&5
67269 sed 's/^/| /' conftest.$ac_ext >&5
67271 eval "$as_ac_var=no"
67273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67277 if test `eval echo '${'$as_ac_var'}'` = yes; then
67278 cat >>confdefs.h <<_ACEOF
67279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67280 _ACEOF
67281 ac_XPG2funcs=yes
67282 else
67283 ac_XPG2funcs=no
67285 done
67288 LIBS="$ac_save_LIBS"
67290 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
67291 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
67292 if test x"$ac_has_iconv_h" = xyes &&
67293 test x"$ac_has_langinfo_h" = xyes &&
67294 test x"$ac_XPG2funcs" = xyes;
67295 then
67296 ac_XPG2_wchar_t=yes
67297 else
67298 ac_XPG2_wchar_t=no
67300 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
67301 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
67303 # At the moment, only enable wchar_t specializations if all the
67304 # above support is present.
67305 if test x"$ac_isoC99_wchar_t" = xyes &&
67306 test x"$ac_XPG2_wchar_t" = xyes;
67307 then
67308 cat >>confdefs.h <<\_ACEOF
67309 #define _GLIBCXX_USE_WCHAR_T 1
67310 _ACEOF
67312 enable_wchar_t=yes
67315 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
67316 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
67317 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
67318 echo "${ECHO_T}$enable_wchar_t" >&6
67320 cat >>confdefs.h <<\_ACEOF
67321 #define HAVE_LC_MESSAGES 1
67322 _ACEOF
67324 cat >>confdefs.h <<\_ACEOF
67325 #define HAVE_GETPAGESIZE 1
67326 _ACEOF
67328 cat >>confdefs.h <<\_ACEOF
67329 #define HAVE_SETENV 1
67330 _ACEOF
67332 cat >>confdefs.h <<\_ACEOF
67333 #define HAVE_SIGSETJMP 1
67334 _ACEOF
67336 cat >>confdefs.h <<\_ACEOF
67337 #define HAVE_COPYSIGN 1
67338 _ACEOF
67340 cat >>confdefs.h <<\_ACEOF
67341 #define HAVE_COPYSIGNF 1
67342 _ACEOF
67344 cat >>confdefs.h <<\_ACEOF
67345 #define HAVE_FINITEF 1
67346 _ACEOF
67348 cat >>confdefs.h <<\_ACEOF
67349 #define HAVE_FINITE 1
67350 _ACEOF
67352 cat >>confdefs.h <<\_ACEOF
67353 #define HAVE_FREXPF 1
67354 _ACEOF
67356 cat >>confdefs.h <<\_ACEOF
67357 #define HAVE_HYPOT 1
67358 _ACEOF
67360 cat >>confdefs.h <<\_ACEOF
67361 #define HAVE_HYPOTF 1
67362 _ACEOF
67364 cat >>confdefs.h <<\_ACEOF
67365 #define HAVE_ISINF 1
67366 _ACEOF
67368 cat >>confdefs.h <<\_ACEOF
67369 #define HAVE_ISNAN 1
67370 _ACEOF
67372 cat >>confdefs.h <<\_ACEOF
67373 #define HAVE_ISNANF 1
67374 _ACEOF
67377 cat >>confdefs.h <<\_ACEOF
67378 #define HAVE_MMAP 1
67379 _ACEOF
67381 cat >>confdefs.h <<\_ACEOF
67382 #define HAVE_ACOSF 1
67383 _ACEOF
67385 cat >>confdefs.h <<\_ACEOF
67386 #define HAVE_ASINF 1
67387 _ACEOF
67389 cat >>confdefs.h <<\_ACEOF
67390 #define HAVE_ATAN2F 1
67391 _ACEOF
67393 cat >>confdefs.h <<\_ACEOF
67394 #define HAVE_ATANF 1
67395 _ACEOF
67397 cat >>confdefs.h <<\_ACEOF
67398 #define HAVE_CEILF 1
67399 _ACEOF
67401 cat >>confdefs.h <<\_ACEOF
67402 #define HAVE_COPYSIGN 1
67403 _ACEOF
67405 cat >>confdefs.h <<\_ACEOF
67406 #define HAVE_COPYSIGNF 1
67407 _ACEOF
67409 cat >>confdefs.h <<\_ACEOF
67410 #define HAVE_COSF 1
67411 _ACEOF
67413 cat >>confdefs.h <<\_ACEOF
67414 #define HAVE_COSHF 1
67415 _ACEOF
67417 cat >>confdefs.h <<\_ACEOF
67418 #define HAVE_EXPF 1
67419 _ACEOF
67421 cat >>confdefs.h <<\_ACEOF
67422 #define HAVE_FABSF 1
67423 _ACEOF
67425 cat >>confdefs.h <<\_ACEOF
67426 #define HAVE_FLOORF 1
67427 _ACEOF
67429 cat >>confdefs.h <<\_ACEOF
67430 #define HAVE_FMODF 1
67431 _ACEOF
67433 cat >>confdefs.h <<\_ACEOF
67434 #define HAVE_FREXPF 1
67435 _ACEOF
67437 cat >>confdefs.h <<\_ACEOF
67438 #define HAVE_LDEXPF 1
67439 _ACEOF
67441 cat >>confdefs.h <<\_ACEOF
67442 #define HAVE_LOG10F 1
67443 _ACEOF
67445 cat >>confdefs.h <<\_ACEOF
67446 #define HAVE_LOGF 1
67447 _ACEOF
67449 cat >>confdefs.h <<\_ACEOF
67450 #define HAVE_MODFF 1
67451 _ACEOF
67453 cat >>confdefs.h <<\_ACEOF
67454 #define HAVE_POWF 1
67455 _ACEOF
67457 cat >>confdefs.h <<\_ACEOF
67458 #define HAVE_SINF 1
67459 _ACEOF
67461 cat >>confdefs.h <<\_ACEOF
67462 #define HAVE_SINHF 1
67463 _ACEOF
67465 cat >>confdefs.h <<\_ACEOF
67466 #define HAVE_SQRTF 1
67467 _ACEOF
67469 cat >>confdefs.h <<\_ACEOF
67470 #define HAVE_TANF 1
67471 _ACEOF
67473 cat >>confdefs.h <<\_ACEOF
67474 #define HAVE_TANHF 1
67475 _ACEOF
67477 if test x"long_double_math_on_this_cpu" = x"yes"; then
67478 cat >>confdefs.h <<\_ACEOF
67479 #define HAVE_FINITEL 1
67480 _ACEOF
67482 cat >>confdefs.h <<\_ACEOF
67483 #define HAVE_ISINFL 1
67484 _ACEOF
67486 cat >>confdefs.h <<\_ACEOF
67487 #define HAVE_ISNANL 1
67488 _ACEOF
67492 *-hpux*)
67505 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
67506 machine/endian.h machine/param.h sys/machine.h sys/types.h \
67507 fp.h locale.h float.h inttypes.h
67509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67511 echo "$as_me:$LINENO: checking for $ac_header" >&5
67512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67514 echo $ECHO_N "(cached) $ECHO_C" >&6
67516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67518 else
67519 # Is the header compilable?
67520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67522 cat >conftest.$ac_ext <<_ACEOF
67523 #line $LINENO "configure"
67524 /* confdefs.h. */
67525 _ACEOF
67526 cat confdefs.h >>conftest.$ac_ext
67527 cat >>conftest.$ac_ext <<_ACEOF
67528 /* end confdefs.h. */
67529 $ac_includes_default
67530 #include <$ac_header>
67531 _ACEOF
67532 rm -f conftest.$ac_objext
67533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67534 (eval $ac_compile) 2>&5
67535 ac_status=$?
67536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537 (exit $ac_status); } &&
67538 { ac_try='test -s conftest.$ac_objext'
67539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67540 (eval $ac_try) 2>&5
67541 ac_status=$?
67542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67543 (exit $ac_status); }; }; then
67544 ac_header_compiler=yes
67545 else
67546 echo "$as_me: failed program was:" >&5
67547 sed 's/^/| /' conftest.$ac_ext >&5
67549 ac_header_compiler=no
67551 rm -f conftest.$ac_objext conftest.$ac_ext
67552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67553 echo "${ECHO_T}$ac_header_compiler" >&6
67555 # Is the header present?
67556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67558 cat >conftest.$ac_ext <<_ACEOF
67559 #line $LINENO "configure"
67560 /* confdefs.h. */
67561 _ACEOF
67562 cat confdefs.h >>conftest.$ac_ext
67563 cat >>conftest.$ac_ext <<_ACEOF
67564 /* end confdefs.h. */
67565 #include <$ac_header>
67566 _ACEOF
67567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67569 ac_status=$?
67570 grep -v '^ *+' conftest.er1 >conftest.err
67571 rm -f conftest.er1
67572 cat conftest.err >&5
67573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67574 (exit $ac_status); } >/dev/null; then
67575 if test -s conftest.err; then
67576 ac_cpp_err=$ac_c_preproc_warn_flag
67577 else
67578 ac_cpp_err=
67580 else
67581 ac_cpp_err=yes
67583 if test -z "$ac_cpp_err"; then
67584 ac_header_preproc=yes
67585 else
67586 echo "$as_me: failed program was:" >&5
67587 sed 's/^/| /' conftest.$ac_ext >&5
67589 ac_header_preproc=no
67591 rm -f conftest.err conftest.$ac_ext
67592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67593 echo "${ECHO_T}$ac_header_preproc" >&6
67595 # So? What about this header?
67596 case $ac_header_compiler:$ac_header_preproc in
67597 yes:no )
67598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
67599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
67600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67603 cat <<\_ASBOX
67604 ## ------------------------------------ ##
67605 ## Report this to bug-autoconf@gnu.org. ##
67606 ## ------------------------------------ ##
67607 _ASBOX
67609 sed "s/^/$as_me: WARNING: /" >&2
67611 no:yes )
67612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
67613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
67614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
67615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
67616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67619 cat <<\_ASBOX
67620 ## ------------------------------------ ##
67621 ## Report this to bug-autoconf@gnu.org. ##
67622 ## ------------------------------------ ##
67623 _ASBOX
67625 sed "s/^/$as_me: WARNING: /" >&2
67627 esac
67628 echo "$as_me:$LINENO: checking for $ac_header" >&5
67629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67631 echo $ECHO_N "(cached) $ECHO_C" >&6
67632 else
67633 eval "$as_ac_Header=$ac_header_preproc"
67635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
67640 cat >>confdefs.h <<_ACEOF
67641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
67642 _ACEOF
67646 done
67648 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67651 # If we're not using GNU ld, then there's no point in even trying these
67652 # tests. Check for that first. We should have already tested for gld
67653 # by now (in libtool), but require it now just to be safe...
67654 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
67655 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
67659 # The name set by libtool depends on the version of libtool. Shame on us
67660 # for depending on an impl detail, but c'est la vie. Older versions used
67661 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
67662 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
67663 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
67664 # set (hence we're using an older libtool), then set it.
67665 if test x${with_gnu_ld+set} != xset; then
67666 if test x${ac_cv_prog_gnu_ld+set} != xset; then
67667 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
67668 with_gnu_ld=no
67669 else
67670 with_gnu_ld=$ac_cv_prog_gnu_ld
67674 # Start by getting the version number. I think the libtool test already
67675 # does some of this, but throws away the result.
67677 ldver=`$LD --version 2>/dev/null | head -1 | \
67678 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
67680 glibcxx_gnu_ld_version=`echo $ldver | \
67681 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
67683 # Set --gc-sections.
67684 if test "$with_gnu_ld" = "notbroken"; then
67685 # GNU ld it is! Joy and bunny rabbits!
67687 # All these tests are for C++; save the language and the compiler flags.
67688 # Need to do this so that g++ won't try to link in libstdc++
67689 ac_test_CFLAGS="${CFLAGS+set}"
67690 ac_save_CFLAGS="$CFLAGS"
67691 CFLAGS='-x c++ -Wl,--gc-sections'
67693 # Check for -Wl,--gc-sections
67694 # XXX This test is broken at the moment, as symbols required for linking
67695 # are now in libsupc++ (not built yet). In addition, this test has
67696 # cored on solaris in the past. In addition, --gc-sections doesn't
67697 # really work at the moment (keeps on discarding used sections, first
67698 # .eh_frame and now some of the glibc sections for iconv).
67699 # Bzzzzt. Thanks for playing, maybe next time.
67700 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
67701 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
67702 if test "$cross_compiling" = yes; then
67703 ac_sectionLDflags=yes
67704 else
67705 cat >conftest.$ac_ext <<_ACEOF
67706 #line $LINENO "configure"
67707 /* confdefs.h. */
67708 _ACEOF
67709 cat confdefs.h >>conftest.$ac_ext
67710 cat >>conftest.$ac_ext <<_ACEOF
67711 /* end confdefs.h. */
67713 int main(void)
67715 try { throw 1; }
67716 catch (...) { };
67717 return 0;
67720 _ACEOF
67721 rm -f conftest$ac_exeext
67722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67723 (eval $ac_link) 2>&5
67724 ac_status=$?
67725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
67727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67728 (eval $ac_try) 2>&5
67729 ac_status=$?
67730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67731 (exit $ac_status); }; }; then
67732 ac_sectionLDflags=yes
67733 else
67734 echo "$as_me: program exited with status $ac_status" >&5
67735 echo "$as_me: failed program was:" >&5
67736 sed 's/^/| /' conftest.$ac_ext >&5
67738 ( exit $ac_status )
67739 ac_sectionLDflags=no
67741 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
67743 if test "$ac_test_CFLAGS" = set; then
67744 CFLAGS="$ac_save_CFLAGS"
67745 else
67746 # this is the suspicious part
67747 CFLAGS=''
67749 if test "$ac_sectionLDflags" = "yes"; then
67750 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
67752 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
67753 echo "${ECHO_T}$ac_sectionLDflags" >&6
67756 # Set linker optimization flags.
67757 if test x"$with_gnu_ld" = x"yes"; then
67758 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
67766 echo "$as_me:$LINENO: checking for main in -lm" >&5
67767 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
67768 if test "${ac_cv_lib_m_main+set}" = set; then
67769 echo $ECHO_N "(cached) $ECHO_C" >&6
67770 else
67771 ac_check_lib_save_LIBS=$LIBS
67772 LIBS="-lm $LIBS"
67773 if test x$gcc_no_link = xyes; then
67774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67776 { (exit 1); exit 1; }; }
67778 cat >conftest.$ac_ext <<_ACEOF
67779 #line $LINENO "configure"
67780 /* confdefs.h. */
67781 _ACEOF
67782 cat confdefs.h >>conftest.$ac_ext
67783 cat >>conftest.$ac_ext <<_ACEOF
67784 /* end confdefs.h. */
67788 main ()
67790 main ();
67792 return 0;
67794 _ACEOF
67795 rm -f conftest.$ac_objext conftest$ac_exeext
67796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67797 (eval $ac_link) 2>&5
67798 ac_status=$?
67799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800 (exit $ac_status); } &&
67801 { ac_try='test -s conftest$ac_exeext'
67802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67803 (eval $ac_try) 2>&5
67804 ac_status=$?
67805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67806 (exit $ac_status); }; }; then
67807 ac_cv_lib_m_main=yes
67808 else
67809 echo "$as_me: failed program was:" >&5
67810 sed 's/^/| /' conftest.$ac_ext >&5
67812 ac_cv_lib_m_main=no
67814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67815 LIBS=$ac_check_lib_save_LIBS
67817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
67818 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
67819 if test $ac_cv_lib_m_main = yes; then
67820 cat >>confdefs.h <<_ACEOF
67821 #define HAVE_LIBM 1
67822 _ACEOF
67824 LIBS="-lm $LIBS"
67829 for ac_func in copysignf
67831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67832 echo "$as_me:$LINENO: checking for $ac_func" >&5
67833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67834 if eval "test \"\${$as_ac_var+set}\" = set"; then
67835 echo $ECHO_N "(cached) $ECHO_C" >&6
67836 else
67837 if test x$gcc_no_link = xyes; then
67838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67840 { (exit 1); exit 1; }; }
67842 cat >conftest.$ac_ext <<_ACEOF
67843 #line $LINENO "configure"
67844 /* confdefs.h. */
67845 _ACEOF
67846 cat confdefs.h >>conftest.$ac_ext
67847 cat >>conftest.$ac_ext <<_ACEOF
67848 /* end confdefs.h. */
67849 /* System header to define __stub macros and hopefully few prototypes,
67850 which can conflict with char $ac_func (); below.
67851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67852 <limits.h> exists even on freestanding compilers. */
67853 #ifdef __STDC__
67854 # include <limits.h>
67855 #else
67856 # include <assert.h>
67857 #endif
67858 /* Override any gcc2 internal prototype to avoid an error. */
67859 #ifdef __cplusplus
67860 extern "C"
67862 #endif
67863 /* We use char because int might match the return type of a gcc2
67864 builtin and then its argument prototype would still apply. */
67865 char $ac_func ();
67866 /* The GNU C library defines this for functions which it implements
67867 to always fail with ENOSYS. Some functions are actually named
67868 something starting with __ and the normal name is an alias. */
67869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67870 choke me
67871 #else
67872 char (*f) () = $ac_func;
67873 #endif
67874 #ifdef __cplusplus
67876 #endif
67879 main ()
67881 return f != $ac_func;
67883 return 0;
67885 _ACEOF
67886 rm -f conftest.$ac_objext conftest$ac_exeext
67887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67888 (eval $ac_link) 2>&5
67889 ac_status=$?
67890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67891 (exit $ac_status); } &&
67892 { ac_try='test -s conftest$ac_exeext'
67893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67894 (eval $ac_try) 2>&5
67895 ac_status=$?
67896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67897 (exit $ac_status); }; }; then
67898 eval "$as_ac_var=yes"
67899 else
67900 echo "$as_me: failed program was:" >&5
67901 sed 's/^/| /' conftest.$ac_ext >&5
67903 eval "$as_ac_var=no"
67905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67909 if test `eval echo '${'$as_ac_var'}'` = yes; then
67910 cat >>confdefs.h <<_ACEOF
67911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67912 _ACEOF
67914 else
67915 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
67917 done
67921 for ac_func in __signbit
67923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67924 echo "$as_me:$LINENO: checking for $ac_func" >&5
67925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67926 if eval "test \"\${$as_ac_var+set}\" = set"; then
67927 echo $ECHO_N "(cached) $ECHO_C" >&6
67928 else
67929 if test x$gcc_no_link = xyes; then
67930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67932 { (exit 1); exit 1; }; }
67934 cat >conftest.$ac_ext <<_ACEOF
67935 #line $LINENO "configure"
67936 /* confdefs.h. */
67937 _ACEOF
67938 cat confdefs.h >>conftest.$ac_ext
67939 cat >>conftest.$ac_ext <<_ACEOF
67940 /* end confdefs.h. */
67941 /* System header to define __stub macros and hopefully few prototypes,
67942 which can conflict with char $ac_func (); below.
67943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67944 <limits.h> exists even on freestanding compilers. */
67945 #ifdef __STDC__
67946 # include <limits.h>
67947 #else
67948 # include <assert.h>
67949 #endif
67950 /* Override any gcc2 internal prototype to avoid an error. */
67951 #ifdef __cplusplus
67952 extern "C"
67954 #endif
67955 /* We use char because int might match the return type of a gcc2
67956 builtin and then its argument prototype would still apply. */
67957 char $ac_func ();
67958 /* The GNU C library defines this for functions which it implements
67959 to always fail with ENOSYS. Some functions are actually named
67960 something starting with __ and the normal name is an alias. */
67961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67962 choke me
67963 #else
67964 char (*f) () = $ac_func;
67965 #endif
67966 #ifdef __cplusplus
67968 #endif
67971 main ()
67973 return f != $ac_func;
67975 return 0;
67977 _ACEOF
67978 rm -f conftest.$ac_objext conftest$ac_exeext
67979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67980 (eval $ac_link) 2>&5
67981 ac_status=$?
67982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983 (exit $ac_status); } &&
67984 { ac_try='test -s conftest$ac_exeext'
67985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67986 (eval $ac_try) 2>&5
67987 ac_status=$?
67988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989 (exit $ac_status); }; }; then
67990 eval "$as_ac_var=yes"
67991 else
67992 echo "$as_me: failed program was:" >&5
67993 sed 's/^/| /' conftest.$ac_ext >&5
67995 eval "$as_ac_var=no"
67997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68001 if test `eval echo '${'$as_ac_var'}'` = yes; then
68002 cat >>confdefs.h <<_ACEOF
68003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68004 _ACEOF
68006 else
68007 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
68009 done
68013 for ac_func in __signbitf
68015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68016 echo "$as_me:$LINENO: checking for $ac_func" >&5
68017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68018 if eval "test \"\${$as_ac_var+set}\" = set"; then
68019 echo $ECHO_N "(cached) $ECHO_C" >&6
68020 else
68021 if test x$gcc_no_link = xyes; then
68022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68024 { (exit 1); exit 1; }; }
68026 cat >conftest.$ac_ext <<_ACEOF
68027 #line $LINENO "configure"
68028 /* confdefs.h. */
68029 _ACEOF
68030 cat confdefs.h >>conftest.$ac_ext
68031 cat >>conftest.$ac_ext <<_ACEOF
68032 /* end confdefs.h. */
68033 /* System header to define __stub macros and hopefully few prototypes,
68034 which can conflict with char $ac_func (); below.
68035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68036 <limits.h> exists even on freestanding compilers. */
68037 #ifdef __STDC__
68038 # include <limits.h>
68039 #else
68040 # include <assert.h>
68041 #endif
68042 /* Override any gcc2 internal prototype to avoid an error. */
68043 #ifdef __cplusplus
68044 extern "C"
68046 #endif
68047 /* We use char because int might match the return type of a gcc2
68048 builtin and then its argument prototype would still apply. */
68049 char $ac_func ();
68050 /* The GNU C library defines this for functions which it implements
68051 to always fail with ENOSYS. Some functions are actually named
68052 something starting with __ and the normal name is an alias. */
68053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68054 choke me
68055 #else
68056 char (*f) () = $ac_func;
68057 #endif
68058 #ifdef __cplusplus
68060 #endif
68063 main ()
68065 return f != $ac_func;
68067 return 0;
68069 _ACEOF
68070 rm -f conftest.$ac_objext conftest$ac_exeext
68071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68072 (eval $ac_link) 2>&5
68073 ac_status=$?
68074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68075 (exit $ac_status); } &&
68076 { ac_try='test -s conftest$ac_exeext'
68077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68078 (eval $ac_try) 2>&5
68079 ac_status=$?
68080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081 (exit $ac_status); }; }; then
68082 eval "$as_ac_var=yes"
68083 else
68084 echo "$as_me: failed program was:" >&5
68085 sed 's/^/| /' conftest.$ac_ext >&5
68087 eval "$as_ac_var=no"
68089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68093 if test `eval echo '${'$as_ac_var'}'` = yes; then
68094 cat >>confdefs.h <<_ACEOF
68095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68096 _ACEOF
68098 else
68099 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
68101 done
68104 if test x$ac_cv_func_copysignl = x"yes"; then
68106 for ac_func in __signbitl
68108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68109 echo "$as_me:$LINENO: checking for $ac_func" >&5
68110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68111 if eval "test \"\${$as_ac_var+set}\" = set"; then
68112 echo $ECHO_N "(cached) $ECHO_C" >&6
68113 else
68114 if test x$gcc_no_link = xyes; then
68115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68117 { (exit 1); exit 1; }; }
68119 cat >conftest.$ac_ext <<_ACEOF
68120 #line $LINENO "configure"
68121 /* confdefs.h. */
68122 _ACEOF
68123 cat confdefs.h >>conftest.$ac_ext
68124 cat >>conftest.$ac_ext <<_ACEOF
68125 /* end confdefs.h. */
68126 /* System header to define __stub macros and hopefully few prototypes,
68127 which can conflict with char $ac_func (); below.
68128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68129 <limits.h> exists even on freestanding compilers. */
68130 #ifdef __STDC__
68131 # include <limits.h>
68132 #else
68133 # include <assert.h>
68134 #endif
68135 /* Override any gcc2 internal prototype to avoid an error. */
68136 #ifdef __cplusplus
68137 extern "C"
68139 #endif
68140 /* We use char because int might match the return type of a gcc2
68141 builtin and then its argument prototype would still apply. */
68142 char $ac_func ();
68143 /* The GNU C library defines this for functions which it implements
68144 to always fail with ENOSYS. Some functions are actually named
68145 something starting with __ and the normal name is an alias. */
68146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68147 choke me
68148 #else
68149 char (*f) () = $ac_func;
68150 #endif
68151 #ifdef __cplusplus
68153 #endif
68156 main ()
68158 return f != $ac_func;
68160 return 0;
68162 _ACEOF
68163 rm -f conftest.$ac_objext conftest$ac_exeext
68164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68165 (eval $ac_link) 2>&5
68166 ac_status=$?
68167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68168 (exit $ac_status); } &&
68169 { ac_try='test -s conftest$ac_exeext'
68170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68171 (eval $ac_try) 2>&5
68172 ac_status=$?
68173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174 (exit $ac_status); }; }; then
68175 eval "$as_ac_var=yes"
68176 else
68177 echo "$as_me: failed program was:" >&5
68178 sed 's/^/| /' conftest.$ac_ext >&5
68180 eval "$as_ac_var=no"
68182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68186 if test `eval echo '${'$as_ac_var'}'` = yes; then
68187 cat >>confdefs.h <<_ACEOF
68188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68189 _ACEOF
68191 else
68192 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
68194 done
68198 # Used in libmath/Makefile.am.
68199 if test -n "$LIBMATHOBJS"; then
68200 need_libmath=yes
68205 # Test wchar.h for mbstate_t, which is needed for char_traits and
68206 # others even if wchar_t support is not on.
68207 echo "$as_me:$LINENO: checking for mbstate_t" >&5
68208 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
68209 cat >conftest.$ac_ext <<_ACEOF
68210 #line $LINENO "configure"
68211 /* confdefs.h. */
68212 _ACEOF
68213 cat confdefs.h >>conftest.$ac_ext
68214 cat >>conftest.$ac_ext <<_ACEOF
68215 /* end confdefs.h. */
68216 #include <wchar.h>
68218 main ()
68220 mbstate_t teststate;
68222 return 0;
68224 _ACEOF
68225 rm -f conftest.$ac_objext
68226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68227 (eval $ac_compile) 2>&5
68228 ac_status=$?
68229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230 (exit $ac_status); } &&
68231 { ac_try='test -s conftest.$ac_objext'
68232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68233 (eval $ac_try) 2>&5
68234 ac_status=$?
68235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68236 (exit $ac_status); }; }; then
68237 have_mbstate_t=yes
68238 else
68239 echo "$as_me: failed program was:" >&5
68240 sed 's/^/| /' conftest.$ac_ext >&5
68242 have_mbstate_t=no
68244 rm -f conftest.$ac_objext conftest.$ac_ext
68245 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
68246 echo "${ECHO_T}$have_mbstate_t" >&6
68247 if test x"$have_mbstate_t" = xyes; then
68248 cat >>confdefs.h <<\_ACEOF
68249 #define HAVE_MBSTATE_T 1
68250 _ACEOF
68254 # Sanity check for existence of ISO C99 headers for extended encoding.
68256 for ac_header in wchar.h
68258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
68259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68260 echo "$as_me:$LINENO: checking for $ac_header" >&5
68261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68263 echo $ECHO_N "(cached) $ECHO_C" >&6
68265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68267 else
68268 # Is the header compilable?
68269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
68270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
68271 cat >conftest.$ac_ext <<_ACEOF
68272 #line $LINENO "configure"
68273 /* confdefs.h. */
68274 _ACEOF
68275 cat confdefs.h >>conftest.$ac_ext
68276 cat >>conftest.$ac_ext <<_ACEOF
68277 /* end confdefs.h. */
68278 $ac_includes_default
68279 #include <$ac_header>
68280 _ACEOF
68281 rm -f conftest.$ac_objext
68282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68283 (eval $ac_compile) 2>&5
68284 ac_status=$?
68285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68286 (exit $ac_status); } &&
68287 { ac_try='test -s conftest.$ac_objext'
68288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68289 (eval $ac_try) 2>&5
68290 ac_status=$?
68291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68292 (exit $ac_status); }; }; then
68293 ac_header_compiler=yes
68294 else
68295 echo "$as_me: failed program was:" >&5
68296 sed 's/^/| /' conftest.$ac_ext >&5
68298 ac_header_compiler=no
68300 rm -f conftest.$ac_objext conftest.$ac_ext
68301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68302 echo "${ECHO_T}$ac_header_compiler" >&6
68304 # Is the header present?
68305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68307 cat >conftest.$ac_ext <<_ACEOF
68308 #line $LINENO "configure"
68309 /* confdefs.h. */
68310 _ACEOF
68311 cat confdefs.h >>conftest.$ac_ext
68312 cat >>conftest.$ac_ext <<_ACEOF
68313 /* end confdefs.h. */
68314 #include <$ac_header>
68315 _ACEOF
68316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68318 ac_status=$?
68319 grep -v '^ *+' conftest.er1 >conftest.err
68320 rm -f conftest.er1
68321 cat conftest.err >&5
68322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68323 (exit $ac_status); } >/dev/null; then
68324 if test -s conftest.err; then
68325 ac_cpp_err=$ac_c_preproc_warn_flag
68326 else
68327 ac_cpp_err=
68329 else
68330 ac_cpp_err=yes
68332 if test -z "$ac_cpp_err"; then
68333 ac_header_preproc=yes
68334 else
68335 echo "$as_me: failed program was:" >&5
68336 sed 's/^/| /' conftest.$ac_ext >&5
68338 ac_header_preproc=no
68340 rm -f conftest.err conftest.$ac_ext
68341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68342 echo "${ECHO_T}$ac_header_preproc" >&6
68344 # So? What about this header?
68345 case $ac_header_compiler:$ac_header_preproc in
68346 yes:no )
68347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68352 cat <<\_ASBOX
68353 ## ------------------------------------ ##
68354 ## Report this to bug-autoconf@gnu.org. ##
68355 ## ------------------------------------ ##
68356 _ASBOX
68358 sed "s/^/$as_me: WARNING: /" >&2
68360 no:yes )
68361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68368 cat <<\_ASBOX
68369 ## ------------------------------------ ##
68370 ## Report this to bug-autoconf@gnu.org. ##
68371 ## ------------------------------------ ##
68372 _ASBOX
68374 sed "s/^/$as_me: WARNING: /" >&2
68376 esac
68377 echo "$as_me:$LINENO: checking for $ac_header" >&5
68378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68380 echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382 eval "$as_ac_Header=$ac_header_preproc"
68384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68389 cat >>confdefs.h <<_ACEOF
68390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68391 _ACEOF
68392 ac_has_wchar_h=yes
68393 else
68394 ac_has_wchar_h=no
68397 done
68400 for ac_header in wctype.h
68402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
68403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68404 echo "$as_me:$LINENO: checking for $ac_header" >&5
68405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68407 echo $ECHO_N "(cached) $ECHO_C" >&6
68409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68411 else
68412 # Is the header compilable?
68413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
68414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
68415 cat >conftest.$ac_ext <<_ACEOF
68416 #line $LINENO "configure"
68417 /* confdefs.h. */
68418 _ACEOF
68419 cat confdefs.h >>conftest.$ac_ext
68420 cat >>conftest.$ac_ext <<_ACEOF
68421 /* end confdefs.h. */
68422 $ac_includes_default
68423 #include <$ac_header>
68424 _ACEOF
68425 rm -f conftest.$ac_objext
68426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68427 (eval $ac_compile) 2>&5
68428 ac_status=$?
68429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430 (exit $ac_status); } &&
68431 { ac_try='test -s conftest.$ac_objext'
68432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433 (eval $ac_try) 2>&5
68434 ac_status=$?
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); }; }; then
68437 ac_header_compiler=yes
68438 else
68439 echo "$as_me: failed program was:" >&5
68440 sed 's/^/| /' conftest.$ac_ext >&5
68442 ac_header_compiler=no
68444 rm -f conftest.$ac_objext conftest.$ac_ext
68445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68446 echo "${ECHO_T}$ac_header_compiler" >&6
68448 # Is the header present?
68449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68451 cat >conftest.$ac_ext <<_ACEOF
68452 #line $LINENO "configure"
68453 /* confdefs.h. */
68454 _ACEOF
68455 cat confdefs.h >>conftest.$ac_ext
68456 cat >>conftest.$ac_ext <<_ACEOF
68457 /* end confdefs.h. */
68458 #include <$ac_header>
68459 _ACEOF
68460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68462 ac_status=$?
68463 grep -v '^ *+' conftest.er1 >conftest.err
68464 rm -f conftest.er1
68465 cat conftest.err >&5
68466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68467 (exit $ac_status); } >/dev/null; then
68468 if test -s conftest.err; then
68469 ac_cpp_err=$ac_c_preproc_warn_flag
68470 else
68471 ac_cpp_err=
68473 else
68474 ac_cpp_err=yes
68476 if test -z "$ac_cpp_err"; then
68477 ac_header_preproc=yes
68478 else
68479 echo "$as_me: failed program was:" >&5
68480 sed 's/^/| /' conftest.$ac_ext >&5
68482 ac_header_preproc=no
68484 rm -f conftest.err conftest.$ac_ext
68485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68486 echo "${ECHO_T}$ac_header_preproc" >&6
68488 # So? What about this header?
68489 case $ac_header_compiler:$ac_header_preproc in
68490 yes:no )
68491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68496 cat <<\_ASBOX
68497 ## ------------------------------------ ##
68498 ## Report this to bug-autoconf@gnu.org. ##
68499 ## ------------------------------------ ##
68500 _ASBOX
68502 sed "s/^/$as_me: WARNING: /" >&2
68504 no:yes )
68505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68512 cat <<\_ASBOX
68513 ## ------------------------------------ ##
68514 ## Report this to bug-autoconf@gnu.org. ##
68515 ## ------------------------------------ ##
68516 _ASBOX
68518 sed "s/^/$as_me: WARNING: /" >&2
68520 esac
68521 echo "$as_me:$LINENO: checking for $ac_header" >&5
68522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68524 echo $ECHO_N "(cached) $ECHO_C" >&6
68525 else
68526 eval "$as_ac_Header=$ac_header_preproc"
68528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68533 cat >>confdefs.h <<_ACEOF
68534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68535 _ACEOF
68536 ac_has_wctype_h=yes
68537 else
68538 ac_has_wctype_h=no
68541 done
68544 # Only continue checking if the ISO C99 headers exist and support is on.
68545 if test x"$ac_has_wchar_h" = xyes &&
68546 test x"$ac_has_wctype_h" = xyes &&
68547 test x"$enable_c_mbchar" != xno; then
68549 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
68550 # numeric_limits can instantiate type_traits<wchar_t>
68551 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
68552 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
68553 cat >conftest.$ac_ext <<_ACEOF
68554 #line $LINENO "configure"
68555 /* confdefs.h. */
68556 _ACEOF
68557 cat confdefs.h >>conftest.$ac_ext
68558 cat >>conftest.$ac_ext <<_ACEOF
68559 /* end confdefs.h. */
68560 #include <wchar.h>
68562 main ()
68564 int i = WCHAR_MIN; int j = WCHAR_MAX;
68566 return 0;
68568 _ACEOF
68569 rm -f conftest.$ac_objext
68570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68571 (eval $ac_compile) 2>&5
68572 ac_status=$?
68573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68574 (exit $ac_status); } &&
68575 { ac_try='test -s conftest.$ac_objext'
68576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68577 (eval $ac_try) 2>&5
68578 ac_status=$?
68579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68580 (exit $ac_status); }; }; then
68581 has_wchar_minmax=yes
68582 else
68583 echo "$as_me: failed program was:" >&5
68584 sed 's/^/| /' conftest.$ac_ext >&5
68586 has_wchar_minmax=no
68588 rm -f conftest.$ac_objext conftest.$ac_ext
68589 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
68590 echo "${ECHO_T}$has_wchar_minmax" >&6
68592 # Test wchar.h for WEOF, which is what we use to determine whether
68593 # to specialize for char_traits<wchar_t> or not.
68594 echo "$as_me:$LINENO: checking for WEOF" >&5
68595 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
68596 cat >conftest.$ac_ext <<_ACEOF
68597 #line $LINENO "configure"
68598 /* confdefs.h. */
68599 _ACEOF
68600 cat confdefs.h >>conftest.$ac_ext
68601 cat >>conftest.$ac_ext <<_ACEOF
68602 /* end confdefs.h. */
68604 #include <wchar.h>
68605 #include <stddef.h>
68607 main ()
68609 wint_t i = WEOF;
68611 return 0;
68613 _ACEOF
68614 rm -f conftest.$ac_objext
68615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68616 (eval $ac_compile) 2>&5
68617 ac_status=$?
68618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619 (exit $ac_status); } &&
68620 { ac_try='test -s conftest.$ac_objext'
68621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622 (eval $ac_try) 2>&5
68623 ac_status=$?
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); }; }; then
68626 has_weof=yes
68627 else
68628 echo "$as_me: failed program was:" >&5
68629 sed 's/^/| /' conftest.$ac_ext >&5
68631 has_weof=no
68633 rm -f conftest.$ac_objext conftest.$ac_ext
68634 echo "$as_me:$LINENO: result: $has_weof" >&5
68635 echo "${ECHO_T}$has_weof" >&6
68637 # Tests for wide character functions used in char_traits<wchar_t>.
68638 ac_wfuncs=yes
68645 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
68647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68648 echo "$as_me:$LINENO: checking for $ac_func" >&5
68649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68650 if eval "test \"\${$as_ac_var+set}\" = set"; then
68651 echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68653 if test x$gcc_no_link = xyes; then
68654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68656 { (exit 1); exit 1; }; }
68658 cat >conftest.$ac_ext <<_ACEOF
68659 #line $LINENO "configure"
68660 /* confdefs.h. */
68661 _ACEOF
68662 cat confdefs.h >>conftest.$ac_ext
68663 cat >>conftest.$ac_ext <<_ACEOF
68664 /* end confdefs.h. */
68665 /* System header to define __stub macros and hopefully few prototypes,
68666 which can conflict with char $ac_func (); below.
68667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68668 <limits.h> exists even on freestanding compilers. */
68669 #ifdef __STDC__
68670 # include <limits.h>
68671 #else
68672 # include <assert.h>
68673 #endif
68674 /* Override any gcc2 internal prototype to avoid an error. */
68675 #ifdef __cplusplus
68676 extern "C"
68678 #endif
68679 /* We use char because int might match the return type of a gcc2
68680 builtin and then its argument prototype would still apply. */
68681 char $ac_func ();
68682 /* The GNU C library defines this for functions which it implements
68683 to always fail with ENOSYS. Some functions are actually named
68684 something starting with __ and the normal name is an alias. */
68685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68686 choke me
68687 #else
68688 char (*f) () = $ac_func;
68689 #endif
68690 #ifdef __cplusplus
68692 #endif
68695 main ()
68697 return f != $ac_func;
68699 return 0;
68701 _ACEOF
68702 rm -f conftest.$ac_objext conftest$ac_exeext
68703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68704 (eval $ac_link) 2>&5
68705 ac_status=$?
68706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707 (exit $ac_status); } &&
68708 { ac_try='test -s conftest$ac_exeext'
68709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68710 (eval $ac_try) 2>&5
68711 ac_status=$?
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); }; }; then
68714 eval "$as_ac_var=yes"
68715 else
68716 echo "$as_me: failed program was:" >&5
68717 sed 's/^/| /' conftest.$ac_ext >&5
68719 eval "$as_ac_var=no"
68721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68725 if test `eval echo '${'$as_ac_var'}'` = yes; then
68726 cat >>confdefs.h <<_ACEOF
68727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68728 _ACEOF
68730 else
68731 ac_wfuncs=no
68733 done
68736 # Checks for names injected into std:: by the c_std headers.
68783 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
68784 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
68785 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
68786 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
68787 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
68788 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
68790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68791 echo "$as_me:$LINENO: checking for $ac_func" >&5
68792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68793 if eval "test \"\${$as_ac_var+set}\" = set"; then
68794 echo $ECHO_N "(cached) $ECHO_C" >&6
68795 else
68796 if test x$gcc_no_link = xyes; then
68797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68799 { (exit 1); exit 1; }; }
68801 cat >conftest.$ac_ext <<_ACEOF
68802 #line $LINENO "configure"
68803 /* confdefs.h. */
68804 _ACEOF
68805 cat confdefs.h >>conftest.$ac_ext
68806 cat >>conftest.$ac_ext <<_ACEOF
68807 /* end confdefs.h. */
68808 /* System header to define __stub macros and hopefully few prototypes,
68809 which can conflict with char $ac_func (); below.
68810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68811 <limits.h> exists even on freestanding compilers. */
68812 #ifdef __STDC__
68813 # include <limits.h>
68814 #else
68815 # include <assert.h>
68816 #endif
68817 /* Override any gcc2 internal prototype to avoid an error. */
68818 #ifdef __cplusplus
68819 extern "C"
68821 #endif
68822 /* We use char because int might match the return type of a gcc2
68823 builtin and then its argument prototype would still apply. */
68824 char $ac_func ();
68825 /* The GNU C library defines this for functions which it implements
68826 to always fail with ENOSYS. Some functions are actually named
68827 something starting with __ and the normal name is an alias. */
68828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68829 choke me
68830 #else
68831 char (*f) () = $ac_func;
68832 #endif
68833 #ifdef __cplusplus
68835 #endif
68838 main ()
68840 return f != $ac_func;
68842 return 0;
68844 _ACEOF
68845 rm -f conftest.$ac_objext conftest$ac_exeext
68846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68847 (eval $ac_link) 2>&5
68848 ac_status=$?
68849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850 (exit $ac_status); } &&
68851 { ac_try='test -s conftest$ac_exeext'
68852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853 (eval $ac_try) 2>&5
68854 ac_status=$?
68855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856 (exit $ac_status); }; }; then
68857 eval "$as_ac_var=yes"
68858 else
68859 echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68862 eval "$as_ac_var=no"
68864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68868 if test `eval echo '${'$as_ac_var'}'` = yes; then
68869 cat >>confdefs.h <<_ACEOF
68870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68871 _ACEOF
68873 else
68874 ac_wfuncs=no
68876 done
68879 # Checks for wide character functions that are not required
68880 # for basic wchar_t support. Don't disable support if they are missing.
68881 # Injection of these is wrapped with guard macros.
68887 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
68889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68890 echo "$as_me:$LINENO: checking for $ac_func" >&5
68891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68892 if eval "test \"\${$as_ac_var+set}\" = set"; then
68893 echo $ECHO_N "(cached) $ECHO_C" >&6
68894 else
68895 if test x$gcc_no_link = xyes; then
68896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68898 { (exit 1); exit 1; }; }
68900 cat >conftest.$ac_ext <<_ACEOF
68901 #line $LINENO "configure"
68902 /* confdefs.h. */
68903 _ACEOF
68904 cat confdefs.h >>conftest.$ac_ext
68905 cat >>conftest.$ac_ext <<_ACEOF
68906 /* end confdefs.h. */
68907 /* System header to define __stub macros and hopefully few prototypes,
68908 which can conflict with char $ac_func (); below.
68909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68910 <limits.h> exists even on freestanding compilers. */
68911 #ifdef __STDC__
68912 # include <limits.h>
68913 #else
68914 # include <assert.h>
68915 #endif
68916 /* Override any gcc2 internal prototype to avoid an error. */
68917 #ifdef __cplusplus
68918 extern "C"
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922 builtin and then its argument prototype would still apply. */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925 to always fail with ENOSYS. Some functions are actually named
68926 something starting with __ and the normal name is an alias. */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68934 #endif
68937 main ()
68939 return f != $ac_func;
68941 return 0;
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946 (eval $ac_link) 2>&5
68947 ac_status=$?
68948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949 (exit $ac_status); } &&
68950 { ac_try='test -s conftest$ac_exeext'
68951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68952 (eval $ac_try) 2>&5
68953 ac_status=$?
68954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955 (exit $ac_status); }; }; then
68956 eval "$as_ac_var=yes"
68957 else
68958 echo "$as_me: failed program was:" >&5
68959 sed 's/^/| /' conftest.$ac_ext >&5
68961 eval "$as_ac_var=no"
68963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68967 if test `eval echo '${'$as_ac_var'}'` = yes; then
68968 cat >>confdefs.h <<_ACEOF
68969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68970 _ACEOF
68973 done
68976 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
68977 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
68978 if test x"$has_weof" = xyes &&
68979 test x"$has_wchar_minmax" = xyes &&
68980 test x"$ac_wfuncs" = xyes;
68981 then
68982 ac_isoC99_wchar_t=yes
68983 else
68984 ac_isoC99_wchar_t=no
68986 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
68987 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
68989 # Use iconv for wchar_t to char conversions. As such, check for
68990 # X/Open Portability Guide, version 2 features (XPG2).
68991 if test "${ac_cv_header_iconv_h+set}" = set; then
68992 echo "$as_me:$LINENO: checking for iconv.h" >&5
68993 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68994 if test "${ac_cv_header_iconv_h+set}" = set; then
68995 echo $ECHO_N "(cached) $ECHO_C" >&6
68997 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68998 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68999 else
69000 # Is the header compilable?
69001 echo "$as_me:$LINENO: checking iconv.h usability" >&5
69002 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
69003 cat >conftest.$ac_ext <<_ACEOF
69004 #line $LINENO "configure"
69005 /* confdefs.h. */
69006 _ACEOF
69007 cat confdefs.h >>conftest.$ac_ext
69008 cat >>conftest.$ac_ext <<_ACEOF
69009 /* end confdefs.h. */
69010 $ac_includes_default
69011 #include <iconv.h>
69012 _ACEOF
69013 rm -f conftest.$ac_objext
69014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69015 (eval $ac_compile) 2>&5
69016 ac_status=$?
69017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69018 (exit $ac_status); } &&
69019 { ac_try='test -s conftest.$ac_objext'
69020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69021 (eval $ac_try) 2>&5
69022 ac_status=$?
69023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69024 (exit $ac_status); }; }; then
69025 ac_header_compiler=yes
69026 else
69027 echo "$as_me: failed program was:" >&5
69028 sed 's/^/| /' conftest.$ac_ext >&5
69030 ac_header_compiler=no
69032 rm -f conftest.$ac_objext conftest.$ac_ext
69033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69034 echo "${ECHO_T}$ac_header_compiler" >&6
69036 # Is the header present?
69037 echo "$as_me:$LINENO: checking iconv.h presence" >&5
69038 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
69039 cat >conftest.$ac_ext <<_ACEOF
69040 #line $LINENO "configure"
69041 /* confdefs.h. */
69042 _ACEOF
69043 cat confdefs.h >>conftest.$ac_ext
69044 cat >>conftest.$ac_ext <<_ACEOF
69045 /* end confdefs.h. */
69046 #include <iconv.h>
69047 _ACEOF
69048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69050 ac_status=$?
69051 grep -v '^ *+' conftest.er1 >conftest.err
69052 rm -f conftest.er1
69053 cat conftest.err >&5
69054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69055 (exit $ac_status); } >/dev/null; then
69056 if test -s conftest.err; then
69057 ac_cpp_err=$ac_c_preproc_warn_flag
69058 else
69059 ac_cpp_err=
69061 else
69062 ac_cpp_err=yes
69064 if test -z "$ac_cpp_err"; then
69065 ac_header_preproc=yes
69066 else
69067 echo "$as_me: failed program was:" >&5
69068 sed 's/^/| /' conftest.$ac_ext >&5
69070 ac_header_preproc=no
69072 rm -f conftest.err conftest.$ac_ext
69073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69074 echo "${ECHO_T}$ac_header_preproc" >&6
69076 # So? What about this header?
69077 case $ac_header_compiler:$ac_header_preproc in
69078 yes:no )
69079 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
69080 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
69081 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
69082 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
69084 cat <<\_ASBOX
69085 ## ------------------------------------ ##
69086 ## Report this to bug-autoconf@gnu.org. ##
69087 ## ------------------------------------ ##
69088 _ASBOX
69090 sed "s/^/$as_me: WARNING: /" >&2
69092 no:yes )
69093 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
69094 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
69095 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
69096 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
69097 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
69098 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
69100 cat <<\_ASBOX
69101 ## ------------------------------------ ##
69102 ## Report this to bug-autoconf@gnu.org. ##
69103 ## ------------------------------------ ##
69104 _ASBOX
69106 sed "s/^/$as_me: WARNING: /" >&2
69108 esac
69109 echo "$as_me:$LINENO: checking for iconv.h" >&5
69110 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
69111 if test "${ac_cv_header_iconv_h+set}" = set; then
69112 echo $ECHO_N "(cached) $ECHO_C" >&6
69113 else
69114 ac_cv_header_iconv_h=$ac_header_preproc
69116 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
69117 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
69120 if test $ac_cv_header_iconv_h = yes; then
69121 ac_has_iconv_h=yes
69122 else
69123 ac_has_iconv_h=no
69127 if test "${ac_cv_header_langinfo_h+set}" = set; then
69128 echo "$as_me:$LINENO: checking for langinfo.h" >&5
69129 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
69130 if test "${ac_cv_header_langinfo_h+set}" = set; then
69131 echo $ECHO_N "(cached) $ECHO_C" >&6
69133 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
69134 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
69135 else
69136 # Is the header compilable?
69137 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
69138 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
69139 cat >conftest.$ac_ext <<_ACEOF
69140 #line $LINENO "configure"
69141 /* confdefs.h. */
69142 _ACEOF
69143 cat confdefs.h >>conftest.$ac_ext
69144 cat >>conftest.$ac_ext <<_ACEOF
69145 /* end confdefs.h. */
69146 $ac_includes_default
69147 #include <langinfo.h>
69148 _ACEOF
69149 rm -f conftest.$ac_objext
69150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69151 (eval $ac_compile) 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.$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 langinfo.h presence" >&5
69174 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
69175 cat >conftest.$ac_ext <<_ACEOF
69176 #line $LINENO "configure"
69177 /* confdefs.h. */
69178 _ACEOF
69179 cat confdefs.h >>conftest.$ac_ext
69180 cat >>conftest.$ac_ext <<_ACEOF
69181 /* end confdefs.h. */
69182 #include <langinfo.h>
69183 _ACEOF
69184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69186 ac_status=$?
69187 grep -v '^ *+' conftest.er1 >conftest.err
69188 rm -f conftest.er1
69189 cat conftest.err >&5
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); } >/dev/null; then
69192 if test -s conftest.err; then
69193 ac_cpp_err=$ac_c_preproc_warn_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 in
69214 yes:no )
69215 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
69216 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
69217 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
69218 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
69220 cat <<\_ASBOX
69221 ## ------------------------------------ ##
69222 ## Report this to bug-autoconf@gnu.org. ##
69223 ## ------------------------------------ ##
69224 _ASBOX
69226 sed "s/^/$as_me: WARNING: /" >&2
69228 no:yes )
69229 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
69230 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
69231 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
69232 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
69233 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
69234 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
69236 cat <<\_ASBOX
69237 ## ------------------------------------ ##
69238 ## Report this to bug-autoconf@gnu.org. ##
69239 ## ------------------------------------ ##
69240 _ASBOX
69242 sed "s/^/$as_me: WARNING: /" >&2
69244 esac
69245 echo "$as_me:$LINENO: checking for langinfo.h" >&5
69246 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
69247 if test "${ac_cv_header_langinfo_h+set}" = set; then
69248 echo $ECHO_N "(cached) $ECHO_C" >&6
69249 else
69250 ac_cv_header_langinfo_h=$ac_header_preproc
69252 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
69253 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
69256 if test $ac_cv_header_langinfo_h = yes; then
69257 ac_has_langinfo_h=yes
69258 else
69259 ac_has_langinfo_h=no
69264 # Check for existence of libiconv.a providing XPG2 wchar_t support.
69265 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
69266 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
69267 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
69268 echo $ECHO_N "(cached) $ECHO_C" >&6
69269 else
69270 ac_check_lib_save_LIBS=$LIBS
69271 LIBS="-liconv $LIBS"
69272 if test x$gcc_no_link = xyes; then
69273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69275 { (exit 1); exit 1; }; }
69277 cat >conftest.$ac_ext <<_ACEOF
69278 #line $LINENO "configure"
69279 /* confdefs.h. */
69280 _ACEOF
69281 cat confdefs.h >>conftest.$ac_ext
69282 cat >>conftest.$ac_ext <<_ACEOF
69283 /* end confdefs.h. */
69285 /* Override any gcc2 internal prototype to avoid an error. */
69286 #ifdef __cplusplus
69287 extern "C"
69288 #endif
69289 /* We use char because int might match the return type of a gcc2
69290 builtin and then its argument prototype would still apply. */
69291 char iconv ();
69293 main ()
69295 iconv ();
69297 return 0;
69299 _ACEOF
69300 rm -f conftest.$ac_objext conftest$ac_exeext
69301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69302 (eval $ac_link) 2>&5
69303 ac_status=$?
69304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69305 (exit $ac_status); } &&
69306 { ac_try='test -s conftest$ac_exeext'
69307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69308 (eval $ac_try) 2>&5
69309 ac_status=$?
69310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69311 (exit $ac_status); }; }; then
69312 ac_cv_lib_iconv_iconv=yes
69313 else
69314 echo "$as_me: failed program was:" >&5
69315 sed 's/^/| /' conftest.$ac_ext >&5
69317 ac_cv_lib_iconv_iconv=no
69319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69320 LIBS=$ac_check_lib_save_LIBS
69322 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
69323 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
69324 if test $ac_cv_lib_iconv_iconv = yes; then
69325 libiconv="-liconv"
69328 ac_save_LIBS="$LIBS"
69329 LIBS="$LIBS $libiconv"
69335 for ac_func in iconv_open iconv_close iconv nl_langinfo
69337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69338 echo "$as_me:$LINENO: checking for $ac_func" >&5
69339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69340 if eval "test \"\${$as_ac_var+set}\" = set"; then
69341 echo $ECHO_N "(cached) $ECHO_C" >&6
69342 else
69343 if test x$gcc_no_link = xyes; then
69344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69346 { (exit 1); exit 1; }; }
69348 cat >conftest.$ac_ext <<_ACEOF
69349 #line $LINENO "configure"
69350 /* confdefs.h. */
69351 _ACEOF
69352 cat confdefs.h >>conftest.$ac_ext
69353 cat >>conftest.$ac_ext <<_ACEOF
69354 /* end confdefs.h. */
69355 /* System header to define __stub macros and hopefully few prototypes,
69356 which can conflict with char $ac_func (); below.
69357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69358 <limits.h> exists even on freestanding compilers. */
69359 #ifdef __STDC__
69360 # include <limits.h>
69361 #else
69362 # include <assert.h>
69363 #endif
69364 /* Override any gcc2 internal prototype to avoid an error. */
69365 #ifdef __cplusplus
69366 extern "C"
69368 #endif
69369 /* We use char because int might match the return type of a gcc2
69370 builtin and then its argument prototype would still apply. */
69371 char $ac_func ();
69372 /* The GNU C library defines this for functions which it implements
69373 to always fail with ENOSYS. Some functions are actually named
69374 something starting with __ and the normal name is an alias. */
69375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69376 choke me
69377 #else
69378 char (*f) () = $ac_func;
69379 #endif
69380 #ifdef __cplusplus
69382 #endif
69385 main ()
69387 return f != $ac_func;
69389 return 0;
69391 _ACEOF
69392 rm -f conftest.$ac_objext conftest$ac_exeext
69393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69394 (eval $ac_link) 2>&5
69395 ac_status=$?
69396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69397 (exit $ac_status); } &&
69398 { ac_try='test -s conftest$ac_exeext'
69399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69400 (eval $ac_try) 2>&5
69401 ac_status=$?
69402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69403 (exit $ac_status); }; }; then
69404 eval "$as_ac_var=yes"
69405 else
69406 echo "$as_me: failed program was:" >&5
69407 sed 's/^/| /' conftest.$ac_ext >&5
69409 eval "$as_ac_var=no"
69411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69415 if test `eval echo '${'$as_ac_var'}'` = yes; then
69416 cat >>confdefs.h <<_ACEOF
69417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69418 _ACEOF
69419 ac_XPG2funcs=yes
69420 else
69421 ac_XPG2funcs=no
69423 done
69426 LIBS="$ac_save_LIBS"
69428 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
69429 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
69430 if test x"$ac_has_iconv_h" = xyes &&
69431 test x"$ac_has_langinfo_h" = xyes &&
69432 test x"$ac_XPG2funcs" = xyes;
69433 then
69434 ac_XPG2_wchar_t=yes
69435 else
69436 ac_XPG2_wchar_t=no
69438 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
69439 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
69441 # At the moment, only enable wchar_t specializations if all the
69442 # above support is present.
69443 if test x"$ac_isoC99_wchar_t" = xyes &&
69444 test x"$ac_XPG2_wchar_t" = xyes;
69445 then
69446 cat >>confdefs.h <<\_ACEOF
69447 #define _GLIBCXX_USE_WCHAR_T 1
69448 _ACEOF
69450 enable_wchar_t=yes
69453 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
69454 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
69455 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
69456 echo "${ECHO_T}$enable_wchar_t" >&6
69458 cat >>confdefs.h <<\_ACEOF
69459 #define HAVE_COPYSIGN 1
69460 _ACEOF
69462 cat >>confdefs.h <<\_ACEOF
69463 #define HAVE_COPYSIGNF 1
69464 _ACEOF
69466 cat >>confdefs.h <<\_ACEOF
69467 #define HAVE_FREXPF 1
69468 _ACEOF
69470 cat >>confdefs.h <<\_ACEOF
69471 #define HAVE_HYPOT 1
69472 _ACEOF
69474 case "$target" in
69475 *-hpux10*)
69476 cat >>confdefs.h <<\_ACEOF
69477 #define HAVE_FINITE 1
69478 _ACEOF
69480 cat >>confdefs.h <<\_ACEOF
69481 #define HAVE_FINITEF 1
69482 _ACEOF
69484 cat >>confdefs.h <<\_ACEOF
69485 #define HAVE_ISINF 1
69486 _ACEOF
69488 cat >>confdefs.h <<\_ACEOF
69489 #define HAVE_ISINFF 1
69490 _ACEOF
69492 cat >>confdefs.h <<\_ACEOF
69493 #define HAVE_ISNAN 1
69494 _ACEOF
69496 cat >>confdefs.h <<\_ACEOF
69497 #define HAVE_ISNANF 1
69498 _ACEOF
69501 esac
69503 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
69519 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
69520 machine/endian.h machine/param.h sys/machine.h sys/types.h \
69521 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
69523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
69524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69525 echo "$as_me:$LINENO: checking for $ac_header" >&5
69526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69528 echo $ECHO_N "(cached) $ECHO_C" >&6
69530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69532 else
69533 # Is the header compilable?
69534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
69535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
69536 cat >conftest.$ac_ext <<_ACEOF
69537 #line $LINENO "configure"
69538 /* confdefs.h. */
69539 _ACEOF
69540 cat confdefs.h >>conftest.$ac_ext
69541 cat >>conftest.$ac_ext <<_ACEOF
69542 /* end confdefs.h. */
69543 $ac_includes_default
69544 #include <$ac_header>
69545 _ACEOF
69546 rm -f conftest.$ac_objext
69547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69548 (eval $ac_compile) 2>&5
69549 ac_status=$?
69550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551 (exit $ac_status); } &&
69552 { ac_try='test -s conftest.$ac_objext'
69553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69554 (eval $ac_try) 2>&5
69555 ac_status=$?
69556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69557 (exit $ac_status); }; }; then
69558 ac_header_compiler=yes
69559 else
69560 echo "$as_me: failed program was:" >&5
69561 sed 's/^/| /' conftest.$ac_ext >&5
69563 ac_header_compiler=no
69565 rm -f conftest.$ac_objext conftest.$ac_ext
69566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69567 echo "${ECHO_T}$ac_header_compiler" >&6
69569 # Is the header present?
69570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
69571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
69572 cat >conftest.$ac_ext <<_ACEOF
69573 #line $LINENO "configure"
69574 /* confdefs.h. */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h. */
69579 #include <$ac_header>
69580 _ACEOF
69581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69583 ac_status=$?
69584 grep -v '^ *+' conftest.er1 >conftest.err
69585 rm -f conftest.er1
69586 cat conftest.err >&5
69587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69588 (exit $ac_status); } >/dev/null; then
69589 if test -s conftest.err; then
69590 ac_cpp_err=$ac_c_preproc_warn_flag
69591 else
69592 ac_cpp_err=
69594 else
69595 ac_cpp_err=yes
69597 if test -z "$ac_cpp_err"; then
69598 ac_header_preproc=yes
69599 else
69600 echo "$as_me: failed program was:" >&5
69601 sed 's/^/| /' conftest.$ac_ext >&5
69603 ac_header_preproc=no
69605 rm -f conftest.err conftest.$ac_ext
69606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69607 echo "${ECHO_T}$ac_header_preproc" >&6
69609 # So? What about this header?
69610 case $ac_header_compiler:$ac_header_preproc in
69611 yes:no )
69612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
69613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
69614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69617 cat <<\_ASBOX
69618 ## ------------------------------------ ##
69619 ## Report this to bug-autoconf@gnu.org. ##
69620 ## ------------------------------------ ##
69621 _ASBOX
69623 sed "s/^/$as_me: WARNING: /" >&2
69625 no:yes )
69626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
69627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
69628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
69629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
69630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69633 cat <<\_ASBOX
69634 ## ------------------------------------ ##
69635 ## Report this to bug-autoconf@gnu.org. ##
69636 ## ------------------------------------ ##
69637 _ASBOX
69639 sed "s/^/$as_me: WARNING: /" >&2
69641 esac
69642 echo "$as_me:$LINENO: checking for $ac_header" >&5
69643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69645 echo $ECHO_N "(cached) $ECHO_C" >&6
69646 else
69647 eval "$as_ac_Header=$ac_header_preproc"
69649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
69654 cat >>confdefs.h <<_ACEOF
69655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
69656 _ACEOF
69660 done
69662 SECTION_FLAGS='-ffunction-sections -fdata-sections'
69665 # If we're not using GNU ld, then there's no point in even trying these
69666 # tests. Check for that first. We should have already tested for gld
69667 # by now (in libtool), but require it now just to be safe...
69668 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
69669 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
69673 # The name set by libtool depends on the version of libtool. Shame on us
69674 # for depending on an impl detail, but c'est la vie. Older versions used
69675 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
69676 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
69677 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
69678 # set (hence we're using an older libtool), then set it.
69679 if test x${with_gnu_ld+set} != xset; then
69680 if test x${ac_cv_prog_gnu_ld+set} != xset; then
69681 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
69682 with_gnu_ld=no
69683 else
69684 with_gnu_ld=$ac_cv_prog_gnu_ld
69688 # Start by getting the version number. I think the libtool test already
69689 # does some of this, but throws away the result.
69691 ldver=`$LD --version 2>/dev/null | head -1 | \
69692 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
69694 glibcxx_gnu_ld_version=`echo $ldver | \
69695 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
69697 # Set --gc-sections.
69698 if test "$with_gnu_ld" = "notbroken"; then
69699 # GNU ld it is! Joy and bunny rabbits!
69701 # All these tests are for C++; save the language and the compiler flags.
69702 # Need to do this so that g++ won't try to link in libstdc++
69703 ac_test_CFLAGS="${CFLAGS+set}"
69704 ac_save_CFLAGS="$CFLAGS"
69705 CFLAGS='-x c++ -Wl,--gc-sections'
69707 # Check for -Wl,--gc-sections
69708 # XXX This test is broken at the moment, as symbols required for linking
69709 # are now in libsupc++ (not built yet). In addition, this test has
69710 # cored on solaris in the past. In addition, --gc-sections doesn't
69711 # really work at the moment (keeps on discarding used sections, first
69712 # .eh_frame and now some of the glibc sections for iconv).
69713 # Bzzzzt. Thanks for playing, maybe next time.
69714 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
69715 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
69716 if test "$cross_compiling" = yes; then
69717 ac_sectionLDflags=yes
69718 else
69719 cat >conftest.$ac_ext <<_ACEOF
69720 #line $LINENO "configure"
69721 /* confdefs.h. */
69722 _ACEOF
69723 cat confdefs.h >>conftest.$ac_ext
69724 cat >>conftest.$ac_ext <<_ACEOF
69725 /* end confdefs.h. */
69727 int main(void)
69729 try { throw 1; }
69730 catch (...) { };
69731 return 0;
69734 _ACEOF
69735 rm -f conftest$ac_exeext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69737 (eval $ac_link) 2>&5
69738 ac_status=$?
69739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
69741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69742 (eval $ac_try) 2>&5
69743 ac_status=$?
69744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69745 (exit $ac_status); }; }; then
69746 ac_sectionLDflags=yes
69747 else
69748 echo "$as_me: program exited with status $ac_status" >&5
69749 echo "$as_me: failed program was:" >&5
69750 sed 's/^/| /' conftest.$ac_ext >&5
69752 ( exit $ac_status )
69753 ac_sectionLDflags=no
69755 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
69757 if test "$ac_test_CFLAGS" = set; then
69758 CFLAGS="$ac_save_CFLAGS"
69759 else
69760 # this is the suspicious part
69761 CFLAGS=''
69763 if test "$ac_sectionLDflags" = "yes"; then
69764 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
69766 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
69767 echo "${ECHO_T}$ac_sectionLDflags" >&6
69770 # Set linker optimization flags.
69771 if test x"$with_gnu_ld" = x"yes"; then
69772 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
69780 echo "$as_me:$LINENO: checking for main in -lm" >&5
69781 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
69782 if test "${ac_cv_lib_m_main+set}" = set; then
69783 echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69785 ac_check_lib_save_LIBS=$LIBS
69786 LIBS="-lm $LIBS"
69787 if test x$gcc_no_link = xyes; then
69788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69790 { (exit 1); exit 1; }; }
69792 cat >conftest.$ac_ext <<_ACEOF
69793 #line $LINENO "configure"
69794 /* confdefs.h. */
69795 _ACEOF
69796 cat confdefs.h >>conftest.$ac_ext
69797 cat >>conftest.$ac_ext <<_ACEOF
69798 /* end confdefs.h. */
69802 main ()
69804 main ();
69806 return 0;
69808 _ACEOF
69809 rm -f conftest.$ac_objext conftest$ac_exeext
69810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69811 (eval $ac_link) 2>&5
69812 ac_status=$?
69813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69814 (exit $ac_status); } &&
69815 { ac_try='test -s conftest$ac_exeext'
69816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69817 (eval $ac_try) 2>&5
69818 ac_status=$?
69819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69820 (exit $ac_status); }; }; then
69821 ac_cv_lib_m_main=yes
69822 else
69823 echo "$as_me: failed program was:" >&5
69824 sed 's/^/| /' conftest.$ac_ext >&5
69826 ac_cv_lib_m_main=no
69828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69829 LIBS=$ac_check_lib_save_LIBS
69831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
69832 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
69833 if test $ac_cv_lib_m_main = yes; then
69834 cat >>confdefs.h <<_ACEOF
69835 #define HAVE_LIBM 1
69836 _ACEOF
69838 LIBS="-lm $LIBS"
69843 for ac_func in copysignf
69845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69846 echo "$as_me:$LINENO: checking for $ac_func" >&5
69847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69848 if eval "test \"\${$as_ac_var+set}\" = set"; then
69849 echo $ECHO_N "(cached) $ECHO_C" >&6
69850 else
69851 if test x$gcc_no_link = xyes; then
69852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69854 { (exit 1); exit 1; }; }
69856 cat >conftest.$ac_ext <<_ACEOF
69857 #line $LINENO "configure"
69858 /* confdefs.h. */
69859 _ACEOF
69860 cat confdefs.h >>conftest.$ac_ext
69861 cat >>conftest.$ac_ext <<_ACEOF
69862 /* end confdefs.h. */
69863 /* System header to define __stub macros and hopefully few prototypes,
69864 which can conflict with char $ac_func (); below.
69865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69866 <limits.h> exists even on freestanding compilers. */
69867 #ifdef __STDC__
69868 # include <limits.h>
69869 #else
69870 # include <assert.h>
69871 #endif
69872 /* Override any gcc2 internal prototype to avoid an error. */
69873 #ifdef __cplusplus
69874 extern "C"
69876 #endif
69877 /* We use char because int might match the return type of a gcc2
69878 builtin and then its argument prototype would still apply. */
69879 char $ac_func ();
69880 /* The GNU C library defines this for functions which it implements
69881 to always fail with ENOSYS. Some functions are actually named
69882 something starting with __ and the normal name is an alias. */
69883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69884 choke me
69885 #else
69886 char (*f) () = $ac_func;
69887 #endif
69888 #ifdef __cplusplus
69890 #endif
69893 main ()
69895 return f != $ac_func;
69897 return 0;
69899 _ACEOF
69900 rm -f conftest.$ac_objext conftest$ac_exeext
69901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69902 (eval $ac_link) 2>&5
69903 ac_status=$?
69904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905 (exit $ac_status); } &&
69906 { ac_try='test -s conftest$ac_exeext'
69907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69908 (eval $ac_try) 2>&5
69909 ac_status=$?
69910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69911 (exit $ac_status); }; }; then
69912 eval "$as_ac_var=yes"
69913 else
69914 echo "$as_me: failed program was:" >&5
69915 sed 's/^/| /' conftest.$ac_ext >&5
69917 eval "$as_ac_var=no"
69919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69923 if test `eval echo '${'$as_ac_var'}'` = yes; then
69924 cat >>confdefs.h <<_ACEOF
69925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69926 _ACEOF
69928 else
69929 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
69931 done
69935 for ac_func in __signbit
69937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69938 echo "$as_me:$LINENO: checking for $ac_func" >&5
69939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69940 if eval "test \"\${$as_ac_var+set}\" = set"; then
69941 echo $ECHO_N "(cached) $ECHO_C" >&6
69942 else
69943 if test x$gcc_no_link = xyes; then
69944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69946 { (exit 1); exit 1; }; }
69948 cat >conftest.$ac_ext <<_ACEOF
69949 #line $LINENO "configure"
69950 /* confdefs.h. */
69951 _ACEOF
69952 cat confdefs.h >>conftest.$ac_ext
69953 cat >>conftest.$ac_ext <<_ACEOF
69954 /* end confdefs.h. */
69955 /* System header to define __stub macros and hopefully few prototypes,
69956 which can conflict with char $ac_func (); below.
69957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69958 <limits.h> exists even on freestanding compilers. */
69959 #ifdef __STDC__
69960 # include <limits.h>
69961 #else
69962 # include <assert.h>
69963 #endif
69964 /* Override any gcc2 internal prototype to avoid an error. */
69965 #ifdef __cplusplus
69966 extern "C"
69968 #endif
69969 /* We use char because int might match the return type of a gcc2
69970 builtin and then its argument prototype would still apply. */
69971 char $ac_func ();
69972 /* The GNU C library defines this for functions which it implements
69973 to always fail with ENOSYS. Some functions are actually named
69974 something starting with __ and the normal name is an alias. */
69975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69976 choke me
69977 #else
69978 char (*f) () = $ac_func;
69979 #endif
69980 #ifdef __cplusplus
69982 #endif
69985 main ()
69987 return f != $ac_func;
69989 return 0;
69991 _ACEOF
69992 rm -f conftest.$ac_objext conftest$ac_exeext
69993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69994 (eval $ac_link) 2>&5
69995 ac_status=$?
69996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69997 (exit $ac_status); } &&
69998 { ac_try='test -s conftest$ac_exeext'
69999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70000 (eval $ac_try) 2>&5
70001 ac_status=$?
70002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70003 (exit $ac_status); }; }; then
70004 eval "$as_ac_var=yes"
70005 else
70006 echo "$as_me: failed program was:" >&5
70007 sed 's/^/| /' conftest.$ac_ext >&5
70009 eval "$as_ac_var=no"
70011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70015 if test `eval echo '${'$as_ac_var'}'` = yes; then
70016 cat >>confdefs.h <<_ACEOF
70017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70018 _ACEOF
70020 else
70021 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
70023 done
70027 for ac_func in __signbitf
70029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70030 echo "$as_me:$LINENO: checking for $ac_func" >&5
70031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70032 if eval "test \"\${$as_ac_var+set}\" = set"; then
70033 echo $ECHO_N "(cached) $ECHO_C" >&6
70034 else
70035 if test x$gcc_no_link = xyes; then
70036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70038 { (exit 1); exit 1; }; }
70040 cat >conftest.$ac_ext <<_ACEOF
70041 #line $LINENO "configure"
70042 /* confdefs.h. */
70043 _ACEOF
70044 cat confdefs.h >>conftest.$ac_ext
70045 cat >>conftest.$ac_ext <<_ACEOF
70046 /* end confdefs.h. */
70047 /* System header to define __stub macros and hopefully few prototypes,
70048 which can conflict with char $ac_func (); below.
70049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70050 <limits.h> exists even on freestanding compilers. */
70051 #ifdef __STDC__
70052 # include <limits.h>
70053 #else
70054 # include <assert.h>
70055 #endif
70056 /* Override any gcc2 internal prototype to avoid an error. */
70057 #ifdef __cplusplus
70058 extern "C"
70060 #endif
70061 /* We use char because int might match the return type of a gcc2
70062 builtin and then its argument prototype would still apply. */
70063 char $ac_func ();
70064 /* The GNU C library defines this for functions which it implements
70065 to always fail with ENOSYS. Some functions are actually named
70066 something starting with __ and the normal name is an alias. */
70067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70068 choke me
70069 #else
70070 char (*f) () = $ac_func;
70071 #endif
70072 #ifdef __cplusplus
70074 #endif
70077 main ()
70079 return f != $ac_func;
70081 return 0;
70083 _ACEOF
70084 rm -f conftest.$ac_objext conftest$ac_exeext
70085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70086 (eval $ac_link) 2>&5
70087 ac_status=$?
70088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089 (exit $ac_status); } &&
70090 { ac_try='test -s conftest$ac_exeext'
70091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092 (eval $ac_try) 2>&5
70093 ac_status=$?
70094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095 (exit $ac_status); }; }; then
70096 eval "$as_ac_var=yes"
70097 else
70098 echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70101 eval "$as_ac_var=no"
70103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70107 if test `eval echo '${'$as_ac_var'}'` = yes; then
70108 cat >>confdefs.h <<_ACEOF
70109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70110 _ACEOF
70112 else
70113 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
70115 done
70118 if test x$ac_cv_func_copysignl = x"yes"; then
70120 for ac_func in __signbitl
70122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70123 echo "$as_me:$LINENO: checking for $ac_func" >&5
70124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70125 if eval "test \"\${$as_ac_var+set}\" = set"; then
70126 echo $ECHO_N "(cached) $ECHO_C" >&6
70127 else
70128 if test x$gcc_no_link = xyes; then
70129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70131 { (exit 1); exit 1; }; }
70133 cat >conftest.$ac_ext <<_ACEOF
70134 #line $LINENO "configure"
70135 /* confdefs.h. */
70136 _ACEOF
70137 cat confdefs.h >>conftest.$ac_ext
70138 cat >>conftest.$ac_ext <<_ACEOF
70139 /* end confdefs.h. */
70140 /* System header to define __stub macros and hopefully few prototypes,
70141 which can conflict with char $ac_func (); below.
70142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70143 <limits.h> exists even on freestanding compilers. */
70144 #ifdef __STDC__
70145 # include <limits.h>
70146 #else
70147 # include <assert.h>
70148 #endif
70149 /* Override any gcc2 internal prototype to avoid an error. */
70150 #ifdef __cplusplus
70151 extern "C"
70153 #endif
70154 /* We use char because int might match the return type of a gcc2
70155 builtin and then its argument prototype would still apply. */
70156 char $ac_func ();
70157 /* The GNU C library defines this for functions which it implements
70158 to always fail with ENOSYS. Some functions are actually named
70159 something starting with __ and the normal name is an alias. */
70160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70161 choke me
70162 #else
70163 char (*f) () = $ac_func;
70164 #endif
70165 #ifdef __cplusplus
70167 #endif
70170 main ()
70172 return f != $ac_func;
70174 return 0;
70176 _ACEOF
70177 rm -f conftest.$ac_objext conftest$ac_exeext
70178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70179 (eval $ac_link) 2>&5
70180 ac_status=$?
70181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70182 (exit $ac_status); } &&
70183 { ac_try='test -s conftest$ac_exeext'
70184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70185 (eval $ac_try) 2>&5
70186 ac_status=$?
70187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70188 (exit $ac_status); }; }; then
70189 eval "$as_ac_var=yes"
70190 else
70191 echo "$as_me: failed program was:" >&5
70192 sed 's/^/| /' conftest.$ac_ext >&5
70194 eval "$as_ac_var=no"
70196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70200 if test `eval echo '${'$as_ac_var'}'` = yes; then
70201 cat >>confdefs.h <<_ACEOF
70202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70203 _ACEOF
70205 else
70206 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
70208 done
70212 # Used in libmath/Makefile.am.
70213 if test -n "$LIBMATHOBJS"; then
70214 need_libmath=yes
70219 # Test wchar.h for mbstate_t, which is needed for char_traits and
70220 # others even if wchar_t support is not on.
70221 echo "$as_me:$LINENO: checking for mbstate_t" >&5
70222 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
70223 cat >conftest.$ac_ext <<_ACEOF
70224 #line $LINENO "configure"
70225 /* confdefs.h. */
70226 _ACEOF
70227 cat confdefs.h >>conftest.$ac_ext
70228 cat >>conftest.$ac_ext <<_ACEOF
70229 /* end confdefs.h. */
70230 #include <wchar.h>
70232 main ()
70234 mbstate_t teststate;
70236 return 0;
70238 _ACEOF
70239 rm -f conftest.$ac_objext
70240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70241 (eval $ac_compile) 2>&5
70242 ac_status=$?
70243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70244 (exit $ac_status); } &&
70245 { ac_try='test -s conftest.$ac_objext'
70246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70247 (eval $ac_try) 2>&5
70248 ac_status=$?
70249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70250 (exit $ac_status); }; }; then
70251 have_mbstate_t=yes
70252 else
70253 echo "$as_me: failed program was:" >&5
70254 sed 's/^/| /' conftest.$ac_ext >&5
70256 have_mbstate_t=no
70258 rm -f conftest.$ac_objext conftest.$ac_ext
70259 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
70260 echo "${ECHO_T}$have_mbstate_t" >&6
70261 if test x"$have_mbstate_t" = xyes; then
70262 cat >>confdefs.h <<\_ACEOF
70263 #define HAVE_MBSTATE_T 1
70264 _ACEOF
70268 # Sanity check for existence of ISO C99 headers for extended encoding.
70270 for ac_header in wchar.h
70272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70274 echo "$as_me:$LINENO: checking for $ac_header" >&5
70275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70277 echo $ECHO_N "(cached) $ECHO_C" >&6
70279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70281 else
70282 # Is the header compilable?
70283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70285 cat >conftest.$ac_ext <<_ACEOF
70286 #line $LINENO "configure"
70287 /* confdefs.h. */
70288 _ACEOF
70289 cat confdefs.h >>conftest.$ac_ext
70290 cat >>conftest.$ac_ext <<_ACEOF
70291 /* end confdefs.h. */
70292 $ac_includes_default
70293 #include <$ac_header>
70294 _ACEOF
70295 rm -f conftest.$ac_objext
70296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70297 (eval $ac_compile) 2>&5
70298 ac_status=$?
70299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300 (exit $ac_status); } &&
70301 { ac_try='test -s conftest.$ac_objext'
70302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70303 (eval $ac_try) 2>&5
70304 ac_status=$?
70305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70306 (exit $ac_status); }; }; then
70307 ac_header_compiler=yes
70308 else
70309 echo "$as_me: failed program was:" >&5
70310 sed 's/^/| /' conftest.$ac_ext >&5
70312 ac_header_compiler=no
70314 rm -f conftest.$ac_objext conftest.$ac_ext
70315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70316 echo "${ECHO_T}$ac_header_compiler" >&6
70318 # Is the header present?
70319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70321 cat >conftest.$ac_ext <<_ACEOF
70322 #line $LINENO "configure"
70323 /* confdefs.h. */
70324 _ACEOF
70325 cat confdefs.h >>conftest.$ac_ext
70326 cat >>conftest.$ac_ext <<_ACEOF
70327 /* end confdefs.h. */
70328 #include <$ac_header>
70329 _ACEOF
70330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70332 ac_status=$?
70333 grep -v '^ *+' conftest.er1 >conftest.err
70334 rm -f conftest.er1
70335 cat conftest.err >&5
70336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337 (exit $ac_status); } >/dev/null; then
70338 if test -s conftest.err; then
70339 ac_cpp_err=$ac_c_preproc_warn_flag
70340 else
70341 ac_cpp_err=
70343 else
70344 ac_cpp_err=yes
70346 if test -z "$ac_cpp_err"; then
70347 ac_header_preproc=yes
70348 else
70349 echo "$as_me: failed program was:" >&5
70350 sed 's/^/| /' conftest.$ac_ext >&5
70352 ac_header_preproc=no
70354 rm -f conftest.err conftest.$ac_ext
70355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70356 echo "${ECHO_T}$ac_header_preproc" >&6
70358 # So? What about this header?
70359 case $ac_header_compiler:$ac_header_preproc in
70360 yes:no )
70361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70366 cat <<\_ASBOX
70367 ## ------------------------------------ ##
70368 ## Report this to bug-autoconf@gnu.org. ##
70369 ## ------------------------------------ ##
70370 _ASBOX
70372 sed "s/^/$as_me: WARNING: /" >&2
70374 no:yes )
70375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70382 cat <<\_ASBOX
70383 ## ------------------------------------ ##
70384 ## Report this to bug-autoconf@gnu.org. ##
70385 ## ------------------------------------ ##
70386 _ASBOX
70388 sed "s/^/$as_me: WARNING: /" >&2
70390 esac
70391 echo "$as_me:$LINENO: checking for $ac_header" >&5
70392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70394 echo $ECHO_N "(cached) $ECHO_C" >&6
70395 else
70396 eval "$as_ac_Header=$ac_header_preproc"
70398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70403 cat >>confdefs.h <<_ACEOF
70404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70405 _ACEOF
70406 ac_has_wchar_h=yes
70407 else
70408 ac_has_wchar_h=no
70411 done
70414 for ac_header in wctype.h
70416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70418 echo "$as_me:$LINENO: checking for $ac_header" >&5
70419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70421 echo $ECHO_N "(cached) $ECHO_C" >&6
70423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70425 else
70426 # Is the header compilable?
70427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70429 cat >conftest.$ac_ext <<_ACEOF
70430 #line $LINENO "configure"
70431 /* confdefs.h. */
70432 _ACEOF
70433 cat confdefs.h >>conftest.$ac_ext
70434 cat >>conftest.$ac_ext <<_ACEOF
70435 /* end confdefs.h. */
70436 $ac_includes_default
70437 #include <$ac_header>
70438 _ACEOF
70439 rm -f conftest.$ac_objext
70440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70441 (eval $ac_compile) 2>&5
70442 ac_status=$?
70443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70444 (exit $ac_status); } &&
70445 { ac_try='test -s conftest.$ac_objext'
70446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70447 (eval $ac_try) 2>&5
70448 ac_status=$?
70449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70450 (exit $ac_status); }; }; then
70451 ac_header_compiler=yes
70452 else
70453 echo "$as_me: failed program was:" >&5
70454 sed 's/^/| /' conftest.$ac_ext >&5
70456 ac_header_compiler=no
70458 rm -f conftest.$ac_objext conftest.$ac_ext
70459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70460 echo "${ECHO_T}$ac_header_compiler" >&6
70462 # Is the header present?
70463 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70465 cat >conftest.$ac_ext <<_ACEOF
70466 #line $LINENO "configure"
70467 /* confdefs.h. */
70468 _ACEOF
70469 cat confdefs.h >>conftest.$ac_ext
70470 cat >>conftest.$ac_ext <<_ACEOF
70471 /* end confdefs.h. */
70472 #include <$ac_header>
70473 _ACEOF
70474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70476 ac_status=$?
70477 grep -v '^ *+' conftest.er1 >conftest.err
70478 rm -f conftest.er1
70479 cat conftest.err >&5
70480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481 (exit $ac_status); } >/dev/null; then
70482 if test -s conftest.err; then
70483 ac_cpp_err=$ac_c_preproc_warn_flag
70484 else
70485 ac_cpp_err=
70487 else
70488 ac_cpp_err=yes
70490 if test -z "$ac_cpp_err"; then
70491 ac_header_preproc=yes
70492 else
70493 echo "$as_me: failed program was:" >&5
70494 sed 's/^/| /' conftest.$ac_ext >&5
70496 ac_header_preproc=no
70498 rm -f conftest.err conftest.$ac_ext
70499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70500 echo "${ECHO_T}$ac_header_preproc" >&6
70502 # So? What about this header?
70503 case $ac_header_compiler:$ac_header_preproc in
70504 yes:no )
70505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70510 cat <<\_ASBOX
70511 ## ------------------------------------ ##
70512 ## Report this to bug-autoconf@gnu.org. ##
70513 ## ------------------------------------ ##
70514 _ASBOX
70516 sed "s/^/$as_me: WARNING: /" >&2
70518 no:yes )
70519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70526 cat <<\_ASBOX
70527 ## ------------------------------------ ##
70528 ## Report this to bug-autoconf@gnu.org. ##
70529 ## ------------------------------------ ##
70530 _ASBOX
70532 sed "s/^/$as_me: WARNING: /" >&2
70534 esac
70535 echo "$as_me:$LINENO: checking for $ac_header" >&5
70536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70538 echo $ECHO_N "(cached) $ECHO_C" >&6
70539 else
70540 eval "$as_ac_Header=$ac_header_preproc"
70542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70547 cat >>confdefs.h <<_ACEOF
70548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70549 _ACEOF
70550 ac_has_wctype_h=yes
70551 else
70552 ac_has_wctype_h=no
70555 done
70558 # Only continue checking if the ISO C99 headers exist and support is on.
70559 if test x"$ac_has_wchar_h" = xyes &&
70560 test x"$ac_has_wctype_h" = xyes &&
70561 test x"$enable_c_mbchar" != xno; then
70563 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
70564 # numeric_limits can instantiate type_traits<wchar_t>
70565 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
70566 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
70567 cat >conftest.$ac_ext <<_ACEOF
70568 #line $LINENO "configure"
70569 /* confdefs.h. */
70570 _ACEOF
70571 cat confdefs.h >>conftest.$ac_ext
70572 cat >>conftest.$ac_ext <<_ACEOF
70573 /* end confdefs.h. */
70574 #include <wchar.h>
70576 main ()
70578 int i = WCHAR_MIN; int j = WCHAR_MAX;
70580 return 0;
70582 _ACEOF
70583 rm -f conftest.$ac_objext
70584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70585 (eval $ac_compile) 2>&5
70586 ac_status=$?
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); } &&
70589 { ac_try='test -s conftest.$ac_objext'
70590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70591 (eval $ac_try) 2>&5
70592 ac_status=$?
70593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70594 (exit $ac_status); }; }; then
70595 has_wchar_minmax=yes
70596 else
70597 echo "$as_me: failed program was:" >&5
70598 sed 's/^/| /' conftest.$ac_ext >&5
70600 has_wchar_minmax=no
70602 rm -f conftest.$ac_objext conftest.$ac_ext
70603 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
70604 echo "${ECHO_T}$has_wchar_minmax" >&6
70606 # Test wchar.h for WEOF, which is what we use to determine whether
70607 # to specialize for char_traits<wchar_t> or not.
70608 echo "$as_me:$LINENO: checking for WEOF" >&5
70609 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
70610 cat >conftest.$ac_ext <<_ACEOF
70611 #line $LINENO "configure"
70612 /* confdefs.h. */
70613 _ACEOF
70614 cat confdefs.h >>conftest.$ac_ext
70615 cat >>conftest.$ac_ext <<_ACEOF
70616 /* end confdefs.h. */
70618 #include <wchar.h>
70619 #include <stddef.h>
70621 main ()
70623 wint_t i = WEOF;
70625 return 0;
70627 _ACEOF
70628 rm -f conftest.$ac_objext
70629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70630 (eval $ac_compile) 2>&5
70631 ac_status=$?
70632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70633 (exit $ac_status); } &&
70634 { ac_try='test -s conftest.$ac_objext'
70635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70636 (eval $ac_try) 2>&5
70637 ac_status=$?
70638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70639 (exit $ac_status); }; }; then
70640 has_weof=yes
70641 else
70642 echo "$as_me: failed program was:" >&5
70643 sed 's/^/| /' conftest.$ac_ext >&5
70645 has_weof=no
70647 rm -f conftest.$ac_objext conftest.$ac_ext
70648 echo "$as_me:$LINENO: result: $has_weof" >&5
70649 echo "${ECHO_T}$has_weof" >&6
70651 # Tests for wide character functions used in char_traits<wchar_t>.
70652 ac_wfuncs=yes
70659 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
70661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70662 echo "$as_me:$LINENO: checking for $ac_func" >&5
70663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70664 if eval "test \"\${$as_ac_var+set}\" = set"; then
70665 echo $ECHO_N "(cached) $ECHO_C" >&6
70666 else
70667 if test x$gcc_no_link = xyes; then
70668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70670 { (exit 1); exit 1; }; }
70672 cat >conftest.$ac_ext <<_ACEOF
70673 #line $LINENO "configure"
70674 /* confdefs.h. */
70675 _ACEOF
70676 cat confdefs.h >>conftest.$ac_ext
70677 cat >>conftest.$ac_ext <<_ACEOF
70678 /* end confdefs.h. */
70679 /* System header to define __stub macros and hopefully few prototypes,
70680 which can conflict with char $ac_func (); below.
70681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70682 <limits.h> exists even on freestanding compilers. */
70683 #ifdef __STDC__
70684 # include <limits.h>
70685 #else
70686 # include <assert.h>
70687 #endif
70688 /* Override any gcc2 internal prototype to avoid an error. */
70689 #ifdef __cplusplus
70690 extern "C"
70692 #endif
70693 /* We use char because int might match the return type of a gcc2
70694 builtin and then its argument prototype would still apply. */
70695 char $ac_func ();
70696 /* The GNU C library defines this for functions which it implements
70697 to always fail with ENOSYS. Some functions are actually named
70698 something starting with __ and the normal name is an alias. */
70699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70700 choke me
70701 #else
70702 char (*f) () = $ac_func;
70703 #endif
70704 #ifdef __cplusplus
70706 #endif
70709 main ()
70711 return f != $ac_func;
70713 return 0;
70715 _ACEOF
70716 rm -f conftest.$ac_objext conftest$ac_exeext
70717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70718 (eval $ac_link) 2>&5
70719 ac_status=$?
70720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721 (exit $ac_status); } &&
70722 { ac_try='test -s conftest$ac_exeext'
70723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70724 (eval $ac_try) 2>&5
70725 ac_status=$?
70726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70727 (exit $ac_status); }; }; then
70728 eval "$as_ac_var=yes"
70729 else
70730 echo "$as_me: failed program was:" >&5
70731 sed 's/^/| /' conftest.$ac_ext >&5
70733 eval "$as_ac_var=no"
70735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70739 if test `eval echo '${'$as_ac_var'}'` = yes; then
70740 cat >>confdefs.h <<_ACEOF
70741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70742 _ACEOF
70744 else
70745 ac_wfuncs=no
70747 done
70750 # Checks for names injected into std:: by the c_std headers.
70797 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
70798 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
70799 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
70800 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
70801 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
70802 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
70804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70805 echo "$as_me:$LINENO: checking for $ac_func" >&5
70806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70807 if eval "test \"\${$as_ac_var+set}\" = set"; then
70808 echo $ECHO_N "(cached) $ECHO_C" >&6
70809 else
70810 if test x$gcc_no_link = xyes; then
70811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70813 { (exit 1); exit 1; }; }
70815 cat >conftest.$ac_ext <<_ACEOF
70816 #line $LINENO "configure"
70817 /* confdefs.h. */
70818 _ACEOF
70819 cat confdefs.h >>conftest.$ac_ext
70820 cat >>conftest.$ac_ext <<_ACEOF
70821 /* end confdefs.h. */
70822 /* System header to define __stub macros and hopefully few prototypes,
70823 which can conflict with char $ac_func (); below.
70824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70825 <limits.h> exists even on freestanding compilers. */
70826 #ifdef __STDC__
70827 # include <limits.h>
70828 #else
70829 # include <assert.h>
70830 #endif
70831 /* Override any gcc2 internal prototype to avoid an error. */
70832 #ifdef __cplusplus
70833 extern "C"
70835 #endif
70836 /* We use char because int might match the return type of a gcc2
70837 builtin and then its argument prototype would still apply. */
70838 char $ac_func ();
70839 /* The GNU C library defines this for functions which it implements
70840 to always fail with ENOSYS. Some functions are actually named
70841 something starting with __ and the normal name is an alias. */
70842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70843 choke me
70844 #else
70845 char (*f) () = $ac_func;
70846 #endif
70847 #ifdef __cplusplus
70849 #endif
70852 main ()
70854 return f != $ac_func;
70856 return 0;
70858 _ACEOF
70859 rm -f conftest.$ac_objext conftest$ac_exeext
70860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70861 (eval $ac_link) 2>&5
70862 ac_status=$?
70863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864 (exit $ac_status); } &&
70865 { ac_try='test -s conftest$ac_exeext'
70866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70867 (eval $ac_try) 2>&5
70868 ac_status=$?
70869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870 (exit $ac_status); }; }; then
70871 eval "$as_ac_var=yes"
70872 else
70873 echo "$as_me: failed program was:" >&5
70874 sed 's/^/| /' conftest.$ac_ext >&5
70876 eval "$as_ac_var=no"
70878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70882 if test `eval echo '${'$as_ac_var'}'` = yes; then
70883 cat >>confdefs.h <<_ACEOF
70884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70885 _ACEOF
70887 else
70888 ac_wfuncs=no
70890 done
70893 # Checks for wide character functions that are not required
70894 # for basic wchar_t support. Don't disable support if they are missing.
70895 # Injection of these is wrapped with guard macros.
70901 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
70903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70904 echo "$as_me:$LINENO: checking for $ac_func" >&5
70905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70906 if eval "test \"\${$as_ac_var+set}\" = set"; then
70907 echo $ECHO_N "(cached) $ECHO_C" >&6
70908 else
70909 if test x$gcc_no_link = xyes; then
70910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70912 { (exit 1); exit 1; }; }
70914 cat >conftest.$ac_ext <<_ACEOF
70915 #line $LINENO "configure"
70916 /* confdefs.h. */
70917 _ACEOF
70918 cat confdefs.h >>conftest.$ac_ext
70919 cat >>conftest.$ac_ext <<_ACEOF
70920 /* end confdefs.h. */
70921 /* System header to define __stub macros and hopefully few prototypes,
70922 which can conflict with char $ac_func (); below.
70923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70924 <limits.h> exists even on freestanding compilers. */
70925 #ifdef __STDC__
70926 # include <limits.h>
70927 #else
70928 # include <assert.h>
70929 #endif
70930 /* Override any gcc2 internal prototype to avoid an error. */
70931 #ifdef __cplusplus
70932 extern "C"
70934 #endif
70935 /* We use char because int might match the return type of a gcc2
70936 builtin and then its argument prototype would still apply. */
70937 char $ac_func ();
70938 /* The GNU C library defines this for functions which it implements
70939 to always fail with ENOSYS. Some functions are actually named
70940 something starting with __ and the normal name is an alias. */
70941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70942 choke me
70943 #else
70944 char (*f) () = $ac_func;
70945 #endif
70946 #ifdef __cplusplus
70948 #endif
70951 main ()
70953 return f != $ac_func;
70955 return 0;
70957 _ACEOF
70958 rm -f conftest.$ac_objext conftest$ac_exeext
70959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70960 (eval $ac_link) 2>&5
70961 ac_status=$?
70962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70963 (exit $ac_status); } &&
70964 { ac_try='test -s conftest$ac_exeext'
70965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70966 (eval $ac_try) 2>&5
70967 ac_status=$?
70968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70969 (exit $ac_status); }; }; then
70970 eval "$as_ac_var=yes"
70971 else
70972 echo "$as_me: failed program was:" >&5
70973 sed 's/^/| /' conftest.$ac_ext >&5
70975 eval "$as_ac_var=no"
70977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70981 if test `eval echo '${'$as_ac_var'}'` = yes; then
70982 cat >>confdefs.h <<_ACEOF
70983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70984 _ACEOF
70987 done
70990 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
70991 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
70992 if test x"$has_weof" = xyes &&
70993 test x"$has_wchar_minmax" = xyes &&
70994 test x"$ac_wfuncs" = xyes;
70995 then
70996 ac_isoC99_wchar_t=yes
70997 else
70998 ac_isoC99_wchar_t=no
71000 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
71001 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
71003 # Use iconv for wchar_t to char conversions. As such, check for
71004 # X/Open Portability Guide, version 2 features (XPG2).
71005 if test "${ac_cv_header_iconv_h+set}" = set; then
71006 echo "$as_me:$LINENO: checking for iconv.h" >&5
71007 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71008 if test "${ac_cv_header_iconv_h+set}" = set; then
71009 echo $ECHO_N "(cached) $ECHO_C" >&6
71011 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71012 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71013 else
71014 # Is the header compilable?
71015 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71016 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71017 cat >conftest.$ac_ext <<_ACEOF
71018 #line $LINENO "configure"
71019 /* confdefs.h. */
71020 _ACEOF
71021 cat confdefs.h >>conftest.$ac_ext
71022 cat >>conftest.$ac_ext <<_ACEOF
71023 /* end confdefs.h. */
71024 $ac_includes_default
71025 #include <iconv.h>
71026 _ACEOF
71027 rm -f conftest.$ac_objext
71028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71029 (eval $ac_compile) 2>&5
71030 ac_status=$?
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); } &&
71033 { ac_try='test -s conftest.$ac_objext'
71034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71035 (eval $ac_try) 2>&5
71036 ac_status=$?
71037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71038 (exit $ac_status); }; }; then
71039 ac_header_compiler=yes
71040 else
71041 echo "$as_me: failed program was:" >&5
71042 sed 's/^/| /' conftest.$ac_ext >&5
71044 ac_header_compiler=no
71046 rm -f conftest.$ac_objext conftest.$ac_ext
71047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71048 echo "${ECHO_T}$ac_header_compiler" >&6
71050 # Is the header present?
71051 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71052 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71053 cat >conftest.$ac_ext <<_ACEOF
71054 #line $LINENO "configure"
71055 /* confdefs.h. */
71056 _ACEOF
71057 cat confdefs.h >>conftest.$ac_ext
71058 cat >>conftest.$ac_ext <<_ACEOF
71059 /* end confdefs.h. */
71060 #include <iconv.h>
71061 _ACEOF
71062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71064 ac_status=$?
71065 grep -v '^ *+' conftest.er1 >conftest.err
71066 rm -f conftest.er1
71067 cat conftest.err >&5
71068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069 (exit $ac_status); } >/dev/null; then
71070 if test -s conftest.err; then
71071 ac_cpp_err=$ac_c_preproc_warn_flag
71072 else
71073 ac_cpp_err=
71075 else
71076 ac_cpp_err=yes
71078 if test -z "$ac_cpp_err"; then
71079 ac_header_preproc=yes
71080 else
71081 echo "$as_me: failed program was:" >&5
71082 sed 's/^/| /' conftest.$ac_ext >&5
71084 ac_header_preproc=no
71086 rm -f conftest.err conftest.$ac_ext
71087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71088 echo "${ECHO_T}$ac_header_preproc" >&6
71090 # So? What about this header?
71091 case $ac_header_compiler:$ac_header_preproc in
71092 yes:no )
71093 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71094 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71095 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71096 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71098 cat <<\_ASBOX
71099 ## ------------------------------------ ##
71100 ## Report this to bug-autoconf@gnu.org. ##
71101 ## ------------------------------------ ##
71102 _ASBOX
71104 sed "s/^/$as_me: WARNING: /" >&2
71106 no:yes )
71107 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71108 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71109 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71110 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71111 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71112 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71114 cat <<\_ASBOX
71115 ## ------------------------------------ ##
71116 ## Report this to bug-autoconf@gnu.org. ##
71117 ## ------------------------------------ ##
71118 _ASBOX
71120 sed "s/^/$as_me: WARNING: /" >&2
71122 esac
71123 echo "$as_me:$LINENO: checking for iconv.h" >&5
71124 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71125 if test "${ac_cv_header_iconv_h+set}" = set; then
71126 echo $ECHO_N "(cached) $ECHO_C" >&6
71127 else
71128 ac_cv_header_iconv_h=$ac_header_preproc
71130 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71131 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71134 if test $ac_cv_header_iconv_h = yes; then
71135 ac_has_iconv_h=yes
71136 else
71137 ac_has_iconv_h=no
71141 if test "${ac_cv_header_langinfo_h+set}" = set; then
71142 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71143 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71144 if test "${ac_cv_header_langinfo_h+set}" = set; then
71145 echo $ECHO_N "(cached) $ECHO_C" >&6
71147 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71148 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71149 else
71150 # Is the header compilable?
71151 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71152 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71153 cat >conftest.$ac_ext <<_ACEOF
71154 #line $LINENO "configure"
71155 /* confdefs.h. */
71156 _ACEOF
71157 cat confdefs.h >>conftest.$ac_ext
71158 cat >>conftest.$ac_ext <<_ACEOF
71159 /* end confdefs.h. */
71160 $ac_includes_default
71161 #include <langinfo.h>
71162 _ACEOF
71163 rm -f conftest.$ac_objext
71164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71165 (eval $ac_compile) 2>&5
71166 ac_status=$?
71167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71168 (exit $ac_status); } &&
71169 { ac_try='test -s conftest.$ac_objext'
71170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71171 (eval $ac_try) 2>&5
71172 ac_status=$?
71173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174 (exit $ac_status); }; }; then
71175 ac_header_compiler=yes
71176 else
71177 echo "$as_me: failed program was:" >&5
71178 sed 's/^/| /' conftest.$ac_ext >&5
71180 ac_header_compiler=no
71182 rm -f conftest.$ac_objext conftest.$ac_ext
71183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71184 echo "${ECHO_T}$ac_header_compiler" >&6
71186 # Is the header present?
71187 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71188 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71189 cat >conftest.$ac_ext <<_ACEOF
71190 #line $LINENO "configure"
71191 /* confdefs.h. */
71192 _ACEOF
71193 cat confdefs.h >>conftest.$ac_ext
71194 cat >>conftest.$ac_ext <<_ACEOF
71195 /* end confdefs.h. */
71196 #include <langinfo.h>
71197 _ACEOF
71198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71200 ac_status=$?
71201 grep -v '^ *+' conftest.er1 >conftest.err
71202 rm -f conftest.er1
71203 cat conftest.err >&5
71204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205 (exit $ac_status); } >/dev/null; then
71206 if test -s conftest.err; then
71207 ac_cpp_err=$ac_c_preproc_warn_flag
71208 else
71209 ac_cpp_err=
71211 else
71212 ac_cpp_err=yes
71214 if test -z "$ac_cpp_err"; then
71215 ac_header_preproc=yes
71216 else
71217 echo "$as_me: failed program was:" >&5
71218 sed 's/^/| /' conftest.$ac_ext >&5
71220 ac_header_preproc=no
71222 rm -f conftest.err conftest.$ac_ext
71223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71224 echo "${ECHO_T}$ac_header_preproc" >&6
71226 # So? What about this header?
71227 case $ac_header_compiler:$ac_header_preproc in
71228 yes:no )
71229 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71230 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71231 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71232 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71234 cat <<\_ASBOX
71235 ## ------------------------------------ ##
71236 ## Report this to bug-autoconf@gnu.org. ##
71237 ## ------------------------------------ ##
71238 _ASBOX
71240 sed "s/^/$as_me: WARNING: /" >&2
71242 no:yes )
71243 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71244 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71245 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71246 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71247 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71248 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71250 cat <<\_ASBOX
71251 ## ------------------------------------ ##
71252 ## Report this to bug-autoconf@gnu.org. ##
71253 ## ------------------------------------ ##
71254 _ASBOX
71256 sed "s/^/$as_me: WARNING: /" >&2
71258 esac
71259 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71260 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71261 if test "${ac_cv_header_langinfo_h+set}" = set; then
71262 echo $ECHO_N "(cached) $ECHO_C" >&6
71263 else
71264 ac_cv_header_langinfo_h=$ac_header_preproc
71266 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71267 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71270 if test $ac_cv_header_langinfo_h = yes; then
71271 ac_has_langinfo_h=yes
71272 else
71273 ac_has_langinfo_h=no
71278 # Check for existence of libiconv.a providing XPG2 wchar_t support.
71279 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71280 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71281 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71282 echo $ECHO_N "(cached) $ECHO_C" >&6
71283 else
71284 ac_check_lib_save_LIBS=$LIBS
71285 LIBS="-liconv $LIBS"
71286 if test x$gcc_no_link = xyes; then
71287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71289 { (exit 1); exit 1; }; }
71291 cat >conftest.$ac_ext <<_ACEOF
71292 #line $LINENO "configure"
71293 /* confdefs.h. */
71294 _ACEOF
71295 cat confdefs.h >>conftest.$ac_ext
71296 cat >>conftest.$ac_ext <<_ACEOF
71297 /* end confdefs.h. */
71299 /* Override any gcc2 internal prototype to avoid an error. */
71300 #ifdef __cplusplus
71301 extern "C"
71302 #endif
71303 /* We use char because int might match the return type of a gcc2
71304 builtin and then its argument prototype would still apply. */
71305 char iconv ();
71307 main ()
71309 iconv ();
71311 return 0;
71313 _ACEOF
71314 rm -f conftest.$ac_objext conftest$ac_exeext
71315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71316 (eval $ac_link) 2>&5
71317 ac_status=$?
71318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71319 (exit $ac_status); } &&
71320 { ac_try='test -s conftest$ac_exeext'
71321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71322 (eval $ac_try) 2>&5
71323 ac_status=$?
71324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325 (exit $ac_status); }; }; then
71326 ac_cv_lib_iconv_iconv=yes
71327 else
71328 echo "$as_me: failed program was:" >&5
71329 sed 's/^/| /' conftest.$ac_ext >&5
71331 ac_cv_lib_iconv_iconv=no
71333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71334 LIBS=$ac_check_lib_save_LIBS
71336 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71337 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71338 if test $ac_cv_lib_iconv_iconv = yes; then
71339 libiconv="-liconv"
71342 ac_save_LIBS="$LIBS"
71343 LIBS="$LIBS $libiconv"
71349 for ac_func in iconv_open iconv_close iconv nl_langinfo
71351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71352 echo "$as_me:$LINENO: checking for $ac_func" >&5
71353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71354 if eval "test \"\${$as_ac_var+set}\" = set"; then
71355 echo $ECHO_N "(cached) $ECHO_C" >&6
71356 else
71357 if test x$gcc_no_link = xyes; then
71358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71360 { (exit 1); exit 1; }; }
71362 cat >conftest.$ac_ext <<_ACEOF
71363 #line $LINENO "configure"
71364 /* confdefs.h. */
71365 _ACEOF
71366 cat confdefs.h >>conftest.$ac_ext
71367 cat >>conftest.$ac_ext <<_ACEOF
71368 /* end confdefs.h. */
71369 /* System header to define __stub macros and hopefully few prototypes,
71370 which can conflict with char $ac_func (); below.
71371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71372 <limits.h> exists even on freestanding compilers. */
71373 #ifdef __STDC__
71374 # include <limits.h>
71375 #else
71376 # include <assert.h>
71377 #endif
71378 /* Override any gcc2 internal prototype to avoid an error. */
71379 #ifdef __cplusplus
71380 extern "C"
71382 #endif
71383 /* We use char because int might match the return type of a gcc2
71384 builtin and then its argument prototype would still apply. */
71385 char $ac_func ();
71386 /* The GNU C library defines this for functions which it implements
71387 to always fail with ENOSYS. Some functions are actually named
71388 something starting with __ and the normal name is an alias. */
71389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71390 choke me
71391 #else
71392 char (*f) () = $ac_func;
71393 #endif
71394 #ifdef __cplusplus
71396 #endif
71399 main ()
71401 return f != $ac_func;
71403 return 0;
71405 _ACEOF
71406 rm -f conftest.$ac_objext conftest$ac_exeext
71407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71408 (eval $ac_link) 2>&5
71409 ac_status=$?
71410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71411 (exit $ac_status); } &&
71412 { ac_try='test -s conftest$ac_exeext'
71413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71414 (eval $ac_try) 2>&5
71415 ac_status=$?
71416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417 (exit $ac_status); }; }; then
71418 eval "$as_ac_var=yes"
71419 else
71420 echo "$as_me: failed program was:" >&5
71421 sed 's/^/| /' conftest.$ac_ext >&5
71423 eval "$as_ac_var=no"
71425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71429 if test `eval echo '${'$as_ac_var'}'` = yes; then
71430 cat >>confdefs.h <<_ACEOF
71431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71432 _ACEOF
71433 ac_XPG2funcs=yes
71434 else
71435 ac_XPG2funcs=no
71437 done
71440 LIBS="$ac_save_LIBS"
71442 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
71443 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
71444 if test x"$ac_has_iconv_h" = xyes &&
71445 test x"$ac_has_langinfo_h" = xyes &&
71446 test x"$ac_XPG2funcs" = xyes;
71447 then
71448 ac_XPG2_wchar_t=yes
71449 else
71450 ac_XPG2_wchar_t=no
71452 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
71453 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
71455 # At the moment, only enable wchar_t specializations if all the
71456 # above support is present.
71457 if test x"$ac_isoC99_wchar_t" = xyes &&
71458 test x"$ac_XPG2_wchar_t" = xyes;
71459 then
71460 cat >>confdefs.h <<\_ACEOF
71461 #define _GLIBCXX_USE_WCHAR_T 1
71462 _ACEOF
71464 enable_wchar_t=yes
71467 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
71468 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
71469 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
71470 echo "${ECHO_T}$enable_wchar_t" >&6
71473 # For LFS.
71474 cat >>confdefs.h <<\_ACEOF
71475 #define HAVE_INT64_T 1
71476 _ACEOF
71478 case "$target" in
71479 *-uclinux*)
71480 # Don't enable LFS with uClibc
71483 cat >>confdefs.h <<\_ACEOF
71484 #define _GLIBCXX_USE_LFS 1
71485 _ACEOF
71487 esac
71489 # For showmanyc_helper().
71492 for ac_header in sys/ioctl.h sys/filio.h
71494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
71495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71496 echo "$as_me:$LINENO: checking for $ac_header" >&5
71497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71499 echo $ECHO_N "(cached) $ECHO_C" >&6
71501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71503 else
71504 # Is the header compilable?
71505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
71506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
71507 cat >conftest.$ac_ext <<_ACEOF
71508 #line $LINENO "configure"
71509 /* confdefs.h. */
71510 _ACEOF
71511 cat confdefs.h >>conftest.$ac_ext
71512 cat >>conftest.$ac_ext <<_ACEOF
71513 /* end confdefs.h. */
71514 $ac_includes_default
71515 #include <$ac_header>
71516 _ACEOF
71517 rm -f conftest.$ac_objext
71518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71519 (eval $ac_compile) 2>&5
71520 ac_status=$?
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); } &&
71523 { ac_try='test -s conftest.$ac_objext'
71524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71525 (eval $ac_try) 2>&5
71526 ac_status=$?
71527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71528 (exit $ac_status); }; }; then
71529 ac_header_compiler=yes
71530 else
71531 echo "$as_me: failed program was:" >&5
71532 sed 's/^/| /' conftest.$ac_ext >&5
71534 ac_header_compiler=no
71536 rm -f conftest.$ac_objext conftest.$ac_ext
71537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71538 echo "${ECHO_T}$ac_header_compiler" >&6
71540 # Is the header present?
71541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
71542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
71543 cat >conftest.$ac_ext <<_ACEOF
71544 #line $LINENO "configure"
71545 /* confdefs.h. */
71546 _ACEOF
71547 cat confdefs.h >>conftest.$ac_ext
71548 cat >>conftest.$ac_ext <<_ACEOF
71549 /* end confdefs.h. */
71550 #include <$ac_header>
71551 _ACEOF
71552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71554 ac_status=$?
71555 grep -v '^ *+' conftest.er1 >conftest.err
71556 rm -f conftest.er1
71557 cat conftest.err >&5
71558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559 (exit $ac_status); } >/dev/null; then
71560 if test -s conftest.err; then
71561 ac_cpp_err=$ac_c_preproc_warn_flag
71562 else
71563 ac_cpp_err=
71565 else
71566 ac_cpp_err=yes
71568 if test -z "$ac_cpp_err"; then
71569 ac_header_preproc=yes
71570 else
71571 echo "$as_me: failed program was:" >&5
71572 sed 's/^/| /' conftest.$ac_ext >&5
71574 ac_header_preproc=no
71576 rm -f conftest.err conftest.$ac_ext
71577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71578 echo "${ECHO_T}$ac_header_preproc" >&6
71580 # So? What about this header?
71581 case $ac_header_compiler:$ac_header_preproc in
71582 yes:no )
71583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
71584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
71585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71588 cat <<\_ASBOX
71589 ## ------------------------------------ ##
71590 ## Report this to bug-autoconf@gnu.org. ##
71591 ## ------------------------------------ ##
71592 _ASBOX
71594 sed "s/^/$as_me: WARNING: /" >&2
71596 no:yes )
71597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
71598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
71599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
71600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
71601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71604 cat <<\_ASBOX
71605 ## ------------------------------------ ##
71606 ## Report this to bug-autoconf@gnu.org. ##
71607 ## ------------------------------------ ##
71608 _ASBOX
71610 sed "s/^/$as_me: WARNING: /" >&2
71612 esac
71613 echo "$as_me:$LINENO: checking for $ac_header" >&5
71614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71616 echo $ECHO_N "(cached) $ECHO_C" >&6
71617 else
71618 eval "$as_ac_Header=$ac_header_preproc"
71620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
71625 cat >>confdefs.h <<_ACEOF
71626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
71627 _ACEOF
71631 done
71634 if test "${glibcxx_cv_POLL+set}" = set; then
71635 echo $ECHO_N "(cached) $ECHO_C" >&6
71636 else
71638 if test x$gcc_no_link = xyes; then
71639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71641 { (exit 1); exit 1; }; }
71643 cat >conftest.$ac_ext <<_ACEOF
71644 #line $LINENO "configure"
71645 /* confdefs.h. */
71646 _ACEOF
71647 cat confdefs.h >>conftest.$ac_ext
71648 cat >>conftest.$ac_ext <<_ACEOF
71649 /* end confdefs.h. */
71650 #include <poll.h>
71652 main ()
71654 struct pollfd pfd[1];
71655 pfd[0].events = POLLIN;
71656 poll(pfd, 1, 0);
71658 return 0;
71660 _ACEOF
71661 rm -f conftest.$ac_objext conftest$ac_exeext
71662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71663 (eval $ac_link) 2>&5
71664 ac_status=$?
71665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666 (exit $ac_status); } &&
71667 { ac_try='test -s conftest$ac_exeext'
71668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71669 (eval $ac_try) 2>&5
71670 ac_status=$?
71671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71672 (exit $ac_status); }; }; then
71673 glibcxx_cv_POLL=yes
71674 else
71675 echo "$as_me: failed program was:" >&5
71676 sed 's/^/| /' conftest.$ac_ext >&5
71678 glibcxx_cv_POLL=no
71680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71684 if test $glibcxx_cv_POLL = yes; then
71685 cat >>confdefs.h <<\_ACEOF
71686 #define HAVE_POLL 1
71687 _ACEOF
71692 if test "${glibcxx_cv_S_ISREG+set}" = set; then
71693 echo $ECHO_N "(cached) $ECHO_C" >&6
71694 else
71696 if test x$gcc_no_link = xyes; then
71697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71699 { (exit 1); exit 1; }; }
71701 cat >conftest.$ac_ext <<_ACEOF
71702 #line $LINENO "configure"
71703 /* confdefs.h. */
71704 _ACEOF
71705 cat confdefs.h >>conftest.$ac_ext
71706 cat >>conftest.$ac_ext <<_ACEOF
71707 /* end confdefs.h. */
71708 #include <sys/stat.h>
71710 main ()
71712 struct stat buffer;
71713 fstat(0, &buffer);
71714 S_ISREG(buffer.st_mode);
71716 return 0;
71718 _ACEOF
71719 rm -f conftest.$ac_objext conftest$ac_exeext
71720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71721 (eval $ac_link) 2>&5
71722 ac_status=$?
71723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71724 (exit $ac_status); } &&
71725 { ac_try='test -s conftest$ac_exeext'
71726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71727 (eval $ac_try) 2>&5
71728 ac_status=$?
71729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71730 (exit $ac_status); }; }; then
71731 glibcxx_cv_S_ISREG=yes
71732 else
71733 echo "$as_me: failed program was:" >&5
71734 sed 's/^/| /' conftest.$ac_ext >&5
71736 glibcxx_cv_S_ISREG=no
71738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71742 if test "${glibcxx_cv_S_IFREG+set}" = set; then
71743 echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71746 if test x$gcc_no_link = xyes; then
71747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71749 { (exit 1); exit 1; }; }
71751 cat >conftest.$ac_ext <<_ACEOF
71752 #line $LINENO "configure"
71753 /* confdefs.h. */
71754 _ACEOF
71755 cat confdefs.h >>conftest.$ac_ext
71756 cat >>conftest.$ac_ext <<_ACEOF
71757 /* end confdefs.h. */
71758 #include <sys/stat.h>
71760 main ()
71762 struct stat buffer;
71763 fstat(0, &buffer);
71764 S_IFREG & buffer.st_mode;
71766 return 0;
71768 _ACEOF
71769 rm -f conftest.$ac_objext conftest$ac_exeext
71770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71771 (eval $ac_link) 2>&5
71772 ac_status=$?
71773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774 (exit $ac_status); } &&
71775 { ac_try='test -s conftest$ac_exeext'
71776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71777 (eval $ac_try) 2>&5
71778 ac_status=$?
71779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71780 (exit $ac_status); }; }; then
71781 glibcxx_cv_S_IFREG=yes
71782 else
71783 echo "$as_me: failed program was:" >&5
71784 sed 's/^/| /' conftest.$ac_ext >&5
71786 glibcxx_cv_S_IFREG=no
71788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71792 if test $glibcxx_cv_S_ISREG = yes; then
71793 cat >>confdefs.h <<\_ACEOF
71794 #define HAVE_S_ISREG 1
71795 _ACEOF
71797 elif test $glibcxx_cv_S_IFREG = yes; then
71798 cat >>confdefs.h <<\_ACEOF
71799 #define HAVE_S_IFREG 1
71800 _ACEOF
71805 # For xsputn_2().
71807 for ac_header in sys/uio.h
71809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
71810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71811 echo "$as_me:$LINENO: checking for $ac_header" >&5
71812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71814 echo $ECHO_N "(cached) $ECHO_C" >&6
71816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71818 else
71819 # Is the header compilable?
71820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
71821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
71822 cat >conftest.$ac_ext <<_ACEOF
71823 #line $LINENO "configure"
71824 /* confdefs.h. */
71825 _ACEOF
71826 cat confdefs.h >>conftest.$ac_ext
71827 cat >>conftest.$ac_ext <<_ACEOF
71828 /* end confdefs.h. */
71829 $ac_includes_default
71830 #include <$ac_header>
71831 _ACEOF
71832 rm -f conftest.$ac_objext
71833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71834 (eval $ac_compile) 2>&5
71835 ac_status=$?
71836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71837 (exit $ac_status); } &&
71838 { ac_try='test -s conftest.$ac_objext'
71839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71840 (eval $ac_try) 2>&5
71841 ac_status=$?
71842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843 (exit $ac_status); }; }; then
71844 ac_header_compiler=yes
71845 else
71846 echo "$as_me: failed program was:" >&5
71847 sed 's/^/| /' conftest.$ac_ext >&5
71849 ac_header_compiler=no
71851 rm -f conftest.$ac_objext conftest.$ac_ext
71852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71853 echo "${ECHO_T}$ac_header_compiler" >&6
71855 # Is the header present?
71856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
71857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
71858 cat >conftest.$ac_ext <<_ACEOF
71859 #line $LINENO "configure"
71860 /* confdefs.h. */
71861 _ACEOF
71862 cat confdefs.h >>conftest.$ac_ext
71863 cat >>conftest.$ac_ext <<_ACEOF
71864 /* end confdefs.h. */
71865 #include <$ac_header>
71866 _ACEOF
71867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71869 ac_status=$?
71870 grep -v '^ *+' conftest.er1 >conftest.err
71871 rm -f conftest.er1
71872 cat conftest.err >&5
71873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71874 (exit $ac_status); } >/dev/null; then
71875 if test -s conftest.err; then
71876 ac_cpp_err=$ac_c_preproc_warn_flag
71877 else
71878 ac_cpp_err=
71880 else
71881 ac_cpp_err=yes
71883 if test -z "$ac_cpp_err"; then
71884 ac_header_preproc=yes
71885 else
71886 echo "$as_me: failed program was:" >&5
71887 sed 's/^/| /' conftest.$ac_ext >&5
71889 ac_header_preproc=no
71891 rm -f conftest.err conftest.$ac_ext
71892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71893 echo "${ECHO_T}$ac_header_preproc" >&6
71895 # So? What about this header?
71896 case $ac_header_compiler:$ac_header_preproc in
71897 yes:no )
71898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
71899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
71900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71903 cat <<\_ASBOX
71904 ## ------------------------------------ ##
71905 ## Report this to bug-autoconf@gnu.org. ##
71906 ## ------------------------------------ ##
71907 _ASBOX
71909 sed "s/^/$as_me: WARNING: /" >&2
71911 no:yes )
71912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
71913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
71914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
71915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
71916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71919 cat <<\_ASBOX
71920 ## ------------------------------------ ##
71921 ## Report this to bug-autoconf@gnu.org. ##
71922 ## ------------------------------------ ##
71923 _ASBOX
71925 sed "s/^/$as_me: WARNING: /" >&2
71927 esac
71928 echo "$as_me:$LINENO: checking for $ac_header" >&5
71929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71931 echo $ECHO_N "(cached) $ECHO_C" >&6
71932 else
71933 eval "$as_ac_Header=$ac_header_preproc"
71935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
71940 cat >>confdefs.h <<_ACEOF
71941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
71942 _ACEOF
71946 done
71949 if test "${glibcxx_cv_WRITEV+set}" = set; then
71950 echo $ECHO_N "(cached) $ECHO_C" >&6
71951 else
71953 if test x$gcc_no_link = xyes; then
71954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71956 { (exit 1); exit 1; }; }
71958 cat >conftest.$ac_ext <<_ACEOF
71959 #line $LINENO "configure"
71960 /* confdefs.h. */
71961 _ACEOF
71962 cat confdefs.h >>conftest.$ac_ext
71963 cat >>conftest.$ac_ext <<_ACEOF
71964 /* end confdefs.h. */
71965 #include <sys/uio.h>
71967 main ()
71969 struct iovec iov[2];
71970 writev(0, iov, 0);
71972 return 0;
71974 _ACEOF
71975 rm -f conftest.$ac_objext conftest$ac_exeext
71976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71977 (eval $ac_link) 2>&5
71978 ac_status=$?
71979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71980 (exit $ac_status); } &&
71981 { ac_try='test -s conftest$ac_exeext'
71982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71983 (eval $ac_try) 2>&5
71984 ac_status=$?
71985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71986 (exit $ac_status); }; }; then
71987 glibcxx_cv_WRITEV=yes
71988 else
71989 echo "$as_me: failed program was:" >&5
71990 sed 's/^/| /' conftest.$ac_ext >&5
71992 glibcxx_cv_WRITEV=no
71994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71998 if test $glibcxx_cv_WRITEV = yes; then
71999 cat >>confdefs.h <<\_ACEOF
72000 #define HAVE_WRITEV 1
72001 _ACEOF
72006 cat >>confdefs.h <<\_ACEOF
72007 #define HAVE_ACOSF 1
72008 _ACEOF
72010 cat >>confdefs.h <<\_ACEOF
72011 #define HAVE_ASINF 1
72012 _ACEOF
72014 cat >>confdefs.h <<\_ACEOF
72015 #define HAVE_ATANF 1
72016 _ACEOF
72018 cat >>confdefs.h <<\_ACEOF
72019 #define HAVE_ATAN2F 1
72020 _ACEOF
72022 cat >>confdefs.h <<\_ACEOF
72023 #define HAVE_CEILF 1
72024 _ACEOF
72026 cat >>confdefs.h <<\_ACEOF
72027 #define HAVE_COPYSIGN 1
72028 _ACEOF
72030 cat >>confdefs.h <<\_ACEOF
72031 #define HAVE_COPYSIGNF 1
72032 _ACEOF
72034 cat >>confdefs.h <<\_ACEOF
72035 #define HAVE_COSF 1
72036 _ACEOF
72038 cat >>confdefs.h <<\_ACEOF
72039 #define HAVE_COSHF 1
72040 _ACEOF
72042 cat >>confdefs.h <<\_ACEOF
72043 #define HAVE_EXPF 1
72044 _ACEOF
72046 cat >>confdefs.h <<\_ACEOF
72047 #define HAVE_FABSF 1
72048 _ACEOF
72050 cat >>confdefs.h <<\_ACEOF
72051 #define HAVE_FINITE 1
72052 _ACEOF
72054 cat >>confdefs.h <<\_ACEOF
72055 #define HAVE_FINITEF 1
72056 _ACEOF
72058 cat >>confdefs.h <<\_ACEOF
72059 #define HAVE_FLOORF 1
72060 _ACEOF
72062 cat >>confdefs.h <<\_ACEOF
72063 #define HAVE_FMODF 1
72064 _ACEOF
72066 cat >>confdefs.h <<\_ACEOF
72067 #define HAVE_FREXPF 1
72068 _ACEOF
72070 cat >>confdefs.h <<\_ACEOF
72071 #define HAVE_HYPOT 1
72072 _ACEOF
72074 cat >>confdefs.h <<\_ACEOF
72075 #define HAVE_HYPOTF 1
72076 _ACEOF
72078 cat >>confdefs.h <<\_ACEOF
72079 #define HAVE_ISINF 1
72080 _ACEOF
72082 cat >>confdefs.h <<\_ACEOF
72083 #define HAVE_ISINFF 1
72084 _ACEOF
72086 cat >>confdefs.h <<\_ACEOF
72087 #define HAVE_ISNAN 1
72088 _ACEOF
72090 cat >>confdefs.h <<\_ACEOF
72091 #define HAVE_ISNANF 1
72092 _ACEOF
72094 cat >>confdefs.h <<\_ACEOF
72095 #define HAVE_LOGF 1
72096 _ACEOF
72098 cat >>confdefs.h <<\_ACEOF
72099 #define HAVE_LOG10F 1
72100 _ACEOF
72102 cat >>confdefs.h <<\_ACEOF
72103 #define HAVE_MODFF 1
72104 _ACEOF
72106 cat >>confdefs.h <<\_ACEOF
72107 #define HAVE_SINF 1
72108 _ACEOF
72110 cat >>confdefs.h <<\_ACEOF
72111 #define HAVE_SINHF 1
72112 _ACEOF
72114 cat >>confdefs.h <<\_ACEOF
72115 #define HAVE_SINCOS 1
72116 _ACEOF
72118 cat >>confdefs.h <<\_ACEOF
72119 #define HAVE_SINCOSF 1
72120 _ACEOF
72122 cat >>confdefs.h <<\_ACEOF
72123 #define HAVE_SQRTF 1
72124 _ACEOF
72126 cat >>confdefs.h <<\_ACEOF
72127 #define HAVE_TANF 1
72128 _ACEOF
72130 cat >>confdefs.h <<\_ACEOF
72131 #define HAVE_TANHF 1
72132 _ACEOF
72134 if test x"long_double_math_on_this_cpu" = x"yes"; then
72135 cat >>confdefs.h <<\_ACEOF
72136 #define HAVE_ACOSL 1
72137 _ACEOF
72139 cat >>confdefs.h <<\_ACEOF
72140 #define HAVE_ASINL 1
72141 _ACEOF
72143 cat >>confdefs.h <<\_ACEOF
72144 #define HAVE_ATANL 1
72145 _ACEOF
72147 cat >>confdefs.h <<\_ACEOF
72148 #define HAVE_ATAN2L 1
72149 _ACEOF
72151 cat >>confdefs.h <<\_ACEOF
72152 #define HAVE_CEILL 1
72153 _ACEOF
72155 cat >>confdefs.h <<\_ACEOF
72156 #define HAVE_COPYSIGNL 1
72157 _ACEOF
72159 cat >>confdefs.h <<\_ACEOF
72160 #define HAVE_COSL 1
72161 _ACEOF
72163 cat >>confdefs.h <<\_ACEOF
72164 #define HAVE_COSHL 1
72165 _ACEOF
72167 cat >>confdefs.h <<\_ACEOF
72168 #define HAVE_EXPL 1
72169 _ACEOF
72171 cat >>confdefs.h <<\_ACEOF
72172 #define HAVE_FABSL 1
72173 _ACEOF
72175 cat >>confdefs.h <<\_ACEOF
72176 #define HAVE_FINITEL 1
72177 _ACEOF
72179 cat >>confdefs.h <<\_ACEOF
72180 #define HAVE_FLOORL 1
72181 _ACEOF
72183 cat >>confdefs.h <<\_ACEOF
72184 #define HAVE_FMODL 1
72185 _ACEOF
72187 cat >>confdefs.h <<\_ACEOF
72188 #define HAVE_FREXPL 1
72189 _ACEOF
72191 cat >>confdefs.h <<\_ACEOF
72192 #define HAVE_HYPOTL 1
72193 _ACEOF
72195 cat >>confdefs.h <<\_ACEOF
72196 #define HAVE_ISINFL 1
72197 _ACEOF
72199 cat >>confdefs.h <<\_ACEOF
72200 #define HAVE_ISNANL 1
72201 _ACEOF
72203 cat >>confdefs.h <<\_ACEOF
72204 #define HAVE_LOGL 1
72205 _ACEOF
72207 cat >>confdefs.h <<\_ACEOF
72208 #define HAVE_LOG10L 1
72209 _ACEOF
72211 cat >>confdefs.h <<\_ACEOF
72212 #define HAVE_MODFL 1
72213 _ACEOF
72215 cat >>confdefs.h <<\_ACEOF
72216 #define HAVE_POWL 1
72217 _ACEOF
72219 cat >>confdefs.h <<\_ACEOF
72220 #define HAVE_SINL 1
72221 _ACEOF
72223 cat >>confdefs.h <<\_ACEOF
72224 #define HAVE_SINHL 1
72225 _ACEOF
72227 cat >>confdefs.h <<\_ACEOF
72228 #define HAVE_SINCOSL 1
72229 _ACEOF
72231 cat >>confdefs.h <<\_ACEOF
72232 #define HAVE_SQRTL 1
72233 _ACEOF
72235 cat >>confdefs.h <<\_ACEOF
72236 #define HAVE_TANL 1
72237 _ACEOF
72239 cat >>confdefs.h <<\_ACEOF
72240 #define HAVE_TANHL 1
72241 _ACEOF
72245 *-mingw32*)
72249 for ac_header in sys/types.h locale.h float.h
72251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72253 echo "$as_me:$LINENO: checking for $ac_header" >&5
72254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72256 echo $ECHO_N "(cached) $ECHO_C" >&6
72258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72260 else
72261 # Is the header compilable?
72262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72264 cat >conftest.$ac_ext <<_ACEOF
72265 #line $LINENO "configure"
72266 /* confdefs.h. */
72267 _ACEOF
72268 cat confdefs.h >>conftest.$ac_ext
72269 cat >>conftest.$ac_ext <<_ACEOF
72270 /* end confdefs.h. */
72271 $ac_includes_default
72272 #include <$ac_header>
72273 _ACEOF
72274 rm -f conftest.$ac_objext
72275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72276 (eval $ac_compile) 2>&5
72277 ac_status=$?
72278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72279 (exit $ac_status); } &&
72280 { ac_try='test -s conftest.$ac_objext'
72281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72282 (eval $ac_try) 2>&5
72283 ac_status=$?
72284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72285 (exit $ac_status); }; }; then
72286 ac_header_compiler=yes
72287 else
72288 echo "$as_me: failed program was:" >&5
72289 sed 's/^/| /' conftest.$ac_ext >&5
72291 ac_header_compiler=no
72293 rm -f conftest.$ac_objext conftest.$ac_ext
72294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72295 echo "${ECHO_T}$ac_header_compiler" >&6
72297 # Is the header present?
72298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72300 cat >conftest.$ac_ext <<_ACEOF
72301 #line $LINENO "configure"
72302 /* confdefs.h. */
72303 _ACEOF
72304 cat confdefs.h >>conftest.$ac_ext
72305 cat >>conftest.$ac_ext <<_ACEOF
72306 /* end confdefs.h. */
72307 #include <$ac_header>
72308 _ACEOF
72309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72311 ac_status=$?
72312 grep -v '^ *+' conftest.er1 >conftest.err
72313 rm -f conftest.er1
72314 cat conftest.err >&5
72315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72316 (exit $ac_status); } >/dev/null; then
72317 if test -s conftest.err; then
72318 ac_cpp_err=$ac_c_preproc_warn_flag
72319 else
72320 ac_cpp_err=
72322 else
72323 ac_cpp_err=yes
72325 if test -z "$ac_cpp_err"; then
72326 ac_header_preproc=yes
72327 else
72328 echo "$as_me: failed program was:" >&5
72329 sed 's/^/| /' conftest.$ac_ext >&5
72331 ac_header_preproc=no
72333 rm -f conftest.err conftest.$ac_ext
72334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72335 echo "${ECHO_T}$ac_header_preproc" >&6
72337 # So? What about this header?
72338 case $ac_header_compiler:$ac_header_preproc in
72339 yes:no )
72340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72345 cat <<\_ASBOX
72346 ## ------------------------------------ ##
72347 ## Report this to bug-autoconf@gnu.org. ##
72348 ## ------------------------------------ ##
72349 _ASBOX
72351 sed "s/^/$as_me: WARNING: /" >&2
72353 no:yes )
72354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72361 cat <<\_ASBOX
72362 ## ------------------------------------ ##
72363 ## Report this to bug-autoconf@gnu.org. ##
72364 ## ------------------------------------ ##
72365 _ASBOX
72367 sed "s/^/$as_me: WARNING: /" >&2
72369 esac
72370 echo "$as_me:$LINENO: checking for $ac_header" >&5
72371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72373 echo $ECHO_N "(cached) $ECHO_C" >&6
72374 else
72375 eval "$as_ac_Header=$ac_header_preproc"
72377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72382 cat >>confdefs.h <<_ACEOF
72383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72384 _ACEOF
72388 done
72391 # If we're not using GNU ld, then there's no point in even trying these
72392 # tests. Check for that first. We should have already tested for gld
72393 # by now (in libtool), but require it now just to be safe...
72394 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72395 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72399 # The name set by libtool depends on the version of libtool. Shame on us
72400 # for depending on an impl detail, but c'est la vie. Older versions used
72401 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72402 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72403 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72404 # set (hence we're using an older libtool), then set it.
72405 if test x${with_gnu_ld+set} != xset; then
72406 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72407 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72408 with_gnu_ld=no
72409 else
72410 with_gnu_ld=$ac_cv_prog_gnu_ld
72414 # Start by getting the version number. I think the libtool test already
72415 # does some of this, but throws away the result.
72417 ldver=`$LD --version 2>/dev/null | head -1 | \
72418 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
72420 glibcxx_gnu_ld_version=`echo $ldver | \
72421 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72423 # Set --gc-sections.
72424 if test "$with_gnu_ld" = "notbroken"; then
72425 # GNU ld it is! Joy and bunny rabbits!
72427 # All these tests are for C++; save the language and the compiler flags.
72428 # Need to do this so that g++ won't try to link in libstdc++
72429 ac_test_CFLAGS="${CFLAGS+set}"
72430 ac_save_CFLAGS="$CFLAGS"
72431 CFLAGS='-x c++ -Wl,--gc-sections'
72433 # Check for -Wl,--gc-sections
72434 # XXX This test is broken at the moment, as symbols required for linking
72435 # are now in libsupc++ (not built yet). In addition, this test has
72436 # cored on solaris in the past. In addition, --gc-sections doesn't
72437 # really work at the moment (keeps on discarding used sections, first
72438 # .eh_frame and now some of the glibc sections for iconv).
72439 # Bzzzzt. Thanks for playing, maybe next time.
72440 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
72441 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
72442 if test "$cross_compiling" = yes; then
72443 ac_sectionLDflags=yes
72444 else
72445 cat >conftest.$ac_ext <<_ACEOF
72446 #line $LINENO "configure"
72447 /* confdefs.h. */
72448 _ACEOF
72449 cat confdefs.h >>conftest.$ac_ext
72450 cat >>conftest.$ac_ext <<_ACEOF
72451 /* end confdefs.h. */
72453 int main(void)
72455 try { throw 1; }
72456 catch (...) { };
72457 return 0;
72460 _ACEOF
72461 rm -f conftest$ac_exeext
72462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72463 (eval $ac_link) 2>&5
72464 ac_status=$?
72465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72468 (eval $ac_try) 2>&5
72469 ac_status=$?
72470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72471 (exit $ac_status); }; }; then
72472 ac_sectionLDflags=yes
72473 else
72474 echo "$as_me: program exited with status $ac_status" >&5
72475 echo "$as_me: failed program was:" >&5
72476 sed 's/^/| /' conftest.$ac_ext >&5
72478 ( exit $ac_status )
72479 ac_sectionLDflags=no
72481 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72483 if test "$ac_test_CFLAGS" = set; then
72484 CFLAGS="$ac_save_CFLAGS"
72485 else
72486 # this is the suspicious part
72487 CFLAGS=''
72489 if test "$ac_sectionLDflags" = "yes"; then
72490 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72492 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
72493 echo "${ECHO_T}$ac_sectionLDflags" >&6
72496 # Set linker optimization flags.
72497 if test x"$with_gnu_ld" = x"yes"; then
72498 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72506 echo "$as_me:$LINENO: checking for main in -lm" >&5
72507 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72508 if test "${ac_cv_lib_m_main+set}" = set; then
72509 echo $ECHO_N "(cached) $ECHO_C" >&6
72510 else
72511 ac_check_lib_save_LIBS=$LIBS
72512 LIBS="-lm $LIBS"
72513 if test x$gcc_no_link = xyes; then
72514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72516 { (exit 1); exit 1; }; }
72518 cat >conftest.$ac_ext <<_ACEOF
72519 #line $LINENO "configure"
72520 /* confdefs.h. */
72521 _ACEOF
72522 cat confdefs.h >>conftest.$ac_ext
72523 cat >>conftest.$ac_ext <<_ACEOF
72524 /* end confdefs.h. */
72528 main ()
72530 main ();
72532 return 0;
72534 _ACEOF
72535 rm -f conftest.$ac_objext conftest$ac_exeext
72536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72537 (eval $ac_link) 2>&5
72538 ac_status=$?
72539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72540 (exit $ac_status); } &&
72541 { ac_try='test -s conftest$ac_exeext'
72542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72543 (eval $ac_try) 2>&5
72544 ac_status=$?
72545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72546 (exit $ac_status); }; }; then
72547 ac_cv_lib_m_main=yes
72548 else
72549 echo "$as_me: failed program was:" >&5
72550 sed 's/^/| /' conftest.$ac_ext >&5
72552 ac_cv_lib_m_main=no
72554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72555 LIBS=$ac_check_lib_save_LIBS
72557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72558 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72559 if test $ac_cv_lib_m_main = yes; then
72560 cat >>confdefs.h <<_ACEOF
72561 #define HAVE_LIBM 1
72562 _ACEOF
72564 LIBS="-lm $LIBS"
72569 for ac_func in copysignf
72571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72572 echo "$as_me:$LINENO: checking for $ac_func" >&5
72573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72574 if eval "test \"\${$as_ac_var+set}\" = set"; then
72575 echo $ECHO_N "(cached) $ECHO_C" >&6
72576 else
72577 if test x$gcc_no_link = xyes; then
72578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72580 { (exit 1); exit 1; }; }
72582 cat >conftest.$ac_ext <<_ACEOF
72583 #line $LINENO "configure"
72584 /* confdefs.h. */
72585 _ACEOF
72586 cat confdefs.h >>conftest.$ac_ext
72587 cat >>conftest.$ac_ext <<_ACEOF
72588 /* end confdefs.h. */
72589 /* System header to define __stub macros and hopefully few prototypes,
72590 which can conflict with char $ac_func (); below.
72591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72592 <limits.h> exists even on freestanding compilers. */
72593 #ifdef __STDC__
72594 # include <limits.h>
72595 #else
72596 # include <assert.h>
72597 #endif
72598 /* Override any gcc2 internal prototype to avoid an error. */
72599 #ifdef __cplusplus
72600 extern "C"
72602 #endif
72603 /* We use char because int might match the return type of a gcc2
72604 builtin and then its argument prototype would still apply. */
72605 char $ac_func ();
72606 /* The GNU C library defines this for functions which it implements
72607 to always fail with ENOSYS. Some functions are actually named
72608 something starting with __ and the normal name is an alias. */
72609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72610 choke me
72611 #else
72612 char (*f) () = $ac_func;
72613 #endif
72614 #ifdef __cplusplus
72616 #endif
72619 main ()
72621 return f != $ac_func;
72623 return 0;
72625 _ACEOF
72626 rm -f conftest.$ac_objext conftest$ac_exeext
72627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72628 (eval $ac_link) 2>&5
72629 ac_status=$?
72630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72631 (exit $ac_status); } &&
72632 { ac_try='test -s conftest$ac_exeext'
72633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72634 (eval $ac_try) 2>&5
72635 ac_status=$?
72636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72637 (exit $ac_status); }; }; then
72638 eval "$as_ac_var=yes"
72639 else
72640 echo "$as_me: failed program was:" >&5
72641 sed 's/^/| /' conftest.$ac_ext >&5
72643 eval "$as_ac_var=no"
72645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72649 if test `eval echo '${'$as_ac_var'}'` = yes; then
72650 cat >>confdefs.h <<_ACEOF
72651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72652 _ACEOF
72654 else
72655 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72657 done
72661 for ac_func in __signbit
72663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72664 echo "$as_me:$LINENO: checking for $ac_func" >&5
72665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72666 if eval "test \"\${$as_ac_var+set}\" = set"; then
72667 echo $ECHO_N "(cached) $ECHO_C" >&6
72668 else
72669 if test x$gcc_no_link = xyes; then
72670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72672 { (exit 1); exit 1; }; }
72674 cat >conftest.$ac_ext <<_ACEOF
72675 #line $LINENO "configure"
72676 /* confdefs.h. */
72677 _ACEOF
72678 cat confdefs.h >>conftest.$ac_ext
72679 cat >>conftest.$ac_ext <<_ACEOF
72680 /* end confdefs.h. */
72681 /* System header to define __stub macros and hopefully few prototypes,
72682 which can conflict with char $ac_func (); below.
72683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72684 <limits.h> exists even on freestanding compilers. */
72685 #ifdef __STDC__
72686 # include <limits.h>
72687 #else
72688 # include <assert.h>
72689 #endif
72690 /* Override any gcc2 internal prototype to avoid an error. */
72691 #ifdef __cplusplus
72692 extern "C"
72694 #endif
72695 /* We use char because int might match the return type of a gcc2
72696 builtin and then its argument prototype would still apply. */
72697 char $ac_func ();
72698 /* The GNU C library defines this for functions which it implements
72699 to always fail with ENOSYS. Some functions are actually named
72700 something starting with __ and the normal name is an alias. */
72701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72702 choke me
72703 #else
72704 char (*f) () = $ac_func;
72705 #endif
72706 #ifdef __cplusplus
72708 #endif
72711 main ()
72713 return f != $ac_func;
72715 return 0;
72717 _ACEOF
72718 rm -f conftest.$ac_objext conftest$ac_exeext
72719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72720 (eval $ac_link) 2>&5
72721 ac_status=$?
72722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723 (exit $ac_status); } &&
72724 { ac_try='test -s conftest$ac_exeext'
72725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72726 (eval $ac_try) 2>&5
72727 ac_status=$?
72728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729 (exit $ac_status); }; }; then
72730 eval "$as_ac_var=yes"
72731 else
72732 echo "$as_me: failed program was:" >&5
72733 sed 's/^/| /' conftest.$ac_ext >&5
72735 eval "$as_ac_var=no"
72737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72741 if test `eval echo '${'$as_ac_var'}'` = yes; then
72742 cat >>confdefs.h <<_ACEOF
72743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72744 _ACEOF
72746 else
72747 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72749 done
72753 for ac_func in __signbitf
72755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72756 echo "$as_me:$LINENO: checking for $ac_func" >&5
72757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72758 if eval "test \"\${$as_ac_var+set}\" = set"; then
72759 echo $ECHO_N "(cached) $ECHO_C" >&6
72760 else
72761 if test x$gcc_no_link = xyes; then
72762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72764 { (exit 1); exit 1; }; }
72766 cat >conftest.$ac_ext <<_ACEOF
72767 #line $LINENO "configure"
72768 /* confdefs.h. */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h. */
72773 /* System header to define __stub macros and hopefully few prototypes,
72774 which can conflict with char $ac_func (); below.
72775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72776 <limits.h> exists even on freestanding compilers. */
72777 #ifdef __STDC__
72778 # include <limits.h>
72779 #else
72780 # include <assert.h>
72781 #endif
72782 /* Override any gcc2 internal prototype to avoid an error. */
72783 #ifdef __cplusplus
72784 extern "C"
72786 #endif
72787 /* We use char because int might match the return type of a gcc2
72788 builtin and then its argument prototype would still apply. */
72789 char $ac_func ();
72790 /* The GNU C library defines this for functions which it implements
72791 to always fail with ENOSYS. Some functions are actually named
72792 something starting with __ and the normal name is an alias. */
72793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72794 choke me
72795 #else
72796 char (*f) () = $ac_func;
72797 #endif
72798 #ifdef __cplusplus
72800 #endif
72803 main ()
72805 return f != $ac_func;
72807 return 0;
72809 _ACEOF
72810 rm -f conftest.$ac_objext conftest$ac_exeext
72811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72812 (eval $ac_link) 2>&5
72813 ac_status=$?
72814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72815 (exit $ac_status); } &&
72816 { ac_try='test -s conftest$ac_exeext'
72817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72818 (eval $ac_try) 2>&5
72819 ac_status=$?
72820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821 (exit $ac_status); }; }; then
72822 eval "$as_ac_var=yes"
72823 else
72824 echo "$as_me: failed program was:" >&5
72825 sed 's/^/| /' conftest.$ac_ext >&5
72827 eval "$as_ac_var=no"
72829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72833 if test `eval echo '${'$as_ac_var'}'` = yes; then
72834 cat >>confdefs.h <<_ACEOF
72835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72836 _ACEOF
72838 else
72839 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72841 done
72844 if test x$ac_cv_func_copysignl = x"yes"; then
72846 for ac_func in __signbitl
72848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72849 echo "$as_me:$LINENO: checking for $ac_func" >&5
72850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72851 if eval "test \"\${$as_ac_var+set}\" = set"; then
72852 echo $ECHO_N "(cached) $ECHO_C" >&6
72853 else
72854 if test x$gcc_no_link = xyes; then
72855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72857 { (exit 1); exit 1; }; }
72859 cat >conftest.$ac_ext <<_ACEOF
72860 #line $LINENO "configure"
72861 /* confdefs.h. */
72862 _ACEOF
72863 cat confdefs.h >>conftest.$ac_ext
72864 cat >>conftest.$ac_ext <<_ACEOF
72865 /* end confdefs.h. */
72866 /* System header to define __stub macros and hopefully few prototypes,
72867 which can conflict with char $ac_func (); below.
72868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72869 <limits.h> exists even on freestanding compilers. */
72870 #ifdef __STDC__
72871 # include <limits.h>
72872 #else
72873 # include <assert.h>
72874 #endif
72875 /* Override any gcc2 internal prototype to avoid an error. */
72876 #ifdef __cplusplus
72877 extern "C"
72879 #endif
72880 /* We use char because int might match the return type of a gcc2
72881 builtin and then its argument prototype would still apply. */
72882 char $ac_func ();
72883 /* The GNU C library defines this for functions which it implements
72884 to always fail with ENOSYS. Some functions are actually named
72885 something starting with __ and the normal name is an alias. */
72886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72887 choke me
72888 #else
72889 char (*f) () = $ac_func;
72890 #endif
72891 #ifdef __cplusplus
72893 #endif
72896 main ()
72898 return f != $ac_func;
72900 return 0;
72902 _ACEOF
72903 rm -f conftest.$ac_objext conftest$ac_exeext
72904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72905 (eval $ac_link) 2>&5
72906 ac_status=$?
72907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72908 (exit $ac_status); } &&
72909 { ac_try='test -s conftest$ac_exeext'
72910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72911 (eval $ac_try) 2>&5
72912 ac_status=$?
72913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72914 (exit $ac_status); }; }; then
72915 eval "$as_ac_var=yes"
72916 else
72917 echo "$as_me: failed program was:" >&5
72918 sed 's/^/| /' conftest.$ac_ext >&5
72920 eval "$as_ac_var=no"
72922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72926 if test `eval echo '${'$as_ac_var'}'` = yes; then
72927 cat >>confdefs.h <<_ACEOF
72928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72929 _ACEOF
72931 else
72932 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72934 done
72938 # Used in libmath/Makefile.am.
72939 if test -n "$LIBMATHOBJS"; then
72940 need_libmath=yes
72945 # Test wchar.h for mbstate_t, which is needed for char_traits and
72946 # others even if wchar_t support is not on.
72947 echo "$as_me:$LINENO: checking for mbstate_t" >&5
72948 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
72949 cat >conftest.$ac_ext <<_ACEOF
72950 #line $LINENO "configure"
72951 /* confdefs.h. */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h. */
72956 #include <wchar.h>
72958 main ()
72960 mbstate_t teststate;
72962 return 0;
72964 _ACEOF
72965 rm -f conftest.$ac_objext
72966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72967 (eval $ac_compile) 2>&5
72968 ac_status=$?
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); } &&
72971 { ac_try='test -s conftest.$ac_objext'
72972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973 (eval $ac_try) 2>&5
72974 ac_status=$?
72975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976 (exit $ac_status); }; }; then
72977 have_mbstate_t=yes
72978 else
72979 echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72982 have_mbstate_t=no
72984 rm -f conftest.$ac_objext conftest.$ac_ext
72985 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
72986 echo "${ECHO_T}$have_mbstate_t" >&6
72987 if test x"$have_mbstate_t" = xyes; then
72988 cat >>confdefs.h <<\_ACEOF
72989 #define HAVE_MBSTATE_T 1
72990 _ACEOF
72994 # Sanity check for existence of ISO C99 headers for extended encoding.
72996 for ac_header in wchar.h
72998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73000 echo "$as_me:$LINENO: checking for $ac_header" >&5
73001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73003 echo $ECHO_N "(cached) $ECHO_C" >&6
73005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73007 else
73008 # Is the header compilable?
73009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73011 cat >conftest.$ac_ext <<_ACEOF
73012 #line $LINENO "configure"
73013 /* confdefs.h. */
73014 _ACEOF
73015 cat confdefs.h >>conftest.$ac_ext
73016 cat >>conftest.$ac_ext <<_ACEOF
73017 /* end confdefs.h. */
73018 $ac_includes_default
73019 #include <$ac_header>
73020 _ACEOF
73021 rm -f conftest.$ac_objext
73022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73023 (eval $ac_compile) 2>&5
73024 ac_status=$?
73025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73026 (exit $ac_status); } &&
73027 { ac_try='test -s conftest.$ac_objext'
73028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73029 (eval $ac_try) 2>&5
73030 ac_status=$?
73031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73032 (exit $ac_status); }; }; then
73033 ac_header_compiler=yes
73034 else
73035 echo "$as_me: failed program was:" >&5
73036 sed 's/^/| /' conftest.$ac_ext >&5
73038 ac_header_compiler=no
73040 rm -f conftest.$ac_objext conftest.$ac_ext
73041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73042 echo "${ECHO_T}$ac_header_compiler" >&6
73044 # Is the header present?
73045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73047 cat >conftest.$ac_ext <<_ACEOF
73048 #line $LINENO "configure"
73049 /* confdefs.h. */
73050 _ACEOF
73051 cat confdefs.h >>conftest.$ac_ext
73052 cat >>conftest.$ac_ext <<_ACEOF
73053 /* end confdefs.h. */
73054 #include <$ac_header>
73055 _ACEOF
73056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73058 ac_status=$?
73059 grep -v '^ *+' conftest.er1 >conftest.err
73060 rm -f conftest.er1
73061 cat conftest.err >&5
73062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063 (exit $ac_status); } >/dev/null; then
73064 if test -s conftest.err; then
73065 ac_cpp_err=$ac_c_preproc_warn_flag
73066 else
73067 ac_cpp_err=
73069 else
73070 ac_cpp_err=yes
73072 if test -z "$ac_cpp_err"; then
73073 ac_header_preproc=yes
73074 else
73075 echo "$as_me: failed program was:" >&5
73076 sed 's/^/| /' conftest.$ac_ext >&5
73078 ac_header_preproc=no
73080 rm -f conftest.err conftest.$ac_ext
73081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73082 echo "${ECHO_T}$ac_header_preproc" >&6
73084 # So? What about this header?
73085 case $ac_header_compiler:$ac_header_preproc in
73086 yes:no )
73087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73092 cat <<\_ASBOX
73093 ## ------------------------------------ ##
73094 ## Report this to bug-autoconf@gnu.org. ##
73095 ## ------------------------------------ ##
73096 _ASBOX
73098 sed "s/^/$as_me: WARNING: /" >&2
73100 no:yes )
73101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73108 cat <<\_ASBOX
73109 ## ------------------------------------ ##
73110 ## Report this to bug-autoconf@gnu.org. ##
73111 ## ------------------------------------ ##
73112 _ASBOX
73114 sed "s/^/$as_me: WARNING: /" >&2
73116 esac
73117 echo "$as_me:$LINENO: checking for $ac_header" >&5
73118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73120 echo $ECHO_N "(cached) $ECHO_C" >&6
73121 else
73122 eval "$as_ac_Header=$ac_header_preproc"
73124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73129 cat >>confdefs.h <<_ACEOF
73130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73131 _ACEOF
73132 ac_has_wchar_h=yes
73133 else
73134 ac_has_wchar_h=no
73137 done
73140 for ac_header in wctype.h
73142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73144 echo "$as_me:$LINENO: checking for $ac_header" >&5
73145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73147 echo $ECHO_N "(cached) $ECHO_C" >&6
73149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73151 else
73152 # Is the header compilable?
73153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73155 cat >conftest.$ac_ext <<_ACEOF
73156 #line $LINENO "configure"
73157 /* confdefs.h. */
73158 _ACEOF
73159 cat confdefs.h >>conftest.$ac_ext
73160 cat >>conftest.$ac_ext <<_ACEOF
73161 /* end confdefs.h. */
73162 $ac_includes_default
73163 #include <$ac_header>
73164 _ACEOF
73165 rm -f conftest.$ac_objext
73166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73167 (eval $ac_compile) 2>&5
73168 ac_status=$?
73169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73170 (exit $ac_status); } &&
73171 { ac_try='test -s conftest.$ac_objext'
73172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73173 (eval $ac_try) 2>&5
73174 ac_status=$?
73175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73176 (exit $ac_status); }; }; then
73177 ac_header_compiler=yes
73178 else
73179 echo "$as_me: failed program was:" >&5
73180 sed 's/^/| /' conftest.$ac_ext >&5
73182 ac_header_compiler=no
73184 rm -f conftest.$ac_objext conftest.$ac_ext
73185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73186 echo "${ECHO_T}$ac_header_compiler" >&6
73188 # Is the header present?
73189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73191 cat >conftest.$ac_ext <<_ACEOF
73192 #line $LINENO "configure"
73193 /* confdefs.h. */
73194 _ACEOF
73195 cat confdefs.h >>conftest.$ac_ext
73196 cat >>conftest.$ac_ext <<_ACEOF
73197 /* end confdefs.h. */
73198 #include <$ac_header>
73199 _ACEOF
73200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73202 ac_status=$?
73203 grep -v '^ *+' conftest.er1 >conftest.err
73204 rm -f conftest.er1
73205 cat conftest.err >&5
73206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73207 (exit $ac_status); } >/dev/null; then
73208 if test -s conftest.err; then
73209 ac_cpp_err=$ac_c_preproc_warn_flag
73210 else
73211 ac_cpp_err=
73213 else
73214 ac_cpp_err=yes
73216 if test -z "$ac_cpp_err"; then
73217 ac_header_preproc=yes
73218 else
73219 echo "$as_me: failed program was:" >&5
73220 sed 's/^/| /' conftest.$ac_ext >&5
73222 ac_header_preproc=no
73224 rm -f conftest.err conftest.$ac_ext
73225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73226 echo "${ECHO_T}$ac_header_preproc" >&6
73228 # So? What about this header?
73229 case $ac_header_compiler:$ac_header_preproc in
73230 yes:no )
73231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73236 cat <<\_ASBOX
73237 ## ------------------------------------ ##
73238 ## Report this to bug-autoconf@gnu.org. ##
73239 ## ------------------------------------ ##
73240 _ASBOX
73242 sed "s/^/$as_me: WARNING: /" >&2
73244 no:yes )
73245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73252 cat <<\_ASBOX
73253 ## ------------------------------------ ##
73254 ## Report this to bug-autoconf@gnu.org. ##
73255 ## ------------------------------------ ##
73256 _ASBOX
73258 sed "s/^/$as_me: WARNING: /" >&2
73260 esac
73261 echo "$as_me:$LINENO: checking for $ac_header" >&5
73262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73264 echo $ECHO_N "(cached) $ECHO_C" >&6
73265 else
73266 eval "$as_ac_Header=$ac_header_preproc"
73268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73273 cat >>confdefs.h <<_ACEOF
73274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73275 _ACEOF
73276 ac_has_wctype_h=yes
73277 else
73278 ac_has_wctype_h=no
73281 done
73284 # Only continue checking if the ISO C99 headers exist and support is on.
73285 if test x"$ac_has_wchar_h" = xyes &&
73286 test x"$ac_has_wctype_h" = xyes &&
73287 test x"$enable_c_mbchar" != xno; then
73289 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73290 # numeric_limits can instantiate type_traits<wchar_t>
73291 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73292 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73293 cat >conftest.$ac_ext <<_ACEOF
73294 #line $LINENO "configure"
73295 /* confdefs.h. */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h. */
73300 #include <wchar.h>
73302 main ()
73304 int i = WCHAR_MIN; int j = WCHAR_MAX;
73306 return 0;
73308 _ACEOF
73309 rm -f conftest.$ac_objext
73310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73311 (eval $ac_compile) 2>&5
73312 ac_status=$?
73313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73314 (exit $ac_status); } &&
73315 { ac_try='test -s conftest.$ac_objext'
73316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73317 (eval $ac_try) 2>&5
73318 ac_status=$?
73319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73320 (exit $ac_status); }; }; then
73321 has_wchar_minmax=yes
73322 else
73323 echo "$as_me: failed program was:" >&5
73324 sed 's/^/| /' conftest.$ac_ext >&5
73326 has_wchar_minmax=no
73328 rm -f conftest.$ac_objext conftest.$ac_ext
73329 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73330 echo "${ECHO_T}$has_wchar_minmax" >&6
73332 # Test wchar.h for WEOF, which is what we use to determine whether
73333 # to specialize for char_traits<wchar_t> or not.
73334 echo "$as_me:$LINENO: checking for WEOF" >&5
73335 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73336 cat >conftest.$ac_ext <<_ACEOF
73337 #line $LINENO "configure"
73338 /* confdefs.h. */
73339 _ACEOF
73340 cat confdefs.h >>conftest.$ac_ext
73341 cat >>conftest.$ac_ext <<_ACEOF
73342 /* end confdefs.h. */
73344 #include <wchar.h>
73345 #include <stddef.h>
73347 main ()
73349 wint_t i = WEOF;
73351 return 0;
73353 _ACEOF
73354 rm -f conftest.$ac_objext
73355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73356 (eval $ac_compile) 2>&5
73357 ac_status=$?
73358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73359 (exit $ac_status); } &&
73360 { ac_try='test -s conftest.$ac_objext'
73361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73362 (eval $ac_try) 2>&5
73363 ac_status=$?
73364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365 (exit $ac_status); }; }; then
73366 has_weof=yes
73367 else
73368 echo "$as_me: failed program was:" >&5
73369 sed 's/^/| /' conftest.$ac_ext >&5
73371 has_weof=no
73373 rm -f conftest.$ac_objext conftest.$ac_ext
73374 echo "$as_me:$LINENO: result: $has_weof" >&5
73375 echo "${ECHO_T}$has_weof" >&6
73377 # Tests for wide character functions used in char_traits<wchar_t>.
73378 ac_wfuncs=yes
73385 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73388 echo "$as_me:$LINENO: checking for $ac_func" >&5
73389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73390 if eval "test \"\${$as_ac_var+set}\" = set"; then
73391 echo $ECHO_N "(cached) $ECHO_C" >&6
73392 else
73393 if test x$gcc_no_link = xyes; then
73394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73396 { (exit 1); exit 1; }; }
73398 cat >conftest.$ac_ext <<_ACEOF
73399 #line $LINENO "configure"
73400 /* confdefs.h. */
73401 _ACEOF
73402 cat confdefs.h >>conftest.$ac_ext
73403 cat >>conftest.$ac_ext <<_ACEOF
73404 /* end confdefs.h. */
73405 /* System header to define __stub macros and hopefully few prototypes,
73406 which can conflict with char $ac_func (); below.
73407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73408 <limits.h> exists even on freestanding compilers. */
73409 #ifdef __STDC__
73410 # include <limits.h>
73411 #else
73412 # include <assert.h>
73413 #endif
73414 /* Override any gcc2 internal prototype to avoid an error. */
73415 #ifdef __cplusplus
73416 extern "C"
73418 #endif
73419 /* We use char because int might match the return type of a gcc2
73420 builtin and then its argument prototype would still apply. */
73421 char $ac_func ();
73422 /* The GNU C library defines this for functions which it implements
73423 to always fail with ENOSYS. Some functions are actually named
73424 something starting with __ and the normal name is an alias. */
73425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73426 choke me
73427 #else
73428 char (*f) () = $ac_func;
73429 #endif
73430 #ifdef __cplusplus
73432 #endif
73435 main ()
73437 return f != $ac_func;
73439 return 0;
73441 _ACEOF
73442 rm -f conftest.$ac_objext conftest$ac_exeext
73443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73444 (eval $ac_link) 2>&5
73445 ac_status=$?
73446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73447 (exit $ac_status); } &&
73448 { ac_try='test -s conftest$ac_exeext'
73449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73450 (eval $ac_try) 2>&5
73451 ac_status=$?
73452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73453 (exit $ac_status); }; }; then
73454 eval "$as_ac_var=yes"
73455 else
73456 echo "$as_me: failed program was:" >&5
73457 sed 's/^/| /' conftest.$ac_ext >&5
73459 eval "$as_ac_var=no"
73461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73465 if test `eval echo '${'$as_ac_var'}'` = yes; then
73466 cat >>confdefs.h <<_ACEOF
73467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73470 else
73471 ac_wfuncs=no
73473 done
73476 # Checks for names injected into std:: by the c_std headers.
73523 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73524 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73525 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73526 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73527 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73528 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73531 echo "$as_me:$LINENO: checking for $ac_func" >&5
73532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73533 if eval "test \"\${$as_ac_var+set}\" = set"; then
73534 echo $ECHO_N "(cached) $ECHO_C" >&6
73535 else
73536 if test x$gcc_no_link = xyes; then
73537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73539 { (exit 1); exit 1; }; }
73541 cat >conftest.$ac_ext <<_ACEOF
73542 #line $LINENO "configure"
73543 /* confdefs.h. */
73544 _ACEOF
73545 cat confdefs.h >>conftest.$ac_ext
73546 cat >>conftest.$ac_ext <<_ACEOF
73547 /* end confdefs.h. */
73548 /* System header to define __stub macros and hopefully few prototypes,
73549 which can conflict with char $ac_func (); below.
73550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73551 <limits.h> exists even on freestanding compilers. */
73552 #ifdef __STDC__
73553 # include <limits.h>
73554 #else
73555 # include <assert.h>
73556 #endif
73557 /* Override any gcc2 internal prototype to avoid an error. */
73558 #ifdef __cplusplus
73559 extern "C"
73561 #endif
73562 /* We use char because int might match the return type of a gcc2
73563 builtin and then its argument prototype would still apply. */
73564 char $ac_func ();
73565 /* The GNU C library defines this for functions which it implements
73566 to always fail with ENOSYS. Some functions are actually named
73567 something starting with __ and the normal name is an alias. */
73568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73569 choke me
73570 #else
73571 char (*f) () = $ac_func;
73572 #endif
73573 #ifdef __cplusplus
73575 #endif
73578 main ()
73580 return f != $ac_func;
73582 return 0;
73584 _ACEOF
73585 rm -f conftest.$ac_objext conftest$ac_exeext
73586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73587 (eval $ac_link) 2>&5
73588 ac_status=$?
73589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590 (exit $ac_status); } &&
73591 { ac_try='test -s conftest$ac_exeext'
73592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73593 (eval $ac_try) 2>&5
73594 ac_status=$?
73595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73596 (exit $ac_status); }; }; then
73597 eval "$as_ac_var=yes"
73598 else
73599 echo "$as_me: failed program was:" >&5
73600 sed 's/^/| /' conftest.$ac_ext >&5
73602 eval "$as_ac_var=no"
73604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73608 if test `eval echo '${'$as_ac_var'}'` = yes; then
73609 cat >>confdefs.h <<_ACEOF
73610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73611 _ACEOF
73613 else
73614 ac_wfuncs=no
73616 done
73619 # Checks for wide character functions that are not required
73620 # for basic wchar_t support. Don't disable support if they are missing.
73621 # Injection of these is wrapped with guard macros.
73627 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73630 echo "$as_me:$LINENO: checking for $ac_func" >&5
73631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73632 if eval "test \"\${$as_ac_var+set}\" = set"; then
73633 echo $ECHO_N "(cached) $ECHO_C" >&6
73634 else
73635 if test x$gcc_no_link = xyes; then
73636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73638 { (exit 1); exit 1; }; }
73640 cat >conftest.$ac_ext <<_ACEOF
73641 #line $LINENO "configure"
73642 /* confdefs.h. */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h. */
73647 /* System header to define __stub macros and hopefully few prototypes,
73648 which can conflict with char $ac_func (); below.
73649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73650 <limits.h> exists even on freestanding compilers. */
73651 #ifdef __STDC__
73652 # include <limits.h>
73653 #else
73654 # include <assert.h>
73655 #endif
73656 /* Override any gcc2 internal prototype to avoid an error. */
73657 #ifdef __cplusplus
73658 extern "C"
73660 #endif
73661 /* We use char because int might match the return type of a gcc2
73662 builtin and then its argument prototype would still apply. */
73663 char $ac_func ();
73664 /* The GNU C library defines this for functions which it implements
73665 to always fail with ENOSYS. Some functions are actually named
73666 something starting with __ and the normal name is an alias. */
73667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73668 choke me
73669 #else
73670 char (*f) () = $ac_func;
73671 #endif
73672 #ifdef __cplusplus
73674 #endif
73677 main ()
73679 return f != $ac_func;
73681 return 0;
73683 _ACEOF
73684 rm -f conftest.$ac_objext conftest$ac_exeext
73685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73686 (eval $ac_link) 2>&5
73687 ac_status=$?
73688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73689 (exit $ac_status); } &&
73690 { ac_try='test -s conftest$ac_exeext'
73691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73692 (eval $ac_try) 2>&5
73693 ac_status=$?
73694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695 (exit $ac_status); }; }; then
73696 eval "$as_ac_var=yes"
73697 else
73698 echo "$as_me: failed program was:" >&5
73699 sed 's/^/| /' conftest.$ac_ext >&5
73701 eval "$as_ac_var=no"
73703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73707 if test `eval echo '${'$as_ac_var'}'` = yes; then
73708 cat >>confdefs.h <<_ACEOF
73709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73710 _ACEOF
73713 done
73716 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73717 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73718 if test x"$has_weof" = xyes &&
73719 test x"$has_wchar_minmax" = xyes &&
73720 test x"$ac_wfuncs" = xyes;
73721 then
73722 ac_isoC99_wchar_t=yes
73723 else
73724 ac_isoC99_wchar_t=no
73726 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73727 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73729 # Use iconv for wchar_t to char conversions. As such, check for
73730 # X/Open Portability Guide, version 2 features (XPG2).
73731 if test "${ac_cv_header_iconv_h+set}" = set; then
73732 echo "$as_me:$LINENO: checking for iconv.h" >&5
73733 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73734 if test "${ac_cv_header_iconv_h+set}" = set; then
73735 echo $ECHO_N "(cached) $ECHO_C" >&6
73737 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73738 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73739 else
73740 # Is the header compilable?
73741 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73742 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73743 cat >conftest.$ac_ext <<_ACEOF
73744 #line $LINENO "configure"
73745 /* confdefs.h. */
73746 _ACEOF
73747 cat confdefs.h >>conftest.$ac_ext
73748 cat >>conftest.$ac_ext <<_ACEOF
73749 /* end confdefs.h. */
73750 $ac_includes_default
73751 #include <iconv.h>
73752 _ACEOF
73753 rm -f conftest.$ac_objext
73754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73755 (eval $ac_compile) 2>&5
73756 ac_status=$?
73757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73758 (exit $ac_status); } &&
73759 { ac_try='test -s conftest.$ac_objext'
73760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73761 (eval $ac_try) 2>&5
73762 ac_status=$?
73763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73764 (exit $ac_status); }; }; then
73765 ac_header_compiler=yes
73766 else
73767 echo "$as_me: failed program was:" >&5
73768 sed 's/^/| /' conftest.$ac_ext >&5
73770 ac_header_compiler=no
73772 rm -f conftest.$ac_objext conftest.$ac_ext
73773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73774 echo "${ECHO_T}$ac_header_compiler" >&6
73776 # Is the header present?
73777 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73778 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73779 cat >conftest.$ac_ext <<_ACEOF
73780 #line $LINENO "configure"
73781 /* confdefs.h. */
73782 _ACEOF
73783 cat confdefs.h >>conftest.$ac_ext
73784 cat >>conftest.$ac_ext <<_ACEOF
73785 /* end confdefs.h. */
73786 #include <iconv.h>
73787 _ACEOF
73788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73790 ac_status=$?
73791 grep -v '^ *+' conftest.er1 >conftest.err
73792 rm -f conftest.er1
73793 cat conftest.err >&5
73794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73795 (exit $ac_status); } >/dev/null; then
73796 if test -s conftest.err; then
73797 ac_cpp_err=$ac_c_preproc_warn_flag
73798 else
73799 ac_cpp_err=
73801 else
73802 ac_cpp_err=yes
73804 if test -z "$ac_cpp_err"; then
73805 ac_header_preproc=yes
73806 else
73807 echo "$as_me: failed program was:" >&5
73808 sed 's/^/| /' conftest.$ac_ext >&5
73810 ac_header_preproc=no
73812 rm -f conftest.err conftest.$ac_ext
73813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73814 echo "${ECHO_T}$ac_header_preproc" >&6
73816 # So? What about this header?
73817 case $ac_header_compiler:$ac_header_preproc in
73818 yes:no )
73819 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73820 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73821 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73822 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73824 cat <<\_ASBOX
73825 ## ------------------------------------ ##
73826 ## Report this to bug-autoconf@gnu.org. ##
73827 ## ------------------------------------ ##
73828 _ASBOX
73830 sed "s/^/$as_me: WARNING: /" >&2
73832 no:yes )
73833 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73834 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73835 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73836 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73837 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73838 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73840 cat <<\_ASBOX
73841 ## ------------------------------------ ##
73842 ## Report this to bug-autoconf@gnu.org. ##
73843 ## ------------------------------------ ##
73844 _ASBOX
73846 sed "s/^/$as_me: WARNING: /" >&2
73848 esac
73849 echo "$as_me:$LINENO: checking for iconv.h" >&5
73850 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73851 if test "${ac_cv_header_iconv_h+set}" = set; then
73852 echo $ECHO_N "(cached) $ECHO_C" >&6
73853 else
73854 ac_cv_header_iconv_h=$ac_header_preproc
73856 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73857 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73860 if test $ac_cv_header_iconv_h = yes; then
73861 ac_has_iconv_h=yes
73862 else
73863 ac_has_iconv_h=no
73867 if test "${ac_cv_header_langinfo_h+set}" = set; then
73868 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73869 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73870 if test "${ac_cv_header_langinfo_h+set}" = set; then
73871 echo $ECHO_N "(cached) $ECHO_C" >&6
73873 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73874 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73875 else
73876 # Is the header compilable?
73877 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73878 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73879 cat >conftest.$ac_ext <<_ACEOF
73880 #line $LINENO "configure"
73881 /* confdefs.h. */
73882 _ACEOF
73883 cat confdefs.h >>conftest.$ac_ext
73884 cat >>conftest.$ac_ext <<_ACEOF
73885 /* end confdefs.h. */
73886 $ac_includes_default
73887 #include <langinfo.h>
73888 _ACEOF
73889 rm -f conftest.$ac_objext
73890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73891 (eval $ac_compile) 2>&5
73892 ac_status=$?
73893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73894 (exit $ac_status); } &&
73895 { ac_try='test -s conftest.$ac_objext'
73896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73897 (eval $ac_try) 2>&5
73898 ac_status=$?
73899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73900 (exit $ac_status); }; }; then
73901 ac_header_compiler=yes
73902 else
73903 echo "$as_me: failed program was:" >&5
73904 sed 's/^/| /' conftest.$ac_ext >&5
73906 ac_header_compiler=no
73908 rm -f conftest.$ac_objext conftest.$ac_ext
73909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73910 echo "${ECHO_T}$ac_header_compiler" >&6
73912 # Is the header present?
73913 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73914 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73915 cat >conftest.$ac_ext <<_ACEOF
73916 #line $LINENO "configure"
73917 /* confdefs.h. */
73918 _ACEOF
73919 cat confdefs.h >>conftest.$ac_ext
73920 cat >>conftest.$ac_ext <<_ACEOF
73921 /* end confdefs.h. */
73922 #include <langinfo.h>
73923 _ACEOF
73924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73926 ac_status=$?
73927 grep -v '^ *+' conftest.er1 >conftest.err
73928 rm -f conftest.er1
73929 cat conftest.err >&5
73930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73931 (exit $ac_status); } >/dev/null; then
73932 if test -s conftest.err; then
73933 ac_cpp_err=$ac_c_preproc_warn_flag
73934 else
73935 ac_cpp_err=
73937 else
73938 ac_cpp_err=yes
73940 if test -z "$ac_cpp_err"; then
73941 ac_header_preproc=yes
73942 else
73943 echo "$as_me: failed program was:" >&5
73944 sed 's/^/| /' conftest.$ac_ext >&5
73946 ac_header_preproc=no
73948 rm -f conftest.err conftest.$ac_ext
73949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73950 echo "${ECHO_T}$ac_header_preproc" >&6
73952 # So? What about this header?
73953 case $ac_header_compiler:$ac_header_preproc in
73954 yes:no )
73955 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73956 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73957 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73958 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73960 cat <<\_ASBOX
73961 ## ------------------------------------ ##
73962 ## Report this to bug-autoconf@gnu.org. ##
73963 ## ------------------------------------ ##
73964 _ASBOX
73966 sed "s/^/$as_me: WARNING: /" >&2
73968 no:yes )
73969 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73970 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73971 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73972 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73973 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73974 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73976 cat <<\_ASBOX
73977 ## ------------------------------------ ##
73978 ## Report this to bug-autoconf@gnu.org. ##
73979 ## ------------------------------------ ##
73980 _ASBOX
73982 sed "s/^/$as_me: WARNING: /" >&2
73984 esac
73985 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73986 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73987 if test "${ac_cv_header_langinfo_h+set}" = set; then
73988 echo $ECHO_N "(cached) $ECHO_C" >&6
73989 else
73990 ac_cv_header_langinfo_h=$ac_header_preproc
73992 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73993 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73996 if test $ac_cv_header_langinfo_h = yes; then
73997 ac_has_langinfo_h=yes
73998 else
73999 ac_has_langinfo_h=no
74004 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74005 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74006 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74007 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74008 echo $ECHO_N "(cached) $ECHO_C" >&6
74009 else
74010 ac_check_lib_save_LIBS=$LIBS
74011 LIBS="-liconv $LIBS"
74012 if test x$gcc_no_link = xyes; then
74013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74015 { (exit 1); exit 1; }; }
74017 cat >conftest.$ac_ext <<_ACEOF
74018 #line $LINENO "configure"
74019 /* confdefs.h. */
74020 _ACEOF
74021 cat confdefs.h >>conftest.$ac_ext
74022 cat >>conftest.$ac_ext <<_ACEOF
74023 /* end confdefs.h. */
74025 /* Override any gcc2 internal prototype to avoid an error. */
74026 #ifdef __cplusplus
74027 extern "C"
74028 #endif
74029 /* We use char because int might match the return type of a gcc2
74030 builtin and then its argument prototype would still apply. */
74031 char iconv ();
74033 main ()
74035 iconv ();
74037 return 0;
74039 _ACEOF
74040 rm -f conftest.$ac_objext conftest$ac_exeext
74041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74042 (eval $ac_link) 2>&5
74043 ac_status=$?
74044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74045 (exit $ac_status); } &&
74046 { ac_try='test -s conftest$ac_exeext'
74047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74048 (eval $ac_try) 2>&5
74049 ac_status=$?
74050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74051 (exit $ac_status); }; }; then
74052 ac_cv_lib_iconv_iconv=yes
74053 else
74054 echo "$as_me: failed program was:" >&5
74055 sed 's/^/| /' conftest.$ac_ext >&5
74057 ac_cv_lib_iconv_iconv=no
74059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74060 LIBS=$ac_check_lib_save_LIBS
74062 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74063 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74064 if test $ac_cv_lib_iconv_iconv = yes; then
74065 libiconv="-liconv"
74068 ac_save_LIBS="$LIBS"
74069 LIBS="$LIBS $libiconv"
74075 for ac_func in iconv_open iconv_close iconv nl_langinfo
74077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74078 echo "$as_me:$LINENO: checking for $ac_func" >&5
74079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74080 if eval "test \"\${$as_ac_var+set}\" = set"; then
74081 echo $ECHO_N "(cached) $ECHO_C" >&6
74082 else
74083 if test x$gcc_no_link = xyes; then
74084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74086 { (exit 1); exit 1; }; }
74088 cat >conftest.$ac_ext <<_ACEOF
74089 #line $LINENO "configure"
74090 /* confdefs.h. */
74091 _ACEOF
74092 cat confdefs.h >>conftest.$ac_ext
74093 cat >>conftest.$ac_ext <<_ACEOF
74094 /* end confdefs.h. */
74095 /* System header to define __stub macros and hopefully few prototypes,
74096 which can conflict with char $ac_func (); below.
74097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74098 <limits.h> exists even on freestanding compilers. */
74099 #ifdef __STDC__
74100 # include <limits.h>
74101 #else
74102 # include <assert.h>
74103 #endif
74104 /* Override any gcc2 internal prototype to avoid an error. */
74105 #ifdef __cplusplus
74106 extern "C"
74108 #endif
74109 /* We use char because int might match the return type of a gcc2
74110 builtin and then its argument prototype would still apply. */
74111 char $ac_func ();
74112 /* The GNU C library defines this for functions which it implements
74113 to always fail with ENOSYS. Some functions are actually named
74114 something starting with __ and the normal name is an alias. */
74115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74116 choke me
74117 #else
74118 char (*f) () = $ac_func;
74119 #endif
74120 #ifdef __cplusplus
74122 #endif
74125 main ()
74127 return f != $ac_func;
74129 return 0;
74131 _ACEOF
74132 rm -f conftest.$ac_objext conftest$ac_exeext
74133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74134 (eval $ac_link) 2>&5
74135 ac_status=$?
74136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74137 (exit $ac_status); } &&
74138 { ac_try='test -s conftest$ac_exeext'
74139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74140 (eval $ac_try) 2>&5
74141 ac_status=$?
74142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74143 (exit $ac_status); }; }; then
74144 eval "$as_ac_var=yes"
74145 else
74146 echo "$as_me: failed program was:" >&5
74147 sed 's/^/| /' conftest.$ac_ext >&5
74149 eval "$as_ac_var=no"
74151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74155 if test `eval echo '${'$as_ac_var'}'` = yes; then
74156 cat >>confdefs.h <<_ACEOF
74157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74158 _ACEOF
74159 ac_XPG2funcs=yes
74160 else
74161 ac_XPG2funcs=no
74163 done
74166 LIBS="$ac_save_LIBS"
74168 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74169 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74170 if test x"$ac_has_iconv_h" = xyes &&
74171 test x"$ac_has_langinfo_h" = xyes &&
74172 test x"$ac_XPG2funcs" = xyes;
74173 then
74174 ac_XPG2_wchar_t=yes
74175 else
74176 ac_XPG2_wchar_t=no
74178 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74179 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74181 # At the moment, only enable wchar_t specializations if all the
74182 # above support is present.
74183 if test x"$ac_isoC99_wchar_t" = xyes &&
74184 test x"$ac_XPG2_wchar_t" = xyes;
74185 then
74186 cat >>confdefs.h <<\_ACEOF
74187 #define _GLIBCXX_USE_WCHAR_T 1
74188 _ACEOF
74190 enable_wchar_t=yes
74193 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74194 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74195 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74196 echo "${ECHO_T}$enable_wchar_t" >&6
74199 *-netbsd*)
74212 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74213 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74214 fp.h locale.h float.h inttypes.h
74216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74218 echo "$as_me:$LINENO: checking for $ac_header" >&5
74219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74221 echo $ECHO_N "(cached) $ECHO_C" >&6
74223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74225 else
74226 # Is the header compilable?
74227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74229 cat >conftest.$ac_ext <<_ACEOF
74230 #line $LINENO "configure"
74231 /* confdefs.h. */
74232 _ACEOF
74233 cat confdefs.h >>conftest.$ac_ext
74234 cat >>conftest.$ac_ext <<_ACEOF
74235 /* end confdefs.h. */
74236 $ac_includes_default
74237 #include <$ac_header>
74238 _ACEOF
74239 rm -f conftest.$ac_objext
74240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74241 (eval $ac_compile) 2>&5
74242 ac_status=$?
74243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74244 (exit $ac_status); } &&
74245 { ac_try='test -s conftest.$ac_objext'
74246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74247 (eval $ac_try) 2>&5
74248 ac_status=$?
74249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250 (exit $ac_status); }; }; then
74251 ac_header_compiler=yes
74252 else
74253 echo "$as_me: failed program was:" >&5
74254 sed 's/^/| /' conftest.$ac_ext >&5
74256 ac_header_compiler=no
74258 rm -f conftest.$ac_objext conftest.$ac_ext
74259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74260 echo "${ECHO_T}$ac_header_compiler" >&6
74262 # Is the header present?
74263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74265 cat >conftest.$ac_ext <<_ACEOF
74266 #line $LINENO "configure"
74267 /* confdefs.h. */
74268 _ACEOF
74269 cat confdefs.h >>conftest.$ac_ext
74270 cat >>conftest.$ac_ext <<_ACEOF
74271 /* end confdefs.h. */
74272 #include <$ac_header>
74273 _ACEOF
74274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74276 ac_status=$?
74277 grep -v '^ *+' conftest.er1 >conftest.err
74278 rm -f conftest.er1
74279 cat conftest.err >&5
74280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74281 (exit $ac_status); } >/dev/null; then
74282 if test -s conftest.err; then
74283 ac_cpp_err=$ac_c_preproc_warn_flag
74284 else
74285 ac_cpp_err=
74287 else
74288 ac_cpp_err=yes
74290 if test -z "$ac_cpp_err"; then
74291 ac_header_preproc=yes
74292 else
74293 echo "$as_me: failed program was:" >&5
74294 sed 's/^/| /' conftest.$ac_ext >&5
74296 ac_header_preproc=no
74298 rm -f conftest.err conftest.$ac_ext
74299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74300 echo "${ECHO_T}$ac_header_preproc" >&6
74302 # So? What about this header?
74303 case $ac_header_compiler:$ac_header_preproc in
74304 yes:no )
74305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74310 cat <<\_ASBOX
74311 ## ------------------------------------ ##
74312 ## Report this to bug-autoconf@gnu.org. ##
74313 ## ------------------------------------ ##
74314 _ASBOX
74316 sed "s/^/$as_me: WARNING: /" >&2
74318 no:yes )
74319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74326 cat <<\_ASBOX
74327 ## ------------------------------------ ##
74328 ## Report this to bug-autoconf@gnu.org. ##
74329 ## ------------------------------------ ##
74330 _ASBOX
74332 sed "s/^/$as_me: WARNING: /" >&2
74334 esac
74335 echo "$as_me:$LINENO: checking for $ac_header" >&5
74336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74338 echo $ECHO_N "(cached) $ECHO_C" >&6
74339 else
74340 eval "$as_ac_Header=$ac_header_preproc"
74342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74347 cat >>confdefs.h <<_ACEOF
74348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74349 _ACEOF
74353 done
74355 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74358 # If we're not using GNU ld, then there's no point in even trying these
74359 # tests. Check for that first. We should have already tested for gld
74360 # by now (in libtool), but require it now just to be safe...
74361 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74362 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74366 # The name set by libtool depends on the version of libtool. Shame on us
74367 # for depending on an impl detail, but c'est la vie. Older versions used
74368 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74369 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74370 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74371 # set (hence we're using an older libtool), then set it.
74372 if test x${with_gnu_ld+set} != xset; then
74373 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74374 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74375 with_gnu_ld=no
74376 else
74377 with_gnu_ld=$ac_cv_prog_gnu_ld
74381 # Start by getting the version number. I think the libtool test already
74382 # does some of this, but throws away the result.
74384 ldver=`$LD --version 2>/dev/null | head -1 | \
74385 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74387 glibcxx_gnu_ld_version=`echo $ldver | \
74388 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74390 # Set --gc-sections.
74391 if test "$with_gnu_ld" = "notbroken"; then
74392 # GNU ld it is! Joy and bunny rabbits!
74394 # All these tests are for C++; save the language and the compiler flags.
74395 # Need to do this so that g++ won't try to link in libstdc++
74396 ac_test_CFLAGS="${CFLAGS+set}"
74397 ac_save_CFLAGS="$CFLAGS"
74398 CFLAGS='-x c++ -Wl,--gc-sections'
74400 # Check for -Wl,--gc-sections
74401 # XXX This test is broken at the moment, as symbols required for linking
74402 # are now in libsupc++ (not built yet). In addition, this test has
74403 # cored on solaris in the past. In addition, --gc-sections doesn't
74404 # really work at the moment (keeps on discarding used sections, first
74405 # .eh_frame and now some of the glibc sections for iconv).
74406 # Bzzzzt. Thanks for playing, maybe next time.
74407 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74408 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74409 if test "$cross_compiling" = yes; then
74410 ac_sectionLDflags=yes
74411 else
74412 cat >conftest.$ac_ext <<_ACEOF
74413 #line $LINENO "configure"
74414 /* confdefs.h. */
74415 _ACEOF
74416 cat confdefs.h >>conftest.$ac_ext
74417 cat >>conftest.$ac_ext <<_ACEOF
74418 /* end confdefs.h. */
74420 int main(void)
74422 try { throw 1; }
74423 catch (...) { };
74424 return 0;
74427 _ACEOF
74428 rm -f conftest$ac_exeext
74429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74430 (eval $ac_link) 2>&5
74431 ac_status=$?
74432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74435 (eval $ac_try) 2>&5
74436 ac_status=$?
74437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74438 (exit $ac_status); }; }; then
74439 ac_sectionLDflags=yes
74440 else
74441 echo "$as_me: program exited with status $ac_status" >&5
74442 echo "$as_me: failed program was:" >&5
74443 sed 's/^/| /' conftest.$ac_ext >&5
74445 ( exit $ac_status )
74446 ac_sectionLDflags=no
74448 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74450 if test "$ac_test_CFLAGS" = set; then
74451 CFLAGS="$ac_save_CFLAGS"
74452 else
74453 # this is the suspicious part
74454 CFLAGS=''
74456 if test "$ac_sectionLDflags" = "yes"; then
74457 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74459 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74460 echo "${ECHO_T}$ac_sectionLDflags" >&6
74463 # Set linker optimization flags.
74464 if test x"$with_gnu_ld" = x"yes"; then
74465 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74473 echo "$as_me:$LINENO: checking for main in -lm" >&5
74474 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74475 if test "${ac_cv_lib_m_main+set}" = set; then
74476 echo $ECHO_N "(cached) $ECHO_C" >&6
74477 else
74478 ac_check_lib_save_LIBS=$LIBS
74479 LIBS="-lm $LIBS"
74480 if test x$gcc_no_link = xyes; then
74481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74483 { (exit 1); exit 1; }; }
74485 cat >conftest.$ac_ext <<_ACEOF
74486 #line $LINENO "configure"
74487 /* confdefs.h. */
74488 _ACEOF
74489 cat confdefs.h >>conftest.$ac_ext
74490 cat >>conftest.$ac_ext <<_ACEOF
74491 /* end confdefs.h. */
74495 main ()
74497 main ();
74499 return 0;
74501 _ACEOF
74502 rm -f conftest.$ac_objext conftest$ac_exeext
74503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74504 (eval $ac_link) 2>&5
74505 ac_status=$?
74506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507 (exit $ac_status); } &&
74508 { ac_try='test -s conftest$ac_exeext'
74509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510 (eval $ac_try) 2>&5
74511 ac_status=$?
74512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513 (exit $ac_status); }; }; then
74514 ac_cv_lib_m_main=yes
74515 else
74516 echo "$as_me: failed program was:" >&5
74517 sed 's/^/| /' conftest.$ac_ext >&5
74519 ac_cv_lib_m_main=no
74521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74522 LIBS=$ac_check_lib_save_LIBS
74524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74525 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74526 if test $ac_cv_lib_m_main = yes; then
74527 cat >>confdefs.h <<_ACEOF
74528 #define HAVE_LIBM 1
74529 _ACEOF
74531 LIBS="-lm $LIBS"
74536 for ac_func in copysignf
74538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74539 echo "$as_me:$LINENO: checking for $ac_func" >&5
74540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74541 if eval "test \"\${$as_ac_var+set}\" = set"; then
74542 echo $ECHO_N "(cached) $ECHO_C" >&6
74543 else
74544 if test x$gcc_no_link = xyes; then
74545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74547 { (exit 1); exit 1; }; }
74549 cat >conftest.$ac_ext <<_ACEOF
74550 #line $LINENO "configure"
74551 /* confdefs.h. */
74552 _ACEOF
74553 cat confdefs.h >>conftest.$ac_ext
74554 cat >>conftest.$ac_ext <<_ACEOF
74555 /* end confdefs.h. */
74556 /* System header to define __stub macros and hopefully few prototypes,
74557 which can conflict with char $ac_func (); below.
74558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74559 <limits.h> exists even on freestanding compilers. */
74560 #ifdef __STDC__
74561 # include <limits.h>
74562 #else
74563 # include <assert.h>
74564 #endif
74565 /* Override any gcc2 internal prototype to avoid an error. */
74566 #ifdef __cplusplus
74567 extern "C"
74569 #endif
74570 /* We use char because int might match the return type of a gcc2
74571 builtin and then its argument prototype would still apply. */
74572 char $ac_func ();
74573 /* The GNU C library defines this for functions which it implements
74574 to always fail with ENOSYS. Some functions are actually named
74575 something starting with __ and the normal name is an alias. */
74576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74577 choke me
74578 #else
74579 char (*f) () = $ac_func;
74580 #endif
74581 #ifdef __cplusplus
74583 #endif
74586 main ()
74588 return f != $ac_func;
74590 return 0;
74592 _ACEOF
74593 rm -f conftest.$ac_objext conftest$ac_exeext
74594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74595 (eval $ac_link) 2>&5
74596 ac_status=$?
74597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74598 (exit $ac_status); } &&
74599 { ac_try='test -s conftest$ac_exeext'
74600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74601 (eval $ac_try) 2>&5
74602 ac_status=$?
74603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74604 (exit $ac_status); }; }; then
74605 eval "$as_ac_var=yes"
74606 else
74607 echo "$as_me: failed program was:" >&5
74608 sed 's/^/| /' conftest.$ac_ext >&5
74610 eval "$as_ac_var=no"
74612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74616 if test `eval echo '${'$as_ac_var'}'` = yes; then
74617 cat >>confdefs.h <<_ACEOF
74618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74619 _ACEOF
74621 else
74622 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74624 done
74628 for ac_func in __signbit
74630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74631 echo "$as_me:$LINENO: checking for $ac_func" >&5
74632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74633 if eval "test \"\${$as_ac_var+set}\" = set"; then
74634 echo $ECHO_N "(cached) $ECHO_C" >&6
74635 else
74636 if test x$gcc_no_link = xyes; then
74637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74639 { (exit 1); exit 1; }; }
74641 cat >conftest.$ac_ext <<_ACEOF
74642 #line $LINENO "configure"
74643 /* confdefs.h. */
74644 _ACEOF
74645 cat confdefs.h >>conftest.$ac_ext
74646 cat >>conftest.$ac_ext <<_ACEOF
74647 /* end confdefs.h. */
74648 /* System header to define __stub macros and hopefully few prototypes,
74649 which can conflict with char $ac_func (); below.
74650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74651 <limits.h> exists even on freestanding compilers. */
74652 #ifdef __STDC__
74653 # include <limits.h>
74654 #else
74655 # include <assert.h>
74656 #endif
74657 /* Override any gcc2 internal prototype to avoid an error. */
74658 #ifdef __cplusplus
74659 extern "C"
74661 #endif
74662 /* We use char because int might match the return type of a gcc2
74663 builtin and then its argument prototype would still apply. */
74664 char $ac_func ();
74665 /* The GNU C library defines this for functions which it implements
74666 to always fail with ENOSYS. Some functions are actually named
74667 something starting with __ and the normal name is an alias. */
74668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74669 choke me
74670 #else
74671 char (*f) () = $ac_func;
74672 #endif
74673 #ifdef __cplusplus
74675 #endif
74678 main ()
74680 return f != $ac_func;
74682 return 0;
74684 _ACEOF
74685 rm -f conftest.$ac_objext conftest$ac_exeext
74686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74687 (eval $ac_link) 2>&5
74688 ac_status=$?
74689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74690 (exit $ac_status); } &&
74691 { ac_try='test -s conftest$ac_exeext'
74692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74693 (eval $ac_try) 2>&5
74694 ac_status=$?
74695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74696 (exit $ac_status); }; }; then
74697 eval "$as_ac_var=yes"
74698 else
74699 echo "$as_me: failed program was:" >&5
74700 sed 's/^/| /' conftest.$ac_ext >&5
74702 eval "$as_ac_var=no"
74704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74708 if test `eval echo '${'$as_ac_var'}'` = yes; then
74709 cat >>confdefs.h <<_ACEOF
74710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74711 _ACEOF
74713 else
74714 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74716 done
74720 for ac_func in __signbitf
74722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74723 echo "$as_me:$LINENO: checking for $ac_func" >&5
74724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74725 if eval "test \"\${$as_ac_var+set}\" = set"; then
74726 echo $ECHO_N "(cached) $ECHO_C" >&6
74727 else
74728 if test x$gcc_no_link = xyes; then
74729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74731 { (exit 1); exit 1; }; }
74733 cat >conftest.$ac_ext <<_ACEOF
74734 #line $LINENO "configure"
74735 /* confdefs.h. */
74736 _ACEOF
74737 cat confdefs.h >>conftest.$ac_ext
74738 cat >>conftest.$ac_ext <<_ACEOF
74739 /* end confdefs.h. */
74740 /* System header to define __stub macros and hopefully few prototypes,
74741 which can conflict with char $ac_func (); below.
74742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74743 <limits.h> exists even on freestanding compilers. */
74744 #ifdef __STDC__
74745 # include <limits.h>
74746 #else
74747 # include <assert.h>
74748 #endif
74749 /* Override any gcc2 internal prototype to avoid an error. */
74750 #ifdef __cplusplus
74751 extern "C"
74753 #endif
74754 /* We use char because int might match the return type of a gcc2
74755 builtin and then its argument prototype would still apply. */
74756 char $ac_func ();
74757 /* The GNU C library defines this for functions which it implements
74758 to always fail with ENOSYS. Some functions are actually named
74759 something starting with __ and the normal name is an alias. */
74760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74761 choke me
74762 #else
74763 char (*f) () = $ac_func;
74764 #endif
74765 #ifdef __cplusplus
74767 #endif
74770 main ()
74772 return f != $ac_func;
74774 return 0;
74776 _ACEOF
74777 rm -f conftest.$ac_objext conftest$ac_exeext
74778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74779 (eval $ac_link) 2>&5
74780 ac_status=$?
74781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74782 (exit $ac_status); } &&
74783 { ac_try='test -s conftest$ac_exeext'
74784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74785 (eval $ac_try) 2>&5
74786 ac_status=$?
74787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74788 (exit $ac_status); }; }; then
74789 eval "$as_ac_var=yes"
74790 else
74791 echo "$as_me: failed program was:" >&5
74792 sed 's/^/| /' conftest.$ac_ext >&5
74794 eval "$as_ac_var=no"
74796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74800 if test `eval echo '${'$as_ac_var'}'` = yes; then
74801 cat >>confdefs.h <<_ACEOF
74802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74803 _ACEOF
74805 else
74806 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74808 done
74811 if test x$ac_cv_func_copysignl = x"yes"; then
74813 for ac_func in __signbitl
74815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74816 echo "$as_me:$LINENO: checking for $ac_func" >&5
74817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74818 if eval "test \"\${$as_ac_var+set}\" = set"; then
74819 echo $ECHO_N "(cached) $ECHO_C" >&6
74820 else
74821 if test x$gcc_no_link = xyes; then
74822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74824 { (exit 1); exit 1; }; }
74826 cat >conftest.$ac_ext <<_ACEOF
74827 #line $LINENO "configure"
74828 /* confdefs.h. */
74829 _ACEOF
74830 cat confdefs.h >>conftest.$ac_ext
74831 cat >>conftest.$ac_ext <<_ACEOF
74832 /* end confdefs.h. */
74833 /* System header to define __stub macros and hopefully few prototypes,
74834 which can conflict with char $ac_func (); below.
74835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74836 <limits.h> exists even on freestanding compilers. */
74837 #ifdef __STDC__
74838 # include <limits.h>
74839 #else
74840 # include <assert.h>
74841 #endif
74842 /* Override any gcc2 internal prototype to avoid an error. */
74843 #ifdef __cplusplus
74844 extern "C"
74846 #endif
74847 /* We use char because int might match the return type of a gcc2
74848 builtin and then its argument prototype would still apply. */
74849 char $ac_func ();
74850 /* The GNU C library defines this for functions which it implements
74851 to always fail with ENOSYS. Some functions are actually named
74852 something starting with __ and the normal name is an alias. */
74853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74854 choke me
74855 #else
74856 char (*f) () = $ac_func;
74857 #endif
74858 #ifdef __cplusplus
74860 #endif
74863 main ()
74865 return f != $ac_func;
74867 return 0;
74869 _ACEOF
74870 rm -f conftest.$ac_objext conftest$ac_exeext
74871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74872 (eval $ac_link) 2>&5
74873 ac_status=$?
74874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74875 (exit $ac_status); } &&
74876 { ac_try='test -s conftest$ac_exeext'
74877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74878 (eval $ac_try) 2>&5
74879 ac_status=$?
74880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74881 (exit $ac_status); }; }; then
74882 eval "$as_ac_var=yes"
74883 else
74884 echo "$as_me: failed program was:" >&5
74885 sed 's/^/| /' conftest.$ac_ext >&5
74887 eval "$as_ac_var=no"
74889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74893 if test `eval echo '${'$as_ac_var'}'` = yes; then
74894 cat >>confdefs.h <<_ACEOF
74895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74896 _ACEOF
74898 else
74899 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74901 done
74905 # Used in libmath/Makefile.am.
74906 if test -n "$LIBMATHOBJS"; then
74907 need_libmath=yes
74912 # Test wchar.h for mbstate_t, which is needed for char_traits and
74913 # others even if wchar_t support is not on.
74914 echo "$as_me:$LINENO: checking for mbstate_t" >&5
74915 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
74916 cat >conftest.$ac_ext <<_ACEOF
74917 #line $LINENO "configure"
74918 /* confdefs.h. */
74919 _ACEOF
74920 cat confdefs.h >>conftest.$ac_ext
74921 cat >>conftest.$ac_ext <<_ACEOF
74922 /* end confdefs.h. */
74923 #include <wchar.h>
74925 main ()
74927 mbstate_t teststate;
74929 return 0;
74931 _ACEOF
74932 rm -f conftest.$ac_objext
74933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74934 (eval $ac_compile) 2>&5
74935 ac_status=$?
74936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74937 (exit $ac_status); } &&
74938 { ac_try='test -s conftest.$ac_objext'
74939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74940 (eval $ac_try) 2>&5
74941 ac_status=$?
74942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74943 (exit $ac_status); }; }; then
74944 have_mbstate_t=yes
74945 else
74946 echo "$as_me: failed program was:" >&5
74947 sed 's/^/| /' conftest.$ac_ext >&5
74949 have_mbstate_t=no
74951 rm -f conftest.$ac_objext conftest.$ac_ext
74952 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
74953 echo "${ECHO_T}$have_mbstate_t" >&6
74954 if test x"$have_mbstate_t" = xyes; then
74955 cat >>confdefs.h <<\_ACEOF
74956 #define HAVE_MBSTATE_T 1
74957 _ACEOF
74961 # Sanity check for existence of ISO C99 headers for extended encoding.
74963 for ac_header in wchar.h
74965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74967 echo "$as_me:$LINENO: checking for $ac_header" >&5
74968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74970 echo $ECHO_N "(cached) $ECHO_C" >&6
74972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74974 else
74975 # Is the header compilable?
74976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74978 cat >conftest.$ac_ext <<_ACEOF
74979 #line $LINENO "configure"
74980 /* confdefs.h. */
74981 _ACEOF
74982 cat confdefs.h >>conftest.$ac_ext
74983 cat >>conftest.$ac_ext <<_ACEOF
74984 /* end confdefs.h. */
74985 $ac_includes_default
74986 #include <$ac_header>
74987 _ACEOF
74988 rm -f conftest.$ac_objext
74989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74990 (eval $ac_compile) 2>&5
74991 ac_status=$?
74992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74993 (exit $ac_status); } &&
74994 { ac_try='test -s conftest.$ac_objext'
74995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74996 (eval $ac_try) 2>&5
74997 ac_status=$?
74998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999 (exit $ac_status); }; }; then
75000 ac_header_compiler=yes
75001 else
75002 echo "$as_me: failed program was:" >&5
75003 sed 's/^/| /' conftest.$ac_ext >&5
75005 ac_header_compiler=no
75007 rm -f conftest.$ac_objext conftest.$ac_ext
75008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75009 echo "${ECHO_T}$ac_header_compiler" >&6
75011 # Is the header present?
75012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75014 cat >conftest.$ac_ext <<_ACEOF
75015 #line $LINENO "configure"
75016 /* confdefs.h. */
75017 _ACEOF
75018 cat confdefs.h >>conftest.$ac_ext
75019 cat >>conftest.$ac_ext <<_ACEOF
75020 /* end confdefs.h. */
75021 #include <$ac_header>
75022 _ACEOF
75023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75025 ac_status=$?
75026 grep -v '^ *+' conftest.er1 >conftest.err
75027 rm -f conftest.er1
75028 cat conftest.err >&5
75029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75030 (exit $ac_status); } >/dev/null; then
75031 if test -s conftest.err; then
75032 ac_cpp_err=$ac_c_preproc_warn_flag
75033 else
75034 ac_cpp_err=
75036 else
75037 ac_cpp_err=yes
75039 if test -z "$ac_cpp_err"; then
75040 ac_header_preproc=yes
75041 else
75042 echo "$as_me: failed program was:" >&5
75043 sed 's/^/| /' conftest.$ac_ext >&5
75045 ac_header_preproc=no
75047 rm -f conftest.err conftest.$ac_ext
75048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75049 echo "${ECHO_T}$ac_header_preproc" >&6
75051 # So? What about this header?
75052 case $ac_header_compiler:$ac_header_preproc in
75053 yes:no )
75054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75059 cat <<\_ASBOX
75060 ## ------------------------------------ ##
75061 ## Report this to bug-autoconf@gnu.org. ##
75062 ## ------------------------------------ ##
75063 _ASBOX
75065 sed "s/^/$as_me: WARNING: /" >&2
75067 no:yes )
75068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75075 cat <<\_ASBOX
75076 ## ------------------------------------ ##
75077 ## Report this to bug-autoconf@gnu.org. ##
75078 ## ------------------------------------ ##
75079 _ASBOX
75081 sed "s/^/$as_me: WARNING: /" >&2
75083 esac
75084 echo "$as_me:$LINENO: checking for $ac_header" >&5
75085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75087 echo $ECHO_N "(cached) $ECHO_C" >&6
75088 else
75089 eval "$as_ac_Header=$ac_header_preproc"
75091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75096 cat >>confdefs.h <<_ACEOF
75097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75098 _ACEOF
75099 ac_has_wchar_h=yes
75100 else
75101 ac_has_wchar_h=no
75104 done
75107 for ac_header in wctype.h
75109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75111 echo "$as_me:$LINENO: checking for $ac_header" >&5
75112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75114 echo $ECHO_N "(cached) $ECHO_C" >&6
75116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75118 else
75119 # Is the header compilable?
75120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75122 cat >conftest.$ac_ext <<_ACEOF
75123 #line $LINENO "configure"
75124 /* confdefs.h. */
75125 _ACEOF
75126 cat confdefs.h >>conftest.$ac_ext
75127 cat >>conftest.$ac_ext <<_ACEOF
75128 /* end confdefs.h. */
75129 $ac_includes_default
75130 #include <$ac_header>
75131 _ACEOF
75132 rm -f conftest.$ac_objext
75133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75134 (eval $ac_compile) 2>&5
75135 ac_status=$?
75136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75137 (exit $ac_status); } &&
75138 { ac_try='test -s conftest.$ac_objext'
75139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75140 (eval $ac_try) 2>&5
75141 ac_status=$?
75142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75143 (exit $ac_status); }; }; then
75144 ac_header_compiler=yes
75145 else
75146 echo "$as_me: failed program was:" >&5
75147 sed 's/^/| /' conftest.$ac_ext >&5
75149 ac_header_compiler=no
75151 rm -f conftest.$ac_objext conftest.$ac_ext
75152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75153 echo "${ECHO_T}$ac_header_compiler" >&6
75155 # Is the header present?
75156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75158 cat >conftest.$ac_ext <<_ACEOF
75159 #line $LINENO "configure"
75160 /* confdefs.h. */
75161 _ACEOF
75162 cat confdefs.h >>conftest.$ac_ext
75163 cat >>conftest.$ac_ext <<_ACEOF
75164 /* end confdefs.h. */
75165 #include <$ac_header>
75166 _ACEOF
75167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75169 ac_status=$?
75170 grep -v '^ *+' conftest.er1 >conftest.err
75171 rm -f conftest.er1
75172 cat conftest.err >&5
75173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174 (exit $ac_status); } >/dev/null; then
75175 if test -s conftest.err; then
75176 ac_cpp_err=$ac_c_preproc_warn_flag
75177 else
75178 ac_cpp_err=
75180 else
75181 ac_cpp_err=yes
75183 if test -z "$ac_cpp_err"; then
75184 ac_header_preproc=yes
75185 else
75186 echo "$as_me: failed program was:" >&5
75187 sed 's/^/| /' conftest.$ac_ext >&5
75189 ac_header_preproc=no
75191 rm -f conftest.err conftest.$ac_ext
75192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75193 echo "${ECHO_T}$ac_header_preproc" >&6
75195 # So? What about this header?
75196 case $ac_header_compiler:$ac_header_preproc in
75197 yes:no )
75198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75203 cat <<\_ASBOX
75204 ## ------------------------------------ ##
75205 ## Report this to bug-autoconf@gnu.org. ##
75206 ## ------------------------------------ ##
75207 _ASBOX
75209 sed "s/^/$as_me: WARNING: /" >&2
75211 no:yes )
75212 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75214 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75215 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75219 cat <<\_ASBOX
75220 ## ------------------------------------ ##
75221 ## Report this to bug-autoconf@gnu.org. ##
75222 ## ------------------------------------ ##
75223 _ASBOX
75225 sed "s/^/$as_me: WARNING: /" >&2
75227 esac
75228 echo "$as_me:$LINENO: checking for $ac_header" >&5
75229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75231 echo $ECHO_N "(cached) $ECHO_C" >&6
75232 else
75233 eval "$as_ac_Header=$ac_header_preproc"
75235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75240 cat >>confdefs.h <<_ACEOF
75241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75242 _ACEOF
75243 ac_has_wctype_h=yes
75244 else
75245 ac_has_wctype_h=no
75248 done
75251 # Only continue checking if the ISO C99 headers exist and support is on.
75252 if test x"$ac_has_wchar_h" = xyes &&
75253 test x"$ac_has_wctype_h" = xyes &&
75254 test x"$enable_c_mbchar" != xno; then
75256 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
75257 # numeric_limits can instantiate type_traits<wchar_t>
75258 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
75259 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
75260 cat >conftest.$ac_ext <<_ACEOF
75261 #line $LINENO "configure"
75262 /* confdefs.h. */
75263 _ACEOF
75264 cat confdefs.h >>conftest.$ac_ext
75265 cat >>conftest.$ac_ext <<_ACEOF
75266 /* end confdefs.h. */
75267 #include <wchar.h>
75269 main ()
75271 int i = WCHAR_MIN; int j = WCHAR_MAX;
75273 return 0;
75275 _ACEOF
75276 rm -f conftest.$ac_objext
75277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75278 (eval $ac_compile) 2>&5
75279 ac_status=$?
75280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75281 (exit $ac_status); } &&
75282 { ac_try='test -s conftest.$ac_objext'
75283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75284 (eval $ac_try) 2>&5
75285 ac_status=$?
75286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75287 (exit $ac_status); }; }; then
75288 has_wchar_minmax=yes
75289 else
75290 echo "$as_me: failed program was:" >&5
75291 sed 's/^/| /' conftest.$ac_ext >&5
75293 has_wchar_minmax=no
75295 rm -f conftest.$ac_objext conftest.$ac_ext
75296 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
75297 echo "${ECHO_T}$has_wchar_minmax" >&6
75299 # Test wchar.h for WEOF, which is what we use to determine whether
75300 # to specialize for char_traits<wchar_t> or not.
75301 echo "$as_me:$LINENO: checking for WEOF" >&5
75302 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
75303 cat >conftest.$ac_ext <<_ACEOF
75304 #line $LINENO "configure"
75305 /* confdefs.h. */
75306 _ACEOF
75307 cat confdefs.h >>conftest.$ac_ext
75308 cat >>conftest.$ac_ext <<_ACEOF
75309 /* end confdefs.h. */
75311 #include <wchar.h>
75312 #include <stddef.h>
75314 main ()
75316 wint_t i = WEOF;
75318 return 0;
75320 _ACEOF
75321 rm -f conftest.$ac_objext
75322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75323 (eval $ac_compile) 2>&5
75324 ac_status=$?
75325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75326 (exit $ac_status); } &&
75327 { ac_try='test -s conftest.$ac_objext'
75328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75329 (eval $ac_try) 2>&5
75330 ac_status=$?
75331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75332 (exit $ac_status); }; }; then
75333 has_weof=yes
75334 else
75335 echo "$as_me: failed program was:" >&5
75336 sed 's/^/| /' conftest.$ac_ext >&5
75338 has_weof=no
75340 rm -f conftest.$ac_objext conftest.$ac_ext
75341 echo "$as_me:$LINENO: result: $has_weof" >&5
75342 echo "${ECHO_T}$has_weof" >&6
75344 # Tests for wide character functions used in char_traits<wchar_t>.
75345 ac_wfuncs=yes
75352 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
75354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75355 echo "$as_me:$LINENO: checking for $ac_func" >&5
75356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75357 if eval "test \"\${$as_ac_var+set}\" = set"; then
75358 echo $ECHO_N "(cached) $ECHO_C" >&6
75359 else
75360 if test x$gcc_no_link = xyes; then
75361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75363 { (exit 1); exit 1; }; }
75365 cat >conftest.$ac_ext <<_ACEOF
75366 #line $LINENO "configure"
75367 /* confdefs.h. */
75368 _ACEOF
75369 cat confdefs.h >>conftest.$ac_ext
75370 cat >>conftest.$ac_ext <<_ACEOF
75371 /* end confdefs.h. */
75372 /* System header to define __stub macros and hopefully few prototypes,
75373 which can conflict with char $ac_func (); below.
75374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75375 <limits.h> exists even on freestanding compilers. */
75376 #ifdef __STDC__
75377 # include <limits.h>
75378 #else
75379 # include <assert.h>
75380 #endif
75381 /* Override any gcc2 internal prototype to avoid an error. */
75382 #ifdef __cplusplus
75383 extern "C"
75385 #endif
75386 /* We use char because int might match the return type of a gcc2
75387 builtin and then its argument prototype would still apply. */
75388 char $ac_func ();
75389 /* The GNU C library defines this for functions which it implements
75390 to always fail with ENOSYS. Some functions are actually named
75391 something starting with __ and the normal name is an alias. */
75392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75393 choke me
75394 #else
75395 char (*f) () = $ac_func;
75396 #endif
75397 #ifdef __cplusplus
75399 #endif
75402 main ()
75404 return f != $ac_func;
75406 return 0;
75408 _ACEOF
75409 rm -f conftest.$ac_objext conftest$ac_exeext
75410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75411 (eval $ac_link) 2>&5
75412 ac_status=$?
75413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75414 (exit $ac_status); } &&
75415 { ac_try='test -s conftest$ac_exeext'
75416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75417 (eval $ac_try) 2>&5
75418 ac_status=$?
75419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75420 (exit $ac_status); }; }; then
75421 eval "$as_ac_var=yes"
75422 else
75423 echo "$as_me: failed program was:" >&5
75424 sed 's/^/| /' conftest.$ac_ext >&5
75426 eval "$as_ac_var=no"
75428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75432 if test `eval echo '${'$as_ac_var'}'` = yes; then
75433 cat >>confdefs.h <<_ACEOF
75434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75435 _ACEOF
75437 else
75438 ac_wfuncs=no
75440 done
75443 # Checks for names injected into std:: by the c_std headers.
75490 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
75491 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
75492 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
75493 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
75494 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
75495 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
75497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75498 echo "$as_me:$LINENO: checking for $ac_func" >&5
75499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75500 if eval "test \"\${$as_ac_var+set}\" = set"; then
75501 echo $ECHO_N "(cached) $ECHO_C" >&6
75502 else
75503 if test x$gcc_no_link = xyes; then
75504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75506 { (exit 1); exit 1; }; }
75508 cat >conftest.$ac_ext <<_ACEOF
75509 #line $LINENO "configure"
75510 /* confdefs.h. */
75511 _ACEOF
75512 cat confdefs.h >>conftest.$ac_ext
75513 cat >>conftest.$ac_ext <<_ACEOF
75514 /* end confdefs.h. */
75515 /* System header to define __stub macros and hopefully few prototypes,
75516 which can conflict with char $ac_func (); below.
75517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75518 <limits.h> exists even on freestanding compilers. */
75519 #ifdef __STDC__
75520 # include <limits.h>
75521 #else
75522 # include <assert.h>
75523 #endif
75524 /* Override any gcc2 internal prototype to avoid an error. */
75525 #ifdef __cplusplus
75526 extern "C"
75528 #endif
75529 /* We use char because int might match the return type of a gcc2
75530 builtin and then its argument prototype would still apply. */
75531 char $ac_func ();
75532 /* The GNU C library defines this for functions which it implements
75533 to always fail with ENOSYS. Some functions are actually named
75534 something starting with __ and the normal name is an alias. */
75535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75536 choke me
75537 #else
75538 char (*f) () = $ac_func;
75539 #endif
75540 #ifdef __cplusplus
75542 #endif
75545 main ()
75547 return f != $ac_func;
75549 return 0;
75551 _ACEOF
75552 rm -f conftest.$ac_objext conftest$ac_exeext
75553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75554 (eval $ac_link) 2>&5
75555 ac_status=$?
75556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75557 (exit $ac_status); } &&
75558 { ac_try='test -s conftest$ac_exeext'
75559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75560 (eval $ac_try) 2>&5
75561 ac_status=$?
75562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75563 (exit $ac_status); }; }; then
75564 eval "$as_ac_var=yes"
75565 else
75566 echo "$as_me: failed program was:" >&5
75567 sed 's/^/| /' conftest.$ac_ext >&5
75569 eval "$as_ac_var=no"
75571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75575 if test `eval echo '${'$as_ac_var'}'` = yes; then
75576 cat >>confdefs.h <<_ACEOF
75577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75578 _ACEOF
75580 else
75581 ac_wfuncs=no
75583 done
75586 # Checks for wide character functions that are not required
75587 # for basic wchar_t support. Don't disable support if they are missing.
75588 # Injection of these is wrapped with guard macros.
75594 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
75596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75597 echo "$as_me:$LINENO: checking for $ac_func" >&5
75598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75599 if eval "test \"\${$as_ac_var+set}\" = set"; then
75600 echo $ECHO_N "(cached) $ECHO_C" >&6
75601 else
75602 if test x$gcc_no_link = xyes; then
75603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75605 { (exit 1); exit 1; }; }
75607 cat >conftest.$ac_ext <<_ACEOF
75608 #line $LINENO "configure"
75609 /* confdefs.h. */
75610 _ACEOF
75611 cat confdefs.h >>conftest.$ac_ext
75612 cat >>conftest.$ac_ext <<_ACEOF
75613 /* end confdefs.h. */
75614 /* System header to define __stub macros and hopefully few prototypes,
75615 which can conflict with char $ac_func (); below.
75616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75617 <limits.h> exists even on freestanding compilers. */
75618 #ifdef __STDC__
75619 # include <limits.h>
75620 #else
75621 # include <assert.h>
75622 #endif
75623 /* Override any gcc2 internal prototype to avoid an error. */
75624 #ifdef __cplusplus
75625 extern "C"
75627 #endif
75628 /* We use char because int might match the return type of a gcc2
75629 builtin and then its argument prototype would still apply. */
75630 char $ac_func ();
75631 /* The GNU C library defines this for functions which it implements
75632 to always fail with ENOSYS. Some functions are actually named
75633 something starting with __ and the normal name is an alias. */
75634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75635 choke me
75636 #else
75637 char (*f) () = $ac_func;
75638 #endif
75639 #ifdef __cplusplus
75641 #endif
75644 main ()
75646 return f != $ac_func;
75648 return 0;
75650 _ACEOF
75651 rm -f conftest.$ac_objext conftest$ac_exeext
75652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75653 (eval $ac_link) 2>&5
75654 ac_status=$?
75655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75656 (exit $ac_status); } &&
75657 { ac_try='test -s conftest$ac_exeext'
75658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75659 (eval $ac_try) 2>&5
75660 ac_status=$?
75661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75662 (exit $ac_status); }; }; then
75663 eval "$as_ac_var=yes"
75664 else
75665 echo "$as_me: failed program was:" >&5
75666 sed 's/^/| /' conftest.$ac_ext >&5
75668 eval "$as_ac_var=no"
75670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75674 if test `eval echo '${'$as_ac_var'}'` = yes; then
75675 cat >>confdefs.h <<_ACEOF
75676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75677 _ACEOF
75680 done
75683 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
75684 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
75685 if test x"$has_weof" = xyes &&
75686 test x"$has_wchar_minmax" = xyes &&
75687 test x"$ac_wfuncs" = xyes;
75688 then
75689 ac_isoC99_wchar_t=yes
75690 else
75691 ac_isoC99_wchar_t=no
75693 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
75694 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
75696 # Use iconv for wchar_t to char conversions. As such, check for
75697 # X/Open Portability Guide, version 2 features (XPG2).
75698 if test "${ac_cv_header_iconv_h+set}" = set; then
75699 echo "$as_me:$LINENO: checking for iconv.h" >&5
75700 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75701 if test "${ac_cv_header_iconv_h+set}" = set; then
75702 echo $ECHO_N "(cached) $ECHO_C" >&6
75704 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75705 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75706 else
75707 # Is the header compilable?
75708 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75709 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75710 cat >conftest.$ac_ext <<_ACEOF
75711 #line $LINENO "configure"
75712 /* confdefs.h. */
75713 _ACEOF
75714 cat confdefs.h >>conftest.$ac_ext
75715 cat >>conftest.$ac_ext <<_ACEOF
75716 /* end confdefs.h. */
75717 $ac_includes_default
75718 #include <iconv.h>
75719 _ACEOF
75720 rm -f conftest.$ac_objext
75721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75722 (eval $ac_compile) 2>&5
75723 ac_status=$?
75724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75725 (exit $ac_status); } &&
75726 { ac_try='test -s conftest.$ac_objext'
75727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75728 (eval $ac_try) 2>&5
75729 ac_status=$?
75730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75731 (exit $ac_status); }; }; then
75732 ac_header_compiler=yes
75733 else
75734 echo "$as_me: failed program was:" >&5
75735 sed 's/^/| /' conftest.$ac_ext >&5
75737 ac_header_compiler=no
75739 rm -f conftest.$ac_objext conftest.$ac_ext
75740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75741 echo "${ECHO_T}$ac_header_compiler" >&6
75743 # Is the header present?
75744 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75745 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75746 cat >conftest.$ac_ext <<_ACEOF
75747 #line $LINENO "configure"
75748 /* confdefs.h. */
75749 _ACEOF
75750 cat confdefs.h >>conftest.$ac_ext
75751 cat >>conftest.$ac_ext <<_ACEOF
75752 /* end confdefs.h. */
75753 #include <iconv.h>
75754 _ACEOF
75755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75757 ac_status=$?
75758 grep -v '^ *+' conftest.er1 >conftest.err
75759 rm -f conftest.er1
75760 cat conftest.err >&5
75761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75762 (exit $ac_status); } >/dev/null; then
75763 if test -s conftest.err; then
75764 ac_cpp_err=$ac_c_preproc_warn_flag
75765 else
75766 ac_cpp_err=
75768 else
75769 ac_cpp_err=yes
75771 if test -z "$ac_cpp_err"; then
75772 ac_header_preproc=yes
75773 else
75774 echo "$as_me: failed program was:" >&5
75775 sed 's/^/| /' conftest.$ac_ext >&5
75777 ac_header_preproc=no
75779 rm -f conftest.err conftest.$ac_ext
75780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75781 echo "${ECHO_T}$ac_header_preproc" >&6
75783 # So? What about this header?
75784 case $ac_header_compiler:$ac_header_preproc in
75785 yes:no )
75786 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75787 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75788 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75789 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75791 cat <<\_ASBOX
75792 ## ------------------------------------ ##
75793 ## Report this to bug-autoconf@gnu.org. ##
75794 ## ------------------------------------ ##
75795 _ASBOX
75797 sed "s/^/$as_me: WARNING: /" >&2
75799 no:yes )
75800 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75801 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75802 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75803 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75804 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75805 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75807 cat <<\_ASBOX
75808 ## ------------------------------------ ##
75809 ## Report this to bug-autoconf@gnu.org. ##
75810 ## ------------------------------------ ##
75811 _ASBOX
75813 sed "s/^/$as_me: WARNING: /" >&2
75815 esac
75816 echo "$as_me:$LINENO: checking for iconv.h" >&5
75817 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75818 if test "${ac_cv_header_iconv_h+set}" = set; then
75819 echo $ECHO_N "(cached) $ECHO_C" >&6
75820 else
75821 ac_cv_header_iconv_h=$ac_header_preproc
75823 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75824 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75827 if test $ac_cv_header_iconv_h = yes; then
75828 ac_has_iconv_h=yes
75829 else
75830 ac_has_iconv_h=no
75834 if test "${ac_cv_header_langinfo_h+set}" = set; then
75835 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75836 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75837 if test "${ac_cv_header_langinfo_h+set}" = set; then
75838 echo $ECHO_N "(cached) $ECHO_C" >&6
75840 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75841 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75842 else
75843 # Is the header compilable?
75844 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75845 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75846 cat >conftest.$ac_ext <<_ACEOF
75847 #line $LINENO "configure"
75848 /* confdefs.h. */
75849 _ACEOF
75850 cat confdefs.h >>conftest.$ac_ext
75851 cat >>conftest.$ac_ext <<_ACEOF
75852 /* end confdefs.h. */
75853 $ac_includes_default
75854 #include <langinfo.h>
75855 _ACEOF
75856 rm -f conftest.$ac_objext
75857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75858 (eval $ac_compile) 2>&5
75859 ac_status=$?
75860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75861 (exit $ac_status); } &&
75862 { ac_try='test -s conftest.$ac_objext'
75863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75864 (eval $ac_try) 2>&5
75865 ac_status=$?
75866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75867 (exit $ac_status); }; }; then
75868 ac_header_compiler=yes
75869 else
75870 echo "$as_me: failed program was:" >&5
75871 sed 's/^/| /' conftest.$ac_ext >&5
75873 ac_header_compiler=no
75875 rm -f conftest.$ac_objext conftest.$ac_ext
75876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75877 echo "${ECHO_T}$ac_header_compiler" >&6
75879 # Is the header present?
75880 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75881 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75882 cat >conftest.$ac_ext <<_ACEOF
75883 #line $LINENO "configure"
75884 /* confdefs.h. */
75885 _ACEOF
75886 cat confdefs.h >>conftest.$ac_ext
75887 cat >>conftest.$ac_ext <<_ACEOF
75888 /* end confdefs.h. */
75889 #include <langinfo.h>
75890 _ACEOF
75891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75892 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75893 ac_status=$?
75894 grep -v '^ *+' conftest.er1 >conftest.err
75895 rm -f conftest.er1
75896 cat conftest.err >&5
75897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898 (exit $ac_status); } >/dev/null; then
75899 if test -s conftest.err; then
75900 ac_cpp_err=$ac_c_preproc_warn_flag
75901 else
75902 ac_cpp_err=
75904 else
75905 ac_cpp_err=yes
75907 if test -z "$ac_cpp_err"; then
75908 ac_header_preproc=yes
75909 else
75910 echo "$as_me: failed program was:" >&5
75911 sed 's/^/| /' conftest.$ac_ext >&5
75913 ac_header_preproc=no
75915 rm -f conftest.err conftest.$ac_ext
75916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75917 echo "${ECHO_T}$ac_header_preproc" >&6
75919 # So? What about this header?
75920 case $ac_header_compiler:$ac_header_preproc in
75921 yes:no )
75922 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75923 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75924 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75925 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75927 cat <<\_ASBOX
75928 ## ------------------------------------ ##
75929 ## Report this to bug-autoconf@gnu.org. ##
75930 ## ------------------------------------ ##
75931 _ASBOX
75933 sed "s/^/$as_me: WARNING: /" >&2
75935 no:yes )
75936 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75937 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75938 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75939 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75940 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75941 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75943 cat <<\_ASBOX
75944 ## ------------------------------------ ##
75945 ## Report this to bug-autoconf@gnu.org. ##
75946 ## ------------------------------------ ##
75947 _ASBOX
75949 sed "s/^/$as_me: WARNING: /" >&2
75951 esac
75952 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75953 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75954 if test "${ac_cv_header_langinfo_h+set}" = set; then
75955 echo $ECHO_N "(cached) $ECHO_C" >&6
75956 else
75957 ac_cv_header_langinfo_h=$ac_header_preproc
75959 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75960 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75963 if test $ac_cv_header_langinfo_h = yes; then
75964 ac_has_langinfo_h=yes
75965 else
75966 ac_has_langinfo_h=no
75971 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75972 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75973 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75974 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75975 echo $ECHO_N "(cached) $ECHO_C" >&6
75976 else
75977 ac_check_lib_save_LIBS=$LIBS
75978 LIBS="-liconv $LIBS"
75979 if test x$gcc_no_link = xyes; then
75980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75982 { (exit 1); exit 1; }; }
75984 cat >conftest.$ac_ext <<_ACEOF
75985 #line $LINENO "configure"
75986 /* confdefs.h. */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h. */
75992 /* Override any gcc2 internal prototype to avoid an error. */
75993 #ifdef __cplusplus
75994 extern "C"
75995 #endif
75996 /* We use char because int might match the return type of a gcc2
75997 builtin and then its argument prototype would still apply. */
75998 char iconv ();
76000 main ()
76002 iconv ();
76004 return 0;
76006 _ACEOF
76007 rm -f conftest.$ac_objext conftest$ac_exeext
76008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76009 (eval $ac_link) 2>&5
76010 ac_status=$?
76011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76012 (exit $ac_status); } &&
76013 { ac_try='test -s conftest$ac_exeext'
76014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76015 (eval $ac_try) 2>&5
76016 ac_status=$?
76017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76018 (exit $ac_status); }; }; then
76019 ac_cv_lib_iconv_iconv=yes
76020 else
76021 echo "$as_me: failed program was:" >&5
76022 sed 's/^/| /' conftest.$ac_ext >&5
76024 ac_cv_lib_iconv_iconv=no
76026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76027 LIBS=$ac_check_lib_save_LIBS
76029 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76030 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76031 if test $ac_cv_lib_iconv_iconv = yes; then
76032 libiconv="-liconv"
76035 ac_save_LIBS="$LIBS"
76036 LIBS="$LIBS $libiconv"
76042 for ac_func in iconv_open iconv_close iconv nl_langinfo
76044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76045 echo "$as_me:$LINENO: checking for $ac_func" >&5
76046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76047 if eval "test \"\${$as_ac_var+set}\" = set"; then
76048 echo $ECHO_N "(cached) $ECHO_C" >&6
76049 else
76050 if test x$gcc_no_link = xyes; then
76051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76053 { (exit 1); exit 1; }; }
76055 cat >conftest.$ac_ext <<_ACEOF
76056 #line $LINENO "configure"
76057 /* confdefs.h. */
76058 _ACEOF
76059 cat confdefs.h >>conftest.$ac_ext
76060 cat >>conftest.$ac_ext <<_ACEOF
76061 /* end confdefs.h. */
76062 /* System header to define __stub macros and hopefully few prototypes,
76063 which can conflict with char $ac_func (); below.
76064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76065 <limits.h> exists even on freestanding compilers. */
76066 #ifdef __STDC__
76067 # include <limits.h>
76068 #else
76069 # include <assert.h>
76070 #endif
76071 /* Override any gcc2 internal prototype to avoid an error. */
76072 #ifdef __cplusplus
76073 extern "C"
76075 #endif
76076 /* We use char because int might match the return type of a gcc2
76077 builtin and then its argument prototype would still apply. */
76078 char $ac_func ();
76079 /* The GNU C library defines this for functions which it implements
76080 to always fail with ENOSYS. Some functions are actually named
76081 something starting with __ and the normal name is an alias. */
76082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76083 choke me
76084 #else
76085 char (*f) () = $ac_func;
76086 #endif
76087 #ifdef __cplusplus
76089 #endif
76092 main ()
76094 return f != $ac_func;
76096 return 0;
76098 _ACEOF
76099 rm -f conftest.$ac_objext conftest$ac_exeext
76100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76101 (eval $ac_link) 2>&5
76102 ac_status=$?
76103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76104 (exit $ac_status); } &&
76105 { ac_try='test -s conftest$ac_exeext'
76106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76107 (eval $ac_try) 2>&5
76108 ac_status=$?
76109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76110 (exit $ac_status); }; }; then
76111 eval "$as_ac_var=yes"
76112 else
76113 echo "$as_me: failed program was:" >&5
76114 sed 's/^/| /' conftest.$ac_ext >&5
76116 eval "$as_ac_var=no"
76118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76122 if test `eval echo '${'$as_ac_var'}'` = yes; then
76123 cat >>confdefs.h <<_ACEOF
76124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76125 _ACEOF
76126 ac_XPG2funcs=yes
76127 else
76128 ac_XPG2funcs=no
76130 done
76133 LIBS="$ac_save_LIBS"
76135 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
76136 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
76137 if test x"$ac_has_iconv_h" = xyes &&
76138 test x"$ac_has_langinfo_h" = xyes &&
76139 test x"$ac_XPG2funcs" = xyes;
76140 then
76141 ac_XPG2_wchar_t=yes
76142 else
76143 ac_XPG2_wchar_t=no
76145 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
76146 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
76148 # At the moment, only enable wchar_t specializations if all the
76149 # above support is present.
76150 if test x"$ac_isoC99_wchar_t" = xyes &&
76151 test x"$ac_XPG2_wchar_t" = xyes;
76152 then
76153 cat >>confdefs.h <<\_ACEOF
76154 #define _GLIBCXX_USE_WCHAR_T 1
76155 _ACEOF
76157 enable_wchar_t=yes
76160 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
76161 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
76162 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
76163 echo "${ECHO_T}$enable_wchar_t" >&6
76165 cat >>confdefs.h <<\_ACEOF
76166 #define HAVE_COPYSIGN 1
76167 _ACEOF
76169 cat >>confdefs.h <<\_ACEOF
76170 #define HAVE_COPYSIGNF 1
76171 _ACEOF
76173 cat >>confdefs.h <<\_ACEOF
76174 #define HAVE_FINITEF 1
76175 _ACEOF
76177 cat >>confdefs.h <<\_ACEOF
76178 #define HAVE_FINITE 1
76179 _ACEOF
76181 cat >>confdefs.h <<\_ACEOF
76182 #define HAVE_FREXPF 1
76183 _ACEOF
76185 cat >>confdefs.h <<\_ACEOF
76186 #define HAVE_HYPOTF 1
76187 _ACEOF
76189 cat >>confdefs.h <<\_ACEOF
76190 #define HAVE_ISINF 1
76191 _ACEOF
76193 cat >>confdefs.h <<\_ACEOF
76194 #define HAVE_ISINFF 1
76195 _ACEOF
76197 cat >>confdefs.h <<\_ACEOF
76198 #define HAVE_ISNAN 1
76199 _ACEOF
76201 cat >>confdefs.h <<\_ACEOF
76202 #define HAVE_ISNANF 1
76203 _ACEOF
76205 if test x"long_double_math_on_this_cpu" = x"yes"; then
76206 cat >>confdefs.h <<\_ACEOF
76207 #define HAVE_FINITEL 1
76208 _ACEOF
76210 cat >>confdefs.h <<\_ACEOF
76211 #define HAVE_ISINFL 1
76212 _ACEOF
76214 cat >>confdefs.h <<\_ACEOF
76215 #define HAVE_ISNANL 1
76216 _ACEOF
76220 *-qnx6.1* | *-qnx6.2*)
76221 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76224 # If we're not using GNU ld, then there's no point in even trying these
76225 # tests. Check for that first. We should have already tested for gld
76226 # by now (in libtool), but require it now just to be safe...
76227 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76228 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76232 # The name set by libtool depends on the version of libtool. Shame on us
76233 # for depending on an impl detail, but c'est la vie. Older versions used
76234 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76235 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76236 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76237 # set (hence we're using an older libtool), then set it.
76238 if test x${with_gnu_ld+set} != xset; then
76239 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76240 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76241 with_gnu_ld=no
76242 else
76243 with_gnu_ld=$ac_cv_prog_gnu_ld
76247 # Start by getting the version number. I think the libtool test already
76248 # does some of this, but throws away the result.
76250 ldver=`$LD --version 2>/dev/null | head -1 | \
76251 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76253 glibcxx_gnu_ld_version=`echo $ldver | \
76254 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76256 # Set --gc-sections.
76257 if test "$with_gnu_ld" = "notbroken"; then
76258 # GNU ld it is! Joy and bunny rabbits!
76260 # All these tests are for C++; save the language and the compiler flags.
76261 # Need to do this so that g++ won't try to link in libstdc++
76262 ac_test_CFLAGS="${CFLAGS+set}"
76263 ac_save_CFLAGS="$CFLAGS"
76264 CFLAGS='-x c++ -Wl,--gc-sections'
76266 # Check for -Wl,--gc-sections
76267 # XXX This test is broken at the moment, as symbols required for linking
76268 # are now in libsupc++ (not built yet). In addition, this test has
76269 # cored on solaris in the past. In addition, --gc-sections doesn't
76270 # really work at the moment (keeps on discarding used sections, first
76271 # .eh_frame and now some of the glibc sections for iconv).
76272 # Bzzzzt. Thanks for playing, maybe next time.
76273 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76274 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76275 if test "$cross_compiling" = yes; then
76276 ac_sectionLDflags=yes
76277 else
76278 cat >conftest.$ac_ext <<_ACEOF
76279 #line $LINENO "configure"
76280 /* confdefs.h. */
76281 _ACEOF
76282 cat confdefs.h >>conftest.$ac_ext
76283 cat >>conftest.$ac_ext <<_ACEOF
76284 /* end confdefs.h. */
76286 int main(void)
76288 try { throw 1; }
76289 catch (...) { };
76290 return 0;
76293 _ACEOF
76294 rm -f conftest$ac_exeext
76295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76296 (eval $ac_link) 2>&5
76297 ac_status=$?
76298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76301 (eval $ac_try) 2>&5
76302 ac_status=$?
76303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76304 (exit $ac_status); }; }; then
76305 ac_sectionLDflags=yes
76306 else
76307 echo "$as_me: program exited with status $ac_status" >&5
76308 echo "$as_me: failed program was:" >&5
76309 sed 's/^/| /' conftest.$ac_ext >&5
76311 ( exit $ac_status )
76312 ac_sectionLDflags=no
76314 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76316 if test "$ac_test_CFLAGS" = set; then
76317 CFLAGS="$ac_save_CFLAGS"
76318 else
76319 # this is the suspicious part
76320 CFLAGS=''
76322 if test "$ac_sectionLDflags" = "yes"; then
76323 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76325 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
76326 echo "${ECHO_T}$ac_sectionLDflags" >&6
76329 # Set linker optimization flags.
76330 if test x"$with_gnu_ld" = x"yes"; then
76331 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76339 echo "$as_me:$LINENO: checking for main in -lm" >&5
76340 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76341 if test "${ac_cv_lib_m_main+set}" = set; then
76342 echo $ECHO_N "(cached) $ECHO_C" >&6
76343 else
76344 ac_check_lib_save_LIBS=$LIBS
76345 LIBS="-lm $LIBS"
76346 if test x$gcc_no_link = xyes; then
76347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76349 { (exit 1); exit 1; }; }
76351 cat >conftest.$ac_ext <<_ACEOF
76352 #line $LINENO "configure"
76353 /* confdefs.h. */
76354 _ACEOF
76355 cat confdefs.h >>conftest.$ac_ext
76356 cat >>conftest.$ac_ext <<_ACEOF
76357 /* end confdefs.h. */
76361 main ()
76363 main ();
76365 return 0;
76367 _ACEOF
76368 rm -f conftest.$ac_objext conftest$ac_exeext
76369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76370 (eval $ac_link) 2>&5
76371 ac_status=$?
76372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76373 (exit $ac_status); } &&
76374 { ac_try='test -s conftest$ac_exeext'
76375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76376 (eval $ac_try) 2>&5
76377 ac_status=$?
76378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379 (exit $ac_status); }; }; then
76380 ac_cv_lib_m_main=yes
76381 else
76382 echo "$as_me: failed program was:" >&5
76383 sed 's/^/| /' conftest.$ac_ext >&5
76385 ac_cv_lib_m_main=no
76387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76388 LIBS=$ac_check_lib_save_LIBS
76390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76391 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76392 if test $ac_cv_lib_m_main = yes; then
76393 cat >>confdefs.h <<_ACEOF
76394 #define HAVE_LIBM 1
76395 _ACEOF
76397 LIBS="-lm $LIBS"
76402 for ac_func in copysignf
76404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76405 echo "$as_me:$LINENO: checking for $ac_func" >&5
76406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76407 if eval "test \"\${$as_ac_var+set}\" = set"; then
76408 echo $ECHO_N "(cached) $ECHO_C" >&6
76409 else
76410 if test x$gcc_no_link = xyes; then
76411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76413 { (exit 1); exit 1; }; }
76415 cat >conftest.$ac_ext <<_ACEOF
76416 #line $LINENO "configure"
76417 /* confdefs.h. */
76418 _ACEOF
76419 cat confdefs.h >>conftest.$ac_ext
76420 cat >>conftest.$ac_ext <<_ACEOF
76421 /* end confdefs.h. */
76422 /* System header to define __stub macros and hopefully few prototypes,
76423 which can conflict with char $ac_func (); below.
76424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76425 <limits.h> exists even on freestanding compilers. */
76426 #ifdef __STDC__
76427 # include <limits.h>
76428 #else
76429 # include <assert.h>
76430 #endif
76431 /* Override any gcc2 internal prototype to avoid an error. */
76432 #ifdef __cplusplus
76433 extern "C"
76435 #endif
76436 /* We use char because int might match the return type of a gcc2
76437 builtin and then its argument prototype would still apply. */
76438 char $ac_func ();
76439 /* The GNU C library defines this for functions which it implements
76440 to always fail with ENOSYS. Some functions are actually named
76441 something starting with __ and the normal name is an alias. */
76442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76443 choke me
76444 #else
76445 char (*f) () = $ac_func;
76446 #endif
76447 #ifdef __cplusplus
76449 #endif
76452 main ()
76454 return f != $ac_func;
76456 return 0;
76458 _ACEOF
76459 rm -f conftest.$ac_objext conftest$ac_exeext
76460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76461 (eval $ac_link) 2>&5
76462 ac_status=$?
76463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76464 (exit $ac_status); } &&
76465 { ac_try='test -s conftest$ac_exeext'
76466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76467 (eval $ac_try) 2>&5
76468 ac_status=$?
76469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76470 (exit $ac_status); }; }; then
76471 eval "$as_ac_var=yes"
76472 else
76473 echo "$as_me: failed program was:" >&5
76474 sed 's/^/| /' conftest.$ac_ext >&5
76476 eval "$as_ac_var=no"
76478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76482 if test `eval echo '${'$as_ac_var'}'` = yes; then
76483 cat >>confdefs.h <<_ACEOF
76484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76485 _ACEOF
76487 else
76488 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76490 done
76494 for ac_func in __signbit
76496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76497 echo "$as_me:$LINENO: checking for $ac_func" >&5
76498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76499 if eval "test \"\${$as_ac_var+set}\" = set"; then
76500 echo $ECHO_N "(cached) $ECHO_C" >&6
76501 else
76502 if test x$gcc_no_link = xyes; then
76503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76505 { (exit 1); exit 1; }; }
76507 cat >conftest.$ac_ext <<_ACEOF
76508 #line $LINENO "configure"
76509 /* confdefs.h. */
76510 _ACEOF
76511 cat confdefs.h >>conftest.$ac_ext
76512 cat >>conftest.$ac_ext <<_ACEOF
76513 /* end confdefs.h. */
76514 /* System header to define __stub macros and hopefully few prototypes,
76515 which can conflict with char $ac_func (); below.
76516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76517 <limits.h> exists even on freestanding compilers. */
76518 #ifdef __STDC__
76519 # include <limits.h>
76520 #else
76521 # include <assert.h>
76522 #endif
76523 /* Override any gcc2 internal prototype to avoid an error. */
76524 #ifdef __cplusplus
76525 extern "C"
76527 #endif
76528 /* We use char because int might match the return type of a gcc2
76529 builtin and then its argument prototype would still apply. */
76530 char $ac_func ();
76531 /* The GNU C library defines this for functions which it implements
76532 to always fail with ENOSYS. Some functions are actually named
76533 something starting with __ and the normal name is an alias. */
76534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76535 choke me
76536 #else
76537 char (*f) () = $ac_func;
76538 #endif
76539 #ifdef __cplusplus
76541 #endif
76544 main ()
76546 return f != $ac_func;
76548 return 0;
76550 _ACEOF
76551 rm -f conftest.$ac_objext conftest$ac_exeext
76552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76553 (eval $ac_link) 2>&5
76554 ac_status=$?
76555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76556 (exit $ac_status); } &&
76557 { ac_try='test -s conftest$ac_exeext'
76558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76559 (eval $ac_try) 2>&5
76560 ac_status=$?
76561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76562 (exit $ac_status); }; }; then
76563 eval "$as_ac_var=yes"
76564 else
76565 echo "$as_me: failed program was:" >&5
76566 sed 's/^/| /' conftest.$ac_ext >&5
76568 eval "$as_ac_var=no"
76570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76574 if test `eval echo '${'$as_ac_var'}'` = yes; then
76575 cat >>confdefs.h <<_ACEOF
76576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76577 _ACEOF
76579 else
76580 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76582 done
76586 for ac_func in __signbitf
76588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76589 echo "$as_me:$LINENO: checking for $ac_func" >&5
76590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76591 if eval "test \"\${$as_ac_var+set}\" = set"; then
76592 echo $ECHO_N "(cached) $ECHO_C" >&6
76593 else
76594 if test x$gcc_no_link = xyes; then
76595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76597 { (exit 1); exit 1; }; }
76599 cat >conftest.$ac_ext <<_ACEOF
76600 #line $LINENO "configure"
76601 /* confdefs.h. */
76602 _ACEOF
76603 cat confdefs.h >>conftest.$ac_ext
76604 cat >>conftest.$ac_ext <<_ACEOF
76605 /* end confdefs.h. */
76606 /* System header to define __stub macros and hopefully few prototypes,
76607 which can conflict with char $ac_func (); below.
76608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76609 <limits.h> exists even on freestanding compilers. */
76610 #ifdef __STDC__
76611 # include <limits.h>
76612 #else
76613 # include <assert.h>
76614 #endif
76615 /* Override any gcc2 internal prototype to avoid an error. */
76616 #ifdef __cplusplus
76617 extern "C"
76619 #endif
76620 /* We use char because int might match the return type of a gcc2
76621 builtin and then its argument prototype would still apply. */
76622 char $ac_func ();
76623 /* The GNU C library defines this for functions which it implements
76624 to always fail with ENOSYS. Some functions are actually named
76625 something starting with __ and the normal name is an alias. */
76626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76627 choke me
76628 #else
76629 char (*f) () = $ac_func;
76630 #endif
76631 #ifdef __cplusplus
76633 #endif
76636 main ()
76638 return f != $ac_func;
76640 return 0;
76642 _ACEOF
76643 rm -f conftest.$ac_objext conftest$ac_exeext
76644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76645 (eval $ac_link) 2>&5
76646 ac_status=$?
76647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76648 (exit $ac_status); } &&
76649 { ac_try='test -s conftest$ac_exeext'
76650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76651 (eval $ac_try) 2>&5
76652 ac_status=$?
76653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76654 (exit $ac_status); }; }; then
76655 eval "$as_ac_var=yes"
76656 else
76657 echo "$as_me: failed program was:" >&5
76658 sed 's/^/| /' conftest.$ac_ext >&5
76660 eval "$as_ac_var=no"
76662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76666 if test `eval echo '${'$as_ac_var'}'` = yes; then
76667 cat >>confdefs.h <<_ACEOF
76668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76669 _ACEOF
76671 else
76672 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76674 done
76677 if test x$ac_cv_func_copysignl = x"yes"; then
76679 for ac_func in __signbitl
76681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76682 echo "$as_me:$LINENO: checking for $ac_func" >&5
76683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76684 if eval "test \"\${$as_ac_var+set}\" = set"; then
76685 echo $ECHO_N "(cached) $ECHO_C" >&6
76686 else
76687 if test x$gcc_no_link = xyes; then
76688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76690 { (exit 1); exit 1; }; }
76692 cat >conftest.$ac_ext <<_ACEOF
76693 #line $LINENO "configure"
76694 /* confdefs.h. */
76695 _ACEOF
76696 cat confdefs.h >>conftest.$ac_ext
76697 cat >>conftest.$ac_ext <<_ACEOF
76698 /* end confdefs.h. */
76699 /* System header to define __stub macros and hopefully few prototypes,
76700 which can conflict with char $ac_func (); below.
76701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76702 <limits.h> exists even on freestanding compilers. */
76703 #ifdef __STDC__
76704 # include <limits.h>
76705 #else
76706 # include <assert.h>
76707 #endif
76708 /* Override any gcc2 internal prototype to avoid an error. */
76709 #ifdef __cplusplus
76710 extern "C"
76712 #endif
76713 /* We use char because int might match the return type of a gcc2
76714 builtin and then its argument prototype would still apply. */
76715 char $ac_func ();
76716 /* The GNU C library defines this for functions which it implements
76717 to always fail with ENOSYS. Some functions are actually named
76718 something starting with __ and the normal name is an alias. */
76719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76720 choke me
76721 #else
76722 char (*f) () = $ac_func;
76723 #endif
76724 #ifdef __cplusplus
76726 #endif
76729 main ()
76731 return f != $ac_func;
76733 return 0;
76735 _ACEOF
76736 rm -f conftest.$ac_objext conftest$ac_exeext
76737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76738 (eval $ac_link) 2>&5
76739 ac_status=$?
76740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76741 (exit $ac_status); } &&
76742 { ac_try='test -s conftest$ac_exeext'
76743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76744 (eval $ac_try) 2>&5
76745 ac_status=$?
76746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76747 (exit $ac_status); }; }; then
76748 eval "$as_ac_var=yes"
76749 else
76750 echo "$as_me: failed program was:" >&5
76751 sed 's/^/| /' conftest.$ac_ext >&5
76753 eval "$as_ac_var=no"
76755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76759 if test `eval echo '${'$as_ac_var'}'` = yes; then
76760 cat >>confdefs.h <<_ACEOF
76761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76762 _ACEOF
76764 else
76765 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76767 done
76771 # Used in libmath/Makefile.am.
76772 if test -n "$LIBMATHOBJS"; then
76773 need_libmath=yes
76778 # Test wchar.h for mbstate_t, which is needed for char_traits and
76779 # others even if wchar_t support is not on.
76780 echo "$as_me:$LINENO: checking for mbstate_t" >&5
76781 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
76782 cat >conftest.$ac_ext <<_ACEOF
76783 #line $LINENO "configure"
76784 /* confdefs.h. */
76785 _ACEOF
76786 cat confdefs.h >>conftest.$ac_ext
76787 cat >>conftest.$ac_ext <<_ACEOF
76788 /* end confdefs.h. */
76789 #include <wchar.h>
76791 main ()
76793 mbstate_t teststate;
76795 return 0;
76797 _ACEOF
76798 rm -f conftest.$ac_objext
76799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76800 (eval $ac_compile) 2>&5
76801 ac_status=$?
76802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76803 (exit $ac_status); } &&
76804 { ac_try='test -s conftest.$ac_objext'
76805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76806 (eval $ac_try) 2>&5
76807 ac_status=$?
76808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76809 (exit $ac_status); }; }; then
76810 have_mbstate_t=yes
76811 else
76812 echo "$as_me: failed program was:" >&5
76813 sed 's/^/| /' conftest.$ac_ext >&5
76815 have_mbstate_t=no
76817 rm -f conftest.$ac_objext conftest.$ac_ext
76818 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
76819 echo "${ECHO_T}$have_mbstate_t" >&6
76820 if test x"$have_mbstate_t" = xyes; then
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_MBSTATE_T 1
76823 _ACEOF
76827 # Sanity check for existence of ISO C99 headers for extended encoding.
76829 for ac_header in wchar.h
76831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76833 echo "$as_me:$LINENO: checking for $ac_header" >&5
76834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76836 echo $ECHO_N "(cached) $ECHO_C" >&6
76838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76840 else
76841 # Is the header compilable?
76842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76844 cat >conftest.$ac_ext <<_ACEOF
76845 #line $LINENO "configure"
76846 /* confdefs.h. */
76847 _ACEOF
76848 cat confdefs.h >>conftest.$ac_ext
76849 cat >>conftest.$ac_ext <<_ACEOF
76850 /* end confdefs.h. */
76851 $ac_includes_default
76852 #include <$ac_header>
76853 _ACEOF
76854 rm -f conftest.$ac_objext
76855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76856 (eval $ac_compile) 2>&5
76857 ac_status=$?
76858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76859 (exit $ac_status); } &&
76860 { ac_try='test -s conftest.$ac_objext'
76861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76862 (eval $ac_try) 2>&5
76863 ac_status=$?
76864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76865 (exit $ac_status); }; }; then
76866 ac_header_compiler=yes
76867 else
76868 echo "$as_me: failed program was:" >&5
76869 sed 's/^/| /' conftest.$ac_ext >&5
76871 ac_header_compiler=no
76873 rm -f conftest.$ac_objext conftest.$ac_ext
76874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76875 echo "${ECHO_T}$ac_header_compiler" >&6
76877 # Is the header present?
76878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76880 cat >conftest.$ac_ext <<_ACEOF
76881 #line $LINENO "configure"
76882 /* confdefs.h. */
76883 _ACEOF
76884 cat confdefs.h >>conftest.$ac_ext
76885 cat >>conftest.$ac_ext <<_ACEOF
76886 /* end confdefs.h. */
76887 #include <$ac_header>
76888 _ACEOF
76889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76891 ac_status=$?
76892 grep -v '^ *+' conftest.er1 >conftest.err
76893 rm -f conftest.er1
76894 cat conftest.err >&5
76895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76896 (exit $ac_status); } >/dev/null; then
76897 if test -s conftest.err; then
76898 ac_cpp_err=$ac_c_preproc_warn_flag
76899 else
76900 ac_cpp_err=
76902 else
76903 ac_cpp_err=yes
76905 if test -z "$ac_cpp_err"; then
76906 ac_header_preproc=yes
76907 else
76908 echo "$as_me: failed program was:" >&5
76909 sed 's/^/| /' conftest.$ac_ext >&5
76911 ac_header_preproc=no
76913 rm -f conftest.err conftest.$ac_ext
76914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76915 echo "${ECHO_T}$ac_header_preproc" >&6
76917 # So? What about this header?
76918 case $ac_header_compiler:$ac_header_preproc in
76919 yes:no )
76920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76925 cat <<\_ASBOX
76926 ## ------------------------------------ ##
76927 ## Report this to bug-autoconf@gnu.org. ##
76928 ## ------------------------------------ ##
76929 _ASBOX
76931 sed "s/^/$as_me: WARNING: /" >&2
76933 no:yes )
76934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76941 cat <<\_ASBOX
76942 ## ------------------------------------ ##
76943 ## Report this to bug-autoconf@gnu.org. ##
76944 ## ------------------------------------ ##
76945 _ASBOX
76947 sed "s/^/$as_me: WARNING: /" >&2
76949 esac
76950 echo "$as_me:$LINENO: checking for $ac_header" >&5
76951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76953 echo $ECHO_N "(cached) $ECHO_C" >&6
76954 else
76955 eval "$as_ac_Header=$ac_header_preproc"
76957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76962 cat >>confdefs.h <<_ACEOF
76963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76964 _ACEOF
76965 ac_has_wchar_h=yes
76966 else
76967 ac_has_wchar_h=no
76970 done
76973 for ac_header in wctype.h
76975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76977 echo "$as_me:$LINENO: checking for $ac_header" >&5
76978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76980 echo $ECHO_N "(cached) $ECHO_C" >&6
76982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76984 else
76985 # Is the header compilable?
76986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76988 cat >conftest.$ac_ext <<_ACEOF
76989 #line $LINENO "configure"
76990 /* confdefs.h. */
76991 _ACEOF
76992 cat confdefs.h >>conftest.$ac_ext
76993 cat >>conftest.$ac_ext <<_ACEOF
76994 /* end confdefs.h. */
76995 $ac_includes_default
76996 #include <$ac_header>
76997 _ACEOF
76998 rm -f conftest.$ac_objext
76999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77000 (eval $ac_compile) 2>&5
77001 ac_status=$?
77002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77003 (exit $ac_status); } &&
77004 { ac_try='test -s conftest.$ac_objext'
77005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77006 (eval $ac_try) 2>&5
77007 ac_status=$?
77008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009 (exit $ac_status); }; }; then
77010 ac_header_compiler=yes
77011 else
77012 echo "$as_me: failed program was:" >&5
77013 sed 's/^/| /' conftest.$ac_ext >&5
77015 ac_header_compiler=no
77017 rm -f conftest.$ac_objext conftest.$ac_ext
77018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77019 echo "${ECHO_T}$ac_header_compiler" >&6
77021 # Is the header present?
77022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77024 cat >conftest.$ac_ext <<_ACEOF
77025 #line $LINENO "configure"
77026 /* confdefs.h. */
77027 _ACEOF
77028 cat confdefs.h >>conftest.$ac_ext
77029 cat >>conftest.$ac_ext <<_ACEOF
77030 /* end confdefs.h. */
77031 #include <$ac_header>
77032 _ACEOF
77033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77035 ac_status=$?
77036 grep -v '^ *+' conftest.er1 >conftest.err
77037 rm -f conftest.er1
77038 cat conftest.err >&5
77039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77040 (exit $ac_status); } >/dev/null; then
77041 if test -s conftest.err; then
77042 ac_cpp_err=$ac_c_preproc_warn_flag
77043 else
77044 ac_cpp_err=
77046 else
77047 ac_cpp_err=yes
77049 if test -z "$ac_cpp_err"; then
77050 ac_header_preproc=yes
77051 else
77052 echo "$as_me: failed program was:" >&5
77053 sed 's/^/| /' conftest.$ac_ext >&5
77055 ac_header_preproc=no
77057 rm -f conftest.err conftest.$ac_ext
77058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77059 echo "${ECHO_T}$ac_header_preproc" >&6
77061 # So? What about this header?
77062 case $ac_header_compiler:$ac_header_preproc in
77063 yes:no )
77064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77069 cat <<\_ASBOX
77070 ## ------------------------------------ ##
77071 ## Report this to bug-autoconf@gnu.org. ##
77072 ## ------------------------------------ ##
77073 _ASBOX
77075 sed "s/^/$as_me: WARNING: /" >&2
77077 no:yes )
77078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77085 cat <<\_ASBOX
77086 ## ------------------------------------ ##
77087 ## Report this to bug-autoconf@gnu.org. ##
77088 ## ------------------------------------ ##
77089 _ASBOX
77091 sed "s/^/$as_me: WARNING: /" >&2
77093 esac
77094 echo "$as_me:$LINENO: checking for $ac_header" >&5
77095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77097 echo $ECHO_N "(cached) $ECHO_C" >&6
77098 else
77099 eval "$as_ac_Header=$ac_header_preproc"
77101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77106 cat >>confdefs.h <<_ACEOF
77107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77108 _ACEOF
77109 ac_has_wctype_h=yes
77110 else
77111 ac_has_wctype_h=no
77114 done
77117 # Only continue checking if the ISO C99 headers exist and support is on.
77118 if test x"$ac_has_wchar_h" = xyes &&
77119 test x"$ac_has_wctype_h" = xyes &&
77120 test x"$enable_c_mbchar" != xno; then
77122 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
77123 # numeric_limits can instantiate type_traits<wchar_t>
77124 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
77125 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
77126 cat >conftest.$ac_ext <<_ACEOF
77127 #line $LINENO "configure"
77128 /* confdefs.h. */
77129 _ACEOF
77130 cat confdefs.h >>conftest.$ac_ext
77131 cat >>conftest.$ac_ext <<_ACEOF
77132 /* end confdefs.h. */
77133 #include <wchar.h>
77135 main ()
77137 int i = WCHAR_MIN; int j = WCHAR_MAX;
77139 return 0;
77141 _ACEOF
77142 rm -f conftest.$ac_objext
77143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77144 (eval $ac_compile) 2>&5
77145 ac_status=$?
77146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77147 (exit $ac_status); } &&
77148 { ac_try='test -s conftest.$ac_objext'
77149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77150 (eval $ac_try) 2>&5
77151 ac_status=$?
77152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77153 (exit $ac_status); }; }; then
77154 has_wchar_minmax=yes
77155 else
77156 echo "$as_me: failed program was:" >&5
77157 sed 's/^/| /' conftest.$ac_ext >&5
77159 has_wchar_minmax=no
77161 rm -f conftest.$ac_objext conftest.$ac_ext
77162 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
77163 echo "${ECHO_T}$has_wchar_minmax" >&6
77165 # Test wchar.h for WEOF, which is what we use to determine whether
77166 # to specialize for char_traits<wchar_t> or not.
77167 echo "$as_me:$LINENO: checking for WEOF" >&5
77168 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
77169 cat >conftest.$ac_ext <<_ACEOF
77170 #line $LINENO "configure"
77171 /* confdefs.h. */
77172 _ACEOF
77173 cat confdefs.h >>conftest.$ac_ext
77174 cat >>conftest.$ac_ext <<_ACEOF
77175 /* end confdefs.h. */
77177 #include <wchar.h>
77178 #include <stddef.h>
77180 main ()
77182 wint_t i = WEOF;
77184 return 0;
77186 _ACEOF
77187 rm -f conftest.$ac_objext
77188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77189 (eval $ac_compile) 2>&5
77190 ac_status=$?
77191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77192 (exit $ac_status); } &&
77193 { ac_try='test -s conftest.$ac_objext'
77194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77195 (eval $ac_try) 2>&5
77196 ac_status=$?
77197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77198 (exit $ac_status); }; }; then
77199 has_weof=yes
77200 else
77201 echo "$as_me: failed program was:" >&5
77202 sed 's/^/| /' conftest.$ac_ext >&5
77204 has_weof=no
77206 rm -f conftest.$ac_objext conftest.$ac_ext
77207 echo "$as_me:$LINENO: result: $has_weof" >&5
77208 echo "${ECHO_T}$has_weof" >&6
77210 # Tests for wide character functions used in char_traits<wchar_t>.
77211 ac_wfuncs=yes
77218 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
77220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77221 echo "$as_me:$LINENO: checking for $ac_func" >&5
77222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77223 if eval "test \"\${$as_ac_var+set}\" = set"; then
77224 echo $ECHO_N "(cached) $ECHO_C" >&6
77225 else
77226 if test x$gcc_no_link = xyes; then
77227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77229 { (exit 1); exit 1; }; }
77231 cat >conftest.$ac_ext <<_ACEOF
77232 #line $LINENO "configure"
77233 /* confdefs.h. */
77234 _ACEOF
77235 cat confdefs.h >>conftest.$ac_ext
77236 cat >>conftest.$ac_ext <<_ACEOF
77237 /* end confdefs.h. */
77238 /* System header to define __stub macros and hopefully few prototypes,
77239 which can conflict with char $ac_func (); below.
77240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77241 <limits.h> exists even on freestanding compilers. */
77242 #ifdef __STDC__
77243 # include <limits.h>
77244 #else
77245 # include <assert.h>
77246 #endif
77247 /* Override any gcc2 internal prototype to avoid an error. */
77248 #ifdef __cplusplus
77249 extern "C"
77251 #endif
77252 /* We use char because int might match the return type of a gcc2
77253 builtin and then its argument prototype would still apply. */
77254 char $ac_func ();
77255 /* The GNU C library defines this for functions which it implements
77256 to always fail with ENOSYS. Some functions are actually named
77257 something starting with __ and the normal name is an alias. */
77258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77259 choke me
77260 #else
77261 char (*f) () = $ac_func;
77262 #endif
77263 #ifdef __cplusplus
77265 #endif
77268 main ()
77270 return f != $ac_func;
77272 return 0;
77274 _ACEOF
77275 rm -f conftest.$ac_objext conftest$ac_exeext
77276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77277 (eval $ac_link) 2>&5
77278 ac_status=$?
77279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77280 (exit $ac_status); } &&
77281 { ac_try='test -s conftest$ac_exeext'
77282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77283 (eval $ac_try) 2>&5
77284 ac_status=$?
77285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77286 (exit $ac_status); }; }; then
77287 eval "$as_ac_var=yes"
77288 else
77289 echo "$as_me: failed program was:" >&5
77290 sed 's/^/| /' conftest.$ac_ext >&5
77292 eval "$as_ac_var=no"
77294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77298 if test `eval echo '${'$as_ac_var'}'` = yes; then
77299 cat >>confdefs.h <<_ACEOF
77300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77301 _ACEOF
77303 else
77304 ac_wfuncs=no
77306 done
77309 # Checks for names injected into std:: by the c_std headers.
77356 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
77357 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
77358 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
77359 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
77360 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
77361 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
77363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77364 echo "$as_me:$LINENO: checking for $ac_func" >&5
77365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77366 if eval "test \"\${$as_ac_var+set}\" = set"; then
77367 echo $ECHO_N "(cached) $ECHO_C" >&6
77368 else
77369 if test x$gcc_no_link = xyes; then
77370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77372 { (exit 1); exit 1; }; }
77374 cat >conftest.$ac_ext <<_ACEOF
77375 #line $LINENO "configure"
77376 /* confdefs.h. */
77377 _ACEOF
77378 cat confdefs.h >>conftest.$ac_ext
77379 cat >>conftest.$ac_ext <<_ACEOF
77380 /* end confdefs.h. */
77381 /* System header to define __stub macros and hopefully few prototypes,
77382 which can conflict with char $ac_func (); below.
77383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77384 <limits.h> exists even on freestanding compilers. */
77385 #ifdef __STDC__
77386 # include <limits.h>
77387 #else
77388 # include <assert.h>
77389 #endif
77390 /* Override any gcc2 internal prototype to avoid an error. */
77391 #ifdef __cplusplus
77392 extern "C"
77394 #endif
77395 /* We use char because int might match the return type of a gcc2
77396 builtin and then its argument prototype would still apply. */
77397 char $ac_func ();
77398 /* The GNU C library defines this for functions which it implements
77399 to always fail with ENOSYS. Some functions are actually named
77400 something starting with __ and the normal name is an alias. */
77401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77402 choke me
77403 #else
77404 char (*f) () = $ac_func;
77405 #endif
77406 #ifdef __cplusplus
77408 #endif
77411 main ()
77413 return f != $ac_func;
77415 return 0;
77417 _ACEOF
77418 rm -f conftest.$ac_objext conftest$ac_exeext
77419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77420 (eval $ac_link) 2>&5
77421 ac_status=$?
77422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77423 (exit $ac_status); } &&
77424 { ac_try='test -s conftest$ac_exeext'
77425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77426 (eval $ac_try) 2>&5
77427 ac_status=$?
77428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77429 (exit $ac_status); }; }; then
77430 eval "$as_ac_var=yes"
77431 else
77432 echo "$as_me: failed program was:" >&5
77433 sed 's/^/| /' conftest.$ac_ext >&5
77435 eval "$as_ac_var=no"
77437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77441 if test `eval echo '${'$as_ac_var'}'` = yes; then
77442 cat >>confdefs.h <<_ACEOF
77443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77444 _ACEOF
77446 else
77447 ac_wfuncs=no
77449 done
77452 # Checks for wide character functions that are not required
77453 # for basic wchar_t support. Don't disable support if they are missing.
77454 # Injection of these is wrapped with guard macros.
77460 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
77462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77463 echo "$as_me:$LINENO: checking for $ac_func" >&5
77464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77465 if eval "test \"\${$as_ac_var+set}\" = set"; then
77466 echo $ECHO_N "(cached) $ECHO_C" >&6
77467 else
77468 if test x$gcc_no_link = xyes; then
77469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77471 { (exit 1); exit 1; }; }
77473 cat >conftest.$ac_ext <<_ACEOF
77474 #line $LINENO "configure"
77475 /* confdefs.h. */
77476 _ACEOF
77477 cat confdefs.h >>conftest.$ac_ext
77478 cat >>conftest.$ac_ext <<_ACEOF
77479 /* end confdefs.h. */
77480 /* System header to define __stub macros and hopefully few prototypes,
77481 which can conflict with char $ac_func (); below.
77482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77483 <limits.h> exists even on freestanding compilers. */
77484 #ifdef __STDC__
77485 # include <limits.h>
77486 #else
77487 # include <assert.h>
77488 #endif
77489 /* Override any gcc2 internal prototype to avoid an error. */
77490 #ifdef __cplusplus
77491 extern "C"
77493 #endif
77494 /* We use char because int might match the return type of a gcc2
77495 builtin and then its argument prototype would still apply. */
77496 char $ac_func ();
77497 /* The GNU C library defines this for functions which it implements
77498 to always fail with ENOSYS. Some functions are actually named
77499 something starting with __ and the normal name is an alias. */
77500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77501 choke me
77502 #else
77503 char (*f) () = $ac_func;
77504 #endif
77505 #ifdef __cplusplus
77507 #endif
77510 main ()
77512 return f != $ac_func;
77514 return 0;
77516 _ACEOF
77517 rm -f conftest.$ac_objext conftest$ac_exeext
77518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77519 (eval $ac_link) 2>&5
77520 ac_status=$?
77521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77522 (exit $ac_status); } &&
77523 { ac_try='test -s conftest$ac_exeext'
77524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77525 (eval $ac_try) 2>&5
77526 ac_status=$?
77527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77528 (exit $ac_status); }; }; then
77529 eval "$as_ac_var=yes"
77530 else
77531 echo "$as_me: failed program was:" >&5
77532 sed 's/^/| /' conftest.$ac_ext >&5
77534 eval "$as_ac_var=no"
77536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77540 if test `eval echo '${'$as_ac_var'}'` = yes; then
77541 cat >>confdefs.h <<_ACEOF
77542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77543 _ACEOF
77546 done
77549 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
77550 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
77551 if test x"$has_weof" = xyes &&
77552 test x"$has_wchar_minmax" = xyes &&
77553 test x"$ac_wfuncs" = xyes;
77554 then
77555 ac_isoC99_wchar_t=yes
77556 else
77557 ac_isoC99_wchar_t=no
77559 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
77560 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
77562 # Use iconv for wchar_t to char conversions. As such, check for
77563 # X/Open Portability Guide, version 2 features (XPG2).
77564 if test "${ac_cv_header_iconv_h+set}" = set; then
77565 echo "$as_me:$LINENO: checking for iconv.h" >&5
77566 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77567 if test "${ac_cv_header_iconv_h+set}" = set; then
77568 echo $ECHO_N "(cached) $ECHO_C" >&6
77570 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77571 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77572 else
77573 # Is the header compilable?
77574 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77575 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77576 cat >conftest.$ac_ext <<_ACEOF
77577 #line $LINENO "configure"
77578 /* confdefs.h. */
77579 _ACEOF
77580 cat confdefs.h >>conftest.$ac_ext
77581 cat >>conftest.$ac_ext <<_ACEOF
77582 /* end confdefs.h. */
77583 $ac_includes_default
77584 #include <iconv.h>
77585 _ACEOF
77586 rm -f conftest.$ac_objext
77587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77588 (eval $ac_compile) 2>&5
77589 ac_status=$?
77590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77591 (exit $ac_status); } &&
77592 { ac_try='test -s conftest.$ac_objext'
77593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77594 (eval $ac_try) 2>&5
77595 ac_status=$?
77596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77597 (exit $ac_status); }; }; then
77598 ac_header_compiler=yes
77599 else
77600 echo "$as_me: failed program was:" >&5
77601 sed 's/^/| /' conftest.$ac_ext >&5
77603 ac_header_compiler=no
77605 rm -f conftest.$ac_objext conftest.$ac_ext
77606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77607 echo "${ECHO_T}$ac_header_compiler" >&6
77609 # Is the header present?
77610 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77611 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77612 cat >conftest.$ac_ext <<_ACEOF
77613 #line $LINENO "configure"
77614 /* confdefs.h. */
77615 _ACEOF
77616 cat confdefs.h >>conftest.$ac_ext
77617 cat >>conftest.$ac_ext <<_ACEOF
77618 /* end confdefs.h. */
77619 #include <iconv.h>
77620 _ACEOF
77621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77623 ac_status=$?
77624 grep -v '^ *+' conftest.er1 >conftest.err
77625 rm -f conftest.er1
77626 cat conftest.err >&5
77627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77628 (exit $ac_status); } >/dev/null; then
77629 if test -s conftest.err; then
77630 ac_cpp_err=$ac_c_preproc_warn_flag
77631 else
77632 ac_cpp_err=
77634 else
77635 ac_cpp_err=yes
77637 if test -z "$ac_cpp_err"; then
77638 ac_header_preproc=yes
77639 else
77640 echo "$as_me: failed program was:" >&5
77641 sed 's/^/| /' conftest.$ac_ext >&5
77643 ac_header_preproc=no
77645 rm -f conftest.err conftest.$ac_ext
77646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77647 echo "${ECHO_T}$ac_header_preproc" >&6
77649 # So? What about this header?
77650 case $ac_header_compiler:$ac_header_preproc in
77651 yes:no )
77652 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77653 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77654 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77655 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77657 cat <<\_ASBOX
77658 ## ------------------------------------ ##
77659 ## Report this to bug-autoconf@gnu.org. ##
77660 ## ------------------------------------ ##
77661 _ASBOX
77663 sed "s/^/$as_me: WARNING: /" >&2
77665 no:yes )
77666 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77667 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77668 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77669 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77670 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77671 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77673 cat <<\_ASBOX
77674 ## ------------------------------------ ##
77675 ## Report this to bug-autoconf@gnu.org. ##
77676 ## ------------------------------------ ##
77677 _ASBOX
77679 sed "s/^/$as_me: WARNING: /" >&2
77681 esac
77682 echo "$as_me:$LINENO: checking for iconv.h" >&5
77683 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77684 if test "${ac_cv_header_iconv_h+set}" = set; then
77685 echo $ECHO_N "(cached) $ECHO_C" >&6
77686 else
77687 ac_cv_header_iconv_h=$ac_header_preproc
77689 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77690 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77693 if test $ac_cv_header_iconv_h = yes; then
77694 ac_has_iconv_h=yes
77695 else
77696 ac_has_iconv_h=no
77700 if test "${ac_cv_header_langinfo_h+set}" = set; then
77701 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77702 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77703 if test "${ac_cv_header_langinfo_h+set}" = set; then
77704 echo $ECHO_N "(cached) $ECHO_C" >&6
77706 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77707 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77708 else
77709 # Is the header compilable?
77710 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77711 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77712 cat >conftest.$ac_ext <<_ACEOF
77713 #line $LINENO "configure"
77714 /* confdefs.h. */
77715 _ACEOF
77716 cat confdefs.h >>conftest.$ac_ext
77717 cat >>conftest.$ac_ext <<_ACEOF
77718 /* end confdefs.h. */
77719 $ac_includes_default
77720 #include <langinfo.h>
77721 _ACEOF
77722 rm -f conftest.$ac_objext
77723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77724 (eval $ac_compile) 2>&5
77725 ac_status=$?
77726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77727 (exit $ac_status); } &&
77728 { ac_try='test -s conftest.$ac_objext'
77729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730 (eval $ac_try) 2>&5
77731 ac_status=$?
77732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733 (exit $ac_status); }; }; then
77734 ac_header_compiler=yes
77735 else
77736 echo "$as_me: failed program was:" >&5
77737 sed 's/^/| /' conftest.$ac_ext >&5
77739 ac_header_compiler=no
77741 rm -f conftest.$ac_objext conftest.$ac_ext
77742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77743 echo "${ECHO_T}$ac_header_compiler" >&6
77745 # Is the header present?
77746 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77747 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77748 cat >conftest.$ac_ext <<_ACEOF
77749 #line $LINENO "configure"
77750 /* confdefs.h. */
77751 _ACEOF
77752 cat confdefs.h >>conftest.$ac_ext
77753 cat >>conftest.$ac_ext <<_ACEOF
77754 /* end confdefs.h. */
77755 #include <langinfo.h>
77756 _ACEOF
77757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77759 ac_status=$?
77760 grep -v '^ *+' conftest.er1 >conftest.err
77761 rm -f conftest.er1
77762 cat conftest.err >&5
77763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77764 (exit $ac_status); } >/dev/null; then
77765 if test -s conftest.err; then
77766 ac_cpp_err=$ac_c_preproc_warn_flag
77767 else
77768 ac_cpp_err=
77770 else
77771 ac_cpp_err=yes
77773 if test -z "$ac_cpp_err"; then
77774 ac_header_preproc=yes
77775 else
77776 echo "$as_me: failed program was:" >&5
77777 sed 's/^/| /' conftest.$ac_ext >&5
77779 ac_header_preproc=no
77781 rm -f conftest.err conftest.$ac_ext
77782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77783 echo "${ECHO_T}$ac_header_preproc" >&6
77785 # So? What about this header?
77786 case $ac_header_compiler:$ac_header_preproc in
77787 yes:no )
77788 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77789 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77790 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77791 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77793 cat <<\_ASBOX
77794 ## ------------------------------------ ##
77795 ## Report this to bug-autoconf@gnu.org. ##
77796 ## ------------------------------------ ##
77797 _ASBOX
77799 sed "s/^/$as_me: WARNING: /" >&2
77801 no:yes )
77802 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77803 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77804 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77805 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77806 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77807 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77809 cat <<\_ASBOX
77810 ## ------------------------------------ ##
77811 ## Report this to bug-autoconf@gnu.org. ##
77812 ## ------------------------------------ ##
77813 _ASBOX
77815 sed "s/^/$as_me: WARNING: /" >&2
77817 esac
77818 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77819 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77820 if test "${ac_cv_header_langinfo_h+set}" = set; then
77821 echo $ECHO_N "(cached) $ECHO_C" >&6
77822 else
77823 ac_cv_header_langinfo_h=$ac_header_preproc
77825 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77826 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77829 if test $ac_cv_header_langinfo_h = yes; then
77830 ac_has_langinfo_h=yes
77831 else
77832 ac_has_langinfo_h=no
77837 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77838 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77839 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77840 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77841 echo $ECHO_N "(cached) $ECHO_C" >&6
77842 else
77843 ac_check_lib_save_LIBS=$LIBS
77844 LIBS="-liconv $LIBS"
77845 if test x$gcc_no_link = xyes; then
77846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77848 { (exit 1); exit 1; }; }
77850 cat >conftest.$ac_ext <<_ACEOF
77851 #line $LINENO "configure"
77852 /* confdefs.h. */
77853 _ACEOF
77854 cat confdefs.h >>conftest.$ac_ext
77855 cat >>conftest.$ac_ext <<_ACEOF
77856 /* end confdefs.h. */
77858 /* Override any gcc2 internal prototype to avoid an error. */
77859 #ifdef __cplusplus
77860 extern "C"
77861 #endif
77862 /* We use char because int might match the return type of a gcc2
77863 builtin and then its argument prototype would still apply. */
77864 char iconv ();
77866 main ()
77868 iconv ();
77870 return 0;
77872 _ACEOF
77873 rm -f conftest.$ac_objext conftest$ac_exeext
77874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77875 (eval $ac_link) 2>&5
77876 ac_status=$?
77877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77878 (exit $ac_status); } &&
77879 { ac_try='test -s conftest$ac_exeext'
77880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77881 (eval $ac_try) 2>&5
77882 ac_status=$?
77883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77884 (exit $ac_status); }; }; then
77885 ac_cv_lib_iconv_iconv=yes
77886 else
77887 echo "$as_me: failed program was:" >&5
77888 sed 's/^/| /' conftest.$ac_ext >&5
77890 ac_cv_lib_iconv_iconv=no
77892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77893 LIBS=$ac_check_lib_save_LIBS
77895 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77896 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77897 if test $ac_cv_lib_iconv_iconv = yes; then
77898 libiconv="-liconv"
77901 ac_save_LIBS="$LIBS"
77902 LIBS="$LIBS $libiconv"
77908 for ac_func in iconv_open iconv_close iconv nl_langinfo
77910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77911 echo "$as_me:$LINENO: checking for $ac_func" >&5
77912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77913 if eval "test \"\${$as_ac_var+set}\" = set"; then
77914 echo $ECHO_N "(cached) $ECHO_C" >&6
77915 else
77916 if test x$gcc_no_link = xyes; then
77917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77919 { (exit 1); exit 1; }; }
77921 cat >conftest.$ac_ext <<_ACEOF
77922 #line $LINENO "configure"
77923 /* confdefs.h. */
77924 _ACEOF
77925 cat confdefs.h >>conftest.$ac_ext
77926 cat >>conftest.$ac_ext <<_ACEOF
77927 /* end confdefs.h. */
77928 /* System header to define __stub macros and hopefully few prototypes,
77929 which can conflict with char $ac_func (); below.
77930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77931 <limits.h> exists even on freestanding compilers. */
77932 #ifdef __STDC__
77933 # include <limits.h>
77934 #else
77935 # include <assert.h>
77936 #endif
77937 /* Override any gcc2 internal prototype to avoid an error. */
77938 #ifdef __cplusplus
77939 extern "C"
77941 #endif
77942 /* We use char because int might match the return type of a gcc2
77943 builtin and then its argument prototype would still apply. */
77944 char $ac_func ();
77945 /* The GNU C library defines this for functions which it implements
77946 to always fail with ENOSYS. Some functions are actually named
77947 something starting with __ and the normal name is an alias. */
77948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77949 choke me
77950 #else
77951 char (*f) () = $ac_func;
77952 #endif
77953 #ifdef __cplusplus
77955 #endif
77958 main ()
77960 return f != $ac_func;
77962 return 0;
77964 _ACEOF
77965 rm -f conftest.$ac_objext conftest$ac_exeext
77966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77967 (eval $ac_link) 2>&5
77968 ac_status=$?
77969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970 (exit $ac_status); } &&
77971 { ac_try='test -s conftest$ac_exeext'
77972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77973 (eval $ac_try) 2>&5
77974 ac_status=$?
77975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976 (exit $ac_status); }; }; then
77977 eval "$as_ac_var=yes"
77978 else
77979 echo "$as_me: failed program was:" >&5
77980 sed 's/^/| /' conftest.$ac_ext >&5
77982 eval "$as_ac_var=no"
77984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77988 if test `eval echo '${'$as_ac_var'}'` = yes; then
77989 cat >>confdefs.h <<_ACEOF
77990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77991 _ACEOF
77992 ac_XPG2funcs=yes
77993 else
77994 ac_XPG2funcs=no
77996 done
77999 LIBS="$ac_save_LIBS"
78001 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
78002 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
78003 if test x"$ac_has_iconv_h" = xyes &&
78004 test x"$ac_has_langinfo_h" = xyes &&
78005 test x"$ac_XPG2funcs" = xyes;
78006 then
78007 ac_XPG2_wchar_t=yes
78008 else
78009 ac_XPG2_wchar_t=no
78011 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
78012 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
78014 # At the moment, only enable wchar_t specializations if all the
78015 # above support is present.
78016 if test x"$ac_isoC99_wchar_t" = xyes &&
78017 test x"$ac_XPG2_wchar_t" = xyes;
78018 then
78019 cat >>confdefs.h <<\_ACEOF
78020 #define _GLIBCXX_USE_WCHAR_T 1
78021 _ACEOF
78023 enable_wchar_t=yes
78026 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
78027 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
78028 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
78029 echo "${ECHO_T}$enable_wchar_t" >&6
78031 cat >>confdefs.h <<\_ACEOF
78032 #define HAVE_COSF 1
78033 _ACEOF
78035 cat >>confdefs.h <<\_ACEOF
78036 #define HAVE_COSL 1
78037 _ACEOF
78039 cat >>confdefs.h <<\_ACEOF
78040 #define HAVE_COSHF 1
78041 _ACEOF
78043 cat >>confdefs.h <<\_ACEOF
78044 #define HAVE_COSHL 1
78045 _ACEOF
78047 cat >>confdefs.h <<\_ACEOF
78048 #define HAVE_LOGF 1
78049 _ACEOF
78051 cat >>confdefs.h <<\_ACEOF
78052 #define HAVE_LOGL 1
78053 _ACEOF
78055 cat >>confdefs.h <<\_ACEOF
78056 #define HAVE_LOG10F 1
78057 _ACEOF
78059 cat >>confdefs.h <<\_ACEOF
78060 #define HAVE_LOG10L 1
78061 _ACEOF
78063 cat >>confdefs.h <<\_ACEOF
78064 #define HAVE_SINF 1
78065 _ACEOF
78067 cat >>confdefs.h <<\_ACEOF
78068 #define HAVE_SINL 1
78069 _ACEOF
78071 cat >>confdefs.h <<\_ACEOF
78072 #define HAVE_SINHF 1
78073 _ACEOF
78075 cat >>confdefs.h <<\_ACEOF
78076 #define HAVE_SINHL 1
78077 _ACEOF
78080 *-solaris*)
78081 case "$target" in
78082 # *-solaris2.5)
78083 # os_include_dir="os/solaris/solaris2.5"
78084 # ;;
78085 # *-solaris2.6)
78086 # os_include_dir="os/solaris/solaris2.6"
78087 # ;;
78088 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
78089 cat >>confdefs.h <<\_ACEOF
78090 #define HAVE_GETPAGESIZE 1
78091 _ACEOF
78093 cat >>confdefs.h <<\_ACEOF
78094 #define HAVE_SIGSETJMP 1
78095 _ACEOF
78097 cat >>confdefs.h <<\_ACEOF
78098 #define HAVE_MBSTATE_T 1
78099 _ACEOF
78101 cat >>confdefs.h <<\_ACEOF
78102 #define HAVE_POLL 1
78103 _ACEOF
78105 cat >>confdefs.h <<\_ACEOF
78106 #define HAVE_S_ISREG 1
78107 _ACEOF
78109 cat >>confdefs.h <<\_ACEOF
78110 #define HAVE_LC_MESSAGES 1
78111 _ACEOF
78113 cat >>confdefs.h <<\_ACEOF
78114 #define HAVE_BTOWC 1
78115 _ACEOF
78117 cat >>confdefs.h <<\_ACEOF
78118 #define HAVE_FGETWC 1
78119 _ACEOF
78121 cat >>confdefs.h <<\_ACEOF
78122 #define HAVE_FGETWS 1
78123 _ACEOF
78125 cat >>confdefs.h <<\_ACEOF
78126 #define HAVE_FINITE 1
78127 _ACEOF
78129 cat >>confdefs.h <<\_ACEOF
78130 #define HAVE_FPCLASS 1
78131 _ACEOF
78133 cat >>confdefs.h <<\_ACEOF
78134 #define HAVE_FPUTWC 1
78135 _ACEOF
78137 cat >>confdefs.h <<\_ACEOF
78138 #define HAVE_FPUTWS 1
78139 _ACEOF
78141 cat >>confdefs.h <<\_ACEOF
78142 #define HAVE_FWIDE 1
78143 _ACEOF
78145 cat >>confdefs.h <<\_ACEOF
78146 #define HAVE_FWPRINTF 1
78147 _ACEOF
78149 cat >>confdefs.h <<\_ACEOF
78150 #define HAVE_FWSCANF 1
78151 _ACEOF
78153 cat >>confdefs.h <<\_ACEOF
78154 #define HAVE_GETPAGESIZE 1
78155 _ACEOF
78157 cat >>confdefs.h <<\_ACEOF
78158 #define HAVE_GETWC 1
78159 _ACEOF
78161 cat >>confdefs.h <<\_ACEOF
78162 #define HAVE_GETWCHAR 1
78163 _ACEOF
78165 cat >>confdefs.h <<\_ACEOF
78166 #define HAVE_MBRLEN 1
78167 _ACEOF
78169 cat >>confdefs.h <<\_ACEOF
78170 #define HAVE_MBRTOWC 1
78171 _ACEOF
78173 cat >>confdefs.h <<\_ACEOF
78174 #define HAVE_MBSINIT 1
78175 _ACEOF
78177 cat >>confdefs.h <<\_ACEOF
78178 #define HAVE_MBSRTOWCS 1
78179 _ACEOF
78181 cat >>confdefs.h <<\_ACEOF
78182 #define HAVE_NL_LANGINFO 1
78183 _ACEOF
78185 cat >>confdefs.h <<\_ACEOF
78186 #define HAVE_PUTWC 1
78187 _ACEOF
78189 cat >>confdefs.h <<\_ACEOF
78190 #define HAVE_PUTWCHAR 1
78191 _ACEOF
78193 cat >>confdefs.h <<\_ACEOF
78194 #define HAVE_SWPRINTF 1
78195 _ACEOF
78197 cat >>confdefs.h <<\_ACEOF
78198 #define HAVE_SWSCANF 1
78199 _ACEOF
78201 cat >>confdefs.h <<\_ACEOF
78202 #define HAVE_UNGETWC 1
78203 _ACEOF
78205 cat >>confdefs.h <<\_ACEOF
78206 #define HAVE_VFWPRINTF 1
78207 _ACEOF
78209 cat >>confdefs.h <<\_ACEOF
78210 #define HAVE_VSWPRINTF 1
78211 _ACEOF
78213 cat >>confdefs.h <<\_ACEOF
78214 #define HAVE_VWPRINTF 1
78215 _ACEOF
78217 cat >>confdefs.h <<\_ACEOF
78218 #define HAVE_WCRTOMB 1
78219 _ACEOF
78221 cat >>confdefs.h <<\_ACEOF
78222 #define HAVE_WCSCAT 1
78223 _ACEOF
78225 cat >>confdefs.h <<\_ACEOF
78226 #define HAVE_WCSCHR 1
78227 _ACEOF
78229 cat >>confdefs.h <<\_ACEOF
78230 #define HAVE_WCSCMP 1
78231 _ACEOF
78233 cat >>confdefs.h <<\_ACEOF
78234 #define HAVE_WCSCOLL 1
78235 _ACEOF
78237 cat >>confdefs.h <<\_ACEOF
78238 #define HAVE_WCSCPY 1
78239 _ACEOF
78241 cat >>confdefs.h <<\_ACEOF
78242 #define HAVE_WCSCSPN 1
78243 _ACEOF
78245 cat >>confdefs.h <<\_ACEOF
78246 #define HAVE_WCSFTIME 1
78247 _ACEOF
78249 cat >>confdefs.h <<\_ACEOF
78250 #define HAVE_WCSLEN 1
78251 _ACEOF
78253 cat >>confdefs.h <<\_ACEOF
78254 #define HAVE_WCSNCAT 1
78255 _ACEOF
78257 cat >>confdefs.h <<\_ACEOF
78258 #define HAVE_WCSNCMP 1
78259 _ACEOF
78261 cat >>confdefs.h <<\_ACEOF
78262 #define HAVE_WCSNCPY 1
78263 _ACEOF
78265 cat >>confdefs.h <<\_ACEOF
78266 #define HAVE_WCSPBRK 1
78267 _ACEOF
78269 cat >>confdefs.h <<\_ACEOF
78270 #define HAVE_WCSRCHR 1
78271 _ACEOF
78273 cat >>confdefs.h <<\_ACEOF
78274 #define HAVE_WCSRTOMBS 1
78275 _ACEOF
78277 cat >>confdefs.h <<\_ACEOF
78278 #define HAVE_WCSSPN 1
78279 _ACEOF
78281 cat >>confdefs.h <<\_ACEOF
78282 #define HAVE_WCSSTR 1
78283 _ACEOF
78285 cat >>confdefs.h <<\_ACEOF
78286 #define HAVE_WCSTOD 1
78287 _ACEOF
78289 cat >>confdefs.h <<\_ACEOF
78290 #define HAVE_WCSTOK 1
78291 _ACEOF
78293 cat >>confdefs.h <<\_ACEOF
78294 #define HAVE_WCSTOL 1
78295 _ACEOF
78297 cat >>confdefs.h <<\_ACEOF
78298 #define HAVE_WCSTOUL 1
78299 _ACEOF
78301 cat >>confdefs.h <<\_ACEOF
78302 #define HAVE_WCSXFRM 1
78303 _ACEOF
78305 cat >>confdefs.h <<\_ACEOF
78306 #define HAVE_WCTOB 1
78307 _ACEOF
78309 cat >>confdefs.h <<\_ACEOF
78310 #define HAVE_WMEMCHR 1
78311 _ACEOF
78313 cat >>confdefs.h <<\_ACEOF
78314 #define HAVE_WMEMCMP 1
78315 _ACEOF
78317 cat >>confdefs.h <<\_ACEOF
78318 #define HAVE_WMEMCPY 1
78319 _ACEOF
78321 cat >>confdefs.h <<\_ACEOF
78322 #define HAVE_WMEMMOVE 1
78323 _ACEOF
78325 cat >>confdefs.h <<\_ACEOF
78326 #define HAVE_WMEMSET 1
78327 _ACEOF
78329 cat >>confdefs.h <<\_ACEOF
78330 #define HAVE_WPRINTF 1
78331 _ACEOF
78333 cat >>confdefs.h <<\_ACEOF
78334 #define HAVE_WSCANF 1
78335 _ACEOF
78337 cat >>confdefs.h <<\_ACEOF
78338 #define HAVE_ICONV 1
78339 _ACEOF
78341 cat >>confdefs.h <<\_ACEOF
78342 #define HAVE_ICONV_CLOSE 1
78343 _ACEOF
78345 cat >>confdefs.h <<\_ACEOF
78346 #define HAVE_ICONV_OPEN 1
78347 _ACEOF
78349 # Look for the pieces required for wchar_t support in order to
78350 # get all the right HAVE_* macros defined.
78352 # Test wchar.h for mbstate_t, which is needed for char_traits and
78353 # others even if wchar_t support is not on.
78354 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78355 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78356 cat >conftest.$ac_ext <<_ACEOF
78357 #line $LINENO "configure"
78358 /* confdefs.h. */
78359 _ACEOF
78360 cat confdefs.h >>conftest.$ac_ext
78361 cat >>conftest.$ac_ext <<_ACEOF
78362 /* end confdefs.h. */
78363 #include <wchar.h>
78365 main ()
78367 mbstate_t teststate;
78369 return 0;
78371 _ACEOF
78372 rm -f conftest.$ac_objext
78373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78374 (eval $ac_compile) 2>&5
78375 ac_status=$?
78376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78377 (exit $ac_status); } &&
78378 { ac_try='test -s conftest.$ac_objext'
78379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78380 (eval $ac_try) 2>&5
78381 ac_status=$?
78382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78383 (exit $ac_status); }; }; then
78384 have_mbstate_t=yes
78385 else
78386 echo "$as_me: failed program was:" >&5
78387 sed 's/^/| /' conftest.$ac_ext >&5
78389 have_mbstate_t=no
78391 rm -f conftest.$ac_objext conftest.$ac_ext
78392 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78393 echo "${ECHO_T}$have_mbstate_t" >&6
78394 if test x"$have_mbstate_t" = xyes; then
78395 cat >>confdefs.h <<\_ACEOF
78396 #define HAVE_MBSTATE_T 1
78397 _ACEOF
78401 # Sanity check for existence of ISO C99 headers for extended encoding.
78403 for ac_header in wchar.h
78405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78407 echo "$as_me:$LINENO: checking for $ac_header" >&5
78408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78410 echo $ECHO_N "(cached) $ECHO_C" >&6
78412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78414 else
78415 # Is the header compilable?
78416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78418 cat >conftest.$ac_ext <<_ACEOF
78419 #line $LINENO "configure"
78420 /* confdefs.h. */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h. */
78425 $ac_includes_default
78426 #include <$ac_header>
78427 _ACEOF
78428 rm -f conftest.$ac_objext
78429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78430 (eval $ac_compile) 2>&5
78431 ac_status=$?
78432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78433 (exit $ac_status); } &&
78434 { ac_try='test -s conftest.$ac_objext'
78435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78436 (eval $ac_try) 2>&5
78437 ac_status=$?
78438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78439 (exit $ac_status); }; }; then
78440 ac_header_compiler=yes
78441 else
78442 echo "$as_me: failed program was:" >&5
78443 sed 's/^/| /' conftest.$ac_ext >&5
78445 ac_header_compiler=no
78447 rm -f conftest.$ac_objext conftest.$ac_ext
78448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78449 echo "${ECHO_T}$ac_header_compiler" >&6
78451 # Is the header present?
78452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78454 cat >conftest.$ac_ext <<_ACEOF
78455 #line $LINENO "configure"
78456 /* confdefs.h. */
78457 _ACEOF
78458 cat confdefs.h >>conftest.$ac_ext
78459 cat >>conftest.$ac_ext <<_ACEOF
78460 /* end confdefs.h. */
78461 #include <$ac_header>
78462 _ACEOF
78463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78465 ac_status=$?
78466 grep -v '^ *+' conftest.er1 >conftest.err
78467 rm -f conftest.er1
78468 cat conftest.err >&5
78469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470 (exit $ac_status); } >/dev/null; then
78471 if test -s conftest.err; then
78472 ac_cpp_err=$ac_c_preproc_warn_flag
78473 else
78474 ac_cpp_err=
78476 else
78477 ac_cpp_err=yes
78479 if test -z "$ac_cpp_err"; then
78480 ac_header_preproc=yes
78481 else
78482 echo "$as_me: failed program was:" >&5
78483 sed 's/^/| /' conftest.$ac_ext >&5
78485 ac_header_preproc=no
78487 rm -f conftest.err conftest.$ac_ext
78488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78489 echo "${ECHO_T}$ac_header_preproc" >&6
78491 # So? What about this header?
78492 case $ac_header_compiler:$ac_header_preproc in
78493 yes:no )
78494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78499 cat <<\_ASBOX
78500 ## ------------------------------------ ##
78501 ## Report this to bug-autoconf@gnu.org. ##
78502 ## ------------------------------------ ##
78503 _ASBOX
78505 sed "s/^/$as_me: WARNING: /" >&2
78507 no:yes )
78508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78515 cat <<\_ASBOX
78516 ## ------------------------------------ ##
78517 ## Report this to bug-autoconf@gnu.org. ##
78518 ## ------------------------------------ ##
78519 _ASBOX
78521 sed "s/^/$as_me: WARNING: /" >&2
78523 esac
78524 echo "$as_me:$LINENO: checking for $ac_header" >&5
78525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78527 echo $ECHO_N "(cached) $ECHO_C" >&6
78528 else
78529 eval "$as_ac_Header=$ac_header_preproc"
78531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78536 cat >>confdefs.h <<_ACEOF
78537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78538 _ACEOF
78539 ac_has_wchar_h=yes
78540 else
78541 ac_has_wchar_h=no
78544 done
78547 for ac_header in wctype.h
78549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78551 echo "$as_me:$LINENO: checking for $ac_header" >&5
78552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78554 echo $ECHO_N "(cached) $ECHO_C" >&6
78556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78558 else
78559 # Is the header compilable?
78560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78562 cat >conftest.$ac_ext <<_ACEOF
78563 #line $LINENO "configure"
78564 /* confdefs.h. */
78565 _ACEOF
78566 cat confdefs.h >>conftest.$ac_ext
78567 cat >>conftest.$ac_ext <<_ACEOF
78568 /* end confdefs.h. */
78569 $ac_includes_default
78570 #include <$ac_header>
78571 _ACEOF
78572 rm -f conftest.$ac_objext
78573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78574 (eval $ac_compile) 2>&5
78575 ac_status=$?
78576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577 (exit $ac_status); } &&
78578 { ac_try='test -s conftest.$ac_objext'
78579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78580 (eval $ac_try) 2>&5
78581 ac_status=$?
78582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583 (exit $ac_status); }; }; then
78584 ac_header_compiler=yes
78585 else
78586 echo "$as_me: failed program was:" >&5
78587 sed 's/^/| /' conftest.$ac_ext >&5
78589 ac_header_compiler=no
78591 rm -f conftest.$ac_objext conftest.$ac_ext
78592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78593 echo "${ECHO_T}$ac_header_compiler" >&6
78595 # Is the header present?
78596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78598 cat >conftest.$ac_ext <<_ACEOF
78599 #line $LINENO "configure"
78600 /* confdefs.h. */
78601 _ACEOF
78602 cat confdefs.h >>conftest.$ac_ext
78603 cat >>conftest.$ac_ext <<_ACEOF
78604 /* end confdefs.h. */
78605 #include <$ac_header>
78606 _ACEOF
78607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78609 ac_status=$?
78610 grep -v '^ *+' conftest.er1 >conftest.err
78611 rm -f conftest.er1
78612 cat conftest.err >&5
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); } >/dev/null; then
78615 if test -s conftest.err; then
78616 ac_cpp_err=$ac_c_preproc_warn_flag
78617 else
78618 ac_cpp_err=
78620 else
78621 ac_cpp_err=yes
78623 if test -z "$ac_cpp_err"; then
78624 ac_header_preproc=yes
78625 else
78626 echo "$as_me: failed program was:" >&5
78627 sed 's/^/| /' conftest.$ac_ext >&5
78629 ac_header_preproc=no
78631 rm -f conftest.err conftest.$ac_ext
78632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78633 echo "${ECHO_T}$ac_header_preproc" >&6
78635 # So? What about this header?
78636 case $ac_header_compiler:$ac_header_preproc in
78637 yes:no )
78638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78643 cat <<\_ASBOX
78644 ## ------------------------------------ ##
78645 ## Report this to bug-autoconf@gnu.org. ##
78646 ## ------------------------------------ ##
78647 _ASBOX
78649 sed "s/^/$as_me: WARNING: /" >&2
78651 no:yes )
78652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78659 cat <<\_ASBOX
78660 ## ------------------------------------ ##
78661 ## Report this to bug-autoconf@gnu.org. ##
78662 ## ------------------------------------ ##
78663 _ASBOX
78665 sed "s/^/$as_me: WARNING: /" >&2
78667 esac
78668 echo "$as_me:$LINENO: checking for $ac_header" >&5
78669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78671 echo $ECHO_N "(cached) $ECHO_C" >&6
78672 else
78673 eval "$as_ac_Header=$ac_header_preproc"
78675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78680 cat >>confdefs.h <<_ACEOF
78681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78682 _ACEOF
78683 ac_has_wctype_h=yes
78684 else
78685 ac_has_wctype_h=no
78688 done
78691 # Only continue checking if the ISO C99 headers exist and support is on.
78692 if test x"$ac_has_wchar_h" = xyes &&
78693 test x"$ac_has_wctype_h" = xyes &&
78694 test x"$enable_c_mbchar" != xno; then
78696 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78697 # numeric_limits can instantiate type_traits<wchar_t>
78698 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78699 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78700 cat >conftest.$ac_ext <<_ACEOF
78701 #line $LINENO "configure"
78702 /* confdefs.h. */
78703 _ACEOF
78704 cat confdefs.h >>conftest.$ac_ext
78705 cat >>conftest.$ac_ext <<_ACEOF
78706 /* end confdefs.h. */
78707 #include <wchar.h>
78709 main ()
78711 int i = WCHAR_MIN; int j = WCHAR_MAX;
78713 return 0;
78715 _ACEOF
78716 rm -f conftest.$ac_objext
78717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78718 (eval $ac_compile) 2>&5
78719 ac_status=$?
78720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78721 (exit $ac_status); } &&
78722 { ac_try='test -s conftest.$ac_objext'
78723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78724 (eval $ac_try) 2>&5
78725 ac_status=$?
78726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727 (exit $ac_status); }; }; then
78728 has_wchar_minmax=yes
78729 else
78730 echo "$as_me: failed program was:" >&5
78731 sed 's/^/| /' conftest.$ac_ext >&5
78733 has_wchar_minmax=no
78735 rm -f conftest.$ac_objext conftest.$ac_ext
78736 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78737 echo "${ECHO_T}$has_wchar_minmax" >&6
78739 # Test wchar.h for WEOF, which is what we use to determine whether
78740 # to specialize for char_traits<wchar_t> or not.
78741 echo "$as_me:$LINENO: checking for WEOF" >&5
78742 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78743 cat >conftest.$ac_ext <<_ACEOF
78744 #line $LINENO "configure"
78745 /* confdefs.h. */
78746 _ACEOF
78747 cat confdefs.h >>conftest.$ac_ext
78748 cat >>conftest.$ac_ext <<_ACEOF
78749 /* end confdefs.h. */
78751 #include <wchar.h>
78752 #include <stddef.h>
78754 main ()
78756 wint_t i = WEOF;
78758 return 0;
78760 _ACEOF
78761 rm -f conftest.$ac_objext
78762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78763 (eval $ac_compile) 2>&5
78764 ac_status=$?
78765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78766 (exit $ac_status); } &&
78767 { ac_try='test -s conftest.$ac_objext'
78768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78769 (eval $ac_try) 2>&5
78770 ac_status=$?
78771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78772 (exit $ac_status); }; }; then
78773 has_weof=yes
78774 else
78775 echo "$as_me: failed program was:" >&5
78776 sed 's/^/| /' conftest.$ac_ext >&5
78778 has_weof=no
78780 rm -f conftest.$ac_objext conftest.$ac_ext
78781 echo "$as_me:$LINENO: result: $has_weof" >&5
78782 echo "${ECHO_T}$has_weof" >&6
78784 # Tests for wide character functions used in char_traits<wchar_t>.
78785 ac_wfuncs=yes
78792 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78795 echo "$as_me:$LINENO: checking for $ac_func" >&5
78796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78797 if eval "test \"\${$as_ac_var+set}\" = set"; then
78798 echo $ECHO_N "(cached) $ECHO_C" >&6
78799 else
78800 if test x$gcc_no_link = xyes; then
78801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78803 { (exit 1); exit 1; }; }
78805 cat >conftest.$ac_ext <<_ACEOF
78806 #line $LINENO "configure"
78807 /* confdefs.h. */
78808 _ACEOF
78809 cat confdefs.h >>conftest.$ac_ext
78810 cat >>conftest.$ac_ext <<_ACEOF
78811 /* end confdefs.h. */
78812 /* System header to define __stub macros and hopefully few prototypes,
78813 which can conflict with char $ac_func (); below.
78814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78815 <limits.h> exists even on freestanding compilers. */
78816 #ifdef __STDC__
78817 # include <limits.h>
78818 #else
78819 # include <assert.h>
78820 #endif
78821 /* Override any gcc2 internal prototype to avoid an error. */
78822 #ifdef __cplusplus
78823 extern "C"
78825 #endif
78826 /* We use char because int might match the return type of a gcc2
78827 builtin and then its argument prototype would still apply. */
78828 char $ac_func ();
78829 /* The GNU C library defines this for functions which it implements
78830 to always fail with ENOSYS. Some functions are actually named
78831 something starting with __ and the normal name is an alias. */
78832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78833 choke me
78834 #else
78835 char (*f) () = $ac_func;
78836 #endif
78837 #ifdef __cplusplus
78839 #endif
78842 main ()
78844 return f != $ac_func;
78846 return 0;
78848 _ACEOF
78849 rm -f conftest.$ac_objext conftest$ac_exeext
78850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78851 (eval $ac_link) 2>&5
78852 ac_status=$?
78853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854 (exit $ac_status); } &&
78855 { ac_try='test -s conftest$ac_exeext'
78856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78857 (eval $ac_try) 2>&5
78858 ac_status=$?
78859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78860 (exit $ac_status); }; }; then
78861 eval "$as_ac_var=yes"
78862 else
78863 echo "$as_me: failed program was:" >&5
78864 sed 's/^/| /' conftest.$ac_ext >&5
78866 eval "$as_ac_var=no"
78868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
78870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78872 if test `eval echo '${'$as_ac_var'}'` = yes; then
78873 cat >>confdefs.h <<_ACEOF
78874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78875 _ACEOF
78877 else
78878 ac_wfuncs=no
78880 done
78883 # Checks for names injected into std:: by the c_std headers.
78930 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78931 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78932 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78933 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78934 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78935 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78938 echo "$as_me:$LINENO: checking for $ac_func" >&5
78939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78940 if eval "test \"\${$as_ac_var+set}\" = set"; then
78941 echo $ECHO_N "(cached) $ECHO_C" >&6
78942 else
78943 if test x$gcc_no_link = xyes; then
78944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78946 { (exit 1); exit 1; }; }
78948 cat >conftest.$ac_ext <<_ACEOF
78949 #line $LINENO "configure"
78950 /* confdefs.h. */
78951 _ACEOF
78952 cat confdefs.h >>conftest.$ac_ext
78953 cat >>conftest.$ac_ext <<_ACEOF
78954 /* end confdefs.h. */
78955 /* System header to define __stub macros and hopefully few prototypes,
78956 which can conflict with char $ac_func (); below.
78957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78958 <limits.h> exists even on freestanding compilers. */
78959 #ifdef __STDC__
78960 # include <limits.h>
78961 #else
78962 # include <assert.h>
78963 #endif
78964 /* Override any gcc2 internal prototype to avoid an error. */
78965 #ifdef __cplusplus
78966 extern "C"
78968 #endif
78969 /* We use char because int might match the return type of a gcc2
78970 builtin and then its argument prototype would still apply. */
78971 char $ac_func ();
78972 /* The GNU C library defines this for functions which it implements
78973 to always fail with ENOSYS. Some functions are actually named
78974 something starting with __ and the normal name is an alias. */
78975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78976 choke me
78977 #else
78978 char (*f) () = $ac_func;
78979 #endif
78980 #ifdef __cplusplus
78982 #endif
78985 main ()
78987 return f != $ac_func;
78989 return 0;
78991 _ACEOF
78992 rm -f conftest.$ac_objext conftest$ac_exeext
78993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78994 (eval $ac_link) 2>&5
78995 ac_status=$?
78996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78997 (exit $ac_status); } &&
78998 { ac_try='test -s conftest$ac_exeext'
78999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79000 (eval $ac_try) 2>&5
79001 ac_status=$?
79002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79003 (exit $ac_status); }; }; then
79004 eval "$as_ac_var=yes"
79005 else
79006 echo "$as_me: failed program was:" >&5
79007 sed 's/^/| /' conftest.$ac_ext >&5
79009 eval "$as_ac_var=no"
79011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79015 if test `eval echo '${'$as_ac_var'}'` = yes; then
79016 cat >>confdefs.h <<_ACEOF
79017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79018 _ACEOF
79020 else
79021 ac_wfuncs=no
79023 done
79026 # Checks for wide character functions that are not required
79027 # for basic wchar_t support. Don't disable support if they are missing.
79028 # Injection of these is wrapped with guard macros.
79034 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
79036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79037 echo "$as_me:$LINENO: checking for $ac_func" >&5
79038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79039 if eval "test \"\${$as_ac_var+set}\" = set"; then
79040 echo $ECHO_N "(cached) $ECHO_C" >&6
79041 else
79042 if test x$gcc_no_link = xyes; then
79043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79045 { (exit 1); exit 1; }; }
79047 cat >conftest.$ac_ext <<_ACEOF
79048 #line $LINENO "configure"
79049 /* confdefs.h. */
79050 _ACEOF
79051 cat confdefs.h >>conftest.$ac_ext
79052 cat >>conftest.$ac_ext <<_ACEOF
79053 /* end confdefs.h. */
79054 /* System header to define __stub macros and hopefully few prototypes,
79055 which can conflict with char $ac_func (); below.
79056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79057 <limits.h> exists even on freestanding compilers. */
79058 #ifdef __STDC__
79059 # include <limits.h>
79060 #else
79061 # include <assert.h>
79062 #endif
79063 /* Override any gcc2 internal prototype to avoid an error. */
79064 #ifdef __cplusplus
79065 extern "C"
79067 #endif
79068 /* We use char because int might match the return type of a gcc2
79069 builtin and then its argument prototype would still apply. */
79070 char $ac_func ();
79071 /* The GNU C library defines this for functions which it implements
79072 to always fail with ENOSYS. Some functions are actually named
79073 something starting with __ and the normal name is an alias. */
79074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79075 choke me
79076 #else
79077 char (*f) () = $ac_func;
79078 #endif
79079 #ifdef __cplusplus
79081 #endif
79084 main ()
79086 return f != $ac_func;
79088 return 0;
79090 _ACEOF
79091 rm -f conftest.$ac_objext conftest$ac_exeext
79092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79093 (eval $ac_link) 2>&5
79094 ac_status=$?
79095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79096 (exit $ac_status); } &&
79097 { ac_try='test -s conftest$ac_exeext'
79098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79099 (eval $ac_try) 2>&5
79100 ac_status=$?
79101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79102 (exit $ac_status); }; }; then
79103 eval "$as_ac_var=yes"
79104 else
79105 echo "$as_me: failed program was:" >&5
79106 sed 's/^/| /' conftest.$ac_ext >&5
79108 eval "$as_ac_var=no"
79110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79114 if test `eval echo '${'$as_ac_var'}'` = yes; then
79115 cat >>confdefs.h <<_ACEOF
79116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79117 _ACEOF
79120 done
79123 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79124 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79125 if test x"$has_weof" = xyes &&
79126 test x"$has_wchar_minmax" = xyes &&
79127 test x"$ac_wfuncs" = xyes;
79128 then
79129 ac_isoC99_wchar_t=yes
79130 else
79131 ac_isoC99_wchar_t=no
79133 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79134 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79136 # Use iconv for wchar_t to char conversions. As such, check for
79137 # X/Open Portability Guide, version 2 features (XPG2).
79138 if test "${ac_cv_header_iconv_h+set}" = set; then
79139 echo "$as_me:$LINENO: checking for iconv.h" >&5
79140 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79141 if test "${ac_cv_header_iconv_h+set}" = set; then
79142 echo $ECHO_N "(cached) $ECHO_C" >&6
79144 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79145 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79146 else
79147 # Is the header compilable?
79148 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79149 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79150 cat >conftest.$ac_ext <<_ACEOF
79151 #line $LINENO "configure"
79152 /* confdefs.h. */
79153 _ACEOF
79154 cat confdefs.h >>conftest.$ac_ext
79155 cat >>conftest.$ac_ext <<_ACEOF
79156 /* end confdefs.h. */
79157 $ac_includes_default
79158 #include <iconv.h>
79159 _ACEOF
79160 rm -f conftest.$ac_objext
79161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79162 (eval $ac_compile) 2>&5
79163 ac_status=$?
79164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79165 (exit $ac_status); } &&
79166 { ac_try='test -s conftest.$ac_objext'
79167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79168 (eval $ac_try) 2>&5
79169 ac_status=$?
79170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171 (exit $ac_status); }; }; then
79172 ac_header_compiler=yes
79173 else
79174 echo "$as_me: failed program was:" >&5
79175 sed 's/^/| /' conftest.$ac_ext >&5
79177 ac_header_compiler=no
79179 rm -f conftest.$ac_objext conftest.$ac_ext
79180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79181 echo "${ECHO_T}$ac_header_compiler" >&6
79183 # Is the header present?
79184 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79185 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79186 cat >conftest.$ac_ext <<_ACEOF
79187 #line $LINENO "configure"
79188 /* confdefs.h. */
79189 _ACEOF
79190 cat confdefs.h >>conftest.$ac_ext
79191 cat >>conftest.$ac_ext <<_ACEOF
79192 /* end confdefs.h. */
79193 #include <iconv.h>
79194 _ACEOF
79195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79197 ac_status=$?
79198 grep -v '^ *+' conftest.er1 >conftest.err
79199 rm -f conftest.er1
79200 cat conftest.err >&5
79201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79202 (exit $ac_status); } >/dev/null; then
79203 if test -s conftest.err; then
79204 ac_cpp_err=$ac_c_preproc_warn_flag
79205 else
79206 ac_cpp_err=
79208 else
79209 ac_cpp_err=yes
79211 if test -z "$ac_cpp_err"; then
79212 ac_header_preproc=yes
79213 else
79214 echo "$as_me: failed program was:" >&5
79215 sed 's/^/| /' conftest.$ac_ext >&5
79217 ac_header_preproc=no
79219 rm -f conftest.err conftest.$ac_ext
79220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79221 echo "${ECHO_T}$ac_header_preproc" >&6
79223 # So? What about this header?
79224 case $ac_header_compiler:$ac_header_preproc in
79225 yes:no )
79226 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79227 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79228 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79229 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79231 cat <<\_ASBOX
79232 ## ------------------------------------ ##
79233 ## Report this to bug-autoconf@gnu.org. ##
79234 ## ------------------------------------ ##
79235 _ASBOX
79237 sed "s/^/$as_me: WARNING: /" >&2
79239 no:yes )
79240 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79241 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79242 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79243 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79244 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79245 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79247 cat <<\_ASBOX
79248 ## ------------------------------------ ##
79249 ## Report this to bug-autoconf@gnu.org. ##
79250 ## ------------------------------------ ##
79251 _ASBOX
79253 sed "s/^/$as_me: WARNING: /" >&2
79255 esac
79256 echo "$as_me:$LINENO: checking for iconv.h" >&5
79257 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79258 if test "${ac_cv_header_iconv_h+set}" = set; then
79259 echo $ECHO_N "(cached) $ECHO_C" >&6
79260 else
79261 ac_cv_header_iconv_h=$ac_header_preproc
79263 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79264 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79267 if test $ac_cv_header_iconv_h = yes; then
79268 ac_has_iconv_h=yes
79269 else
79270 ac_has_iconv_h=no
79274 if test "${ac_cv_header_langinfo_h+set}" = set; then
79275 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79276 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79277 if test "${ac_cv_header_langinfo_h+set}" = set; then
79278 echo $ECHO_N "(cached) $ECHO_C" >&6
79280 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79281 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79282 else
79283 # Is the header compilable?
79284 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79285 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79286 cat >conftest.$ac_ext <<_ACEOF
79287 #line $LINENO "configure"
79288 /* confdefs.h. */
79289 _ACEOF
79290 cat confdefs.h >>conftest.$ac_ext
79291 cat >>conftest.$ac_ext <<_ACEOF
79292 /* end confdefs.h. */
79293 $ac_includes_default
79294 #include <langinfo.h>
79295 _ACEOF
79296 rm -f conftest.$ac_objext
79297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79298 (eval $ac_compile) 2>&5
79299 ac_status=$?
79300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79301 (exit $ac_status); } &&
79302 { ac_try='test -s conftest.$ac_objext'
79303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79304 (eval $ac_try) 2>&5
79305 ac_status=$?
79306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79307 (exit $ac_status); }; }; then
79308 ac_header_compiler=yes
79309 else
79310 echo "$as_me: failed program was:" >&5
79311 sed 's/^/| /' conftest.$ac_ext >&5
79313 ac_header_compiler=no
79315 rm -f conftest.$ac_objext conftest.$ac_ext
79316 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79317 echo "${ECHO_T}$ac_header_compiler" >&6
79319 # Is the header present?
79320 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79321 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79322 cat >conftest.$ac_ext <<_ACEOF
79323 #line $LINENO "configure"
79324 /* confdefs.h. */
79325 _ACEOF
79326 cat confdefs.h >>conftest.$ac_ext
79327 cat >>conftest.$ac_ext <<_ACEOF
79328 /* end confdefs.h. */
79329 #include <langinfo.h>
79330 _ACEOF
79331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79333 ac_status=$?
79334 grep -v '^ *+' conftest.er1 >conftest.err
79335 rm -f conftest.er1
79336 cat conftest.err >&5
79337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338 (exit $ac_status); } >/dev/null; then
79339 if test -s conftest.err; then
79340 ac_cpp_err=$ac_c_preproc_warn_flag
79341 else
79342 ac_cpp_err=
79344 else
79345 ac_cpp_err=yes
79347 if test -z "$ac_cpp_err"; then
79348 ac_header_preproc=yes
79349 else
79350 echo "$as_me: failed program was:" >&5
79351 sed 's/^/| /' conftest.$ac_ext >&5
79353 ac_header_preproc=no
79355 rm -f conftest.err conftest.$ac_ext
79356 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79357 echo "${ECHO_T}$ac_header_preproc" >&6
79359 # So? What about this header?
79360 case $ac_header_compiler:$ac_header_preproc in
79361 yes:no )
79362 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79363 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79364 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79365 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79367 cat <<\_ASBOX
79368 ## ------------------------------------ ##
79369 ## Report this to bug-autoconf@gnu.org. ##
79370 ## ------------------------------------ ##
79371 _ASBOX
79373 sed "s/^/$as_me: WARNING: /" >&2
79375 no:yes )
79376 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79377 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79378 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79379 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79380 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79381 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79383 cat <<\_ASBOX
79384 ## ------------------------------------ ##
79385 ## Report this to bug-autoconf@gnu.org. ##
79386 ## ------------------------------------ ##
79387 _ASBOX
79389 sed "s/^/$as_me: WARNING: /" >&2
79391 esac
79392 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79393 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79394 if test "${ac_cv_header_langinfo_h+set}" = set; then
79395 echo $ECHO_N "(cached) $ECHO_C" >&6
79396 else
79397 ac_cv_header_langinfo_h=$ac_header_preproc
79399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79403 if test $ac_cv_header_langinfo_h = yes; then
79404 ac_has_langinfo_h=yes
79405 else
79406 ac_has_langinfo_h=no
79411 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79412 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79413 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79414 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79415 echo $ECHO_N "(cached) $ECHO_C" >&6
79416 else
79417 ac_check_lib_save_LIBS=$LIBS
79418 LIBS="-liconv $LIBS"
79419 if test x$gcc_no_link = xyes; then
79420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79422 { (exit 1); exit 1; }; }
79424 cat >conftest.$ac_ext <<_ACEOF
79425 #line $LINENO "configure"
79426 /* confdefs.h. */
79427 _ACEOF
79428 cat confdefs.h >>conftest.$ac_ext
79429 cat >>conftest.$ac_ext <<_ACEOF
79430 /* end confdefs.h. */
79432 /* Override any gcc2 internal prototype to avoid an error. */
79433 #ifdef __cplusplus
79434 extern "C"
79435 #endif
79436 /* We use char because int might match the return type of a gcc2
79437 builtin and then its argument prototype would still apply. */
79438 char iconv ();
79440 main ()
79442 iconv ();
79444 return 0;
79446 _ACEOF
79447 rm -f conftest.$ac_objext conftest$ac_exeext
79448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79449 (eval $ac_link) 2>&5
79450 ac_status=$?
79451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79452 (exit $ac_status); } &&
79453 { ac_try='test -s conftest$ac_exeext'
79454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79455 (eval $ac_try) 2>&5
79456 ac_status=$?
79457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79458 (exit $ac_status); }; }; then
79459 ac_cv_lib_iconv_iconv=yes
79460 else
79461 echo "$as_me: failed program was:" >&5
79462 sed 's/^/| /' conftest.$ac_ext >&5
79464 ac_cv_lib_iconv_iconv=no
79466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79467 LIBS=$ac_check_lib_save_LIBS
79469 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79470 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79471 if test $ac_cv_lib_iconv_iconv = yes; then
79472 libiconv="-liconv"
79475 ac_save_LIBS="$LIBS"
79476 LIBS="$LIBS $libiconv"
79482 for ac_func in iconv_open iconv_close iconv nl_langinfo
79484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79485 echo "$as_me:$LINENO: checking for $ac_func" >&5
79486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79487 if eval "test \"\${$as_ac_var+set}\" = set"; then
79488 echo $ECHO_N "(cached) $ECHO_C" >&6
79489 else
79490 if test x$gcc_no_link = xyes; then
79491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79493 { (exit 1); exit 1; }; }
79495 cat >conftest.$ac_ext <<_ACEOF
79496 #line $LINENO "configure"
79497 /* confdefs.h. */
79498 _ACEOF
79499 cat confdefs.h >>conftest.$ac_ext
79500 cat >>conftest.$ac_ext <<_ACEOF
79501 /* end confdefs.h. */
79502 /* System header to define __stub macros and hopefully few prototypes,
79503 which can conflict with char $ac_func (); below.
79504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79505 <limits.h> exists even on freestanding compilers. */
79506 #ifdef __STDC__
79507 # include <limits.h>
79508 #else
79509 # include <assert.h>
79510 #endif
79511 /* Override any gcc2 internal prototype to avoid an error. */
79512 #ifdef __cplusplus
79513 extern "C"
79515 #endif
79516 /* We use char because int might match the return type of a gcc2
79517 builtin and then its argument prototype would still apply. */
79518 char $ac_func ();
79519 /* The GNU C library defines this for functions which it implements
79520 to always fail with ENOSYS. Some functions are actually named
79521 something starting with __ and the normal name is an alias. */
79522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79523 choke me
79524 #else
79525 char (*f) () = $ac_func;
79526 #endif
79527 #ifdef __cplusplus
79529 #endif
79532 main ()
79534 return f != $ac_func;
79536 return 0;
79538 _ACEOF
79539 rm -f conftest.$ac_objext conftest$ac_exeext
79540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79541 (eval $ac_link) 2>&5
79542 ac_status=$?
79543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79544 (exit $ac_status); } &&
79545 { ac_try='test -s conftest$ac_exeext'
79546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79547 (eval $ac_try) 2>&5
79548 ac_status=$?
79549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79550 (exit $ac_status); }; }; then
79551 eval "$as_ac_var=yes"
79552 else
79553 echo "$as_me: failed program was:" >&5
79554 sed 's/^/| /' conftest.$ac_ext >&5
79556 eval "$as_ac_var=no"
79558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79562 if test `eval echo '${'$as_ac_var'}'` = yes; then
79563 cat >>confdefs.h <<_ACEOF
79564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79565 _ACEOF
79566 ac_XPG2funcs=yes
79567 else
79568 ac_XPG2funcs=no
79570 done
79573 LIBS="$ac_save_LIBS"
79575 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79576 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79577 if test x"$ac_has_iconv_h" = xyes &&
79578 test x"$ac_has_langinfo_h" = xyes &&
79579 test x"$ac_XPG2funcs" = xyes;
79580 then
79581 ac_XPG2_wchar_t=yes
79582 else
79583 ac_XPG2_wchar_t=no
79585 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79586 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79588 # At the moment, only enable wchar_t specializations if all the
79589 # above support is present.
79590 if test x"$ac_isoC99_wchar_t" = xyes &&
79591 test x"$ac_XPG2_wchar_t" = xyes;
79592 then
79593 cat >>confdefs.h <<\_ACEOF
79594 #define _GLIBCXX_USE_WCHAR_T 1
79595 _ACEOF
79597 enable_wchar_t=yes
79600 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79601 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79602 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79603 echo "${ECHO_T}$enable_wchar_t" >&6
79605 # All of the dependencies for wide character support are here, so
79606 # turn it on. This requires some syncronization with the
79607 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
79608 cat >>confdefs.h <<\_ACEOF
79609 #define _GLIBCXX_USE_WCHAR_T 1
79610 _ACEOF
79612 # Are these tested for even when cross?
79613 cat >>confdefs.h <<\_ACEOF
79614 #define HAVE_FLOAT_H 1
79615 _ACEOF
79617 cat >>confdefs.h <<\_ACEOF
79618 #define HAVE_IEEEFP_H 1
79619 _ACEOF
79621 cat >>confdefs.h <<\_ACEOF
79622 #define HAVE_INTTYPES_H 1
79623 _ACEOF
79625 cat >>confdefs.h <<\_ACEOF
79626 #define HAVE_LOCALE_H 1
79627 _ACEOF
79629 cat >>confdefs.h <<\_ACEOF
79630 #define HAVE_NAN_H 1
79631 _ACEOF
79633 cat >>confdefs.h <<\_ACEOF
79634 #define HAVE_SYS_FILIO_H 1
79635 _ACEOF
79637 cat >>confdefs.h <<\_ACEOF
79638 #define HAVE_SYS_IOCTL_H 1
79639 _ACEOF
79641 cat >>confdefs.h <<\_ACEOF
79642 #define HAVE_SYS_ISA_DEFS_H 1
79643 _ACEOF
79645 cat >>confdefs.h <<\_ACEOF
79646 #define HAVE_SYS_RESOURCE_H 1
79647 _ACEOF
79649 cat >>confdefs.h <<\_ACEOF
79650 #define HAVE_SYS_TIME_H 1
79651 _ACEOF
79653 cat >>confdefs.h <<\_ACEOF
79654 #define HAVE_SYS_TYPES_H 1
79655 _ACEOF
79657 cat >>confdefs.h <<\_ACEOF
79658 #define HAVE_UNISTD_H 1
79659 _ACEOF
79661 cat >>confdefs.h <<\_ACEOF
79662 #define HAVE_WCHAR_H 1
79663 _ACEOF
79665 cat >>confdefs.h <<\_ACEOF
79666 #define HAVE_WCTYPE_H 1
79667 _ACEOF
79669 cat >>confdefs.h <<\_ACEOF
79670 #define HAVE_LIBM 1
79671 _ACEOF
79674 esac
79675 case "$target" in
79676 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
79677 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
79678 cat >>confdefs.h <<\_ACEOF
79679 #define HAVE___BUILTIN_ABS 1
79680 _ACEOF
79682 cat >>confdefs.h <<\_ACEOF
79683 #define HAVE___BUILTIN_LABS 1
79684 _ACEOF
79686 cat >>confdefs.h <<\_ACEOF
79687 #define HAVE___BUILTIN_FABS 1
79688 _ACEOF
79690 cat >>confdefs.h <<\_ACEOF
79691 #define HAVE___BUILTIN_FABSF 1
79692 _ACEOF
79694 cat >>confdefs.h <<\_ACEOF
79695 #define HAVE___BUILTIN_FABSL 1
79696 _ACEOF
79698 cat >>confdefs.h <<\_ACEOF
79699 #define HAVE___BUILTIN_COS 1
79700 _ACEOF
79702 cat >>confdefs.h <<\_ACEOF
79703 #define HAVE___BUILTIN_COSF 1
79704 _ACEOF
79706 cat >>confdefs.h <<\_ACEOF
79707 #define HAVE___BUILTIN_SIN 1
79708 _ACEOF
79710 cat >>confdefs.h <<\_ACEOF
79711 #define HAVE___BUILTIN_SINF 1
79712 _ACEOF
79715 esac
79716 cat >>confdefs.h <<\_ACEOF
79717 #define HAVE_STRTOF 1
79718 _ACEOF
79720 cat >>confdefs.h <<\_ACEOF
79721 #define HAVE_STRTOLD 1
79722 _ACEOF
79724 cat >>confdefs.h <<\_ACEOF
79725 #define HAVE_MMAP 1
79726 _ACEOF
79728 cat >>confdefs.h <<\_ACEOF
79729 #define HAVE_COPYSIGN 1
79730 _ACEOF
79732 cat >>confdefs.h <<\_ACEOF
79733 #define HAVE_ISNAN 1
79734 _ACEOF
79736 cat >>confdefs.h <<\_ACEOF
79737 #define HAVE_ISNANF 1
79738 _ACEOF
79740 cat >>confdefs.h <<\_ACEOF
79741 #define HAVE_MODFF 1
79742 _ACEOF
79744 cat >>confdefs.h <<\_ACEOF
79745 #define HAVE_HYPOT 1
79746 _ACEOF
79749 *-tpf)
79758 for ac_header in nan.h endian.h machine/endian.h \
79759 sys/param.h sys/types.h locale.h float.h inttypes.h
79761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79763 echo "$as_me:$LINENO: checking for $ac_header" >&5
79764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79766 echo $ECHO_N "(cached) $ECHO_C" >&6
79768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79770 else
79771 # Is the header compilable?
79772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79774 cat >conftest.$ac_ext <<_ACEOF
79775 #line $LINENO "configure"
79776 /* confdefs.h. */
79777 _ACEOF
79778 cat confdefs.h >>conftest.$ac_ext
79779 cat >>conftest.$ac_ext <<_ACEOF
79780 /* end confdefs.h. */
79781 $ac_includes_default
79782 #include <$ac_header>
79783 _ACEOF
79784 rm -f conftest.$ac_objext
79785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79786 (eval $ac_compile) 2>&5
79787 ac_status=$?
79788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79789 (exit $ac_status); } &&
79790 { ac_try='test -s conftest.$ac_objext'
79791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79792 (eval $ac_try) 2>&5
79793 ac_status=$?
79794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79795 (exit $ac_status); }; }; then
79796 ac_header_compiler=yes
79797 else
79798 echo "$as_me: failed program was:" >&5
79799 sed 's/^/| /' conftest.$ac_ext >&5
79801 ac_header_compiler=no
79803 rm -f conftest.$ac_objext conftest.$ac_ext
79804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79805 echo "${ECHO_T}$ac_header_compiler" >&6
79807 # Is the header present?
79808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79810 cat >conftest.$ac_ext <<_ACEOF
79811 #line $LINENO "configure"
79812 /* confdefs.h. */
79813 _ACEOF
79814 cat confdefs.h >>conftest.$ac_ext
79815 cat >>conftest.$ac_ext <<_ACEOF
79816 /* end confdefs.h. */
79817 #include <$ac_header>
79818 _ACEOF
79819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79821 ac_status=$?
79822 grep -v '^ *+' conftest.er1 >conftest.err
79823 rm -f conftest.er1
79824 cat conftest.err >&5
79825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79826 (exit $ac_status); } >/dev/null; then
79827 if test -s conftest.err; then
79828 ac_cpp_err=$ac_c_preproc_warn_flag
79829 else
79830 ac_cpp_err=
79832 else
79833 ac_cpp_err=yes
79835 if test -z "$ac_cpp_err"; then
79836 ac_header_preproc=yes
79837 else
79838 echo "$as_me: failed program was:" >&5
79839 sed 's/^/| /' conftest.$ac_ext >&5
79841 ac_header_preproc=no
79843 rm -f conftest.err conftest.$ac_ext
79844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79845 echo "${ECHO_T}$ac_header_preproc" >&6
79847 # So? What about this header?
79848 case $ac_header_compiler:$ac_header_preproc in
79849 yes:no )
79850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79855 cat <<\_ASBOX
79856 ## ------------------------------------ ##
79857 ## Report this to bug-autoconf@gnu.org. ##
79858 ## ------------------------------------ ##
79859 _ASBOX
79861 sed "s/^/$as_me: WARNING: /" >&2
79863 no:yes )
79864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79871 cat <<\_ASBOX
79872 ## ------------------------------------ ##
79873 ## Report this to bug-autoconf@gnu.org. ##
79874 ## ------------------------------------ ##
79875 _ASBOX
79877 sed "s/^/$as_me: WARNING: /" >&2
79879 esac
79880 echo "$as_me:$LINENO: checking for $ac_header" >&5
79881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79883 echo $ECHO_N "(cached) $ECHO_C" >&6
79884 else
79885 eval "$as_ac_Header=$ac_header_preproc"
79887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79892 cat >>confdefs.h <<_ACEOF
79893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79894 _ACEOF
79898 done
79900 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79903 # If we're not using GNU ld, then there's no point in even trying these
79904 # tests. Check for that first. We should have already tested for gld
79905 # by now (in libtool), but require it now just to be safe...
79906 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79907 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79911 # The name set by libtool depends on the version of libtool. Shame on us
79912 # for depending on an impl detail, but c'est la vie. Older versions used
79913 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79914 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79915 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79916 # set (hence we're using an older libtool), then set it.
79917 if test x${with_gnu_ld+set} != xset; then
79918 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79919 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79920 with_gnu_ld=no
79921 else
79922 with_gnu_ld=$ac_cv_prog_gnu_ld
79926 # Start by getting the version number. I think the libtool test already
79927 # does some of this, but throws away the result.
79929 ldver=`$LD --version 2>/dev/null | head -1 | \
79930 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79932 glibcxx_gnu_ld_version=`echo $ldver | \
79933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79935 # Set --gc-sections.
79936 if test "$with_gnu_ld" = "notbroken"; then
79937 # GNU ld it is! Joy and bunny rabbits!
79939 # All these tests are for C++; save the language and the compiler flags.
79940 # Need to do this so that g++ won't try to link in libstdc++
79941 ac_test_CFLAGS="${CFLAGS+set}"
79942 ac_save_CFLAGS="$CFLAGS"
79943 CFLAGS='-x c++ -Wl,--gc-sections'
79945 # Check for -Wl,--gc-sections
79946 # XXX This test is broken at the moment, as symbols required for linking
79947 # are now in libsupc++ (not built yet). In addition, this test has
79948 # cored on solaris in the past. In addition, --gc-sections doesn't
79949 # really work at the moment (keeps on discarding used sections, first
79950 # .eh_frame and now some of the glibc sections for iconv).
79951 # Bzzzzt. Thanks for playing, maybe next time.
79952 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79953 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79954 if test "$cross_compiling" = yes; then
79955 ac_sectionLDflags=yes
79956 else
79957 cat >conftest.$ac_ext <<_ACEOF
79958 #line $LINENO "configure"
79959 /* confdefs.h. */
79960 _ACEOF
79961 cat confdefs.h >>conftest.$ac_ext
79962 cat >>conftest.$ac_ext <<_ACEOF
79963 /* end confdefs.h. */
79965 int main(void)
79967 try { throw 1; }
79968 catch (...) { };
79969 return 0;
79972 _ACEOF
79973 rm -f conftest$ac_exeext
79974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79975 (eval $ac_link) 2>&5
79976 ac_status=$?
79977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79980 (eval $ac_try) 2>&5
79981 ac_status=$?
79982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79983 (exit $ac_status); }; }; then
79984 ac_sectionLDflags=yes
79985 else
79986 echo "$as_me: program exited with status $ac_status" >&5
79987 echo "$as_me: failed program was:" >&5
79988 sed 's/^/| /' conftest.$ac_ext >&5
79990 ( exit $ac_status )
79991 ac_sectionLDflags=no
79993 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79995 if test "$ac_test_CFLAGS" = set; then
79996 CFLAGS="$ac_save_CFLAGS"
79997 else
79998 # this is the suspicious part
79999 CFLAGS=''
80001 if test "$ac_sectionLDflags" = "yes"; then
80002 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80004 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80005 echo "${ECHO_T}$ac_sectionLDflags" >&6
80008 # Set linker optimization flags.
80009 if test x"$with_gnu_ld" = x"yes"; then
80010 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80018 echo "$as_me:$LINENO: checking for main in -lm" >&5
80019 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80020 if test "${ac_cv_lib_m_main+set}" = set; then
80021 echo $ECHO_N "(cached) $ECHO_C" >&6
80022 else
80023 ac_check_lib_save_LIBS=$LIBS
80024 LIBS="-lm $LIBS"
80025 if test x$gcc_no_link = xyes; then
80026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80028 { (exit 1); exit 1; }; }
80030 cat >conftest.$ac_ext <<_ACEOF
80031 #line $LINENO "configure"
80032 /* confdefs.h. */
80033 _ACEOF
80034 cat confdefs.h >>conftest.$ac_ext
80035 cat >>conftest.$ac_ext <<_ACEOF
80036 /* end confdefs.h. */
80040 main ()
80042 main ();
80044 return 0;
80046 _ACEOF
80047 rm -f conftest.$ac_objext conftest$ac_exeext
80048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80049 (eval $ac_link) 2>&5
80050 ac_status=$?
80051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80052 (exit $ac_status); } &&
80053 { ac_try='test -s conftest$ac_exeext'
80054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80055 (eval $ac_try) 2>&5
80056 ac_status=$?
80057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80058 (exit $ac_status); }; }; then
80059 ac_cv_lib_m_main=yes
80060 else
80061 echo "$as_me: failed program was:" >&5
80062 sed 's/^/| /' conftest.$ac_ext >&5
80064 ac_cv_lib_m_main=no
80066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80067 LIBS=$ac_check_lib_save_LIBS
80069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80070 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80071 if test $ac_cv_lib_m_main = yes; then
80072 cat >>confdefs.h <<_ACEOF
80073 #define HAVE_LIBM 1
80074 _ACEOF
80076 LIBS="-lm $LIBS"
80081 for ac_func in copysignf
80083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80084 echo "$as_me:$LINENO: checking for $ac_func" >&5
80085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80086 if eval "test \"\${$as_ac_var+set}\" = set"; then
80087 echo $ECHO_N "(cached) $ECHO_C" >&6
80088 else
80089 if test x$gcc_no_link = xyes; then
80090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80092 { (exit 1); exit 1; }; }
80094 cat >conftest.$ac_ext <<_ACEOF
80095 #line $LINENO "configure"
80096 /* confdefs.h. */
80097 _ACEOF
80098 cat confdefs.h >>conftest.$ac_ext
80099 cat >>conftest.$ac_ext <<_ACEOF
80100 /* end confdefs.h. */
80101 /* System header to define __stub macros and hopefully few prototypes,
80102 which can conflict with char $ac_func (); below.
80103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80104 <limits.h> exists even on freestanding compilers. */
80105 #ifdef __STDC__
80106 # include <limits.h>
80107 #else
80108 # include <assert.h>
80109 #endif
80110 /* Override any gcc2 internal prototype to avoid an error. */
80111 #ifdef __cplusplus
80112 extern "C"
80114 #endif
80115 /* We use char because int might match the return type of a gcc2
80116 builtin and then its argument prototype would still apply. */
80117 char $ac_func ();
80118 /* The GNU C library defines this for functions which it implements
80119 to always fail with ENOSYS. Some functions are actually named
80120 something starting with __ and the normal name is an alias. */
80121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80122 choke me
80123 #else
80124 char (*f) () = $ac_func;
80125 #endif
80126 #ifdef __cplusplus
80128 #endif
80131 main ()
80133 return f != $ac_func;
80135 return 0;
80137 _ACEOF
80138 rm -f conftest.$ac_objext conftest$ac_exeext
80139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80140 (eval $ac_link) 2>&5
80141 ac_status=$?
80142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80143 (exit $ac_status); } &&
80144 { ac_try='test -s conftest$ac_exeext'
80145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80146 (eval $ac_try) 2>&5
80147 ac_status=$?
80148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80149 (exit $ac_status); }; }; then
80150 eval "$as_ac_var=yes"
80151 else
80152 echo "$as_me: failed program was:" >&5
80153 sed 's/^/| /' conftest.$ac_ext >&5
80155 eval "$as_ac_var=no"
80157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80161 if test `eval echo '${'$as_ac_var'}'` = yes; then
80162 cat >>confdefs.h <<_ACEOF
80163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80164 _ACEOF
80166 else
80167 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80169 done
80173 for ac_func in __signbit
80175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80176 echo "$as_me:$LINENO: checking for $ac_func" >&5
80177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80178 if eval "test \"\${$as_ac_var+set}\" = set"; then
80179 echo $ECHO_N "(cached) $ECHO_C" >&6
80180 else
80181 if test x$gcc_no_link = xyes; then
80182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80184 { (exit 1); exit 1; }; }
80186 cat >conftest.$ac_ext <<_ACEOF
80187 #line $LINENO "configure"
80188 /* confdefs.h. */
80189 _ACEOF
80190 cat confdefs.h >>conftest.$ac_ext
80191 cat >>conftest.$ac_ext <<_ACEOF
80192 /* end confdefs.h. */
80193 /* System header to define __stub macros and hopefully few prototypes,
80194 which can conflict with char $ac_func (); below.
80195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80196 <limits.h> exists even on freestanding compilers. */
80197 #ifdef __STDC__
80198 # include <limits.h>
80199 #else
80200 # include <assert.h>
80201 #endif
80202 /* Override any gcc2 internal prototype to avoid an error. */
80203 #ifdef __cplusplus
80204 extern "C"
80206 #endif
80207 /* We use char because int might match the return type of a gcc2
80208 builtin and then its argument prototype would still apply. */
80209 char $ac_func ();
80210 /* The GNU C library defines this for functions which it implements
80211 to always fail with ENOSYS. Some functions are actually named
80212 something starting with __ and the normal name is an alias. */
80213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80214 choke me
80215 #else
80216 char (*f) () = $ac_func;
80217 #endif
80218 #ifdef __cplusplus
80220 #endif
80223 main ()
80225 return f != $ac_func;
80227 return 0;
80229 _ACEOF
80230 rm -f conftest.$ac_objext conftest$ac_exeext
80231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80232 (eval $ac_link) 2>&5
80233 ac_status=$?
80234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235 (exit $ac_status); } &&
80236 { ac_try='test -s conftest$ac_exeext'
80237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80238 (eval $ac_try) 2>&5
80239 ac_status=$?
80240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80241 (exit $ac_status); }; }; then
80242 eval "$as_ac_var=yes"
80243 else
80244 echo "$as_me: failed program was:" >&5
80245 sed 's/^/| /' conftest.$ac_ext >&5
80247 eval "$as_ac_var=no"
80249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80253 if test `eval echo '${'$as_ac_var'}'` = yes; then
80254 cat >>confdefs.h <<_ACEOF
80255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80256 _ACEOF
80258 else
80259 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80261 done
80265 for ac_func in __signbitf
80267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80268 echo "$as_me:$LINENO: checking for $ac_func" >&5
80269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80270 if eval "test \"\${$as_ac_var+set}\" = set"; then
80271 echo $ECHO_N "(cached) $ECHO_C" >&6
80272 else
80273 if test x$gcc_no_link = xyes; then
80274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80276 { (exit 1); exit 1; }; }
80278 cat >conftest.$ac_ext <<_ACEOF
80279 #line $LINENO "configure"
80280 /* confdefs.h. */
80281 _ACEOF
80282 cat confdefs.h >>conftest.$ac_ext
80283 cat >>conftest.$ac_ext <<_ACEOF
80284 /* end confdefs.h. */
80285 /* System header to define __stub macros and hopefully few prototypes,
80286 which can conflict with char $ac_func (); below.
80287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80288 <limits.h> exists even on freestanding compilers. */
80289 #ifdef __STDC__
80290 # include <limits.h>
80291 #else
80292 # include <assert.h>
80293 #endif
80294 /* Override any gcc2 internal prototype to avoid an error. */
80295 #ifdef __cplusplus
80296 extern "C"
80298 #endif
80299 /* We use char because int might match the return type of a gcc2
80300 builtin and then its argument prototype would still apply. */
80301 char $ac_func ();
80302 /* The GNU C library defines this for functions which it implements
80303 to always fail with ENOSYS. Some functions are actually named
80304 something starting with __ and the normal name is an alias. */
80305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80306 choke me
80307 #else
80308 char (*f) () = $ac_func;
80309 #endif
80310 #ifdef __cplusplus
80312 #endif
80315 main ()
80317 return f != $ac_func;
80319 return 0;
80321 _ACEOF
80322 rm -f conftest.$ac_objext conftest$ac_exeext
80323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80324 (eval $ac_link) 2>&5
80325 ac_status=$?
80326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80327 (exit $ac_status); } &&
80328 { ac_try='test -s conftest$ac_exeext'
80329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80330 (eval $ac_try) 2>&5
80331 ac_status=$?
80332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80333 (exit $ac_status); }; }; then
80334 eval "$as_ac_var=yes"
80335 else
80336 echo "$as_me: failed program was:" >&5
80337 sed 's/^/| /' conftest.$ac_ext >&5
80339 eval "$as_ac_var=no"
80341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80345 if test `eval echo '${'$as_ac_var'}'` = yes; then
80346 cat >>confdefs.h <<_ACEOF
80347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80348 _ACEOF
80350 else
80351 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80353 done
80356 if test x$ac_cv_func_copysignl = x"yes"; then
80358 for ac_func in __signbitl
80360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80361 echo "$as_me:$LINENO: checking for $ac_func" >&5
80362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80363 if eval "test \"\${$as_ac_var+set}\" = set"; then
80364 echo $ECHO_N "(cached) $ECHO_C" >&6
80365 else
80366 if test x$gcc_no_link = xyes; then
80367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80369 { (exit 1); exit 1; }; }
80371 cat >conftest.$ac_ext <<_ACEOF
80372 #line $LINENO "configure"
80373 /* confdefs.h. */
80374 _ACEOF
80375 cat confdefs.h >>conftest.$ac_ext
80376 cat >>conftest.$ac_ext <<_ACEOF
80377 /* end confdefs.h. */
80378 /* System header to define __stub macros and hopefully few prototypes,
80379 which can conflict with char $ac_func (); below.
80380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80381 <limits.h> exists even on freestanding compilers. */
80382 #ifdef __STDC__
80383 # include <limits.h>
80384 #else
80385 # include <assert.h>
80386 #endif
80387 /* Override any gcc2 internal prototype to avoid an error. */
80388 #ifdef __cplusplus
80389 extern "C"
80391 #endif
80392 /* We use char because int might match the return type of a gcc2
80393 builtin and then its argument prototype would still apply. */
80394 char $ac_func ();
80395 /* The GNU C library defines this for functions which it implements
80396 to always fail with ENOSYS. Some functions are actually named
80397 something starting with __ and the normal name is an alias. */
80398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80399 choke me
80400 #else
80401 char (*f) () = $ac_func;
80402 #endif
80403 #ifdef __cplusplus
80405 #endif
80408 main ()
80410 return f != $ac_func;
80412 return 0;
80414 _ACEOF
80415 rm -f conftest.$ac_objext conftest$ac_exeext
80416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80417 (eval $ac_link) 2>&5
80418 ac_status=$?
80419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80420 (exit $ac_status); } &&
80421 { ac_try='test -s conftest$ac_exeext'
80422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80423 (eval $ac_try) 2>&5
80424 ac_status=$?
80425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426 (exit $ac_status); }; }; then
80427 eval "$as_ac_var=yes"
80428 else
80429 echo "$as_me: failed program was:" >&5
80430 sed 's/^/| /' conftest.$ac_ext >&5
80432 eval "$as_ac_var=no"
80434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80438 if test `eval echo '${'$as_ac_var'}'` = yes; then
80439 cat >>confdefs.h <<_ACEOF
80440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80441 _ACEOF
80443 else
80444 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80446 done
80450 # Used in libmath/Makefile.am.
80451 if test -n "$LIBMATHOBJS"; then
80452 need_libmath=yes
80457 # Test wchar.h for mbstate_t, which is needed for char_traits and
80458 # others even if wchar_t support is not on.
80459 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80460 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80461 cat >conftest.$ac_ext <<_ACEOF
80462 #line $LINENO "configure"
80463 /* confdefs.h. */
80464 _ACEOF
80465 cat confdefs.h >>conftest.$ac_ext
80466 cat >>conftest.$ac_ext <<_ACEOF
80467 /* end confdefs.h. */
80468 #include <wchar.h>
80470 main ()
80472 mbstate_t teststate;
80474 return 0;
80476 _ACEOF
80477 rm -f conftest.$ac_objext
80478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80479 (eval $ac_compile) 2>&5
80480 ac_status=$?
80481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80482 (exit $ac_status); } &&
80483 { ac_try='test -s conftest.$ac_objext'
80484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485 (eval $ac_try) 2>&5
80486 ac_status=$?
80487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488 (exit $ac_status); }; }; then
80489 have_mbstate_t=yes
80490 else
80491 echo "$as_me: failed program was:" >&5
80492 sed 's/^/| /' conftest.$ac_ext >&5
80494 have_mbstate_t=no
80496 rm -f conftest.$ac_objext conftest.$ac_ext
80497 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80498 echo "${ECHO_T}$have_mbstate_t" >&6
80499 if test x"$have_mbstate_t" = xyes; then
80500 cat >>confdefs.h <<\_ACEOF
80501 #define HAVE_MBSTATE_T 1
80502 _ACEOF
80506 # Sanity check for existence of ISO C99 headers for extended encoding.
80508 for ac_header in wchar.h
80510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80512 echo "$as_me:$LINENO: checking for $ac_header" >&5
80513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80515 echo $ECHO_N "(cached) $ECHO_C" >&6
80517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80519 else
80520 # Is the header compilable?
80521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80523 cat >conftest.$ac_ext <<_ACEOF
80524 #line $LINENO "configure"
80525 /* confdefs.h. */
80526 _ACEOF
80527 cat confdefs.h >>conftest.$ac_ext
80528 cat >>conftest.$ac_ext <<_ACEOF
80529 /* end confdefs.h. */
80530 $ac_includes_default
80531 #include <$ac_header>
80532 _ACEOF
80533 rm -f conftest.$ac_objext
80534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80535 (eval $ac_compile) 2>&5
80536 ac_status=$?
80537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80538 (exit $ac_status); } &&
80539 { ac_try='test -s conftest.$ac_objext'
80540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80541 (eval $ac_try) 2>&5
80542 ac_status=$?
80543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80544 (exit $ac_status); }; }; then
80545 ac_header_compiler=yes
80546 else
80547 echo "$as_me: failed program was:" >&5
80548 sed 's/^/| /' conftest.$ac_ext >&5
80550 ac_header_compiler=no
80552 rm -f conftest.$ac_objext conftest.$ac_ext
80553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80554 echo "${ECHO_T}$ac_header_compiler" >&6
80556 # Is the header present?
80557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80559 cat >conftest.$ac_ext <<_ACEOF
80560 #line $LINENO "configure"
80561 /* confdefs.h. */
80562 _ACEOF
80563 cat confdefs.h >>conftest.$ac_ext
80564 cat >>conftest.$ac_ext <<_ACEOF
80565 /* end confdefs.h. */
80566 #include <$ac_header>
80567 _ACEOF
80568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80570 ac_status=$?
80571 grep -v '^ *+' conftest.er1 >conftest.err
80572 rm -f conftest.er1
80573 cat conftest.err >&5
80574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80575 (exit $ac_status); } >/dev/null; then
80576 if test -s conftest.err; then
80577 ac_cpp_err=$ac_c_preproc_warn_flag
80578 else
80579 ac_cpp_err=
80581 else
80582 ac_cpp_err=yes
80584 if test -z "$ac_cpp_err"; then
80585 ac_header_preproc=yes
80586 else
80587 echo "$as_me: failed program was:" >&5
80588 sed 's/^/| /' conftest.$ac_ext >&5
80590 ac_header_preproc=no
80592 rm -f conftest.err conftest.$ac_ext
80593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80594 echo "${ECHO_T}$ac_header_preproc" >&6
80596 # So? What about this header?
80597 case $ac_header_compiler:$ac_header_preproc in
80598 yes:no )
80599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80604 cat <<\_ASBOX
80605 ## ------------------------------------ ##
80606 ## Report this to bug-autoconf@gnu.org. ##
80607 ## ------------------------------------ ##
80608 _ASBOX
80610 sed "s/^/$as_me: WARNING: /" >&2
80612 no:yes )
80613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80620 cat <<\_ASBOX
80621 ## ------------------------------------ ##
80622 ## Report this to bug-autoconf@gnu.org. ##
80623 ## ------------------------------------ ##
80624 _ASBOX
80626 sed "s/^/$as_me: WARNING: /" >&2
80628 esac
80629 echo "$as_me:$LINENO: checking for $ac_header" >&5
80630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80632 echo $ECHO_N "(cached) $ECHO_C" >&6
80633 else
80634 eval "$as_ac_Header=$ac_header_preproc"
80636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80641 cat >>confdefs.h <<_ACEOF
80642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80643 _ACEOF
80644 ac_has_wchar_h=yes
80645 else
80646 ac_has_wchar_h=no
80649 done
80652 for ac_header in wctype.h
80654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80656 echo "$as_me:$LINENO: checking for $ac_header" >&5
80657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80659 echo $ECHO_N "(cached) $ECHO_C" >&6
80661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80663 else
80664 # Is the header compilable?
80665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80667 cat >conftest.$ac_ext <<_ACEOF
80668 #line $LINENO "configure"
80669 /* confdefs.h. */
80670 _ACEOF
80671 cat confdefs.h >>conftest.$ac_ext
80672 cat >>conftest.$ac_ext <<_ACEOF
80673 /* end confdefs.h. */
80674 $ac_includes_default
80675 #include <$ac_header>
80676 _ACEOF
80677 rm -f conftest.$ac_objext
80678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80679 (eval $ac_compile) 2>&5
80680 ac_status=$?
80681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682 (exit $ac_status); } &&
80683 { ac_try='test -s conftest.$ac_objext'
80684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80685 (eval $ac_try) 2>&5
80686 ac_status=$?
80687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80688 (exit $ac_status); }; }; then
80689 ac_header_compiler=yes
80690 else
80691 echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80694 ac_header_compiler=no
80696 rm -f conftest.$ac_objext conftest.$ac_ext
80697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80698 echo "${ECHO_T}$ac_header_compiler" >&6
80700 # Is the header present?
80701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80703 cat >conftest.$ac_ext <<_ACEOF
80704 #line $LINENO "configure"
80705 /* confdefs.h. */
80706 _ACEOF
80707 cat confdefs.h >>conftest.$ac_ext
80708 cat >>conftest.$ac_ext <<_ACEOF
80709 /* end confdefs.h. */
80710 #include <$ac_header>
80711 _ACEOF
80712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80714 ac_status=$?
80715 grep -v '^ *+' conftest.er1 >conftest.err
80716 rm -f conftest.er1
80717 cat conftest.err >&5
80718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80719 (exit $ac_status); } >/dev/null; then
80720 if test -s conftest.err; then
80721 ac_cpp_err=$ac_c_preproc_warn_flag
80722 else
80723 ac_cpp_err=
80725 else
80726 ac_cpp_err=yes
80728 if test -z "$ac_cpp_err"; then
80729 ac_header_preproc=yes
80730 else
80731 echo "$as_me: failed program was:" >&5
80732 sed 's/^/| /' conftest.$ac_ext >&5
80734 ac_header_preproc=no
80736 rm -f conftest.err conftest.$ac_ext
80737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80738 echo "${ECHO_T}$ac_header_preproc" >&6
80740 # So? What about this header?
80741 case $ac_header_compiler:$ac_header_preproc in
80742 yes:no )
80743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80748 cat <<\_ASBOX
80749 ## ------------------------------------ ##
80750 ## Report this to bug-autoconf@gnu.org. ##
80751 ## ------------------------------------ ##
80752 _ASBOX
80754 sed "s/^/$as_me: WARNING: /" >&2
80756 no:yes )
80757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80764 cat <<\_ASBOX
80765 ## ------------------------------------ ##
80766 ## Report this to bug-autoconf@gnu.org. ##
80767 ## ------------------------------------ ##
80768 _ASBOX
80770 sed "s/^/$as_me: WARNING: /" >&2
80772 esac
80773 echo "$as_me:$LINENO: checking for $ac_header" >&5
80774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80776 echo $ECHO_N "(cached) $ECHO_C" >&6
80777 else
80778 eval "$as_ac_Header=$ac_header_preproc"
80780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80785 cat >>confdefs.h <<_ACEOF
80786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80787 _ACEOF
80788 ac_has_wctype_h=yes
80789 else
80790 ac_has_wctype_h=no
80793 done
80796 # Only continue checking if the ISO C99 headers exist and support is on.
80797 if test x"$ac_has_wchar_h" = xyes &&
80798 test x"$ac_has_wctype_h" = xyes &&
80799 test x"$enable_c_mbchar" != xno; then
80801 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80802 # numeric_limits can instantiate type_traits<wchar_t>
80803 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80804 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80805 cat >conftest.$ac_ext <<_ACEOF
80806 #line $LINENO "configure"
80807 /* confdefs.h. */
80808 _ACEOF
80809 cat confdefs.h >>conftest.$ac_ext
80810 cat >>conftest.$ac_ext <<_ACEOF
80811 /* end confdefs.h. */
80812 #include <wchar.h>
80814 main ()
80816 int i = WCHAR_MIN; int j = WCHAR_MAX;
80818 return 0;
80820 _ACEOF
80821 rm -f conftest.$ac_objext
80822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80823 (eval $ac_compile) 2>&5
80824 ac_status=$?
80825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80826 (exit $ac_status); } &&
80827 { ac_try='test -s conftest.$ac_objext'
80828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80829 (eval $ac_try) 2>&5
80830 ac_status=$?
80831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80832 (exit $ac_status); }; }; then
80833 has_wchar_minmax=yes
80834 else
80835 echo "$as_me: failed program was:" >&5
80836 sed 's/^/| /' conftest.$ac_ext >&5
80838 has_wchar_minmax=no
80840 rm -f conftest.$ac_objext conftest.$ac_ext
80841 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80842 echo "${ECHO_T}$has_wchar_minmax" >&6
80844 # Test wchar.h for WEOF, which is what we use to determine whether
80845 # to specialize for char_traits<wchar_t> or not.
80846 echo "$as_me:$LINENO: checking for WEOF" >&5
80847 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80848 cat >conftest.$ac_ext <<_ACEOF
80849 #line $LINENO "configure"
80850 /* confdefs.h. */
80851 _ACEOF
80852 cat confdefs.h >>conftest.$ac_ext
80853 cat >>conftest.$ac_ext <<_ACEOF
80854 /* end confdefs.h. */
80856 #include <wchar.h>
80857 #include <stddef.h>
80859 main ()
80861 wint_t i = WEOF;
80863 return 0;
80865 _ACEOF
80866 rm -f conftest.$ac_objext
80867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80868 (eval $ac_compile) 2>&5
80869 ac_status=$?
80870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80871 (exit $ac_status); } &&
80872 { ac_try='test -s conftest.$ac_objext'
80873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80874 (eval $ac_try) 2>&5
80875 ac_status=$?
80876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80877 (exit $ac_status); }; }; then
80878 has_weof=yes
80879 else
80880 echo "$as_me: failed program was:" >&5
80881 sed 's/^/| /' conftest.$ac_ext >&5
80883 has_weof=no
80885 rm -f conftest.$ac_objext conftest.$ac_ext
80886 echo "$as_me:$LINENO: result: $has_weof" >&5
80887 echo "${ECHO_T}$has_weof" >&6
80889 # Tests for wide character functions used in char_traits<wchar_t>.
80890 ac_wfuncs=yes
80897 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80900 echo "$as_me:$LINENO: checking for $ac_func" >&5
80901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80902 if eval "test \"\${$as_ac_var+set}\" = set"; then
80903 echo $ECHO_N "(cached) $ECHO_C" >&6
80904 else
80905 if test x$gcc_no_link = xyes; then
80906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80908 { (exit 1); exit 1; }; }
80910 cat >conftest.$ac_ext <<_ACEOF
80911 #line $LINENO "configure"
80912 /* confdefs.h. */
80913 _ACEOF
80914 cat confdefs.h >>conftest.$ac_ext
80915 cat >>conftest.$ac_ext <<_ACEOF
80916 /* end confdefs.h. */
80917 /* System header to define __stub macros and hopefully few prototypes,
80918 which can conflict with char $ac_func (); below.
80919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80920 <limits.h> exists even on freestanding compilers. */
80921 #ifdef __STDC__
80922 # include <limits.h>
80923 #else
80924 # include <assert.h>
80925 #endif
80926 /* Override any gcc2 internal prototype to avoid an error. */
80927 #ifdef __cplusplus
80928 extern "C"
80930 #endif
80931 /* We use char because int might match the return type of a gcc2
80932 builtin and then its argument prototype would still apply. */
80933 char $ac_func ();
80934 /* The GNU C library defines this for functions which it implements
80935 to always fail with ENOSYS. Some functions are actually named
80936 something starting with __ and the normal name is an alias. */
80937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80938 choke me
80939 #else
80940 char (*f) () = $ac_func;
80941 #endif
80942 #ifdef __cplusplus
80944 #endif
80947 main ()
80949 return f != $ac_func;
80951 return 0;
80953 _ACEOF
80954 rm -f conftest.$ac_objext conftest$ac_exeext
80955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80956 (eval $ac_link) 2>&5
80957 ac_status=$?
80958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80959 (exit $ac_status); } &&
80960 { ac_try='test -s conftest$ac_exeext'
80961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80962 (eval $ac_try) 2>&5
80963 ac_status=$?
80964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80965 (exit $ac_status); }; }; then
80966 eval "$as_ac_var=yes"
80967 else
80968 echo "$as_me: failed program was:" >&5
80969 sed 's/^/| /' conftest.$ac_ext >&5
80971 eval "$as_ac_var=no"
80973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80977 if test `eval echo '${'$as_ac_var'}'` = yes; then
80978 cat >>confdefs.h <<_ACEOF
80979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80980 _ACEOF
80982 else
80983 ac_wfuncs=no
80985 done
80988 # Checks for names injected into std:: by the c_std headers.
81035 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81036 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81037 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81038 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81039 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81040 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81043 echo "$as_me:$LINENO: checking for $ac_func" >&5
81044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81045 if eval "test \"\${$as_ac_var+set}\" = set"; then
81046 echo $ECHO_N "(cached) $ECHO_C" >&6
81047 else
81048 if test x$gcc_no_link = xyes; then
81049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81051 { (exit 1); exit 1; }; }
81053 cat >conftest.$ac_ext <<_ACEOF
81054 #line $LINENO "configure"
81055 /* confdefs.h. */
81056 _ACEOF
81057 cat confdefs.h >>conftest.$ac_ext
81058 cat >>conftest.$ac_ext <<_ACEOF
81059 /* end confdefs.h. */
81060 /* System header to define __stub macros and hopefully few prototypes,
81061 which can conflict with char $ac_func (); below.
81062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81063 <limits.h> exists even on freestanding compilers. */
81064 #ifdef __STDC__
81065 # include <limits.h>
81066 #else
81067 # include <assert.h>
81068 #endif
81069 /* Override any gcc2 internal prototype to avoid an error. */
81070 #ifdef __cplusplus
81071 extern "C"
81073 #endif
81074 /* We use char because int might match the return type of a gcc2
81075 builtin and then its argument prototype would still apply. */
81076 char $ac_func ();
81077 /* The GNU C library defines this for functions which it implements
81078 to always fail with ENOSYS. Some functions are actually named
81079 something starting with __ and the normal name is an alias. */
81080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81081 choke me
81082 #else
81083 char (*f) () = $ac_func;
81084 #endif
81085 #ifdef __cplusplus
81087 #endif
81090 main ()
81092 return f != $ac_func;
81094 return 0;
81096 _ACEOF
81097 rm -f conftest.$ac_objext conftest$ac_exeext
81098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81099 (eval $ac_link) 2>&5
81100 ac_status=$?
81101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102 (exit $ac_status); } &&
81103 { ac_try='test -s conftest$ac_exeext'
81104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81105 (eval $ac_try) 2>&5
81106 ac_status=$?
81107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81108 (exit $ac_status); }; }; then
81109 eval "$as_ac_var=yes"
81110 else
81111 echo "$as_me: failed program was:" >&5
81112 sed 's/^/| /' conftest.$ac_ext >&5
81114 eval "$as_ac_var=no"
81116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81120 if test `eval echo '${'$as_ac_var'}'` = yes; then
81121 cat >>confdefs.h <<_ACEOF
81122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81123 _ACEOF
81125 else
81126 ac_wfuncs=no
81128 done
81131 # Checks for wide character functions that are not required
81132 # for basic wchar_t support. Don't disable support if they are missing.
81133 # Injection of these is wrapped with guard macros.
81139 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81142 echo "$as_me:$LINENO: checking for $ac_func" >&5
81143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81144 if eval "test \"\${$as_ac_var+set}\" = set"; then
81145 echo $ECHO_N "(cached) $ECHO_C" >&6
81146 else
81147 if test x$gcc_no_link = xyes; then
81148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81150 { (exit 1); exit 1; }; }
81152 cat >conftest.$ac_ext <<_ACEOF
81153 #line $LINENO "configure"
81154 /* confdefs.h. */
81155 _ACEOF
81156 cat confdefs.h >>conftest.$ac_ext
81157 cat >>conftest.$ac_ext <<_ACEOF
81158 /* end confdefs.h. */
81159 /* System header to define __stub macros and hopefully few prototypes,
81160 which can conflict with char $ac_func (); below.
81161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81162 <limits.h> exists even on freestanding compilers. */
81163 #ifdef __STDC__
81164 # include <limits.h>
81165 #else
81166 # include <assert.h>
81167 #endif
81168 /* Override any gcc2 internal prototype to avoid an error. */
81169 #ifdef __cplusplus
81170 extern "C"
81172 #endif
81173 /* We use char because int might match the return type of a gcc2
81174 builtin and then its argument prototype would still apply. */
81175 char $ac_func ();
81176 /* The GNU C library defines this for functions which it implements
81177 to always fail with ENOSYS. Some functions are actually named
81178 something starting with __ and the normal name is an alias. */
81179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81180 choke me
81181 #else
81182 char (*f) () = $ac_func;
81183 #endif
81184 #ifdef __cplusplus
81186 #endif
81189 main ()
81191 return f != $ac_func;
81193 return 0;
81195 _ACEOF
81196 rm -f conftest.$ac_objext conftest$ac_exeext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81198 (eval $ac_link) 2>&5
81199 ac_status=$?
81200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81201 (exit $ac_status); } &&
81202 { ac_try='test -s conftest$ac_exeext'
81203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81204 (eval $ac_try) 2>&5
81205 ac_status=$?
81206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81207 (exit $ac_status); }; }; then
81208 eval "$as_ac_var=yes"
81209 else
81210 echo "$as_me: failed program was:" >&5
81211 sed 's/^/| /' conftest.$ac_ext >&5
81213 eval "$as_ac_var=no"
81215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81219 if test `eval echo '${'$as_ac_var'}'` = yes; then
81220 cat >>confdefs.h <<_ACEOF
81221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81222 _ACEOF
81225 done
81228 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81229 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81230 if test x"$has_weof" = xyes &&
81231 test x"$has_wchar_minmax" = xyes &&
81232 test x"$ac_wfuncs" = xyes;
81233 then
81234 ac_isoC99_wchar_t=yes
81235 else
81236 ac_isoC99_wchar_t=no
81238 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81239 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81241 # Use iconv for wchar_t to char conversions. As such, check for
81242 # X/Open Portability Guide, version 2 features (XPG2).
81243 if test "${ac_cv_header_iconv_h+set}" = set; then
81244 echo "$as_me:$LINENO: checking for iconv.h" >&5
81245 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81246 if test "${ac_cv_header_iconv_h+set}" = set; then
81247 echo $ECHO_N "(cached) $ECHO_C" >&6
81249 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81250 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81251 else
81252 # Is the header compilable?
81253 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81254 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81255 cat >conftest.$ac_ext <<_ACEOF
81256 #line $LINENO "configure"
81257 /* confdefs.h. */
81258 _ACEOF
81259 cat confdefs.h >>conftest.$ac_ext
81260 cat >>conftest.$ac_ext <<_ACEOF
81261 /* end confdefs.h. */
81262 $ac_includes_default
81263 #include <iconv.h>
81264 _ACEOF
81265 rm -f conftest.$ac_objext
81266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81267 (eval $ac_compile) 2>&5
81268 ac_status=$?
81269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81270 (exit $ac_status); } &&
81271 { ac_try='test -s conftest.$ac_objext'
81272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81273 (eval $ac_try) 2>&5
81274 ac_status=$?
81275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81276 (exit $ac_status); }; }; then
81277 ac_header_compiler=yes
81278 else
81279 echo "$as_me: failed program was:" >&5
81280 sed 's/^/| /' conftest.$ac_ext >&5
81282 ac_header_compiler=no
81284 rm -f conftest.$ac_objext conftest.$ac_ext
81285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81286 echo "${ECHO_T}$ac_header_compiler" >&6
81288 # Is the header present?
81289 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81290 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81291 cat >conftest.$ac_ext <<_ACEOF
81292 #line $LINENO "configure"
81293 /* confdefs.h. */
81294 _ACEOF
81295 cat confdefs.h >>conftest.$ac_ext
81296 cat >>conftest.$ac_ext <<_ACEOF
81297 /* end confdefs.h. */
81298 #include <iconv.h>
81299 _ACEOF
81300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81302 ac_status=$?
81303 grep -v '^ *+' conftest.er1 >conftest.err
81304 rm -f conftest.er1
81305 cat conftest.err >&5
81306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307 (exit $ac_status); } >/dev/null; then
81308 if test -s conftest.err; then
81309 ac_cpp_err=$ac_c_preproc_warn_flag
81310 else
81311 ac_cpp_err=
81313 else
81314 ac_cpp_err=yes
81316 if test -z "$ac_cpp_err"; then
81317 ac_header_preproc=yes
81318 else
81319 echo "$as_me: failed program was:" >&5
81320 sed 's/^/| /' conftest.$ac_ext >&5
81322 ac_header_preproc=no
81324 rm -f conftest.err conftest.$ac_ext
81325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81326 echo "${ECHO_T}$ac_header_preproc" >&6
81328 # So? What about this header?
81329 case $ac_header_compiler:$ac_header_preproc in
81330 yes:no )
81331 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81332 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81333 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81334 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81336 cat <<\_ASBOX
81337 ## ------------------------------------ ##
81338 ## Report this to bug-autoconf@gnu.org. ##
81339 ## ------------------------------------ ##
81340 _ASBOX
81342 sed "s/^/$as_me: WARNING: /" >&2
81344 no:yes )
81345 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81346 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81347 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81348 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81349 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81350 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81352 cat <<\_ASBOX
81353 ## ------------------------------------ ##
81354 ## Report this to bug-autoconf@gnu.org. ##
81355 ## ------------------------------------ ##
81356 _ASBOX
81358 sed "s/^/$as_me: WARNING: /" >&2
81360 esac
81361 echo "$as_me:$LINENO: checking for iconv.h" >&5
81362 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81363 if test "${ac_cv_header_iconv_h+set}" = set; then
81364 echo $ECHO_N "(cached) $ECHO_C" >&6
81365 else
81366 ac_cv_header_iconv_h=$ac_header_preproc
81368 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81369 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81372 if test $ac_cv_header_iconv_h = yes; then
81373 ac_has_iconv_h=yes
81374 else
81375 ac_has_iconv_h=no
81379 if test "${ac_cv_header_langinfo_h+set}" = set; then
81380 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81381 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81382 if test "${ac_cv_header_langinfo_h+set}" = set; then
81383 echo $ECHO_N "(cached) $ECHO_C" >&6
81385 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81386 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81387 else
81388 # Is the header compilable?
81389 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81390 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81391 cat >conftest.$ac_ext <<_ACEOF
81392 #line $LINENO "configure"
81393 /* confdefs.h. */
81394 _ACEOF
81395 cat confdefs.h >>conftest.$ac_ext
81396 cat >>conftest.$ac_ext <<_ACEOF
81397 /* end confdefs.h. */
81398 $ac_includes_default
81399 #include <langinfo.h>
81400 _ACEOF
81401 rm -f conftest.$ac_objext
81402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81403 (eval $ac_compile) 2>&5
81404 ac_status=$?
81405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81406 (exit $ac_status); } &&
81407 { ac_try='test -s conftest.$ac_objext'
81408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81409 (eval $ac_try) 2>&5
81410 ac_status=$?
81411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81412 (exit $ac_status); }; }; then
81413 ac_header_compiler=yes
81414 else
81415 echo "$as_me: failed program was:" >&5
81416 sed 's/^/| /' conftest.$ac_ext >&5
81418 ac_header_compiler=no
81420 rm -f conftest.$ac_objext conftest.$ac_ext
81421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81422 echo "${ECHO_T}$ac_header_compiler" >&6
81424 # Is the header present?
81425 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81426 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81427 cat >conftest.$ac_ext <<_ACEOF
81428 #line $LINENO "configure"
81429 /* confdefs.h. */
81430 _ACEOF
81431 cat confdefs.h >>conftest.$ac_ext
81432 cat >>conftest.$ac_ext <<_ACEOF
81433 /* end confdefs.h. */
81434 #include <langinfo.h>
81435 _ACEOF
81436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81438 ac_status=$?
81439 grep -v '^ *+' conftest.er1 >conftest.err
81440 rm -f conftest.er1
81441 cat conftest.err >&5
81442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81443 (exit $ac_status); } >/dev/null; then
81444 if test -s conftest.err; then
81445 ac_cpp_err=$ac_c_preproc_warn_flag
81446 else
81447 ac_cpp_err=
81449 else
81450 ac_cpp_err=yes
81452 if test -z "$ac_cpp_err"; then
81453 ac_header_preproc=yes
81454 else
81455 echo "$as_me: failed program was:" >&5
81456 sed 's/^/| /' conftest.$ac_ext >&5
81458 ac_header_preproc=no
81460 rm -f conftest.err conftest.$ac_ext
81461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81462 echo "${ECHO_T}$ac_header_preproc" >&6
81464 # So? What about this header?
81465 case $ac_header_compiler:$ac_header_preproc in
81466 yes:no )
81467 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81468 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81469 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81470 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81472 cat <<\_ASBOX
81473 ## ------------------------------------ ##
81474 ## Report this to bug-autoconf@gnu.org. ##
81475 ## ------------------------------------ ##
81476 _ASBOX
81478 sed "s/^/$as_me: WARNING: /" >&2
81480 no:yes )
81481 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81482 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81483 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81484 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81485 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81486 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81488 cat <<\_ASBOX
81489 ## ------------------------------------ ##
81490 ## Report this to bug-autoconf@gnu.org. ##
81491 ## ------------------------------------ ##
81492 _ASBOX
81494 sed "s/^/$as_me: WARNING: /" >&2
81496 esac
81497 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81498 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81499 if test "${ac_cv_header_langinfo_h+set}" = set; then
81500 echo $ECHO_N "(cached) $ECHO_C" >&6
81501 else
81502 ac_cv_header_langinfo_h=$ac_header_preproc
81504 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81505 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81508 if test $ac_cv_header_langinfo_h = yes; then
81509 ac_has_langinfo_h=yes
81510 else
81511 ac_has_langinfo_h=no
81516 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81517 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81518 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81519 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81520 echo $ECHO_N "(cached) $ECHO_C" >&6
81521 else
81522 ac_check_lib_save_LIBS=$LIBS
81523 LIBS="-liconv $LIBS"
81524 if test x$gcc_no_link = xyes; then
81525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81527 { (exit 1); exit 1; }; }
81529 cat >conftest.$ac_ext <<_ACEOF
81530 #line $LINENO "configure"
81531 /* confdefs.h. */
81532 _ACEOF
81533 cat confdefs.h >>conftest.$ac_ext
81534 cat >>conftest.$ac_ext <<_ACEOF
81535 /* end confdefs.h. */
81537 /* Override any gcc2 internal prototype to avoid an error. */
81538 #ifdef __cplusplus
81539 extern "C"
81540 #endif
81541 /* We use char because int might match the return type of a gcc2
81542 builtin and then its argument prototype would still apply. */
81543 char iconv ();
81545 main ()
81547 iconv ();
81549 return 0;
81551 _ACEOF
81552 rm -f conftest.$ac_objext conftest$ac_exeext
81553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81554 (eval $ac_link) 2>&5
81555 ac_status=$?
81556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81557 (exit $ac_status); } &&
81558 { ac_try='test -s conftest$ac_exeext'
81559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81560 (eval $ac_try) 2>&5
81561 ac_status=$?
81562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81563 (exit $ac_status); }; }; then
81564 ac_cv_lib_iconv_iconv=yes
81565 else
81566 echo "$as_me: failed program was:" >&5
81567 sed 's/^/| /' conftest.$ac_ext >&5
81569 ac_cv_lib_iconv_iconv=no
81571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81572 LIBS=$ac_check_lib_save_LIBS
81574 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81575 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81576 if test $ac_cv_lib_iconv_iconv = yes; then
81577 libiconv="-liconv"
81580 ac_save_LIBS="$LIBS"
81581 LIBS="$LIBS $libiconv"
81587 for ac_func in iconv_open iconv_close iconv nl_langinfo
81589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81590 echo "$as_me:$LINENO: checking for $ac_func" >&5
81591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81592 if eval "test \"\${$as_ac_var+set}\" = set"; then
81593 echo $ECHO_N "(cached) $ECHO_C" >&6
81594 else
81595 if test x$gcc_no_link = xyes; then
81596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81598 { (exit 1); exit 1; }; }
81600 cat >conftest.$ac_ext <<_ACEOF
81601 #line $LINENO "configure"
81602 /* confdefs.h. */
81603 _ACEOF
81604 cat confdefs.h >>conftest.$ac_ext
81605 cat >>conftest.$ac_ext <<_ACEOF
81606 /* end confdefs.h. */
81607 /* System header to define __stub macros and hopefully few prototypes,
81608 which can conflict with char $ac_func (); below.
81609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81610 <limits.h> exists even on freestanding compilers. */
81611 #ifdef __STDC__
81612 # include <limits.h>
81613 #else
81614 # include <assert.h>
81615 #endif
81616 /* Override any gcc2 internal prototype to avoid an error. */
81617 #ifdef __cplusplus
81618 extern "C"
81620 #endif
81621 /* We use char because int might match the return type of a gcc2
81622 builtin and then its argument prototype would still apply. */
81623 char $ac_func ();
81624 /* The GNU C library defines this for functions which it implements
81625 to always fail with ENOSYS. Some functions are actually named
81626 something starting with __ and the normal name is an alias. */
81627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81628 choke me
81629 #else
81630 char (*f) () = $ac_func;
81631 #endif
81632 #ifdef __cplusplus
81634 #endif
81637 main ()
81639 return f != $ac_func;
81641 return 0;
81643 _ACEOF
81644 rm -f conftest.$ac_objext conftest$ac_exeext
81645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81646 (eval $ac_link) 2>&5
81647 ac_status=$?
81648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81649 (exit $ac_status); } &&
81650 { ac_try='test -s conftest$ac_exeext'
81651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81652 (eval $ac_try) 2>&5
81653 ac_status=$?
81654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81655 (exit $ac_status); }; }; then
81656 eval "$as_ac_var=yes"
81657 else
81658 echo "$as_me: failed program was:" >&5
81659 sed 's/^/| /' conftest.$ac_ext >&5
81661 eval "$as_ac_var=no"
81663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81667 if test `eval echo '${'$as_ac_var'}'` = yes; then
81668 cat >>confdefs.h <<_ACEOF
81669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81670 _ACEOF
81671 ac_XPG2funcs=yes
81672 else
81673 ac_XPG2funcs=no
81675 done
81678 LIBS="$ac_save_LIBS"
81680 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81681 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81682 if test x"$ac_has_iconv_h" = xyes &&
81683 test x"$ac_has_langinfo_h" = xyes &&
81684 test x"$ac_XPG2funcs" = xyes;
81685 then
81686 ac_XPG2_wchar_t=yes
81687 else
81688 ac_XPG2_wchar_t=no
81690 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81691 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81693 # At the moment, only enable wchar_t specializations if all the
81694 # above support is present.
81695 if test x"$ac_isoC99_wchar_t" = xyes &&
81696 test x"$ac_XPG2_wchar_t" = xyes;
81697 then
81698 cat >>confdefs.h <<\_ACEOF
81699 #define _GLIBCXX_USE_WCHAR_T 1
81700 _ACEOF
81702 enable_wchar_t=yes
81705 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81706 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81707 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81708 echo "${ECHO_T}$enable_wchar_t" >&6
81710 cat >>confdefs.h <<\_ACEOF
81711 #define HAVE_COPYSIGN 1
81712 _ACEOF
81714 cat >>confdefs.h <<\_ACEOF
81715 #define HAVE_COPYSIGNF 1
81716 _ACEOF
81718 cat >>confdefs.h <<\_ACEOF
81719 #define HAVE_FINITE 1
81720 _ACEOF
81722 cat >>confdefs.h <<\_ACEOF
81723 #define HAVE_FINITEF 1
81724 _ACEOF
81726 cat >>confdefs.h <<\_ACEOF
81727 #define HAVE_FREXPF 1
81728 _ACEOF
81730 cat >>confdefs.h <<\_ACEOF
81731 #define HAVE_HYPOTF 1
81732 _ACEOF
81734 cat >>confdefs.h <<\_ACEOF
81735 #define HAVE_ISINF 1
81736 _ACEOF
81738 cat >>confdefs.h <<\_ACEOF
81739 #define HAVE_ISINFF 1
81740 _ACEOF
81742 cat >>confdefs.h <<\_ACEOF
81743 #define HAVE_ISNAN 1
81744 _ACEOF
81746 cat >>confdefs.h <<\_ACEOF
81747 #define HAVE_ISNANF 1
81748 _ACEOF
81750 cat >>confdefs.h <<\_ACEOF
81751 #define HAVE_SINCOS 1
81752 _ACEOF
81754 cat >>confdefs.h <<\_ACEOF
81755 #define HAVE_SINCOSF 1
81756 _ACEOF
81758 if test x"long_double_math_on_this_cpu" = x"yes"; then
81759 cat >>confdefs.h <<\_ACEOF
81760 #define HAVE_FINITEL 1
81761 _ACEOF
81763 cat >>confdefs.h <<\_ACEOF
81764 #define HAVE_HYPOTL 1
81765 _ACEOF
81767 cat >>confdefs.h <<\_ACEOF
81768 #define HAVE_ISINFL 1
81769 _ACEOF
81771 cat >>confdefs.h <<\_ACEOF
81772 #define HAVE_ISNANL 1
81773 _ACEOF
81777 *-vxworks)
81778 cat >>confdefs.h <<\_ACEOF
81779 #define HAVE_MMAP 1
81780 _ACEOF
81782 cat >>confdefs.h <<\_ACEOF
81783 #define HAVE_ACOSF 1
81784 _ACEOF
81786 cat >>confdefs.h <<\_ACEOF
81787 #define HAVE_ASINF 1
81788 _ACEOF
81790 cat >>confdefs.h <<\_ACEOF
81791 #define HAVE_ATAN2F 1
81792 _ACEOF
81794 cat >>confdefs.h <<\_ACEOF
81795 #define HAVE_ATANF 1
81796 _ACEOF
81798 cat >>confdefs.h <<\_ACEOF
81799 #define HAVE_CEILF 1
81800 _ACEOF
81802 cat >>confdefs.h <<\_ACEOF
81803 #define HAVE_COSF 1
81804 _ACEOF
81806 cat >>confdefs.h <<\_ACEOF
81807 #define HAVE_COSHF 1
81808 _ACEOF
81810 cat >>confdefs.h <<\_ACEOF
81811 #define HAVE_EXPF 1
81812 _ACEOF
81814 cat >>confdefs.h <<\_ACEOF
81815 #define HAVE_FABSF 1
81816 _ACEOF
81818 cat >>confdefs.h <<\_ACEOF
81819 #define HAVE_FLOORF 1
81820 _ACEOF
81822 cat >>confdefs.h <<\_ACEOF
81823 #define HAVE_FMODF 1
81824 _ACEOF
81826 cat >>confdefs.h <<\_ACEOF
81827 #define HAVE_HYPOT 1
81828 _ACEOF
81830 cat >>confdefs.h <<\_ACEOF
81831 #define HAVE_LOG10F 1
81832 _ACEOF
81834 cat >>confdefs.h <<\_ACEOF
81835 #define HAVE_LOGF 1
81836 _ACEOF
81838 cat >>confdefs.h <<\_ACEOF
81839 #define HAVE_POWF 1
81840 _ACEOF
81842 cat >>confdefs.h <<\_ACEOF
81843 #define HAVE_SINF 1
81844 _ACEOF
81846 cat >>confdefs.h <<\_ACEOF
81847 #define HAVE_SINHF 1
81848 _ACEOF
81850 cat >>confdefs.h <<\_ACEOF
81851 #define HAVE_SQRTF 1
81852 _ACEOF
81854 cat >>confdefs.h <<\_ACEOF
81855 #define HAVE_TANF 1
81856 _ACEOF
81858 cat >>confdefs.h <<\_ACEOF
81859 #define HAVE_TANHF 1
81860 _ACEOF
81863 *-windiss*)
81864 cat >>confdefs.h <<\_ACEOF
81865 #define HAVE_ACOSF 1
81866 _ACEOF
81868 cat >>confdefs.h <<\_ACEOF
81869 #define HAVE_ACOSL 1
81870 _ACEOF
81872 cat >>confdefs.h <<\_ACEOF
81873 #define HAVE_ASINF 1
81874 _ACEOF
81876 cat >>confdefs.h <<\_ACEOF
81877 #define HAVE_ASINL 1
81878 _ACEOF
81880 cat >>confdefs.h <<\_ACEOF
81881 #define HAVE_ATAN2F 1
81882 _ACEOF
81884 cat >>confdefs.h <<\_ACEOF
81885 #define HAVE_ATAN2L 1
81886 _ACEOF
81888 cat >>confdefs.h <<\_ACEOF
81889 #define HAVE_ATANF 1
81890 _ACEOF
81892 cat >>confdefs.h <<\_ACEOF
81893 #define HAVE_ATANL 1
81894 _ACEOF
81896 cat >>confdefs.h <<\_ACEOF
81897 #define HAVE_CEILF 1
81898 _ACEOF
81900 cat >>confdefs.h <<\_ACEOF
81901 #define HAVE_CEILL 1
81902 _ACEOF
81904 cat >>confdefs.h <<\_ACEOF
81905 #define HAVE_COPYSIGN 1
81906 _ACEOF
81908 cat >>confdefs.h <<\_ACEOF
81909 #define HAVE_COPYSIGNF 1
81910 _ACEOF
81912 cat >>confdefs.h <<\_ACEOF
81913 #define HAVE_COSF 1
81914 _ACEOF
81916 cat >>confdefs.h <<\_ACEOF
81917 #define HAVE_COSL 1
81918 _ACEOF
81920 cat >>confdefs.h <<\_ACEOF
81921 #define HAVE_COSHF 1
81922 _ACEOF
81924 cat >>confdefs.h <<\_ACEOF
81925 #define HAVE_COSHL 1
81926 _ACEOF
81928 cat >>confdefs.h <<\_ACEOF
81929 #define HAVE_EXPF 1
81930 _ACEOF
81932 cat >>confdefs.h <<\_ACEOF
81933 #define HAVE_EXPL 1
81934 _ACEOF
81936 cat >>confdefs.h <<\_ACEOF
81937 #define HAVE_FABSF 1
81938 _ACEOF
81940 cat >>confdefs.h <<\_ACEOF
81941 #define HAVE_FABSL 1
81942 _ACEOF
81944 cat >>confdefs.h <<\_ACEOF
81945 #define HAVE_FLOORF 1
81946 _ACEOF
81948 cat >>confdefs.h <<\_ACEOF
81949 #define HAVE_FLOORL 1
81950 _ACEOF
81952 cat >>confdefs.h <<\_ACEOF
81953 #define HAVE_FMODF 1
81954 _ACEOF
81956 cat >>confdefs.h <<\_ACEOF
81957 #define HAVE_FMODL 1
81958 _ACEOF
81960 cat >>confdefs.h <<\_ACEOF
81961 #define HAVE_FREXPF 1
81962 _ACEOF
81964 cat >>confdefs.h <<\_ACEOF
81965 #define HAVE_FREXPL 1
81966 _ACEOF
81968 cat >>confdefs.h <<\_ACEOF
81969 #define HAVE_LDEXPF 1
81970 _ACEOF
81972 cat >>confdefs.h <<\_ACEOF
81973 #define HAVE_LDEXPL 1
81974 _ACEOF
81976 cat >>confdefs.h <<\_ACEOF
81977 #define HAVE_LOG10F 1
81978 _ACEOF
81980 cat >>confdefs.h <<\_ACEOF
81981 #define HAVE_LOG10L 1
81982 _ACEOF
81984 cat >>confdefs.h <<\_ACEOF
81985 #define HAVE_LOGF 1
81986 _ACEOF
81988 cat >>confdefs.h <<\_ACEOF
81989 #define HAVE_MODFF 1
81990 _ACEOF
81992 cat >>confdefs.h <<\_ACEOF
81993 #define HAVE_MODFL 1
81994 _ACEOF
81996 cat >>confdefs.h <<\_ACEOF
81997 #define HAVE_POWF 1
81998 _ACEOF
82000 cat >>confdefs.h <<\_ACEOF
82001 #define HAVE_POWL 1
82002 _ACEOF
82004 cat >>confdefs.h <<\_ACEOF
82005 #define HAVE_SINF 1
82006 _ACEOF
82008 cat >>confdefs.h <<\_ACEOF
82009 #define HAVE_SINL 1
82010 _ACEOF
82012 cat >>confdefs.h <<\_ACEOF
82013 #define HAVE_SINHF 1
82014 _ACEOF
82016 cat >>confdefs.h <<\_ACEOF
82017 #define HAVE_SINHL 1
82018 _ACEOF
82020 cat >>confdefs.h <<\_ACEOF
82021 #define HAVE_SQRTF 1
82022 _ACEOF
82024 cat >>confdefs.h <<\_ACEOF
82025 #define HAVE_SQRTL 1
82026 _ACEOF
82028 cat >>confdefs.h <<\_ACEOF
82029 #define HAVE_TANF 1
82030 _ACEOF
82032 cat >>confdefs.h <<\_ACEOF
82033 #define HAVE_TANL 1
82034 _ACEOF
82036 cat >>confdefs.h <<\_ACEOF
82037 #define HAVE_TANHF 1
82038 _ACEOF
82040 cat >>confdefs.h <<\_ACEOF
82041 #define HAVE_TANHL 1
82042 _ACEOF
82046 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
82047 echo "$as_me: error: No support for this host/target combination." >&2;}
82048 { (exit 1); exit 1; }; }
82050 esac
82055 # At some point, we should differentiate between architectures
82056 # like x86, which have long double versions, and alpha/powerpc/etc.,
82057 # which don't. For the time being, punt.
82058 if test x"long_double_math_on_this_cpu" = x"yes"; then
82059 cat >>confdefs.h <<\_ACEOF
82060 #define HAVE_ACOSL 1
82061 _ACEOF
82063 cat >>confdefs.h <<\_ACEOF
82064 #define HAVE_ASINL 1
82065 _ACEOF
82067 cat >>confdefs.h <<\_ACEOF
82068 #define HAVE_ATAN2L 1
82069 _ACEOF
82071 cat >>confdefs.h <<\_ACEOF
82072 #define HAVE_ATANL 1
82073 _ACEOF
82075 cat >>confdefs.h <<\_ACEOF
82076 #define HAVE_CEILL 1
82077 _ACEOF
82079 cat >>confdefs.h <<\_ACEOF
82080 #define HAVE_COPYSIGNL 1
82081 _ACEOF
82083 cat >>confdefs.h <<\_ACEOF
82084 #define HAVE_COSL 1
82085 _ACEOF
82087 cat >>confdefs.h <<\_ACEOF
82088 #define HAVE_COSHL 1
82089 _ACEOF
82091 cat >>confdefs.h <<\_ACEOF
82092 #define HAVE_EXPL 1
82093 _ACEOF
82095 cat >>confdefs.h <<\_ACEOF
82096 #define HAVE_FABSL 1
82097 _ACEOF
82099 cat >>confdefs.h <<\_ACEOF
82100 #define HAVE_FLOORL 1
82101 _ACEOF
82103 cat >>confdefs.h <<\_ACEOF
82104 #define HAVE_FMODL 1
82105 _ACEOF
82107 cat >>confdefs.h <<\_ACEOF
82108 #define HAVE_FREXPL 1
82109 _ACEOF
82111 cat >>confdefs.h <<\_ACEOF
82112 #define HAVE_LDEXPL 1
82113 _ACEOF
82115 cat >>confdefs.h <<\_ACEOF
82116 #define HAVE_LOG10L 1
82117 _ACEOF
82119 cat >>confdefs.h <<\_ACEOF
82120 #define HAVE_LOGL 1
82121 _ACEOF
82123 cat >>confdefs.h <<\_ACEOF
82124 #define HAVE_MODFL 1
82125 _ACEOF
82127 cat >>confdefs.h <<\_ACEOF
82128 #define HAVE_POWL 1
82129 _ACEOF
82131 cat >>confdefs.h <<\_ACEOF
82132 #define HAVE_SINCOSL 1
82133 _ACEOF
82135 cat >>confdefs.h <<\_ACEOF
82136 #define HAVE_SINL 1
82137 _ACEOF
82139 cat >>confdefs.h <<\_ACEOF
82140 #define HAVE_SINHL 1
82141 _ACEOF
82143 cat >>confdefs.h <<\_ACEOF
82144 #define HAVE_SQRTL 1
82145 _ACEOF
82147 cat >>confdefs.h <<\_ACEOF
82148 #define HAVE_TANL 1
82149 _ACEOF
82151 cat >>confdefs.h <<\_ACEOF
82152 #define HAVE_TANHL 1
82153 _ACEOF
82159 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
82162 # Check whether --enable-symvers or --disable-symvers was given.
82163 if test "${enable_symvers+set}" = set; then
82164 enableval="$enable_symvers"
82166 case "$enableval" in
82167 yes|no|gnu) ;;
82168 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
82169 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
82170 { (exit 1); exit 1; }; } ;;
82171 esac
82173 else
82174 enable_symvers=yes
82178 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
82179 # don't know enough about $LD to do tricks...
82181 # FIXME The following test is too strict, in theory.
82182 if test $enable_shared = no ||
82183 test "x$LD" = x ||
82184 test x$glibcxx_gnu_ld_version = x; then
82185 enable_symvers=no
82188 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
82189 if test $enable_symvers != no; then
82190 echo "$as_me:$LINENO: checking for shared libgcc" >&5
82191 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
82192 ac_save_CFLAGS="$CFLAGS"
82193 CFLAGS=' -lgcc_s'
82194 if test x$gcc_no_link = xyes; then
82195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82197 { (exit 1); exit 1; }; }
82199 cat >conftest.$ac_ext <<_ACEOF
82200 #line $LINENO "configure"
82201 /* confdefs.h. */
82202 _ACEOF
82203 cat confdefs.h >>conftest.$ac_ext
82204 cat >>conftest.$ac_ext <<_ACEOF
82205 /* end confdefs.h. */
82208 main ()
82210 return 0;
82212 return 0;
82214 _ACEOF
82215 rm -f conftest.$ac_objext conftest$ac_exeext
82216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82217 (eval $ac_link) 2>&5
82218 ac_status=$?
82219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82220 (exit $ac_status); } &&
82221 { ac_try='test -s conftest$ac_exeext'
82222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82223 (eval $ac_try) 2>&5
82224 ac_status=$?
82225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226 (exit $ac_status); }; }; then
82227 glibcxx_shared_libgcc=yes
82228 else
82229 echo "$as_me: failed program was:" >&5
82230 sed 's/^/| /' conftest.$ac_ext >&5
82232 glibcxx_shared_libgcc=no
82234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
82235 CFLAGS="$ac_save_CFLAGS"
82236 if test $glibcxx_shared_libgcc = no; then
82237 cat > conftest.c <<EOF
82238 int main (void) { return 0; }
82240 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
82241 -shared -shared-libgcc -o conftest.so \
82242 conftest.c -v 2>&1 >/dev/null \
82243 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
82244 rm -f conftest.c conftest.so
82245 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
82246 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
82247 if test x$gcc_no_link = xyes; then
82248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82250 { (exit 1); exit 1; }; }
82252 cat >conftest.$ac_ext <<_ACEOF
82253 #line $LINENO "configure"
82254 /* confdefs.h. */
82255 _ACEOF
82256 cat confdefs.h >>conftest.$ac_ext
82257 cat >>conftest.$ac_ext <<_ACEOF
82258 /* end confdefs.h. */
82261 main ()
82263 return 0;
82265 return 0;
82267 _ACEOF
82268 rm -f conftest.$ac_objext conftest$ac_exeext
82269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82270 (eval $ac_link) 2>&5
82271 ac_status=$?
82272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82273 (exit $ac_status); } &&
82274 { ac_try='test -s conftest$ac_exeext'
82275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82276 (eval $ac_try) 2>&5
82277 ac_status=$?
82278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82279 (exit $ac_status); }; }; then
82280 glibcxx_shared_libgcc=yes
82281 else
82282 echo "$as_me: failed program was:" >&5
82283 sed 's/^/| /' conftest.$ac_ext >&5
82286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
82287 CFLAGS="$ac_save_CFLAGS"
82290 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
82291 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
82294 # For GNU ld, we need at least this version. The format is described in
82295 # GLIBCXX_CHECK_LINKER_FEATURES above.
82296 glibcxx_min_gnu_ld_version=21400
82297 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
82299 # Check to see if unspecified "yes" value can win, given results above.
82300 # Change "yes" into either "no" or a style name.
82301 if test $enable_symvers = yes; then
82302 if test $with_gnu_ld = yes &&
82303 test $glibcxx_shared_libgcc = yes;
82304 then
82305 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
82306 enable_symvers=gnu
82307 else
82308 # The right tools, the right setup, but too old. Fallbacks?
82309 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
82310 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
82311 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
82312 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
82313 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
82314 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
82315 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
82316 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
82317 if test $glibcxx_gnu_ld_version -ge 21200 ; then
82318 # Globbing fix is present, proper block support is not.
82319 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82320 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82321 enable_symvers=no
82322 else
82323 # 2.11 or older.
82324 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82325 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82326 enable_symvers=no
82329 else
82330 # just fail for now
82331 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
82332 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
82333 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
82334 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
82335 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
82336 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
82337 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82338 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82339 enable_symvers=no
82343 # Everything parsed; figure out what file to use.
82344 case $enable_symvers in
82346 SYMVER_MAP=config/linker-map.dummy
82348 gnu)
82349 SYMVER_MAP=config/linker-map.gnu
82350 cat >>confdefs.h <<\_ACEOF
82351 #define _GLIBCXX_SYMVER 1
82352 _ACEOF
82355 esac
82360 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
82361 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
82364 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
82366 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
82367 # Do checks for resource limit functions.
82369 setrlimit_have_headers=yes
82373 for ac_header in unistd.h sys/time.h sys/resource.h
82375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82377 echo "$as_me:$LINENO: checking for $ac_header" >&5
82378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82380 echo $ECHO_N "(cached) $ECHO_C" >&6
82382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82384 else
82385 # Is the header compilable?
82386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82388 cat >conftest.$ac_ext <<_ACEOF
82389 #line $LINENO "configure"
82390 /* confdefs.h. */
82391 _ACEOF
82392 cat confdefs.h >>conftest.$ac_ext
82393 cat >>conftest.$ac_ext <<_ACEOF
82394 /* end confdefs.h. */
82395 $ac_includes_default
82396 #include <$ac_header>
82397 _ACEOF
82398 rm -f conftest.$ac_objext
82399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82400 (eval $ac_compile) 2>&5
82401 ac_status=$?
82402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403 (exit $ac_status); } &&
82404 { ac_try='test -s conftest.$ac_objext'
82405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82406 (eval $ac_try) 2>&5
82407 ac_status=$?
82408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82409 (exit $ac_status); }; }; then
82410 ac_header_compiler=yes
82411 else
82412 echo "$as_me: failed program was:" >&5
82413 sed 's/^/| /' conftest.$ac_ext >&5
82415 ac_header_compiler=no
82417 rm -f conftest.$ac_objext conftest.$ac_ext
82418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82419 echo "${ECHO_T}$ac_header_compiler" >&6
82421 # Is the header present?
82422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82424 cat >conftest.$ac_ext <<_ACEOF
82425 #line $LINENO "configure"
82426 /* confdefs.h. */
82427 _ACEOF
82428 cat confdefs.h >>conftest.$ac_ext
82429 cat >>conftest.$ac_ext <<_ACEOF
82430 /* end confdefs.h. */
82431 #include <$ac_header>
82432 _ACEOF
82433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82435 ac_status=$?
82436 grep -v '^ *+' conftest.er1 >conftest.err
82437 rm -f conftest.er1
82438 cat conftest.err >&5
82439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82440 (exit $ac_status); } >/dev/null; then
82441 if test -s conftest.err; then
82442 ac_cpp_err=$ac_c_preproc_warn_flag
82443 else
82444 ac_cpp_err=
82446 else
82447 ac_cpp_err=yes
82449 if test -z "$ac_cpp_err"; then
82450 ac_header_preproc=yes
82451 else
82452 echo "$as_me: failed program was:" >&5
82453 sed 's/^/| /' conftest.$ac_ext >&5
82455 ac_header_preproc=no
82457 rm -f conftest.err conftest.$ac_ext
82458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82459 echo "${ECHO_T}$ac_header_preproc" >&6
82461 # So? What about this header?
82462 case $ac_header_compiler:$ac_header_preproc in
82463 yes:no )
82464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82469 cat <<\_ASBOX
82470 ## ------------------------------------ ##
82471 ## Report this to bug-autoconf@gnu.org. ##
82472 ## ------------------------------------ ##
82473 _ASBOX
82475 sed "s/^/$as_me: WARNING: /" >&2
82477 no:yes )
82478 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82480 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82485 cat <<\_ASBOX
82486 ## ------------------------------------ ##
82487 ## Report this to bug-autoconf@gnu.org. ##
82488 ## ------------------------------------ ##
82489 _ASBOX
82491 sed "s/^/$as_me: WARNING: /" >&2
82493 esac
82494 echo "$as_me:$LINENO: checking for $ac_header" >&5
82495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82497 echo $ECHO_N "(cached) $ECHO_C" >&6
82498 else
82499 eval "$as_ac_Header=$ac_header_preproc"
82501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82506 cat >>confdefs.h <<_ACEOF
82507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82508 _ACEOF
82510 else
82511 setrlimit_have_headers=no
82514 done
82516 # If don't have the headers, then we can't run the tests now, and we
82517 # won't be seeing any of these during testsuite compilation.
82518 if test $setrlimit_have_headers = yes; then
82519 # Can't do these in a loop, else the resulting syntax is wrong.
82521 cat >conftest.$ac_ext <<_ACEOF
82522 #line $LINENO "configure"
82523 /* confdefs.h. */
82524 _ACEOF
82525 cat confdefs.h >>conftest.$ac_ext
82526 cat >>conftest.$ac_ext <<_ACEOF
82527 /* end confdefs.h. */
82528 #include <unistd.h>
82529 #include <sys/time.h>
82530 #include <sys/resource.h>
82533 main ()
82535 int f = RLIMIT_DATA ;
82537 return 0;
82539 _ACEOF
82540 rm -f conftest.$ac_objext
82541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82542 (eval $ac_compile) 2>&5
82543 ac_status=$?
82544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82545 (exit $ac_status); } &&
82546 { ac_try='test -s conftest.$ac_objext'
82547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82548 (eval $ac_try) 2>&5
82549 ac_status=$?
82550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82551 (exit $ac_status); }; }; then
82552 glibcxx_mresult=1
82553 else
82554 echo "$as_me: failed program was:" >&5
82555 sed 's/^/| /' conftest.$ac_ext >&5
82557 glibcxx_mresult=0
82559 rm -f conftest.$ac_objext conftest.$ac_ext
82561 cat >>confdefs.h <<_ACEOF
82562 #define HAVE_LIMIT_DATA $glibcxx_mresult
82563 _ACEOF
82567 cat >conftest.$ac_ext <<_ACEOF
82568 #line $LINENO "configure"
82569 /* confdefs.h. */
82570 _ACEOF
82571 cat confdefs.h >>conftest.$ac_ext
82572 cat >>conftest.$ac_ext <<_ACEOF
82573 /* end confdefs.h. */
82574 #include <unistd.h>
82575 #include <sys/time.h>
82576 #include <sys/resource.h>
82579 main ()
82581 int f = RLIMIT_RSS ;
82583 return 0;
82585 _ACEOF
82586 rm -f conftest.$ac_objext
82587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82588 (eval $ac_compile) 2>&5
82589 ac_status=$?
82590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591 (exit $ac_status); } &&
82592 { ac_try='test -s conftest.$ac_objext'
82593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82594 (eval $ac_try) 2>&5
82595 ac_status=$?
82596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82597 (exit $ac_status); }; }; then
82598 glibcxx_mresult=1
82599 else
82600 echo "$as_me: failed program was:" >&5
82601 sed 's/^/| /' conftest.$ac_ext >&5
82603 glibcxx_mresult=0
82605 rm -f conftest.$ac_objext conftest.$ac_ext
82607 cat >>confdefs.h <<_ACEOF
82608 #define HAVE_LIMIT_RSS $glibcxx_mresult
82609 _ACEOF
82613 cat >conftest.$ac_ext <<_ACEOF
82614 #line $LINENO "configure"
82615 /* confdefs.h. */
82616 _ACEOF
82617 cat confdefs.h >>conftest.$ac_ext
82618 cat >>conftest.$ac_ext <<_ACEOF
82619 /* end confdefs.h. */
82620 #include <unistd.h>
82621 #include <sys/time.h>
82622 #include <sys/resource.h>
82625 main ()
82627 int f = RLIMIT_VMEM ;
82629 return 0;
82631 _ACEOF
82632 rm -f conftest.$ac_objext
82633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82634 (eval $ac_compile) 2>&5
82635 ac_status=$?
82636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82637 (exit $ac_status); } &&
82638 { ac_try='test -s conftest.$ac_objext'
82639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82640 (eval $ac_try) 2>&5
82641 ac_status=$?
82642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82643 (exit $ac_status); }; }; then
82644 glibcxx_mresult=1
82645 else
82646 echo "$as_me: failed program was:" >&5
82647 sed 's/^/| /' conftest.$ac_ext >&5
82649 glibcxx_mresult=0
82651 rm -f conftest.$ac_objext conftest.$ac_ext
82653 cat >>confdefs.h <<_ACEOF
82654 #define HAVE_LIMIT_VMEM $glibcxx_mresult
82655 _ACEOF
82659 cat >conftest.$ac_ext <<_ACEOF
82660 #line $LINENO "configure"
82661 /* confdefs.h. */
82662 _ACEOF
82663 cat confdefs.h >>conftest.$ac_ext
82664 cat >>conftest.$ac_ext <<_ACEOF
82665 /* end confdefs.h. */
82666 #include <unistd.h>
82667 #include <sys/time.h>
82668 #include <sys/resource.h>
82671 main ()
82673 int f = RLIMIT_AS ;
82675 return 0;
82677 _ACEOF
82678 rm -f conftest.$ac_objext
82679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82680 (eval $ac_compile) 2>&5
82681 ac_status=$?
82682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82683 (exit $ac_status); } &&
82684 { ac_try='test -s conftest.$ac_objext'
82685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82686 (eval $ac_try) 2>&5
82687 ac_status=$?
82688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82689 (exit $ac_status); }; }; then
82690 glibcxx_mresult=1
82691 else
82692 echo "$as_me: failed program was:" >&5
82693 sed 's/^/| /' conftest.$ac_ext >&5
82695 glibcxx_mresult=0
82697 rm -f conftest.$ac_objext conftest.$ac_ext
82699 cat >>confdefs.h <<_ACEOF
82700 #define HAVE_LIMIT_AS $glibcxx_mresult
82701 _ACEOF
82705 cat >conftest.$ac_ext <<_ACEOF
82706 #line $LINENO "configure"
82707 /* confdefs.h. */
82708 _ACEOF
82709 cat confdefs.h >>conftest.$ac_ext
82710 cat >>conftest.$ac_ext <<_ACEOF
82711 /* end confdefs.h. */
82712 #include <unistd.h>
82713 #include <sys/time.h>
82714 #include <sys/resource.h>
82717 main ()
82719 int f = RLIMIT_FSIZE ;
82721 return 0;
82723 _ACEOF
82724 rm -f conftest.$ac_objext
82725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82726 (eval $ac_compile) 2>&5
82727 ac_status=$?
82728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82729 (exit $ac_status); } &&
82730 { ac_try='test -s conftest.$ac_objext'
82731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82732 (eval $ac_try) 2>&5
82733 ac_status=$?
82734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82735 (exit $ac_status); }; }; then
82736 glibcxx_mresult=1
82737 else
82738 echo "$as_me: failed program was:" >&5
82739 sed 's/^/| /' conftest.$ac_ext >&5
82741 glibcxx_mresult=0
82743 rm -f conftest.$ac_objext conftest.$ac_ext
82745 cat >>confdefs.h <<_ACEOF
82746 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
82747 _ACEOF
82751 # Check for rlimit, setrlimit.
82752 if test "${ac_setrlimit+set}" = set; then
82753 echo $ECHO_N "(cached) $ECHO_C" >&6
82754 else
82756 cat >conftest.$ac_ext <<_ACEOF
82757 #line $LINENO "configure"
82758 /* confdefs.h. */
82759 _ACEOF
82760 cat confdefs.h >>conftest.$ac_ext
82761 cat >>conftest.$ac_ext <<_ACEOF
82762 /* end confdefs.h. */
82763 #include <unistd.h>
82764 #include <sys/time.h>
82765 #include <sys/resource.h>
82768 main ()
82770 struct rlimit r;
82771 setrlimit(0, &r);
82773 return 0;
82775 _ACEOF
82776 rm -f conftest.$ac_objext
82777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82778 (eval $ac_compile) 2>&5
82779 ac_status=$?
82780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82781 (exit $ac_status); } &&
82782 { ac_try='test -s conftest.$ac_objext'
82783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784 (eval $ac_try) 2>&5
82785 ac_status=$?
82786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787 (exit $ac_status); }; }; then
82788 ac_setrlimit=yes
82789 else
82790 echo "$as_me: failed program was:" >&5
82791 sed 's/^/| /' conftest.$ac_ext >&5
82793 ac_setrlimit=no
82795 rm -f conftest.$ac_objext conftest.$ac_ext
82801 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
82802 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
82803 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
82804 ac_res_limits=yes
82805 cat >>confdefs.h <<\_ACEOF
82806 #define _GLIBCXX_RES_LIMITS 1
82807 _ACEOF
82809 else
82810 ac_res_limits=no
82812 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
82813 echo "${ECHO_T}$ac_res_limits" >&6
82816 # Look for setenv, so that extended locale tests can be performed.
82818 echo "$as_me:$LINENO: checking for setenv declaration" >&5
82819 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
82820 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
82821 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
82822 echo $ECHO_N "(cached) $ECHO_C" >&6
82823 else
82827 ac_ext=cc
82828 ac_cpp='$CXXCPP $CPPFLAGS'
82829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82833 cat >conftest.$ac_ext <<_ACEOF
82834 #line $LINENO "configure"
82835 /* confdefs.h. */
82836 _ACEOF
82837 cat confdefs.h >>conftest.$ac_ext
82838 cat >>conftest.$ac_ext <<_ACEOF
82839 /* end confdefs.h. */
82840 #include <stdlib.h>
82842 main ()
82844 setenv(0, 0, 0);
82846 return 0;
82848 _ACEOF
82849 rm -f conftest.$ac_objext
82850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82851 (eval $ac_compile) 2>&5
82852 ac_status=$?
82853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82854 (exit $ac_status); } &&
82855 { ac_try='test -s conftest.$ac_objext'
82856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82857 (eval $ac_try) 2>&5
82858 ac_status=$?
82859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82860 (exit $ac_status); }; }; then
82861 glibcxx_cv_func_setenv_use=yes
82862 else
82863 echo "$as_me: failed program was:" >&5
82864 sed 's/^/| /' conftest.$ac_ext >&5
82866 glibcxx_cv_func_setenv_use=no
82868 rm -f conftest.$ac_objext conftest.$ac_ext
82869 ac_ext=c
82870 ac_cpp='$CPP $CPPFLAGS'
82871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
82880 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
82881 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
82883 for ac_func in setenv
82885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82886 echo "$as_me:$LINENO: checking for $ac_func" >&5
82887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82888 if eval "test \"\${$as_ac_var+set}\" = set"; then
82889 echo $ECHO_N "(cached) $ECHO_C" >&6
82890 else
82891 if test x$gcc_no_link = xyes; then
82892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82894 { (exit 1); exit 1; }; }
82896 cat >conftest.$ac_ext <<_ACEOF
82897 #line $LINENO "configure"
82898 /* confdefs.h. */
82899 _ACEOF
82900 cat confdefs.h >>conftest.$ac_ext
82901 cat >>conftest.$ac_ext <<_ACEOF
82902 /* end confdefs.h. */
82903 /* System header to define __stub macros and hopefully few prototypes,
82904 which can conflict with char $ac_func (); below.
82905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82906 <limits.h> exists even on freestanding compilers. */
82907 #ifdef __STDC__
82908 # include <limits.h>
82909 #else
82910 # include <assert.h>
82911 #endif
82912 /* Override any gcc2 internal prototype to avoid an error. */
82913 #ifdef __cplusplus
82914 extern "C"
82916 #endif
82917 /* We use char because int might match the return type of a gcc2
82918 builtin and then its argument prototype would still apply. */
82919 char $ac_func ();
82920 /* The GNU C library defines this for functions which it implements
82921 to always fail with ENOSYS. Some functions are actually named
82922 something starting with __ and the normal name is an alias. */
82923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82924 choke me
82925 #else
82926 char (*f) () = $ac_func;
82927 #endif
82928 #ifdef __cplusplus
82930 #endif
82933 main ()
82935 return f != $ac_func;
82937 return 0;
82939 _ACEOF
82940 rm -f conftest.$ac_objext conftest$ac_exeext
82941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82942 (eval $ac_link) 2>&5
82943 ac_status=$?
82944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82945 (exit $ac_status); } &&
82946 { ac_try='test -s conftest$ac_exeext'
82947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82948 (eval $ac_try) 2>&5
82949 ac_status=$?
82950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82951 (exit $ac_status); }; }; then
82952 eval "$as_ac_var=yes"
82953 else
82954 echo "$as_me: failed program was:" >&5
82955 sed 's/^/| /' conftest.$ac_ext >&5
82957 eval "$as_ac_var=no"
82959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
82961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82963 if test `eval echo '${'$as_ac_var'}'` = yes; then
82964 cat >>confdefs.h <<_ACEOF
82965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82966 _ACEOF
82969 done
82974 if test $enable_symvers = no; then
82975 enable_abi_check=no
82976 else
82977 case "$host" in
82978 *-*-cygwin*)
82979 enable_abi_check=no ;;
82981 enable_abi_check=yes ;;
82982 esac
82984 else
82985 # Only build this as native, since automake does not understand
82986 # CXX_FOR_BUILD.
82987 enable_abi_check=no
82990 # Export file names for ABI checking.
82991 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
82998 # Propagate the target-specific source directories through the build chain.
82999 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
83000 # uses it, and it only gets used in this file.)
83001 ATOMICITY_SRCDIR=config/${atomicity_dir}
83002 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
83003 OS_INC_SRCDIR=config/${os_include_dir}
83008 # Determine cross-compile flags and AM_CONDITIONALs.
83009 #AC_SUBST(GLIBCXX_IS_NATIVE)
83010 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
83011 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
83012 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
83015 if test $is_hosted = yes; then
83016 GLIBCXX_HOSTED_TRUE=
83017 GLIBCXX_HOSTED_FALSE='#'
83018 else
83019 GLIBCXX_HOSTED_TRUE='#'
83020 GLIBCXX_HOSTED_FALSE=
83026 if test $enable_libstdcxx_pch = yes; then
83027 GLIBCXX_BUILD_PCH_TRUE=
83028 GLIBCXX_BUILD_PCH_FALSE='#'
83029 else
83030 GLIBCXX_BUILD_PCH_TRUE='#'
83031 GLIBCXX_BUILD_PCH_FALSE=
83037 if test $enable_cheaders = c; then
83038 GLIBCXX_C_HEADERS_C_TRUE=
83039 GLIBCXX_C_HEADERS_C_FALSE='#'
83040 else
83041 GLIBCXX_C_HEADERS_C_TRUE='#'
83042 GLIBCXX_C_HEADERS_C_FALSE=
83048 if test $enable_cheaders = c_std; then
83049 GLIBCXX_C_HEADERS_C_STD_TRUE=
83050 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
83051 else
83052 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
83053 GLIBCXX_C_HEADERS_C_STD_FALSE=
83059 if test $c_compatibility = yes; then
83060 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
83061 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
83062 else
83063 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
83064 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
83070 if test $enable_libstdcxx_debug = yes; then
83071 GLIBCXX_BUILD_DEBUG_TRUE=
83072 GLIBCXX_BUILD_DEBUG_FALSE='#'
83073 else
83074 GLIBCXX_BUILD_DEBUG_TRUE='#'
83075 GLIBCXX_BUILD_DEBUG_FALSE=
83081 if test $enable_symvers != no; then
83082 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
83083 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
83084 else
83085 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
83086 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
83092 if test $enable_wchar_t = yes; then
83093 GLIBCXX_TEST_WCHAR_T_TRUE=
83094 GLIBCXX_TEST_WCHAR_T_FALSE='#'
83095 else
83096 GLIBCXX_TEST_WCHAR_T_TRUE='#'
83097 GLIBCXX_TEST_WCHAR_T_FALSE=
83103 if test $enable_abi_check = yes; then
83104 GLIBCXX_TEST_ABI_TRUE=
83105 GLIBCXX_TEST_ABI_FALSE='#'
83106 else
83107 GLIBCXX_TEST_ABI_TRUE='#'
83108 GLIBCXX_TEST_ABI_FALSE=
83114 cat >confcache <<\_ACEOF
83115 # This file is a shell script that caches the results of configure
83116 # tests run on this system so they can be shared between configure
83117 # scripts and configure runs, see configure's option --config-cache.
83118 # It is not useful on other systems. If it contains results you don't
83119 # want to keep, you may remove or edit it.
83121 # config.status only pays attention to the cache file if you give it
83122 # the --recheck option to rerun configure.
83124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
83125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
83126 # following values.
83128 _ACEOF
83130 # The following way of writing the cache mishandles newlines in values,
83131 # but we know of no workaround that is simple, portable, and efficient.
83132 # So, don't put newlines in cache variables' values.
83133 # Ultrix sh set writes to stderr and can't be redirected directly,
83134 # and sets the high bit in the cache file unless we assign to the vars.
83136 (set) 2>&1 |
83137 case `(ac_space=' '; set | grep ac_space) 2>&1` in
83138 *ac_space=\ *)
83139 # `set' does not quote correctly, so add quotes (double-quote
83140 # substitution turns \\\\ into \\, and sed turns \\ into \).
83141 sed -n \
83142 "s/'/'\\\\''/g;
83143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
83146 # `set' quotes correctly as required by POSIX, so do not add quotes.
83147 sed -n \
83148 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
83150 esac;
83152 sed '
83153 t clear
83154 : clear
83155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
83156 t end
83157 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
83158 : end' >>confcache
83159 if diff $cache_file confcache >/dev/null 2>&1; then :; else
83160 if test -w $cache_file; then
83161 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
83162 cat confcache >$cache_file
83163 else
83164 echo "not updating unwritable cache $cache_file"
83167 rm -f confcache
83169 if test ${multilib} = yes; then
83170 multilib_arg="--enable-multilib"
83171 else
83172 multilib_arg=
83175 # Export all the install information.
83177 glibcxx_toolexecdir=no
83178 glibcxx_toolexeclibdir=no
83179 glibcxx_prefixdir=$prefix
83181 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
83182 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
83184 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
83185 if test "${with_gxx_include_dir+set}" = set; then
83186 withval="$with_gxx_include_dir"
83187 case "$withval" in
83188 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
83189 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
83190 { (exit 1); exit 1; }; } ;;
83191 no) gxx_include_dir=no ;;
83192 *) gxx_include_dir=$withval ;;
83193 esac
83194 else
83195 gxx_include_dir=no
83197 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
83198 echo "${ECHO_T}$gxx_include_dir" >&6
83200 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
83201 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
83202 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
83203 if test "${enable_version_specific_runtime_libs+set}" = set; then
83204 enableval="$enable_version_specific_runtime_libs"
83205 case "$enableval" in
83206 yes) version_specific_libs=yes ;;
83207 no) version_specific_libs=no ;;
83208 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
83209 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
83210 { (exit 1); exit 1; }; };;
83211 esac
83212 else
83213 version_specific_libs=no
83215 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
83216 echo "${ECHO_T}$version_specific_libs" >&6
83218 # Default case for install directory for include files.
83219 if test $version_specific_libs = no && test $gxx_include_dir = no; then
83220 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
83223 # Version-specific runtime libs processing.
83224 if test $version_specific_libs = yes; then
83225 # Need the gcc compiler version to know where to install libraries
83226 # and header files if --enable-version-specific-runtime-libs option
83227 # is selected. FIXME: these variables are misnamed, there are
83228 # no executables installed in _toolexecdir or _toolexeclibdir.
83229 if test x"$gxx_include_dir" = x"no"; then
83230 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
83232 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
83233 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
83236 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
83237 # Install a library built with a cross compiler in tooldir, not libdir.
83238 if test x"$glibcxx_toolexecdir" = x"no"; then
83239 if test -n "$with_cross_host" &&
83240 test x"$with_cross_host" != x"no"; then
83241 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
83242 glibcxx_toolexeclibdir='${toolexecdir}/lib'
83243 else
83244 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
83245 glibcxx_toolexeclibdir='${libdir}'
83247 multi_os_directory=`$CXX -print-multi-os-directory`
83248 case $multi_os_directory in
83249 .) ;; # Avoid trailing /.
83250 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
83251 esac
83254 echo "$as_me:$LINENO: checking for install location" >&5
83255 echo $ECHO_N "checking for install location... $ECHO_C" >&6
83256 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
83257 echo "${ECHO_T}$gxx_include_dir" >&6
83265 # Export all the include and flag information to Makefiles.
83267 # Used for every C++ compile we perform.
83268 GLIBCXX_INCLUDES="\
83269 -I$glibcxx_builddir/include/$host_alias \
83270 -I$glibcxx_builddir/include \
83271 -I$glibcxx_srcdir/libsupc++"
83273 # For Canadian crosses, pick this up too.
83274 if test $CANADIAN = yes; then
83275 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
83278 # Stuff in the actual top level. Currently only used by libsupc++ to
83279 # get unwind* headers from the gcc dir.
83280 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
83281 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
83283 # Now, export this to all the little Makefiles....
83288 # Optimization flags that are probably a good idea for thrill-seekers. Just
83289 # uncomment the lines below and make, everything else is ready to go...
83290 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
83291 OPTIMIZE_CXXFLAGS=
83294 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
83298 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
83299 grep "enable shared" > /dev/null;
83300 then
83301 LIBSUPCXX_PICFLAGS=-prefer-pic
83302 else
83303 LIBSUPCXX_PICFLAGS=
83307 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
83309 ac_config_files="$ac_config_files scripts/check_survey"
83311 ac_config_files="$ac_config_files scripts/testsuite_flags"
83314 ac_config_commands="$ac_config_commands default"
83317 cat >confcache <<\_ACEOF
83318 # This file is a shell script that caches the results of configure
83319 # tests run on this system so they can be shared between configure
83320 # scripts and configure runs, see configure's option --config-cache.
83321 # It is not useful on other systems. If it contains results you don't
83322 # want to keep, you may remove or edit it.
83324 # config.status only pays attention to the cache file if you give it
83325 # the --recheck option to rerun configure.
83327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
83328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
83329 # following values.
83331 _ACEOF
83333 # The following way of writing the cache mishandles newlines in values,
83334 # but we know of no workaround that is simple, portable, and efficient.
83335 # So, don't put newlines in cache variables' values.
83336 # Ultrix sh set writes to stderr and can't be redirected directly,
83337 # and sets the high bit in the cache file unless we assign to the vars.
83339 (set) 2>&1 |
83340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
83341 *ac_space=\ *)
83342 # `set' does not quote correctly, so add quotes (double-quote
83343 # substitution turns \\\\ into \\, and sed turns \\ into \).
83344 sed -n \
83345 "s/'/'\\\\''/g;
83346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
83349 # `set' quotes correctly as required by POSIX, so do not add quotes.
83350 sed -n \
83351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
83353 esac;
83355 sed '
83356 t clear
83357 : clear
83358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
83359 t end
83360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
83361 : end' >>confcache
83362 if diff $cache_file confcache >/dev/null 2>&1; then :; else
83363 if test -w $cache_file; then
83364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
83365 cat confcache >$cache_file
83366 else
83367 echo "not updating unwritable cache $cache_file"
83370 rm -f confcache
83372 test "x$prefix" = xNONE && prefix=$ac_default_prefix
83373 # Let make expand exec_prefix.
83374 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
83376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83378 # trailing colons and then remove the whole line if VPATH becomes empty
83379 # (actually we leave an empty line to preserve line numbers).
83380 if test "x$srcdir" = x.; then
83381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83382 s/:*\$(srcdir):*/:/;
83383 s/:*\${srcdir}:*/:/;
83384 s/:*@srcdir@:*/:/;
83385 s/^\([^=]*=[ ]*\):*/\1/;
83386 s/:*$//;
83387 s/^[^=]*=[ ]*$//;
83391 DEFS=-DHAVE_CONFIG_H
83393 ac_libobjs=
83394 ac_ltlibobjs=
83395 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
83396 # 1. Remove the extension, and $U if already installed.
83397 ac_i=`echo "$ac_i" |
83398 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
83399 # 2. Add them.
83400 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
83401 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
83402 done
83403 LIBOBJS=$ac_libobjs
83405 LTLIBOBJS=$ac_ltlibobjs
83408 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
83409 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
83410 Usually this means the macro was only invoked conditionally." >&5
83411 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
83412 Usually this means the macro was only invoked conditionally." >&2;}
83413 { (exit 1); exit 1; }; }
83415 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
83416 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
83417 Usually this means the macro was only invoked conditionally." >&5
83418 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
83419 Usually this means the macro was only invoked conditionally." >&2;}
83420 { (exit 1); exit 1; }; }
83422 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
83423 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
83424 Usually this means the macro was only invoked conditionally." >&5
83425 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
83426 Usually this means the macro was only invoked conditionally." >&2;}
83427 { (exit 1); exit 1; }; }
83429 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
83430 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
83431 Usually this means the macro was only invoked conditionally." >&5
83432 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
83433 Usually this means the macro was only invoked conditionally." >&2;}
83434 { (exit 1); exit 1; }; }
83436 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
83437 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
83438 Usually this means the macro was only invoked conditionally." >&5
83439 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
83440 Usually this means the macro was only invoked conditionally." >&2;}
83441 { (exit 1); exit 1; }; }
83443 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
83444 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
83445 Usually this means the macro was only invoked conditionally." >&5
83446 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
83447 Usually this means the macro was only invoked conditionally." >&2;}
83448 { (exit 1); exit 1; }; }
83450 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
83451 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
83452 Usually this means the macro was only invoked conditionally." >&5
83453 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
83454 Usually this means the macro was only invoked conditionally." >&2;}
83455 { (exit 1); exit 1; }; }
83457 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
83458 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
83459 Usually this means the macro was only invoked conditionally." >&5
83460 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
83461 Usually this means the macro was only invoked conditionally." >&2;}
83462 { (exit 1); exit 1; }; }
83464 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
83465 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
83466 Usually this means the macro was only invoked conditionally." >&5
83467 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
83468 Usually this means the macro was only invoked conditionally." >&2;}
83469 { (exit 1); exit 1; }; }
83471 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
83472 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
83473 Usually this means the macro was only invoked conditionally." >&5
83474 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
83475 Usually this means the macro was only invoked conditionally." >&2;}
83476 { (exit 1); exit 1; }; }
83479 : ${CONFIG_STATUS=./config.status}
83480 ac_clean_files_save=$ac_clean_files
83481 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
83482 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
83483 echo "$as_me: creating $CONFIG_STATUS" >&6;}
83484 cat >$CONFIG_STATUS <<_ACEOF
83485 #! $SHELL
83486 # Generated by $as_me.
83487 # Run this file to recreate the current configuration.
83488 # Compiler output produced by configure, useful for debugging
83489 # configure, is in config.log if it exists.
83491 debug=false
83492 ac_cs_recheck=false
83493 ac_cs_silent=false
83494 SHELL=\${CONFIG_SHELL-$SHELL}
83495 _ACEOF
83497 cat >>$CONFIG_STATUS <<\_ACEOF
83498 ## --------------------- ##
83499 ## M4sh Initialization. ##
83500 ## --------------------- ##
83502 # Be Bourne compatible
83503 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
83504 emulate sh
83505 NULLCMD=:
83506 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
83507 # is contrary to our usage. Disable this feature.
83508 alias -g '${1+"$@"}'='"$@"'
83509 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
83510 set -o posix
83513 # Support unset when possible.
83514 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
83515 as_unset=unset
83516 else
83517 as_unset=false
83521 # Work around bugs in pre-3.0 UWIN ksh.
83522 $as_unset ENV MAIL MAILPATH
83523 PS1='$ '
83524 PS2='> '
83525 PS4='+ '
83527 # NLS nuisances.
83528 for as_var in \
83529 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
83530 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
83531 LC_TELEPHONE LC_TIME
83533 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
83534 eval $as_var=C; export $as_var
83535 else
83536 $as_unset $as_var
83538 done
83540 # Required to use basename.
83541 if expr a : '\(a\)' >/dev/null 2>&1; then
83542 as_expr=expr
83543 else
83544 as_expr=false
83547 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
83548 as_basename=basename
83549 else
83550 as_basename=false
83554 # Name of the executable.
83555 as_me=`$as_basename "$0" ||
83556 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
83557 X"$0" : 'X\(//\)$' \| \
83558 X"$0" : 'X\(/\)$' \| \
83559 . : '\(.\)' 2>/dev/null ||
83560 echo X/"$0" |
83561 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
83562 /^X\/\(\/\/\)$/{ s//\1/; q; }
83563 /^X\/\(\/\).*/{ s//\1/; q; }
83564 s/.*/./; q'`
83567 # PATH needs CR, and LINENO needs CR and PATH.
83568 # Avoid depending upon Character Ranges.
83569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83572 as_cr_digits='0123456789'
83573 as_cr_alnum=$as_cr_Letters$as_cr_digits
83575 # The user is always right.
83576 if test "${PATH_SEPARATOR+set}" != set; then
83577 echo "#! /bin/sh" >conf$$.sh
83578 echo "exit 0" >>conf$$.sh
83579 chmod +x conf$$.sh
83580 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
83581 PATH_SEPARATOR=';'
83582 else
83583 PATH_SEPARATOR=:
83585 rm -f conf$$.sh
83589 as_lineno_1=$LINENO
83590 as_lineno_2=$LINENO
83591 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
83592 test "x$as_lineno_1" != "x$as_lineno_2" &&
83593 test "x$as_lineno_3" = "x$as_lineno_2" || {
83594 # Find who we are. Look in the path if we contain no path at all
83595 # relative or not.
83596 case $0 in
83597 *[\\/]* ) as_myself=$0 ;;
83598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83599 for as_dir in $PATH
83601 IFS=$as_save_IFS
83602 test -z "$as_dir" && as_dir=.
83603 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83604 done
83607 esac
83608 # We did not find ourselves, most probably we were run as `sh COMMAND'
83609 # in which case we are not to be found in the path.
83610 if test "x$as_myself" = x; then
83611 as_myself=$0
83613 if test ! -f "$as_myself"; then
83614 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
83615 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
83616 { (exit 1); exit 1; }; }
83618 case $CONFIG_SHELL in
83620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83621 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
83623 IFS=$as_save_IFS
83624 test -z "$as_dir" && as_dir=.
83625 for as_base in sh bash ksh sh5; do
83626 case $as_dir in
83628 if ("$as_dir/$as_base" -c '
83629 as_lineno_1=$LINENO
83630 as_lineno_2=$LINENO
83631 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
83632 test "x$as_lineno_1" != "x$as_lineno_2" &&
83633 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
83634 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
83635 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
83636 CONFIG_SHELL=$as_dir/$as_base
83637 export CONFIG_SHELL
83638 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
83639 fi;;
83640 esac
83641 done
83642 done
83644 esac
83646 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
83647 # uniformly replaced by the line number. The first 'sed' inserts a
83648 # line-number line before each line; the second 'sed' does the real
83649 # work. The second script uses 'N' to pair each line-number line
83650 # with the numbered line, and appends trailing '-' during
83651 # substitution so that $LINENO is not a special case at line end.
83652 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
83653 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
83654 sed '=' <$as_myself |
83655 sed '
83657 s,$,-,
83658 : loop
83659 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
83660 t loop
83661 s,-$,,
83662 s,^['$as_cr_digits']*\n,,
83663 ' >$as_me.lineno &&
83664 chmod +x $as_me.lineno ||
83665 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
83666 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
83667 { (exit 1); exit 1; }; }
83669 # Don't try to exec as it changes $[0], causing all sort of problems
83670 # (the dirname of $[0] is not the place where we might find the
83671 # original and so on. Autoconf is especially sensible to this).
83672 . ./$as_me.lineno
83673 # Exit status is that of the last command.
83674 exit
83678 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
83679 *c*,-n*) ECHO_N= ECHO_C='
83680 ' ECHO_T=' ' ;;
83681 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
83682 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
83683 esac
83685 if expr a : '\(a\)' >/dev/null 2>&1; then
83686 as_expr=expr
83687 else
83688 as_expr=false
83691 rm -f conf$$ conf$$.exe conf$$.file
83692 echo >conf$$.file
83693 if ln -s conf$$.file conf$$ 2>/dev/null; then
83694 # We could just check for DJGPP; but this test a) works b) is more generic
83695 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
83696 if test -f conf$$.exe; then
83697 # Don't use ln at all; we don't have any links
83698 as_ln_s='cp -p'
83699 else
83700 as_ln_s='ln -s'
83702 elif ln conf$$.file conf$$ 2>/dev/null; then
83703 as_ln_s=ln
83704 else
83705 as_ln_s='cp -p'
83707 rm -f conf$$ conf$$.exe conf$$.file
83709 if mkdir -p . 2>/dev/null; then
83710 as_mkdir_p=:
83711 else
83712 as_mkdir_p=false
83715 as_executable_p="test -f"
83717 # Sed expression to map a string onto a valid CPP name.
83718 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
83720 # Sed expression to map a string onto a valid variable name.
83721 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
83724 # IFS
83725 # We need space, tab and new line, in precisely that order.
83726 as_nl='
83728 IFS=" $as_nl"
83730 # CDPATH.
83731 $as_unset CDPATH
83733 exec 6>&1
83735 # Open the log real soon, to keep \$[0] and so on meaningful, and to
83736 # report actual input values of CONFIG_FILES etc. instead of their
83737 # values after options handling. Logging --version etc. is OK.
83738 exec 5>>config.log
83740 echo
83741 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83742 ## Running $as_me. ##
83743 _ASBOX
83744 } >&5
83745 cat >&5 <<_CSEOF
83747 This file was extended by package-unused $as_me version-unused, which was
83748 generated by GNU Autoconf 2.57. Invocation command line was
83750 CONFIG_FILES = $CONFIG_FILES
83751 CONFIG_HEADERS = $CONFIG_HEADERS
83752 CONFIG_LINKS = $CONFIG_LINKS
83753 CONFIG_COMMANDS = $CONFIG_COMMANDS
83754 $ $0 $@
83756 _CSEOF
83757 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
83758 echo >&5
83759 _ACEOF
83761 # Files that config.status was made for.
83762 if test -n "$ac_config_files"; then
83763 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
83766 if test -n "$ac_config_headers"; then
83767 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
83770 if test -n "$ac_config_links"; then
83771 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
83774 if test -n "$ac_config_commands"; then
83775 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
83778 cat >>$CONFIG_STATUS <<\_ACEOF
83780 ac_cs_usage="\
83781 \`$as_me' instantiates files from templates according to the
83782 current configuration.
83784 Usage: $0 [OPTIONS] [FILE]...
83786 -h, --help print this help, then exit
83787 -V, --version print version number, then exit
83788 -q, --quiet do not print progress messages
83789 -d, --debug don't remove temporary files
83790 --recheck update $as_me by reconfiguring in the same conditions
83791 --file=FILE[:TEMPLATE]
83792 instantiate the configuration file FILE
83793 --header=FILE[:TEMPLATE]
83794 instantiate the configuration header FILE
83796 Configuration files:
83797 $config_files
83799 Configuration headers:
83800 $config_headers
83802 Configuration commands:
83803 $config_commands
83805 Report bugs to <bug-autoconf@gnu.org>."
83806 _ACEOF
83808 cat >>$CONFIG_STATUS <<_ACEOF
83809 ac_cs_version="\\
83810 package-unused config.status version-unused
83811 configured by $0, generated by GNU Autoconf 2.57,
83812 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
83814 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
83815 Free Software Foundation, Inc.
83816 This config.status script is free software; the Free Software Foundation
83817 gives unlimited permission to copy, distribute and modify it."
83818 srcdir=$srcdir
83819 INSTALL="$INSTALL"
83820 _ACEOF
83822 cat >>$CONFIG_STATUS <<\_ACEOF
83823 # If no file are specified by the user, then we need to provide default
83824 # value. By we need to know if files were specified by the user.
83825 ac_need_defaults=:
83826 while test $# != 0
83828 case $1 in
83829 --*=*)
83830 ac_option=`expr "x$1" : 'x\([^=]*\)='`
83831 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
83832 ac_shift=:
83835 ac_option=$1
83836 ac_optarg=$2
83837 ac_shift=shift
83839 *) # This is not an option, so the user has probably given explicit
83840 # arguments.
83841 ac_option=$1
83842 ac_need_defaults=false;;
83843 esac
83845 case $ac_option in
83846 # Handling of the options.
83847 _ACEOF
83848 cat >>$CONFIG_STATUS <<\_ACEOF
83849 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83850 ac_cs_recheck=: ;;
83851 --version | --vers* | -V )
83852 echo "$ac_cs_version"; exit 0 ;;
83853 --he | --h)
83854 # Conflict between --help and --header
83855 { { echo "$as_me:$LINENO: error: ambiguous option: $1
83856 Try \`$0 --help' for more information." >&5
83857 echo "$as_me: error: ambiguous option: $1
83858 Try \`$0 --help' for more information." >&2;}
83859 { (exit 1); exit 1; }; };;
83860 --help | --hel | -h )
83861 echo "$ac_cs_usage"; exit 0 ;;
83862 --debug | --d* | -d )
83863 debug=: ;;
83864 --file | --fil | --fi | --f )
83865 $ac_shift
83866 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
83867 ac_need_defaults=false;;
83868 --header | --heade | --head | --hea )
83869 $ac_shift
83870 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
83871 ac_need_defaults=false;;
83872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
83874 ac_cs_silent=: ;;
83876 # This is an error.
83877 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
83878 Try \`$0 --help' for more information." >&5
83879 echo "$as_me: error: unrecognized option: $1
83880 Try \`$0 --help' for more information." >&2;}
83881 { (exit 1); exit 1; }; } ;;
83883 *) ac_config_targets="$ac_config_targets $1" ;;
83885 esac
83886 shift
83887 done
83889 ac_configure_extra_args=
83891 if $ac_cs_silent; then
83892 exec 6>/dev/null
83893 ac_configure_extra_args="$ac_configure_extra_args --silent"
83896 _ACEOF
83897 cat >>$CONFIG_STATUS <<_ACEOF
83898 if \$ac_cs_recheck; then
83899 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
83900 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83903 _ACEOF
83905 cat >>$CONFIG_STATUS <<_ACEOF
83907 # INIT-COMMANDS section.
83911 srcdir="$srcdir"
83912 host="$host"
83913 target="$target"
83914 with_multisubdir="$with_multisubdir"
83915 with_multisrctop="$with_multisrctop"
83916 with_target_subdir="$with_target_subdir"
83917 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83918 multi_basedir="$multi_basedir"
83919 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83920 CC="$CC"
83922 # Variables needed in config.status (file generation) which aren't already
83923 # passed by autoconf.
83924 SUBDIRS="$SUBDIRS"
83927 _ACEOF
83931 cat >>$CONFIG_STATUS <<\_ACEOF
83932 for ac_config_target in $ac_config_targets
83934 case "$ac_config_target" in
83935 # Handling of arguments.
83936 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83937 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83938 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
83939 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83940 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83941 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83942 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83943 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
83944 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83945 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83946 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
83947 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83948 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
83949 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
83950 { (exit 1); exit 1; }; };;
83951 esac
83952 done
83954 # If the user did not use the arguments to specify the items to instantiate,
83955 # then the envvar interface is used. Set only those that are not.
83956 # We use the long form for the default assignment because of an extremely
83957 # bizarre bug on SunOS 4.1.3.
83958 if $ac_need_defaults; then
83959 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83960 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83961 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83964 # Have a temporary directory for convenience. Make it in the build tree
83965 # simply because there is no reason to put it here, and in addition,
83966 # creating and moving files from /tmp can sometimes cause problems.
83967 # Create a temporary directory, and hook for its removal unless debugging.
83968 $debug ||
83970 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
83971 trap '{ (exit 1); exit 1; }' 1 2 13 15
83974 # Create a (secure) tmp directory for tmp files.
83977 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
83978 test -n "$tmp" && test -d "$tmp"
83979 } ||
83981 tmp=./confstat$$-$RANDOM
83982 (umask 077 && mkdir $tmp)
83983 } ||
83985 echo "$me: cannot create a temporary directory in ." >&2
83986 { (exit 1); exit 1; }
83989 _ACEOF
83991 cat >>$CONFIG_STATUS <<_ACEOF
83994 # CONFIG_FILES section.
83997 # No need to generate the scripts if there are no CONFIG_FILES.
83998 # This happens for instance when ./config.status config.h
83999 if test -n "\$CONFIG_FILES"; then
84000 # Protect against being on the right side of a sed subst in config.status.
84001 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
84002 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
84003 s,@SHELL@,$SHELL,;t t
84004 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
84005 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
84006 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
84007 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
84008 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
84009 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
84010 s,@exec_prefix@,$exec_prefix,;t t
84011 s,@prefix@,$prefix,;t t
84012 s,@program_transform_name@,$program_transform_name,;t t
84013 s,@bindir@,$bindir,;t t
84014 s,@sbindir@,$sbindir,;t t
84015 s,@libexecdir@,$libexecdir,;t t
84016 s,@datadir@,$datadir,;t t
84017 s,@sysconfdir@,$sysconfdir,;t t
84018 s,@sharedstatedir@,$sharedstatedir,;t t
84019 s,@localstatedir@,$localstatedir,;t t
84020 s,@libdir@,$libdir,;t t
84021 s,@includedir@,$includedir,;t t
84022 s,@oldincludedir@,$oldincludedir,;t t
84023 s,@infodir@,$infodir,;t t
84024 s,@mandir@,$mandir,;t t
84025 s,@build_alias@,$build_alias,;t t
84026 s,@host_alias@,$host_alias,;t t
84027 s,@target_alias@,$target_alias,;t t
84028 s,@DEFS@,$DEFS,;t t
84029 s,@ECHO_C@,$ECHO_C,;t t
84030 s,@ECHO_N@,$ECHO_N,;t t
84031 s,@ECHO_T@,$ECHO_T,;t t
84032 s,@LIBS@,$LIBS,;t t
84033 s,@libtool_VERSION@,$libtool_VERSION,;t t
84034 s,@multi_basedir@,$multi_basedir,;t t
84035 s,@build@,$build,;t t
84036 s,@build_cpu@,$build_cpu,;t t
84037 s,@build_vendor@,$build_vendor,;t t
84038 s,@build_os@,$build_os,;t t
84039 s,@host@,$host,;t t
84040 s,@host_cpu@,$host_cpu,;t t
84041 s,@host_vendor@,$host_vendor,;t t
84042 s,@host_os@,$host_os,;t t
84043 s,@target@,$target,;t t
84044 s,@target_cpu@,$target_cpu,;t t
84045 s,@target_vendor@,$target_vendor,;t t
84046 s,@target_os@,$target_os,;t t
84047 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
84048 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
84049 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
84050 s,@CYGPATH_W@,$CYGPATH_W,;t t
84051 s,@PACKAGE@,$PACKAGE,;t t
84052 s,@VERSION@,$VERSION,;t t
84053 s,@ACLOCAL@,$ACLOCAL,;t t
84054 s,@AUTOCONF@,$AUTOCONF,;t t
84055 s,@AUTOMAKE@,$AUTOMAKE,;t t
84056 s,@AUTOHEADER@,$AUTOHEADER,;t t
84057 s,@MAKEINFO@,$MAKEINFO,;t t
84058 s,@AMTAR@,$AMTAR,;t t
84059 s,@install_sh@,$install_sh,;t t
84060 s,@STRIP@,$STRIP,;t t
84061 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
84062 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
84063 s,@AWK@,$AWK,;t t
84064 s,@SET_MAKE@,$SET_MAKE,;t t
84065 s,@am__leading_dot@,$am__leading_dot,;t t
84066 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
84067 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
84068 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
84069 s,@CC@,$CC,;t t
84070 s,@ac_ct_CC@,$ac_ct_CC,;t t
84071 s,@EXEEXT@,$EXEEXT,;t t
84072 s,@OBJEXT@,$OBJEXT,;t t
84073 s,@CXX@,$CXX,;t t
84074 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
84075 s,@CFLAGS@,$CFLAGS,;t t
84076 s,@CXXFLAGS@,$CXXFLAGS,;t t
84077 s,@LN_S@,$LN_S,;t t
84078 s,@AS@,$AS,;t t
84079 s,@ac_ct_AS@,$ac_ct_AS,;t t
84080 s,@AR@,$AR,;t t
84081 s,@ac_ct_AR@,$ac_ct_AR,;t t
84082 s,@RANLIB@,$RANLIB,;t t
84083 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
84084 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
84085 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
84086 s,@MAINT@,$MAINT,;t t
84087 s,@LIBTOOL@,$LIBTOOL,;t t
84088 s,@CXXCPP@,$CXXCPP,;t t
84089 s,@CPPFLAGS@,$CPPFLAGS,;t t
84090 s,@enable_shared@,$enable_shared,;t t
84091 s,@enable_static@,$enable_static,;t t
84092 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
84093 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
84094 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
84095 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
84096 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
84097 s,@CSTDIO_H@,$CSTDIO_H,;t t
84098 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
84099 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
84100 s,@CPP@,$CPP,;t t
84101 s,@EGREP@,$EGREP,;t t
84102 s,@check_msgfmt@,$check_msgfmt,;t t
84103 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
84104 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
84105 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
84106 s,@USE_NLS@,$USE_NLS,;t t
84107 s,@CLOCALE_H@,$CLOCALE_H,;t t
84108 s,@CCODECVT_H@,$CCODECVT_H,;t t
84109 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
84110 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
84111 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
84112 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
84113 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
84114 s,@CMONEY_CC@,$CMONEY_CC,;t t
84115 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
84116 s,@CTIME_H@,$CTIME_H,;t t
84117 s,@CTIME_CC@,$CTIME_CC,;t t
84118 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
84119 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
84120 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
84121 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
84122 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
84123 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
84124 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
84125 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
84126 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
84127 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
84128 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
84129 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
84130 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
84131 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
84132 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
84133 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
84134 s,@WERROR@,$WERROR,;t t
84135 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
84136 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
84137 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
84138 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
84139 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
84140 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
84141 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
84142 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
84143 s,@baseline_dir@,$baseline_dir,;t t
84144 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
84145 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
84146 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
84147 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
84148 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
84149 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
84150 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
84151 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
84152 s,@gxx_include_dir@,$gxx_include_dir,;t t
84153 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
84154 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
84155 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
84156 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
84157 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
84158 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
84159 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
84160 s,@LIBOBJS@,$LIBOBJS,;t t
84161 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
84162 CEOF
84164 _ACEOF
84166 cat >>$CONFIG_STATUS <<\_ACEOF
84167 # Split the substitutions into bite-sized pieces for seds with
84168 # small command number limits, like on Digital OSF/1 and HP-UX.
84169 ac_max_sed_lines=48
84170 ac_sed_frag=1 # Number of current file.
84171 ac_beg=1 # First line for current file.
84172 ac_end=$ac_max_sed_lines # Line after last line for current file.
84173 ac_more_lines=:
84174 ac_sed_cmds=
84175 while $ac_more_lines; do
84176 if test $ac_beg -gt 1; then
84177 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
84178 else
84179 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
84181 if test ! -s $tmp/subs.frag; then
84182 ac_more_lines=false
84183 else
84184 # The purpose of the label and of the branching condition is to
84185 # speed up the sed processing (if there are no `@' at all, there
84186 # is no need to browse any of the substitutions).
84187 # These are the two extra sed commands mentioned above.
84188 (echo ':t
84189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
84190 if test -z "$ac_sed_cmds"; then
84191 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
84192 else
84193 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
84195 ac_sed_frag=`expr $ac_sed_frag + 1`
84196 ac_beg=$ac_end
84197 ac_end=`expr $ac_end + $ac_max_sed_lines`
84199 done
84200 if test -z "$ac_sed_cmds"; then
84201 ac_sed_cmds=cat
84203 fi # test -n "$CONFIG_FILES"
84205 _ACEOF
84206 cat >>$CONFIG_STATUS <<\_ACEOF
84207 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
84208 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
84209 case $ac_file in
84210 - | *:- | *:-:* ) # input from stdin
84211 cat >$tmp/stdin
84212 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84214 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84216 * ) ac_file_in=$ac_file.in ;;
84217 esac
84219 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
84220 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
84221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84222 X"$ac_file" : 'X\(//\)[^/]' \| \
84223 X"$ac_file" : 'X\(//\)$' \| \
84224 X"$ac_file" : 'X\(/\)' \| \
84225 . : '\(.\)' 2>/dev/null ||
84226 echo X"$ac_file" |
84227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84229 /^X\(\/\/\)$/{ s//\1/; q; }
84230 /^X\(\/\).*/{ s//\1/; q; }
84231 s/.*/./; q'`
84232 { if $as_mkdir_p; then
84233 mkdir -p "$ac_dir"
84234 else
84235 as_dir="$ac_dir"
84236 as_dirs=
84237 while test ! -d "$as_dir"; do
84238 as_dirs="$as_dir $as_dirs"
84239 as_dir=`(dirname "$as_dir") 2>/dev/null ||
84240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84241 X"$as_dir" : 'X\(//\)[^/]' \| \
84242 X"$as_dir" : 'X\(//\)$' \| \
84243 X"$as_dir" : 'X\(/\)' \| \
84244 . : '\(.\)' 2>/dev/null ||
84245 echo X"$as_dir" |
84246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84247 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84248 /^X\(\/\/\)$/{ s//\1/; q; }
84249 /^X\(\/\).*/{ s//\1/; q; }
84250 s/.*/./; q'`
84251 done
84252 test ! -n "$as_dirs" || mkdir $as_dirs
84253 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
84254 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
84255 { (exit 1); exit 1; }; }; }
84257 ac_builddir=.
84259 if test "$ac_dir" != .; then
84260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
84261 # A "../" for each directory in $ac_dir_suffix.
84262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
84263 else
84264 ac_dir_suffix= ac_top_builddir=
84267 case $srcdir in
84268 .) # No --srcdir option. We are building in place.
84269 ac_srcdir=.
84270 if test -z "$ac_top_builddir"; then
84271 ac_top_srcdir=.
84272 else
84273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
84274 fi ;;
84275 [\\/]* | ?:[\\/]* ) # Absolute path.
84276 ac_srcdir=$srcdir$ac_dir_suffix;
84277 ac_top_srcdir=$srcdir ;;
84278 *) # Relative path.
84279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
84280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
84281 esac
84282 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
84283 # absolute.
84284 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
84285 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
84286 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
84287 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
84290 case $INSTALL in
84291 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84292 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
84293 esac
84295 if test x"$ac_file" != x-; then
84296 { echo "$as_me:$LINENO: creating $ac_file" >&5
84297 echo "$as_me: creating $ac_file" >&6;}
84298 rm -f "$ac_file"
84300 # Let's still pretend it is `configure' which instantiates (i.e., don't
84301 # use $as_me), people would be surprised to read:
84302 # /* config.h. Generated by config.status. */
84303 if test x"$ac_file" = x-; then
84304 configure_input=
84305 else
84306 configure_input="$ac_file. "
84308 configure_input=$configure_input"Generated from `echo $ac_file_in |
84309 sed 's,.*/,,'` by configure."
84311 # First look for the input files in the build tree, otherwise in the
84312 # src tree.
84313 ac_file_inputs=`IFS=:
84314 for f in $ac_file_in; do
84315 case $f in
84316 -) echo $tmp/stdin ;;
84317 [\\/$]*)
84318 # Absolute (can't be DOS-style, as IFS=:)
84319 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84320 echo "$as_me: error: cannot find input file: $f" >&2;}
84321 { (exit 1); exit 1; }; }
84322 echo $f;;
84323 *) # Relative
84324 if test -f "$f"; then
84325 # Build tree
84326 echo $f
84327 elif test -f "$srcdir/$f"; then
84328 # Source tree
84329 echo $srcdir/$f
84330 else
84331 # /dev/null tree
84332 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84333 echo "$as_me: error: cannot find input file: $f" >&2;}
84334 { (exit 1); exit 1; }; }
84335 fi;;
84336 esac
84337 done` || { (exit 1); exit 1; }
84338 _ACEOF
84339 cat >>$CONFIG_STATUS <<_ACEOF
84340 sed "$ac_vpsub
84341 $extrasub
84342 _ACEOF
84343 cat >>$CONFIG_STATUS <<\_ACEOF
84345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84346 s,@configure_input@,$configure_input,;t t
84347 s,@srcdir@,$ac_srcdir,;t t
84348 s,@abs_srcdir@,$ac_abs_srcdir,;t t
84349 s,@top_srcdir@,$ac_top_srcdir,;t t
84350 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
84351 s,@builddir@,$ac_builddir,;t t
84352 s,@abs_builddir@,$ac_abs_builddir,;t t
84353 s,@top_builddir@,$ac_top_builddir,;t t
84354 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
84355 s,@INSTALL@,$ac_INSTALL,;t t
84356 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
84357 rm -f $tmp/stdin
84358 if test x"$ac_file" != x-; then
84359 mv $tmp/out $ac_file
84360 else
84361 cat $tmp/out
84362 rm -f $tmp/out
84365 # Run the commands associated with the file.
84366 case $ac_file in
84367 scripts/check_survey ) chmod +x scripts/check_survey ;;
84368 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
84369 esac
84370 done
84371 _ACEOF
84372 cat >>$CONFIG_STATUS <<\_ACEOF
84375 # CONFIG_HEADER section.
84378 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
84379 # NAME is the cpp macro being defined and VALUE is the value it is being given.
84381 # ac_d sets the value in "#define NAME VALUE" lines.
84382 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
84383 ac_dB='[ ].*$,\1#\2'
84384 ac_dC=' '
84385 ac_dD=',;t'
84386 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
84387 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
84388 ac_uB='$,\1#\2define\3'
84389 ac_uC=' '
84390 ac_uD=',;t'
84392 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
84393 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
84394 case $ac_file in
84395 - | *:- | *:-:* ) # input from stdin
84396 cat >$tmp/stdin
84397 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84398 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84399 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84400 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84401 * ) ac_file_in=$ac_file.in ;;
84402 esac
84404 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
84405 echo "$as_me: creating $ac_file" >&6;}
84407 # First look for the input files in the build tree, otherwise in the
84408 # src tree.
84409 ac_file_inputs=`IFS=:
84410 for f in $ac_file_in; do
84411 case $f in
84412 -) echo $tmp/stdin ;;
84413 [\\/$]*)
84414 # Absolute (can't be DOS-style, as IFS=:)
84415 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84416 echo "$as_me: error: cannot find input file: $f" >&2;}
84417 { (exit 1); exit 1; }; }
84418 echo $f;;
84419 *) # Relative
84420 if test -f "$f"; then
84421 # Build tree
84422 echo $f
84423 elif test -f "$srcdir/$f"; then
84424 # Source tree
84425 echo $srcdir/$f
84426 else
84427 # /dev/null tree
84428 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84429 echo "$as_me: error: cannot find input file: $f" >&2;}
84430 { (exit 1); exit 1; }; }
84431 fi;;
84432 esac
84433 done` || { (exit 1); exit 1; }
84434 # Remove the trailing spaces.
84435 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
84437 _ACEOF
84439 # Transform confdefs.h into two sed scripts, `conftest.defines' and
84440 # `conftest.undefs', that substitutes the proper values into
84441 # config.h.in to produce config.h. The first handles `#define'
84442 # templates, and the second `#undef' templates.
84443 # And first: Protect against being on the right side of a sed subst in
84444 # config.status. Protect against being in an unquoted here document
84445 # in config.status.
84446 rm -f conftest.defines conftest.undefs
84447 # Using a here document instead of a string reduces the quoting nightmare.
84448 # Putting comments in sed scripts is not portable.
84450 # `end' is used to avoid that the second main sed command (meant for
84451 # 0-ary CPP macros) applies to n-ary macro definitions.
84452 # See the Autoconf documentation for `clear'.
84453 cat >confdef2sed.sed <<\_ACEOF
84454 s/[\\&,]/\\&/g
84455 s,[\\$`],\\&,g
84456 t clear
84457 : clear
84458 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
84459 t end
84460 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
84461 : end
84462 _ACEOF
84463 # If some macros were called several times there might be several times
84464 # the same #defines, which is useless. Nevertheless, we may not want to
84465 # sort them, since we want the *last* AC-DEFINE to be honored.
84466 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
84467 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
84468 rm -f confdef2sed.sed
84470 # This sed command replaces #undef with comments. This is necessary, for
84471 # example, in the case of _POSIX_SOURCE, which is predefined and required
84472 # on some systems where configure will not decide to define it.
84473 cat >>conftest.undefs <<\_ACEOF
84474 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
84475 _ACEOF
84477 # Break up conftest.defines because some shells have a limit on the size
84478 # of here documents, and old seds have small limits too (100 cmds).
84479 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
84480 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
84481 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
84482 echo ' :' >>$CONFIG_STATUS
84483 rm -f conftest.tail
84484 while grep . conftest.defines >/dev/null
84486 # Write a limited-size here document to $tmp/defines.sed.
84487 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
84488 # Speed up: don't consider the non `#define' lines.
84489 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
84490 # Work around the forget-to-reset-the-flag bug.
84491 echo 't clr' >>$CONFIG_STATUS
84492 echo ': clr' >>$CONFIG_STATUS
84493 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
84494 echo 'CEOF
84495 sed -f $tmp/defines.sed $tmp/in >$tmp/out
84496 rm -f $tmp/in
84497 mv $tmp/out $tmp/in
84498 ' >>$CONFIG_STATUS
84499 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
84500 rm -f conftest.defines
84501 mv conftest.tail conftest.defines
84502 done
84503 rm -f conftest.defines
84504 echo ' fi # grep' >>$CONFIG_STATUS
84505 echo >>$CONFIG_STATUS
84507 # Break up conftest.undefs because some shells have a limit on the size
84508 # of here documents, and old seds have small limits too (100 cmds).
84509 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
84510 rm -f conftest.tail
84511 while grep . conftest.undefs >/dev/null
84513 # Write a limited-size here document to $tmp/undefs.sed.
84514 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
84515 # Speed up: don't consider the non `#undef'
84516 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
84517 # Work around the forget-to-reset-the-flag bug.
84518 echo 't clr' >>$CONFIG_STATUS
84519 echo ': clr' >>$CONFIG_STATUS
84520 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
84521 echo 'CEOF
84522 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
84523 rm -f $tmp/in
84524 mv $tmp/out $tmp/in
84525 ' >>$CONFIG_STATUS
84526 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
84527 rm -f conftest.undefs
84528 mv conftest.tail conftest.undefs
84529 done
84530 rm -f conftest.undefs
84532 cat >>$CONFIG_STATUS <<\_ACEOF
84533 # Let's still pretend it is `configure' which instantiates (i.e., don't
84534 # use $as_me), people would be surprised to read:
84535 # /* config.h. Generated by config.status. */
84536 if test x"$ac_file" = x-; then
84537 echo "/* Generated by configure. */" >$tmp/config.h
84538 else
84539 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
84541 cat $tmp/in >>$tmp/config.h
84542 rm -f $tmp/in
84543 if test x"$ac_file" != x-; then
84544 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
84545 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
84546 echo "$as_me: $ac_file is unchanged" >&6;}
84547 else
84548 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
84549 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84550 X"$ac_file" : 'X\(//\)[^/]' \| \
84551 X"$ac_file" : 'X\(//\)$' \| \
84552 X"$ac_file" : 'X\(/\)' \| \
84553 . : '\(.\)' 2>/dev/null ||
84554 echo X"$ac_file" |
84555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84557 /^X\(\/\/\)$/{ s//\1/; q; }
84558 /^X\(\/\).*/{ s//\1/; q; }
84559 s/.*/./; q'`
84560 { if $as_mkdir_p; then
84561 mkdir -p "$ac_dir"
84562 else
84563 as_dir="$ac_dir"
84564 as_dirs=
84565 while test ! -d "$as_dir"; do
84566 as_dirs="$as_dir $as_dirs"
84567 as_dir=`(dirname "$as_dir") 2>/dev/null ||
84568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84569 X"$as_dir" : 'X\(//\)[^/]' \| \
84570 X"$as_dir" : 'X\(//\)$' \| \
84571 X"$as_dir" : 'X\(/\)' \| \
84572 . : '\(.\)' 2>/dev/null ||
84573 echo X"$as_dir" |
84574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84576 /^X\(\/\/\)$/{ s//\1/; q; }
84577 /^X\(\/\).*/{ s//\1/; q; }
84578 s/.*/./; q'`
84579 done
84580 test ! -n "$as_dirs" || mkdir $as_dirs
84581 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
84582 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
84583 { (exit 1); exit 1; }; }; }
84585 rm -f $ac_file
84586 mv $tmp/config.h $ac_file
84588 else
84589 cat $tmp/config.h
84590 rm -f $tmp/config.h
84592 # Compute $ac_file's index in $config_headers.
84593 _am_stamp_count=1
84594 for _am_header in $config_headers :; do
84595 case $_am_header in
84596 $ac_file | $ac_file:* )
84597 break ;;
84599 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84600 esac
84601 done
84602 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
84603 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84604 X$ac_file : 'X\(//\)[^/]' \| \
84605 X$ac_file : 'X\(//\)$' \| \
84606 X$ac_file : 'X\(/\)' \| \
84607 . : '\(.\)' 2>/dev/null ||
84608 echo X$ac_file |
84609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84611 /^X\(\/\/\)$/{ s//\1/; q; }
84612 /^X\(\/\).*/{ s//\1/; q; }
84613 s/.*/./; q'`/stamp-h$_am_stamp_count
84614 done
84615 _ACEOF
84616 cat >>$CONFIG_STATUS <<\_ACEOF
84619 # CONFIG_COMMANDS section.
84621 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
84622 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
84623 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
84624 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
84625 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84626 X"$ac_dest" : 'X\(//\)[^/]' \| \
84627 X"$ac_dest" : 'X\(//\)$' \| \
84628 X"$ac_dest" : 'X\(/\)' \| \
84629 . : '\(.\)' 2>/dev/null ||
84630 echo X"$ac_dest" |
84631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84633 /^X\(\/\/\)$/{ s//\1/; q; }
84634 /^X\(\/\).*/{ s//\1/; q; }
84635 s/.*/./; q'`
84636 ac_builddir=.
84638 if test "$ac_dir" != .; then
84639 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
84640 # A "../" for each directory in $ac_dir_suffix.
84641 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
84642 else
84643 ac_dir_suffix= ac_top_builddir=
84646 case $srcdir in
84647 .) # No --srcdir option. We are building in place.
84648 ac_srcdir=.
84649 if test -z "$ac_top_builddir"; then
84650 ac_top_srcdir=.
84651 else
84652 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
84653 fi ;;
84654 [\\/]* | ?:[\\/]* ) # Absolute path.
84655 ac_srcdir=$srcdir$ac_dir_suffix;
84656 ac_top_srcdir=$srcdir ;;
84657 *) # Relative path.
84658 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
84659 ac_top_srcdir=$ac_top_builddir$srcdir ;;
84660 esac
84661 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
84662 # absolute.
84663 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
84664 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
84665 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
84666 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
84669 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
84670 echo "$as_me: executing $ac_dest commands" >&6;}
84671 case $ac_dest in
84672 default-1 )
84673 # Only add multilib support code if we just rebuilt the top-level
84674 # Makefile.
84675 case " $CONFIG_FILES " in
84676 *" Makefile "*)
84677 ac_file=Makefile . ${multi_basedir}/config-ml.in
84679 esac ;;
84680 default ) if test -n "$CONFIG_FILES"; then
84681 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
84682 # that multilib installs will end up installed in the correct place.
84683 # The testsuite needs it for multilib-aware ABI baseline files.
84684 # To work around this not being passed down from config-ml.in ->
84685 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
84686 # append it here. Only modify Makefiles that have just been created.
84688 # Also, get rid of this simulated-VPATH thing that automake does.
84689 cat > vpsed << \_EOF
84690 s!`test -f '$<' || echo '$(srcdir)/'`!!
84691 _EOF
84692 for i in $SUBDIRS; do
84693 case $CONFIG_FILES in
84694 *${i}/Makefile*)
84695 #echo "Adding MULTISUBDIR to $i/Makefile"
84696 sed -f vpsed $i/Makefile > tmp
84697 grep '^MULTISUBDIR =' Makefile >> tmp
84698 mv tmp $i/Makefile
84700 esac
84701 done
84702 rm vpsed
84704 (cd include && ${MAKE-make})
84706 esac
84707 done
84708 _ACEOF
84710 cat >>$CONFIG_STATUS <<\_ACEOF
84712 { (exit 0); exit 0; }
84713 _ACEOF
84714 chmod +x $CONFIG_STATUS
84715 ac_clean_files=$ac_clean_files_save
84718 # configure is writing to config.log, and then calls config.status.
84719 # config.status does its own redirection, appending to config.log.
84720 # Unfortunately, on DOS this fails, as config.log is still kept open
84721 # by configure, so config.status won't be able to write to it; its
84722 # output is simply discarded. So we exec the FD to /dev/null,
84723 # effectively closing config.log, so it can be properly (re)opened and
84724 # appended to by config.status. When coming back to configure, we
84725 # need to make the FD available again.
84726 if test "$no_create" != yes; then
84727 ac_cs_success=:
84728 ac_config_status_args=
84729 test "$silent" = yes &&
84730 ac_config_status_args="$ac_config_status_args --quiet"
84731 exec 5>/dev/null
84732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84733 exec 5>>config.log
84734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84735 # would make configure fail if this is the last instruction.
84736 $ac_cs_success || { (exit 1); exit 1; }