* config/mcore/mcore.c: Convert to ISO C90 function declarations and definitions.
[official-gcc.git] / libstdc++-v3 / configure
blob4bf083265e90656cbf13811ba60fd566e8c99fe6
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 LIBUNWIND_FLAG GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H FPOS_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_INC_SRCDIR FPOS_INC_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
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-libunwind-exceptions
859 force use of libunwind for exceptions
860 [default=no]
861 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
862 [default=$is_hosted]
863 --enable-cstdio=PACKAGE use target-specific I/O package
864 [default=stdio]
865 --enable-clocale[=MODEL]
866 use MODEL for target locale package
867 [default=auto]
868 --enable-nls use Native Language Support (default)
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:0: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 am__api_version="1.7"
1568 # Find a good install program. We prefer a C program (faster),
1569 # so one script is as good as another. But avoid the broken or
1570 # incompatible versions:
1571 # SysV /etc/install, /usr/sbin/install
1572 # SunOS /usr/etc/install
1573 # IRIX /sbin/install
1574 # AIX /bin/install
1575 # AmigaOS /C/install, which installs bootblocks on floppy discs
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 else
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 for as_dir in $PATH
1589 IFS=$as_save_IFS
1590 test -z "$as_dir" && as_dir=.
1591 # Account for people who put trailing slashes in PATH elements.
1592 case $as_dir/ in
1593 ./ | .// | /cC/* | \
1594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1595 /usr/ucb/* ) ;;
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1599 # by default.
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1611 else
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1613 break 3
1616 done
1617 done
1619 esac
1620 done
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1626 else
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 # Just in case
1648 sleep 1
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1654 # directory).
1655 if (
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1658 # -L didn't work.
1659 set X `ls -t $srcdir/configure conftest.file`
1661 rm -f conftest.file
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.file
1678 then
1679 # Ok.
1681 else
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1699 _ACEOF
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1701 rm conftest.sed
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir=`cd $ac_aux_dir && pwd`
1707 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710 am_missing_run="$MISSING --run "
1711 else
1712 am_missing_run=
1713 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717 for ac_prog in gawk mawk nawk awk
1719 # Extract the first word of "$ac_prog", so it can be a program name with args.
1720 set dummy $ac_prog; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_AWK+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 else
1726 if test -n "$AWK"; then
1727 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1728 else
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 for as_dir in $PATH
1732 IFS=$as_save_IFS
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_AWK="$ac_prog"
1737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 break 2
1740 done
1741 done
1745 AWK=$ac_cv_prog_AWK
1746 if test -n "$AWK"; then
1747 echo "$as_me:$LINENO: result: $AWK" >&5
1748 echo "${ECHO_T}$AWK" >&6
1749 else
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1754 test -n "$AWK" && break
1755 done
1757 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1759 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1760 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 else
1763 cat >conftest.make <<\_ACEOF
1764 all:
1765 @echo 'ac_maketemp="$(MAKE)"'
1766 _ACEOF
1767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1768 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1769 if test -n "$ac_maketemp"; then
1770 eval ac_cv_prog_make_${ac_make}_set=yes
1771 else
1772 eval ac_cv_prog_make_${ac_make}_set=no
1774 rm -f conftest.make
1776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1777 echo "$as_me:$LINENO: result: yes" >&5
1778 echo "${ECHO_T}yes" >&6
1779 SET_MAKE=
1780 else
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783 SET_MAKE="MAKE=${MAKE-make}"
1786 rm -rf .tst 2>/dev/null
1787 mkdir .tst 2>/dev/null
1788 if test -d .tst; then
1789 am__leading_dot=.
1790 else
1791 am__leading_dot=_
1793 rmdir .tst 2>/dev/null
1795 # test to see if srcdir already configured
1796 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1797 test -f $srcdir/config.status; then
1798 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1799 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1800 { (exit 1); exit 1; }; }
1803 # test whether we have cygpath
1804 if test -z "$CYGPATH_W"; then
1805 if (cygpath --version) >/dev/null 2>/dev/null; then
1806 CYGPATH_W='cygpath -w'
1807 else
1808 CYGPATH_W=echo
1813 # Define the identity of the package.
1814 PACKAGE='libstdc++'
1815 VERSION='version-unused'
1818 # Some tools Automake needs.
1820 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1823 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1826 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1829 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1832 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1835 AMTAR=${AMTAR-"${am_missing_run}tar"}
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1866 done
1867 done
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1881 if test -z "$ac_cv_prog_STRIP"; then
1882 ac_ct_STRIP=$STRIP
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1896 IFS=$as_save_IFS
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 break 2
1904 done
1905 done
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1919 STRIP=$ac_ct_STRIP
1920 else
1921 STRIP="$ac_cv_prog_STRIP"
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927 # We need awk for the "check" target. The system "awk" is bad on
1928 # some platforms.
1933 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1934 # up critical shell variables.
1936 # Keep these sync'd with the list in Makefile.am. The first provides an
1937 # expandable list at autoconf time; the second provides an expandable list
1938 # (i.e., shell variable) at configure time.
1940 SUBDIRS='include libmath libsupc++ src po testsuite'
1942 # These need to be absolute paths, yet at the same time need to
1943 # canonicalize only relative paths, because then amd will not unmount
1944 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1945 glibcxx_builddir=`${PWDCMD-pwd}`
1946 case $srcdir in
1947 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1948 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1949 esac
1950 toplevel_srcdir=${glibcxx_srcdir}/..
1955 # We use these options to decide which functions to include. They are
1956 # set from the top level.
1958 # Check whether --with-target-subdir or --without-target-subdir was given.
1959 if test "${with_target_subdir+set}" = set; then
1960 withval="$with_target_subdir"
1965 # Check whether --with-cross-host or --without-cross-host was given.
1966 if test "${with_cross_host+set}" = set; then
1967 withval="$with_cross_host"
1972 # Check whether --with-newlib or --without-newlib was given.
1973 if test "${with_newlib+set}" = set; then
1974 withval="$with_newlib"
1978 # We're almost certainly being configured before anything else which uses
1979 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1980 # we not cache the value of CXX that we "discover" here, because it's set
1981 # to something unique for us and libjava. Other target libraries need to
1982 # find CXX for themselves. We yank the rug out from under the normal AC_*
1983 # process by sneakily renaming the cache variable. This also lets us debug
1984 # the value of "our" CXX in postmortems.
1986 # We must also force CXX to /not/ be a precious variable, otherwise the
1987 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1988 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1989 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1990 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1992 # -fno-builtin must be present here so that a non-conflicting form of
1993 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1998 save_CXXFLAGS="$CXXFLAGS"
1999 CXXFLAGS="$CXXFLAGS -fno-builtin"
2000 ac_ext=c
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2005 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2015 else
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 for as_dir in $PATH
2019 IFS=$as_save_IFS
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 break 2
2027 done
2028 done
2032 CC=$ac_cv_prog_CC
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2036 else
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2042 if test -z "$ac_cv_prog_CC"; then
2043 ac_ct_CC=$CC
2044 # Extract the first word of "gcc", so it can be a program name with args.
2045 set dummy gcc; ac_word=$2
2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$ac_ct_CC"; then
2052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061 ac_cv_prog_ac_ct_CC="gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073 echo "${ECHO_T}$ac_ct_CC" >&6
2074 else
2075 echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6
2079 CC=$ac_ct_CC
2080 else
2081 CC="$ac_cv_prog_CC"
2084 if test -z "$CC"; then
2085 if test -n "$ac_tool_prefix"; then
2086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2087 set dummy ${ac_tool_prefix}cc; ac_word=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 else
2093 if test -n "$CC"; then
2094 ac_cv_prog_CC="$CC" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_CC="${ac_tool_prefix}cc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2107 done
2108 done
2112 CC=$ac_cv_prog_CC
2113 if test -n "$CC"; then
2114 echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2116 else
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2122 if test -z "$ac_cv_prog_CC"; then
2123 ac_ct_CC=$CC
2124 # Extract the first word of "cc", so it can be a program name with args.
2125 set dummy cc; ac_word=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 else
2131 if test -n "$ac_ct_CC"; then
2132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2133 else
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 for as_dir in $PATH
2137 IFS=$as_save_IFS
2138 test -z "$as_dir" && as_dir=.
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141 ac_cv_prog_ac_ct_CC="cc"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 break 2
2145 done
2146 done
2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 echo "${ECHO_T}$ac_ct_CC" >&6
2154 else
2155 echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2159 CC=$ac_ct_CC
2160 else
2161 CC="$ac_cv_prog_CC"
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 else
2176 ac_prog_rejected=no
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected=yes
2186 continue
2188 ac_cv_prog_CC="cc"
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 break 2
2192 done
2193 done
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2198 shift
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2203 shift
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211 echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6
2213 else
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2219 if test -z "$CC"; then
2220 if test -n "$ac_tool_prefix"; then
2221 for ac_prog in cl
2223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 else
2230 if test -n "$CC"; then
2231 ac_cv_prog_CC="$CC" # Let the user override the test.
2232 else
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2236 IFS=$as_save_IFS
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 break 2
2244 done
2245 done
2249 CC=$ac_cv_prog_CC
2250 if test -n "$CC"; then
2251 echo "$as_me:$LINENO: result: $CC" >&5
2252 echo "${ECHO_T}$CC" >&6
2253 else
2254 echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2258 test -n "$CC" && break
2259 done
2261 if test -z "$CC"; then
2262 ac_ct_CC=$CC
2263 for ac_prog in cl
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2286 done
2287 done
2291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2292 if test -n "$ac_ct_CC"; then
2293 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2294 echo "${ECHO_T}$ac_ct_CC" >&6
2295 else
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2300 test -n "$ac_ct_CC" && break
2301 done
2303 CC=$ac_ct_CC
2309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&5
2311 echo "$as_me: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&2;}
2313 { (exit 1); exit 1; }; }
2315 # Provide some information about the compiler.
2316 echo "$as_me:$LINENO:" \
2317 "checking for C compiler version" >&5
2318 ac_compiler=`set X $ac_compile; echo $2`
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2320 (eval $ac_compiler --version </dev/null >&5) 2>&5
2321 ac_status=$?
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2325 (eval $ac_compiler -v </dev/null >&5) 2>&5
2326 ac_status=$?
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2330 (eval $ac_compiler -V </dev/null >&5) 2>&5
2331 ac_status=$?
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2335 cat >conftest.$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2337 /* confdefs.h. */
2338 _ACEOF
2339 cat confdefs.h >>conftest.$ac_ext
2340 cat >>conftest.$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2344 main ()
2348 return 0;
2350 _ACEOF
2351 # FIXME: Cleanup?
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2353 (eval $ac_link) 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; then
2357 gcc_no_link=no
2358 else
2359 gcc_no_link=yes
2362 if test x$gcc_no_link = xyes; then
2363 # Setting cross_compile will disable run tests; it will
2364 # also disable AC_CHECK_FILE but that's generally
2365 # correct if we can't link.
2366 cross_compiling=yes
2367 EXEEXT=
2368 else
2369 cat >conftest.$ac_ext <<_ACEOF
2370 #line $LINENO "configure"
2371 /* confdefs.h. */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2378 main ()
2382 return 0;
2384 _ACEOF
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2389 # of exeext.
2390 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2391 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394 (eval $ac_link_default) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Find the output, starting from the most likely. This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # resort.
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404 ac_cv_exeext=
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2408 test -f "$ac_file" || continue
2409 case $ac_file in
2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2412 conftest.$ac_ext )
2413 # This is the source file.
2415 [ab].out )
2416 # We found the default executable, but exeext='' is most
2417 # certainly right.
2418 break;;
2419 *.* )
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # FIXME: I believe we export ac_cv_exeext for Libtool,
2422 # but it would be cool to find out if it's true. Does anybody
2423 # maintain Libtool? --akim.
2424 export ac_cv_exeext
2425 break;;
2427 break;;
2428 esac
2429 done
2430 else
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438 { (exit 77); exit 77; }; }
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2445 # Check the compiler produces executables we can run. If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452 if { ac_try='./$ac_file'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 (eval $ac_try) 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 cross_compiling=no
2459 else
2460 if test "$cross_compiling" = maybe; then
2461 cross_compiling=yes
2462 else
2463 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run. If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488 (eval $ac_link) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; then
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2498 case $ac_file in
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501 export ac_cv_exeext
2502 break;;
2503 * ) break;;
2504 esac
2505 done
2506 else
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2520 ac_exeext=$EXEEXT
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527 cat >conftest.$ac_ext <<_ACEOF
2528 #line $LINENO "configure"
2529 /* confdefs.h. */
2530 _ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2536 main ()
2540 return 0;
2542 _ACEOF
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2546 ac_status=$?
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2553 break;;
2554 esac
2555 done
2556 else
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT=$ac_cv_objext
2572 ac_objext=$OBJEXT
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 cat >conftest.$ac_ext <<_ACEOF
2579 #line $LINENO "configure"
2580 /* confdefs.h. */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2587 main ()
2589 #ifndef __GNUC__
2590 choke me
2591 #endif
2594 return 0;
2596 _ACEOF
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 (eval $ac_try) 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2609 ac_compiler_gnu=yes
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 ac_compiler_gnu=no
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2620 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2621 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2622 GCC=`test $ac_compiler_gnu = yes && echo yes`
2623 ac_test_CFLAGS=${CFLAGS+set}
2624 ac_save_CFLAGS=$CFLAGS
2625 CFLAGS="-g"
2626 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cc_g+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 else
2631 cat >conftest.$ac_ext <<_ACEOF
2632 #line $LINENO "configure"
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2644 return 0;
2646 _ACEOF
2647 rm -f conftest.$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>&5
2650 ac_status=$?
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 { ac_try='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 (eval $ac_try) 2>&5
2656 ac_status=$?
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2659 ac_cv_prog_cc_g=yes
2660 else
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 ac_cv_prog_cc_g=no
2666 rm -f conftest.$ac_objext conftest.$ac_ext
2668 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2670 if test "$ac_test_CFLAGS" = set; then
2671 CFLAGS=$ac_save_CFLAGS
2672 elif test $ac_cv_prog_cc_g = yes; then
2673 if test "$GCC" = yes; then
2674 CFLAGS="-g -O2"
2675 else
2676 CFLAGS="-g"
2678 else
2679 if test "$GCC" = yes; then
2680 CFLAGS="-O2"
2681 else
2682 CFLAGS=
2685 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2686 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_cv_prog_cc_stdc=no
2691 ac_save_CC=$CC
2692 cat >conftest.$ac_ext <<_ACEOF
2693 #line $LINENO "configure"
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2699 #include <stdarg.h>
2700 #include <stdio.h>
2701 #include <sys/types.h>
2702 #include <sys/stat.h>
2703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2704 struct buf { int x; };
2705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2706 static char *e (p, i)
2707 char **p;
2708 int i;
2710 return p[i];
2712 static char *f (char * (*g) (char **, int), char **p, ...)
2714 char *s;
2715 va_list v;
2716 va_start (v,p);
2717 s = g (p, va_arg (v,int));
2718 va_end (v);
2719 return s;
2721 int test (int i, double x);
2722 struct s1 {int (*f) (int a);};
2723 struct s2 {int (*f) (double a);};
2724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2725 int argc;
2726 char **argv;
2728 main ()
2730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2732 return 0;
2734 _ACEOF
2735 # Don't try gcc -ansi; that turns off useful extensions and
2736 # breaks some systems' header files.
2737 # AIX -qlanglvl=ansi
2738 # Ultrix and OSF/1 -std1
2739 # HP-UX 10.20 and later -Ae
2740 # HP-UX older versions -Aa -D_HPUX_SOURCE
2741 # SVR4 -Xc -D__EXTENSIONS__
2742 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2744 CC="$ac_save_CC $ac_arg"
2745 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>&5
2748 ac_status=$?
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } &&
2751 { ac_try='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 (eval $ac_try) 2>&5
2754 ac_status=$?
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_cv_prog_cc_stdc=$ac_arg
2758 break
2759 else
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2764 rm -f conftest.$ac_objext
2765 done
2766 rm -f conftest.$ac_ext conftest.$ac_objext
2767 CC=$ac_save_CC
2771 case "x$ac_cv_prog_cc_stdc" in
2772 x|xno)
2773 echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778 CC="$CC $ac_cv_prog_cc_stdc" ;;
2779 esac
2781 # Some people use a C++ compiler to compile C. Since we use `exit',
2782 # in C++ we need to declare it. In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.$ac_ext <<_ACEOF
2786 #ifndef __cplusplus
2787 choke me
2788 #endif
2789 _ACEOF
2790 rm -f conftest.$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>&5
2793 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } &&
2796 { ac_try='test -s conftest.$ac_objext'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 (eval $ac_try) 2>&5
2799 ac_status=$?
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; }; then
2802 for ac_declaration in \
2804 '#include <stdlib.h>' \
2805 'extern "C" void std::exit (int) throw (); using std::exit;' \
2806 'extern "C" void std::exit (int); using std::exit;' \
2807 'extern "C" void exit (int) throw ();' \
2808 'extern "C" void exit (int);' \
2809 'void exit (int);'
2811 cat >conftest.$ac_ext <<_ACEOF
2812 #line $LINENO "configure"
2813 /* confdefs.h. */
2814 _ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2818 #include <stdlib.h>
2819 $ac_declaration
2821 main ()
2823 exit (42);
2825 return 0;
2827 _ACEOF
2828 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>&5
2831 ac_status=$?
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2841 else
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2845 continue
2847 rm -f conftest.$ac_objext conftest.$ac_ext
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2850 /* confdefs.h. */
2851 _ACEOF
2852 cat confdefs.h >>conftest.$ac_ext
2853 cat >>conftest.$ac_ext <<_ACEOF
2854 /* end confdefs.h. */
2855 $ac_declaration
2857 main ()
2859 exit (42);
2861 return 0;
2863 _ACEOF
2864 rm -f conftest.$ac_objext
2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>&5
2867 ac_status=$?
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 (eval $ac_try) 2>&5
2873 ac_status=$?
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2876 break
2877 else
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2882 rm -f conftest.$ac_objext conftest.$ac_ext
2883 done
2884 rm -f conftest*
2885 if test -n "$ac_declaration"; then
2886 echo '#ifdef __cplusplus' >>confdefs.h
2887 echo $ac_declaration >>confdefs.h
2888 echo '#endif' >>confdefs.h
2891 else
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2896 rm -f conftest.$ac_objext conftest.$ac_ext
2897 ac_ext=c
2898 ac_cpp='$CPP $CPPFLAGS'
2899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2903 ac_ext=cc
2904 ac_cpp='$CXXCPP $CPPFLAGS'
2905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 else
2918 if test -n "$CXX"; then
2919 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2920 else
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 for as_dir in $PATH
2924 IFS=$as_save_IFS
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 break 2
2932 done
2933 done
2937 CXX=$glibcxx_cv_prog_CXX
2938 if test -n "$CXX"; then
2939 echo "$as_me:$LINENO: result: $CXX" >&5
2940 echo "${ECHO_T}$CXX" >&6
2941 else
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2946 test -n "$CXX" && break
2947 done
2949 if test -z "$CXX"; then
2950 ac_ct_CXX=$CXX
2951 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 else
2960 if test -n "$ac_ct_CXX"; then
2961 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2962 else
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2966 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CXX="$ac_prog"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 break 2
2974 done
2975 done
2979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2980 if test -n "$ac_ct_CXX"; then
2981 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2982 echo "${ECHO_T}$ac_ct_CXX" >&6
2983 else
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2988 test -n "$ac_ct_CXX" && break
2989 done
2990 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2992 CXX=$ac_ct_CXX
2996 # Provide some information about the compiler.
2997 echo "$as_me:$LINENO:" \
2998 "checking for C++ compiler version" >&5
2999 ac_compiler=`set X $ac_compile; echo $2`
3000 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3001 (eval $ac_compiler --version </dev/null >&5) 2>&5
3002 ac_status=$?
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }
3005 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3006 (eval $ac_compiler -v </dev/null >&5) 2>&5
3007 ac_status=$?
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }
3010 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3011 (eval $ac_compiler -V </dev/null >&5) 2>&5
3012 ac_status=$?
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }
3016 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3017 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3018 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 cat >conftest.$ac_ext <<_ACEOF
3022 #line $LINENO "configure"
3023 /* confdefs.h. */
3024 _ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3030 main ()
3032 #ifndef __GNUC__
3033 choke me
3034 #endif
3037 return 0;
3039 _ACEOF
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>&5
3043 ac_status=$?
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 { ac_try='test -s conftest.$ac_objext'
3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 (eval $ac_try) 2>&5
3049 ac_status=$?
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; }; then
3052 ac_compiler_gnu=yes
3053 else
3054 echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 ac_compiler_gnu=no
3059 rm -f conftest.$ac_objext conftest.$ac_ext
3060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3063 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3064 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3065 GXX=`test $ac_compiler_gnu = yes && echo yes`
3066 ac_test_CXXFLAGS=${CXXFLAGS+set}
3067 ac_save_CXXFLAGS=$CXXFLAGS
3068 CXXFLAGS="-g"
3069 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3070 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3071 if test "${ac_cv_prog_cxx_g+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 cat >conftest.$ac_ext <<_ACEOF
3075 #line $LINENO "configure"
3076 /* confdefs.h. */
3077 _ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3083 main ()
3087 return 0;
3089 _ACEOF
3090 rm -f conftest.$ac_objext
3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3092 (eval $ac_compile) 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } &&
3096 { ac_try='test -s conftest.$ac_objext'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 (eval $ac_try) 2>&5
3099 ac_status=$?
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; }; then
3102 ac_cv_prog_cxx_g=yes
3103 else
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3107 ac_cv_prog_cxx_g=no
3109 rm -f conftest.$ac_objext conftest.$ac_ext
3111 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3113 if test "$ac_test_CXXFLAGS" = set; then
3114 CXXFLAGS=$ac_save_CXXFLAGS
3115 elif test $ac_cv_prog_cxx_g = yes; then
3116 if test "$GXX" = yes; then
3117 CXXFLAGS="-g -O2"
3118 else
3119 CXXFLAGS="-g"
3121 else
3122 if test "$GXX" = yes; then
3123 CXXFLAGS="-O2"
3124 else
3125 CXXFLAGS=
3128 for ac_declaration in \
3130 '#include <stdlib.h>' \
3131 'extern "C" void std::exit (int) throw (); using std::exit;' \
3132 'extern "C" void std::exit (int); using std::exit;' \
3133 'extern "C" void exit (int) throw ();' \
3134 'extern "C" void exit (int);' \
3135 'void exit (int);'
3137 cat >conftest.$ac_ext <<_ACEOF
3138 #line $LINENO "configure"
3139 /* confdefs.h. */
3140 _ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3144 #include <stdlib.h>
3145 $ac_declaration
3147 main ()
3149 exit (42);
3151 return 0;
3153 _ACEOF
3154 rm -f conftest.$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>&5
3157 ac_status=$?
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 (eval $ac_try) 2>&5
3163 ac_status=$?
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3167 else
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 continue
3173 rm -f conftest.$ac_objext conftest.$ac_ext
3174 cat >conftest.$ac_ext <<_ACEOF
3175 #line $LINENO "configure"
3176 /* confdefs.h. */
3177 _ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3181 $ac_declaration
3183 main ()
3185 exit (42);
3187 return 0;
3189 _ACEOF
3190 rm -f conftest.$ac_objext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192 (eval $ac_compile) 2>&5
3193 ac_status=$?
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } &&
3196 { ac_try='test -s conftest.$ac_objext'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; }; then
3202 break
3203 else
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3208 rm -f conftest.$ac_objext conftest.$ac_ext
3209 done
3210 rm -f conftest*
3211 if test -n "$ac_declaration"; then
3212 echo '#ifdef __cplusplus' >>confdefs.h
3213 echo $ac_declaration >>confdefs.h
3214 echo '#endif' >>confdefs.h
3217 ac_ext=c
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 CXXFLAGS="$save_CXXFLAGS"
3228 # For directory versioning (e.g., headers) and other variables.
3229 echo "$as_me:$LINENO: checking for GCC version number" >&5
3230 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3231 gcc_version=`$CXX -dumpversion`
3232 echo "$as_me:$LINENO: result: $gcc_version" >&5
3233 echo "${ECHO_T}$gcc_version" >&6
3235 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3236 # available). Uncomment the next line to force a particular method.
3237 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3238 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3239 LN_S=$as_ln_s
3240 if test "$LN_S" = "ln -s"; then
3241 echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3243 else
3244 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3245 echo "${ECHO_T}no, using $LN_S" >&6
3248 #LN_S='cp -p'
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3252 set dummy ${ac_tool_prefix}as; ac_word=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_prog_AS+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 else
3258 if test -n "$AS"; then
3259 ac_cv_prog_AS="$AS" # Let the user override the test.
3260 else
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for as_dir in $PATH
3264 IFS=$as_save_IFS
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_AS="${ac_tool_prefix}as"
3269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 break 2
3272 done
3273 done
3277 AS=$ac_cv_prog_AS
3278 if test -n "$AS"; then
3279 echo "$as_me:$LINENO: result: $AS" >&5
3280 echo "${ECHO_T}$AS" >&6
3281 else
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3287 if test -z "$ac_cv_prog_AS"; then
3288 ac_ct_AS=$AS
3289 # Extract the first word of "as", so it can be a program name with args.
3290 set dummy as; ac_word=$2
3291 echo "$as_me:$LINENO: checking for $ac_word" >&5
3292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 else
3296 if test -n "$ac_ct_AS"; then
3297 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 ac_cv_prog_ac_ct_AS="as"
3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 break 2
3310 done
3311 done
3315 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3316 if test -n "$ac_ct_AS"; then
3317 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3318 echo "${ECHO_T}$ac_ct_AS" >&6
3319 else
3320 echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3324 AS=$ac_ct_AS
3325 else
3326 AS="$ac_cv_prog_AS"
3329 if test -n "$ac_tool_prefix"; then
3330 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3331 set dummy ${ac_tool_prefix}ar; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_AR+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337 if test -n "$AR"; then
3338 ac_cv_prog_AR="$AR" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3343 IFS=$as_save_IFS
3344 test -z "$as_dir" && as_dir=.
3345 for ac_exec_ext in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_AR="${ac_tool_prefix}ar"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 break 2
3351 done
3352 done
3356 AR=$ac_cv_prog_AR
3357 if test -n "$AR"; then
3358 echo "$as_me:$LINENO: result: $AR" >&5
3359 echo "${ECHO_T}$AR" >&6
3360 else
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3366 if test -z "$ac_cv_prog_AR"; then
3367 ac_ct_AR=$AR
3368 # Extract the first word of "ar", so it can be a program name with args.
3369 set dummy ar; ac_word=$2
3370 echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 else
3375 if test -n "$ac_ct_AR"; then
3376 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_ac_ct_AR="ar"
3386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 break 2
3389 done
3390 done
3394 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3395 if test -n "$ac_ct_AR"; then
3396 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3397 echo "${ECHO_T}$ac_ct_AR" >&6
3398 else
3399 echo "$as_me:$LINENO: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3403 AR=$ac_ct_AR
3404 else
3405 AR="$ac_cv_prog_AR"
3408 if test -n "$ac_tool_prefix"; then
3409 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3410 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3411 echo "$as_me:$LINENO: checking for $ac_word" >&5
3412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3413 if test "${ac_cv_prog_RANLIB+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 else
3416 if test -n "$RANLIB"; then
3417 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3418 else
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH
3422 IFS=$as_save_IFS
3423 test -z "$as_dir" && as_dir=.
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3426 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 break 2
3430 done
3431 done
3435 RANLIB=$ac_cv_prog_RANLIB
3436 if test -n "$RANLIB"; then
3437 echo "$as_me:$LINENO: result: $RANLIB" >&5
3438 echo "${ECHO_T}$RANLIB" >&6
3439 else
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3445 if test -z "$ac_cv_prog_RANLIB"; then
3446 ac_ct_RANLIB=$RANLIB
3447 # Extract the first word of "ranlib", so it can be a program name with args.
3448 set dummy ranlib; ac_word=$2
3449 echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 else
3454 if test -n "$ac_ct_RANLIB"; then
3455 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3456 else
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 for as_dir in $PATH
3460 IFS=$as_save_IFS
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464 ac_cv_prog_ac_ct_RANLIB="ranlib"
3465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 break 2
3468 done
3469 done
3471 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3474 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3475 if test -n "$ac_ct_RANLIB"; then
3476 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3477 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3478 else
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3483 RANLIB=$ac_ct_RANLIB
3484 else
3485 RANLIB="$ac_cv_prog_RANLIB"
3489 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3490 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3491 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3492 if test "${enable_maintainer_mode+set}" = set; then
3493 enableval="$enable_maintainer_mode"
3494 USE_MAINTAINER_MODE=$enableval
3495 else
3496 USE_MAINTAINER_MODE=no
3498 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3499 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3502 if test $USE_MAINTAINER_MODE = yes; then
3503 MAINTAINER_MODE_TRUE=
3504 MAINTAINER_MODE_FALSE='#'
3505 else
3506 MAINTAINER_MODE_TRUE='#'
3507 MAINTAINER_MODE_FALSE=
3510 MAINT=$MAINTAINER_MODE_TRUE
3514 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3515 # which are themselves conditionally expanded.
3516 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3517 ## other macros from doing the same. This should be automated.) -pme
3518 need_libmath=no
3519 enable_wchar_t=no
3520 #enable_libstdcxx_debug=no
3521 #enable_libstdcxx_pch=no
3522 #enable_cheaders=c
3523 #c_compatibility=no
3524 #enable_abi_check=no
3525 #enable_symvers=no
3526 #enable_hosted_libstdcxx=yes
3528 # Find platform-specific directories containing configuration info.
3529 # Also possibly modify flags used elsewhere, as needed by the platform.
3531 . $glibcxx_srcdir/configure.host
3532 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3533 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3534 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3535 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3539 #AC_MSG_NOTICE([====== Starting libtool configuration])
3541 # Check whether --enable-shared or --disable-shared was given.
3542 if test "${enable_shared+set}" = set; then
3543 enableval="$enable_shared"
3544 p=${PACKAGE-default}
3545 case $enableval in
3546 yes) enable_shared=yes ;;
3547 no) enable_shared=no ;;
3549 enable_shared=no
3550 # Look at the argument we got. We use all the common list separators.
3551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3552 for pkg in $enableval; do
3553 if test "X$pkg" = "X$p"; then
3554 enable_shared=yes
3556 done
3557 IFS="$ac_save_ifs"
3559 esac
3560 else
3561 enable_shared=yes
3563 # Check whether --enable-static or --disable-static was given.
3564 if test "${enable_static+set}" = set; then
3565 enableval="$enable_static"
3566 p=${PACKAGE-default}
3567 case $enableval in
3568 yes) enable_static=yes ;;
3569 no) enable_static=no ;;
3571 enable_static=no
3572 # Look at the argument we got. We use all the common list separators.
3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3574 for pkg in $enableval; do
3575 if test "X$pkg" = "X$p"; then
3576 enable_static=yes
3578 done
3579 IFS="$ac_save_ifs"
3581 esac
3582 else
3583 enable_static=yes
3585 # Check whether --enable-fast-install or --disable-fast-install was given.
3586 if test "${enable_fast_install+set}" = set; then
3587 enableval="$enable_fast_install"
3588 p=${PACKAGE-default}
3589 case $enableval in
3590 yes) enable_fast_install=yes ;;
3591 no) enable_fast_install=no ;;
3593 enable_fast_install=no
3594 # Look at the argument we got. We use all the common list separators.
3595 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3596 for pkg in $enableval; do
3597 if test "X$pkg" = "X$p"; then
3598 enable_fast_install=yes
3600 done
3601 IFS="$ac_save_ifs"
3603 esac
3604 else
3605 enable_fast_install=yes
3608 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3609 if test "${with_gnu_ld+set}" = set; then
3610 withval="$with_gnu_ld"
3611 test "$withval" = no || with_gnu_ld=yes
3612 else
3613 with_gnu_ld=no
3615 ac_prog=ld
3616 if test "$GCC" = yes; then
3617 # Check if gcc -print-prog-name=ld gives a path.
3618 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3619 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3620 case $host in
3621 *-*-mingw*)
3622 # gcc leaves a trailing carriage return which upsets mingw
3623 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3625 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3626 esac
3627 case $ac_prog in
3628 # Accept absolute paths.
3629 [\\/]* | [A-Za-z]:[\\/]*)
3630 re_direlt='/[^/][^/]*/\.\./'
3631 # Canonicalize the path of ld
3632 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3633 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3634 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3635 done
3636 test -z "$LD" && LD="$ac_prog"
3639 # If it fails, then pretend we aren't using GCC.
3640 ac_prog=ld
3643 # If it is relative, then search for the first ld in PATH.
3644 with_gnu_ld=unknown
3646 esac
3647 elif test "$with_gnu_ld" = yes; then
3648 echo "$as_me:$LINENO: checking for GNU ld" >&5
3649 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3650 else
3651 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3652 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3654 if test "${lt_cv_path_LD+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 else
3657 if test -z "$LD"; then
3658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3659 for ac_dir in $PATH; do
3660 test -z "$ac_dir" && ac_dir=.
3661 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3662 lt_cv_path_LD="$ac_dir/$ac_prog"
3663 # Check to see if the program is GNU ld. I'd rather use --version,
3664 # but apparently some GNU ld's only accept -v.
3665 # Break only if it was the GNU/non-GNU ld that we prefer.
3666 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3667 test "$with_gnu_ld" != no && break
3668 else
3669 test "$with_gnu_ld" != yes && break
3672 done
3673 IFS="$ac_save_ifs"
3674 else
3675 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3679 LD="$lt_cv_path_LD"
3680 if test -n "$LD"; then
3681 echo "$as_me:$LINENO: result: $LD" >&5
3682 echo "${ECHO_T}$LD" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3687 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3688 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3689 { (exit 1); exit 1; }; }
3690 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3691 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3692 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 else
3695 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3696 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3697 lt_cv_prog_gnu_ld=yes
3698 else
3699 lt_cv_prog_gnu_ld=no
3702 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3703 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3704 with_gnu_ld=$lt_cv_prog_gnu_ld
3707 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3708 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3709 if test "${lt_cv_ld_reload_flag+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 else
3712 lt_cv_ld_reload_flag='-r'
3714 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3715 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3716 reload_flag=$lt_cv_ld_reload_flag
3717 test -n "$reload_flag" && reload_flag=" $reload_flag"
3719 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3720 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3721 if test "${lt_cv_path_NM+set}" = set; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 else
3724 if test -n "$NM"; then
3725 # Let the user override the test.
3726 lt_cv_path_NM="$NM"
3727 else
3728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3729 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3730 test -z "$ac_dir" && ac_dir=.
3731 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3732 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3733 # Check to see if the nm accepts a BSD-compat flag.
3734 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3735 # nm: unknown option "B" ignored
3736 # Tru64's nm complains that /dev/null is an invalid object file
3737 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3738 lt_cv_path_NM="$tmp_nm -B"
3739 break
3740 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3741 lt_cv_path_NM="$tmp_nm -p"
3742 break
3743 else
3744 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3745 continue # so that we can try to find one that supports BSD flags
3748 done
3749 IFS="$ac_save_ifs"
3750 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3754 NM="$lt_cv_path_NM"
3755 echo "$as_me:$LINENO: result: $NM" >&5
3756 echo "${ECHO_T}$NM" >&6
3758 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3759 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3760 if test "${lt_cv_deplibs_check_method+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 else
3763 lt_cv_file_magic_cmd='$MAGIC_CMD'
3764 lt_cv_file_magic_test_file=
3765 lt_cv_deplibs_check_method='unknown'
3766 # Need to set the preceding variable on all platforms that support
3767 # interlibrary dependencies.
3768 # 'none' -- dependencies not supported.
3769 # `unknown' -- same as none, but documents that we really don't know.
3770 # 'pass_all' -- all dependencies passed with no checks.
3771 # 'test_compile' -- check by making test program.
3772 # 'file_magic [regex]' -- check by looking for files in library path
3773 # which responds to the $file_magic_cmd with a given egrep regex.
3774 # If you have `file' or equivalent on your system and you're not sure
3775 # whether `pass_all' will *always* work, you probably want this one.
3777 case $host_os in
3778 aix*)
3779 lt_cv_deplibs_check_method=pass_all
3782 beos*)
3783 lt_cv_deplibs_check_method=pass_all
3786 bsdi4*)
3787 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3788 lt_cv_file_magic_cmd='/usr/bin/file -L'
3789 lt_cv_file_magic_test_file=/shlib/libc.so
3792 cygwin* | mingw* |pw32*)
3793 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3794 lt_cv_file_magic_cmd='$OBJDUMP -f'
3797 darwin* | rhapsody*)
3798 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3799 lt_cv_file_magic_cmd='/usr/bin/file -L'
3800 case "$host_os" in
3801 rhapsody* | darwin1.012)
3802 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3804 *) # Darwin 1.3 on
3805 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3807 esac
3810 freebsd* )
3811 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3812 case $host_cpu in
3813 i*86 )
3814 # Not sure whether the presence of OpenBSD here was a mistake.
3815 # Let's accept both of them until this is cleared up.
3816 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3817 lt_cv_file_magic_cmd=/usr/bin/file
3818 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3820 esac
3821 else
3822 lt_cv_deplibs_check_method=pass_all
3826 gnu*)
3827 lt_cv_deplibs_check_method=pass_all
3830 hpux10.20*|hpux11*)
3831 case $host_cpu in
3832 hppa*)
3833 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3834 lt_cv_file_magic_cmd=/usr/bin/file
3835 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3837 ia64*)
3838 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3839 lt_cv_file_magic_cmd=/usr/bin/file
3840 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3842 esac
3845 irix5* | irix6*)
3846 case $host_os in
3847 irix5*)
3848 # this will be overridden with pass_all, but let us keep it just in case
3849 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3852 case $LD in
3853 *-32|*"-32 ") libmagic=32-bit;;
3854 *-n32|*"-n32 ") libmagic=N32;;
3855 *-64|*"-64 ") libmagic=64-bit;;
3856 *) libmagic=never-match;;
3857 esac
3858 # this will be overridden with pass_all, but let us keep it just in case
3859 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3861 esac
3862 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3863 lt_cv_deplibs_check_method=pass_all
3866 # This must be Linux ELF.
3867 linux-gnu*)
3868 case $host_cpu in
3869 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3870 lt_cv_deplibs_check_method=pass_all ;;
3872 # glibc up to 2.1.1 does not perform some relocations on ARM
3873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3874 esac
3875 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3878 netbsd*)
3879 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3880 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3881 else
3882 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3886 newsos6)
3887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3888 lt_cv_file_magic_cmd=/usr/bin/file
3889 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3892 osf3* | osf4* | osf5*)
3893 # this will be overridden with pass_all, but let us keep it just in case
3894 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3895 lt_cv_file_magic_test_file=/shlib/libc.so
3896 lt_cv_deplibs_check_method=pass_all
3899 sco3.2v5*)
3900 lt_cv_deplibs_check_method=pass_all
3903 solaris*)
3904 lt_cv_deplibs_check_method=pass_all
3905 lt_cv_file_magic_test_file=/lib/libc.so
3908 sysv5uw[78]* | sysv4*uw2*)
3909 lt_cv_deplibs_check_method=pass_all
3912 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3913 case $host_vendor in
3914 ncr)
3915 lt_cv_deplibs_check_method=pass_all
3917 motorola)
3918 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]'
3919 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3921 esac
3923 esac
3926 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3927 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3928 file_magic_cmd=$lt_cv_file_magic_cmd
3929 deplibs_check_method=$lt_cv_deplibs_check_method
3935 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3937 # Only perform the check for file, if the check method requires it
3938 case $deplibs_check_method in
3939 file_magic*)
3940 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3941 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 case $MAGIC_CMD in
3948 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3950 ?:/*)
3951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3954 ac_save_MAGIC_CMD="$MAGIC_CMD"
3955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3956 ac_dummy="/usr/bin:$PATH"
3957 for ac_dir in $ac_dummy; do
3958 test -z "$ac_dir" && ac_dir=.
3959 if test -f $ac_dir/${ac_tool_prefix}file; then
3960 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3961 if test -n "$file_magic_test_file"; then
3962 case $deplibs_check_method in
3963 "file_magic "*)
3964 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3965 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3966 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3967 egrep "$file_magic_regex" > /dev/null; then
3969 else
3970 cat <<EOF 1>&2
3972 *** Warning: the command libtool uses to detect shared libraries,
3973 *** $file_magic_cmd, produces output that libtool cannot recognize.
3974 *** The result is that libtool may fail to recognize shared libraries
3975 *** as such. This will affect the creation of libtool libraries that
3976 *** depend on shared libraries, but programs linked with such libtool
3977 *** libraries will work regardless of this problem. Nevertheless, you
3978 *** may want to report the problem to your system manager and/or to
3979 *** bug-libtool@gnu.org
3982 fi ;;
3983 esac
3985 break
3987 done
3988 IFS="$ac_save_ifs"
3989 MAGIC_CMD="$ac_save_MAGIC_CMD"
3991 esac
3994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3995 if test -n "$MAGIC_CMD"; then
3996 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3997 echo "${ECHO_T}$MAGIC_CMD" >&6
3998 else
3999 echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6
4003 if test -z "$lt_cv_path_MAGIC_CMD"; then
4004 if test -n "$ac_tool_prefix"; then
4005 echo "$as_me:$LINENO: checking for file" >&5
4006 echo $ECHO_N "checking for file... $ECHO_C" >&6
4007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010 case $MAGIC_CMD in
4012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4014 ?:/*)
4015 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4018 ac_save_MAGIC_CMD="$MAGIC_CMD"
4019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4020 ac_dummy="/usr/bin:$PATH"
4021 for ac_dir in $ac_dummy; do
4022 test -z "$ac_dir" && ac_dir=.
4023 if test -f $ac_dir/file; then
4024 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4025 if test -n "$file_magic_test_file"; then
4026 case $deplibs_check_method in
4027 "file_magic "*)
4028 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4031 egrep "$file_magic_regex" > /dev/null; then
4033 else
4034 cat <<EOF 1>&2
4036 *** Warning: the command libtool uses to detect shared libraries,
4037 *** $file_magic_cmd, produces output that libtool cannot recognize.
4038 *** The result is that libtool may fail to recognize shared libraries
4039 *** as such. This will affect the creation of libtool libraries that
4040 *** depend on shared libraries, but programs linked with such libtool
4041 *** libraries will work regardless of this problem. Nevertheless, you
4042 *** may want to report the problem to your system manager and/or to
4043 *** bug-libtool@gnu.org
4046 fi ;;
4047 esac
4049 break
4051 done
4052 IFS="$ac_save_ifs"
4053 MAGIC_CMD="$ac_save_MAGIC_CMD"
4055 esac
4058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4059 if test -n "$MAGIC_CMD"; then
4060 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4061 echo "${ECHO_T}$MAGIC_CMD" >&6
4062 else
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4067 else
4068 MAGIC_CMD=:
4074 esac
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_RANLIB+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 else
4084 if test -n "$RANLIB"; then
4085 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4098 done
4099 done
4103 RANLIB=$ac_cv_prog_RANLIB
4104 if test -n "$RANLIB"; then
4105 echo "$as_me:$LINENO: result: $RANLIB" >&5
4106 echo "${ECHO_T}$RANLIB" >&6
4107 else
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4113 if test -z "$ac_cv_prog_RANLIB"; then
4114 ac_ct_RANLIB=$RANLIB
4115 # Extract the first word of "ranlib", so it can be a program name with args.
4116 set dummy ranlib; ac_word=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 if test -n "$ac_ct_RANLIB"; then
4123 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4124 else
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126 for as_dir in $PATH
4128 IFS=$as_save_IFS
4129 test -z "$as_dir" && as_dir=.
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_prog_ac_ct_RANLIB="ranlib"
4133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 break 2
4136 done
4137 done
4139 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4142 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4143 if test -n "$ac_ct_RANLIB"; then
4144 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4145 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4146 else
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4151 RANLIB=$ac_ct_RANLIB
4152 else
4153 RANLIB="$ac_cv_prog_RANLIB"
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4161 if test "${ac_cv_prog_STRIP+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4170 IFS=$as_save_IFS
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 break 2
4178 done
4179 done
4183 STRIP=$ac_cv_prog_STRIP
4184 if test -n "$STRIP"; then
4185 echo "$as_me:$LINENO: result: $STRIP" >&5
4186 echo "${ECHO_T}$STRIP" >&6
4187 else
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4193 if test -z "$ac_cv_prog_STRIP"; then
4194 ac_ct_STRIP=$STRIP
4195 # Extract the first word of "strip", so it can be a program name with args.
4196 set dummy strip; ac_word=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 else
4202 if test -n "$ac_ct_STRIP"; then
4203 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4204 else
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH
4208 IFS=$as_save_IFS
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_STRIP="strip"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 break 2
4216 done
4217 done
4219 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4223 if test -n "$ac_ct_STRIP"; then
4224 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4225 echo "${ECHO_T}$ac_ct_STRIP" >&6
4226 else
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4231 STRIP=$ac_ct_STRIP
4232 else
4233 STRIP="$ac_cv_prog_STRIP"
4237 # Check for any special flags to pass to ltconfig.
4238 libtool_flags="--cache-file=$cache_file"
4239 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4240 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4241 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4242 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4243 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4246 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4247 if test "${enable_libtool_lock+set}" = set; then
4248 enableval="$enable_libtool_lock"
4251 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4252 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4255 # Check whether --with-pic or --without-pic was given.
4256 if test "${with_pic+set}" = set; then
4257 withval="$with_pic"
4258 pic_mode="$withval"
4259 else
4260 pic_mode=default
4262 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4263 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4265 # Some flags need to be propagated to the compiler or linker for good
4266 # libtool support.
4267 case $host in
4268 *-*-irix6*)
4269 # Find out which ABI we are using.
4270 echo '#line 4270 "configure"' > conftest.$ac_ext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>&5
4273 ac_status=$?
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; then
4276 if test "$lt_cv_prog_gnu_ld" = yes; then
4277 case `/usr/bin/file conftest.$ac_objext` in
4278 *32-bit*)
4279 LD="${LD-ld} -melf32bsmip"
4281 *N32*)
4282 LD="${LD-ld} -melf32bmipn32"
4284 *64-bit*)
4285 LD="${LD-ld} -melf64bmip"
4287 esac
4288 else
4289 case `/usr/bin/file conftest.$ac_objext` in
4290 *32-bit*)
4291 LD="${LD-ld} -32"
4293 *N32*)
4294 LD="${LD-ld} -n32"
4296 *64-bit*)
4297 LD="${LD-ld} -64"
4299 esac
4302 rm -rf conftest*
4305 ia64-*-hpux*)
4306 # Find out which ABI we are using.
4307 echo 'int i;' > conftest.$ac_ext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>&5
4310 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; then
4313 case "`/usr/bin/file conftest.o`" in
4314 *ELF-32*)
4315 HPUX_IA64_MODE="32"
4317 *ELF-64*)
4318 HPUX_IA64_MODE="64"
4320 esac
4322 rm -rf conftest*
4325 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4326 # Find out which ABI we are using.
4327 echo 'int i;' > conftest.$ac_ext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329 (eval $ac_compile) 2>&5
4330 ac_status=$?
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; then
4333 case "`/usr/bin/file conftest.o`" in
4334 *32-bit*)
4335 case $host in
4336 x86_64-*linux*)
4337 LD="${LD-ld} -m elf_i386"
4339 ppc64-*linux*|powerpc64-*linux*)
4340 LD="${LD-ld} -m elf32ppclinux"
4342 s390x-*linux*)
4343 LD="${LD-ld} -m elf_s390"
4345 sparc64-*linux*)
4346 LD="${LD-ld} -m elf32_sparc"
4348 esac
4350 *64-bit*)
4351 case $host in
4352 x86_64-*linux*)
4353 LD="${LD-ld} -m elf_x86_64"
4355 ppc*-*linux*|powerpc*-*linux*)
4356 LD="${LD-ld} -m elf64ppc"
4358 s390*-*linux*)
4359 LD="${LD-ld} -m elf64_s390"
4361 sparc*-*linux*)
4362 LD="${LD-ld} -m elf64_sparc"
4364 esac
4366 esac
4368 rm -rf conftest*
4371 *-*-sco3.2v5*)
4372 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4373 SAVE_CFLAGS="$CFLAGS"
4374 CFLAGS="$CFLAGS -belf"
4375 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4376 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4377 if test "${lt_cv_cc_needs_belf+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 else
4382 ac_ext=c
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 if test x$gcc_no_link = xyes; then
4389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4391 { (exit 1); exit 1; }; }
4393 cat >conftest.$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4402 main ()
4406 return 0;
4408 _ACEOF
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411 (eval $ac_link) 2>&5
4412 ac_status=$?
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } &&
4415 { ac_try='test -s conftest$ac_exeext'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 (eval $ac_try) 2>&5
4418 ac_status=$?
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; }; then
4421 lt_cv_cc_needs_belf=yes
4422 else
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 lt_cv_cc_needs_belf=no
4428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4429 ac_ext=c
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4437 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4438 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4439 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4440 CFLAGS="$SAVE_CFLAGS"
4445 esac
4448 # Save cache, so that ltconfig can load it
4449 cat >confcache <<\_ACEOF
4450 # This file is a shell script that caches the results of configure
4451 # tests run on this system so they can be shared between configure
4452 # scripts and configure runs, see configure's option --config-cache.
4453 # It is not useful on other systems. If it contains results you don't
4454 # want to keep, you may remove or edit it.
4456 # config.status only pays attention to the cache file if you give it
4457 # the --recheck option to rerun configure.
4459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4461 # following values.
4463 _ACEOF
4465 # The following way of writing the cache mishandles newlines in values,
4466 # but we know of no workaround that is simple, portable, and efficient.
4467 # So, don't put newlines in cache variables' values.
4468 # Ultrix sh set writes to stderr and can't be redirected directly,
4469 # and sets the high bit in the cache file unless we assign to the vars.
4471 (set) 2>&1 |
4472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4473 *ac_space=\ *)
4474 # `set' does not quote correctly, so add quotes (double-quote
4475 # substitution turns \\\\ into \\, and sed turns \\ into \).
4476 sed -n \
4477 "s/'/'\\\\''/g;
4478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4481 # `set' quotes correctly as required by POSIX, so do not add quotes.
4482 sed -n \
4483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4485 esac;
4487 sed '
4488 t clear
4489 : clear
4490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4491 t end
4492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4493 : end' >>confcache
4494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4495 if test -w $cache_file; then
4496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4497 cat confcache >$cache_file
4498 else
4499 echo "not updating unwritable cache $cache_file"
4502 rm -f confcache
4504 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4505 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4506 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4507 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4508 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4509 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4510 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4511 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4512 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4513 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4514 echo "$as_me: error: libtool configure failed" >&2;}
4515 { (exit 1); exit 1; }; }
4517 # Reload cache, that may have been modified by ltconfig
4518 if test -r "$cache_file"; then
4519 # Some versions of bash will fail to source /dev/null (special
4520 # files actually), so we avoid doing that.
4521 if test -f "$cache_file"; then
4522 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4523 echo "$as_me: loading cache $cache_file" >&6;}
4524 case $cache_file in
4525 [\\/]* | ?:[\\/]* ) . $cache_file;;
4526 *) . ./$cache_file;;
4527 esac
4529 else
4530 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4531 echo "$as_me: creating cache $cache_file" >&6;}
4532 >$cache_file
4536 # This can be used to rebuild libtool when needed
4537 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4539 # Always use our own libtool.
4540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4542 # Redirect the config.log output again, so that the ltconfig log is not
4543 # clobbered by the next message.
4544 exec 5>>./config.log
4546 ac_ext=cc
4547 ac_cpp='$CXXCPP $CPPFLAGS'
4548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4553 if test -z "$CXXCPP"; then
4554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 else
4557 # Double quotes because CXXCPP needs to be expanded
4558 for CXXCPP in "$CXX -E" "/lib/cpp"
4560 ac_preproc_ok=false
4561 for ac_cxx_preproc_warn_flag in '' yes
4563 # Use a header file that comes with gcc, so configuring glibc
4564 # with a fresh cross-compiler works.
4565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4566 # <limits.h> exists even on freestanding compilers.
4567 # On the NeXT, cc -E runs the code through the compiler's parser,
4568 # not just through cpp. "Syntax error" is here to catch this case.
4569 cat >conftest.$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4571 /* confdefs.h. */
4572 _ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4576 #ifdef __STDC__
4577 # include <limits.h>
4578 #else
4579 # include <assert.h>
4580 #endif
4581 Syntax error
4582 _ACEOF
4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4585 ac_status=$?
4586 grep -v '^ *+' conftest.er1 >conftest.err
4587 rm -f conftest.er1
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } >/dev/null; then
4591 if test -s conftest.err; then
4592 ac_cpp_err=$ac_cxx_preproc_warn_flag
4593 else
4594 ac_cpp_err=
4596 else
4597 ac_cpp_err=yes
4599 if test -z "$ac_cpp_err"; then
4601 else
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 # Broken: fails on valid input.
4606 continue
4608 rm -f conftest.err conftest.$ac_ext
4610 # OK, works on sane cases. Now check whether non-existent headers
4611 # can be detected and how.
4612 cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4614 /* confdefs.h. */
4615 _ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4620 _ACEOF
4621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4623 ac_status=$?
4624 grep -v '^ *+' conftest.er1 >conftest.err
4625 rm -f conftest.er1
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } >/dev/null; then
4629 if test -s conftest.err; then
4630 ac_cpp_err=$ac_cxx_preproc_warn_flag
4631 else
4632 ac_cpp_err=
4634 else
4635 ac_cpp_err=yes
4637 if test -z "$ac_cpp_err"; then
4638 # Broken: success on invalid input.
4639 continue
4640 else
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4648 rm -f conftest.err conftest.$ac_ext
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then
4654 break
4657 done
4658 ac_cv_prog_CXXCPP=$CXXCPP
4661 CXXCPP=$ac_cv_prog_CXXCPP
4662 else
4663 ac_cv_prog_CXXCPP=$CXXCPP
4665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4666 echo "${ECHO_T}$CXXCPP" >&6
4667 ac_preproc_ok=false
4668 for ac_cxx_preproc_warn_flag in '' yes
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat >conftest.$ac_ext <<_ACEOF
4677 #line $LINENO "configure"
4678 /* confdefs.h. */
4679 _ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4683 #ifdef __STDC__
4684 # include <limits.h>
4685 #else
4686 # include <assert.h>
4687 #endif
4688 Syntax error
4689 _ACEOF
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4692 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null; then
4698 if test -s conftest.err; then
4699 ac_cpp_err=$ac_cxx_preproc_warn_flag
4700 else
4701 ac_cpp_err=
4703 else
4704 ac_cpp_err=yes
4706 if test -z "$ac_cpp_err"; then
4708 else
4709 echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether non-existent headers
4718 # can be detected and how.
4719 cat >conftest.$ac_ext <<_ACEOF
4720 #line $LINENO "configure"
4721 /* confdefs.h. */
4722 _ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4730 ac_status=$?
4731 grep -v '^ *+' conftest.er1 >conftest.err
4732 rm -f conftest.er1
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } >/dev/null; then
4736 if test -s conftest.err; then
4737 ac_cpp_err=$ac_cxx_preproc_warn_flag
4738 else
4739 ac_cpp_err=
4741 else
4742 ac_cpp_err=yes
4744 if test -z "$ac_cpp_err"; then
4745 # Broken: success on invalid input.
4746 continue
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 # Passes both tests.
4752 ac_preproc_ok=:
4753 break
4755 rm -f conftest.err conftest.$ac_ext
4757 done
4758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4759 rm -f conftest.err conftest.$ac_ext
4760 if $ac_preproc_ok; then
4762 else
4763 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&5
4765 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&2;}
4767 { (exit 1); exit 1; }; }
4770 ac_ext=c
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4779 lt_save_CC="$CC"
4780 lt_save_CFLAGS="$CFLAGS"
4781 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4782 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4783 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4784 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4785 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4786 deplibs_check_method="$deplibs_check_method" \
4787 file_magic_cmd="$file_magic_cmd" \
4788 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4789 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4790 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4791 echo "$as_me: error: libtool tag configuration failed" >&2;}
4792 { (exit 1); exit 1; }; }
4793 CC="$lt_save_CC"
4794 CFLAGS="$lt_save_CFLAGS"
4796 # Redirect the config.log output again, so that the ltconfig log is not
4797 # clobbered by the next message.
4798 exec 5>>./config.log
4807 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4809 # Possibly disable most of the library.
4810 ## XXX Consider skipping unncessary tests altogether in this case, rather
4811 ## than just ignoring the results. Faster /and/ more correct, win win.
4813 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4814 if test "${enable_hosted_libstdcxx+set}" = set; then
4815 enableval="$enable_hosted_libstdcxx"
4817 else
4818 enable_hosted_libstdcxx=yes
4820 if test "$enable_hosted_libstdcxx" = no; then
4821 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4822 echo "$as_me: Only freestanding libraries will be built" >&6;}
4823 is_hosted=no
4824 hosted_define=0
4825 enable_abi_check=no
4826 enable_libstdcxx_pch=no
4827 else
4828 is_hosted=yes
4829 hosted_define=1
4833 cat >>confdefs.h <<_ACEOF
4834 #define _GLIBCXX_HOSTED $hosted_define
4835 _ACEOF
4839 # Check for support bits and g++ features that don't require linking.
4841 echo "$as_me:$LINENO: checking for exception model to use" >&5
4842 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4845 ac_ext=cc
4846 ac_cpp='$CXXCPP $CPPFLAGS'
4847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4851 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4852 if test "${enable_sjlj_exceptions+set}" = set; then
4853 enableval="$enable_sjlj_exceptions"
4855 case "$enableval" in
4856 yes|no|auto) ;;
4857 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4858 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4859 { (exit 1); exit 1; }; } ;;
4860 esac
4862 else
4863 enable_sjlj_exceptions=auto
4867 if test $enable_sjlj_exceptions = auto; then
4868 # Botheration. Now we've got to detect the exception model. Link tests
4869 # against libgcc.a are problematic since we've not been given proper -L
4870 # bits for single-tree newlib and libgloss.
4872 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4873 cat > conftest.$ac_ext << EOF
4874 #line 4874 "configure"
4875 struct S { ~S(); };
4876 void bar();
4877 void foo()
4879 S s;
4880 bar();
4883 old_CXXFLAGS="$CXXFLAGS"
4884 CXXFLAGS=-S
4885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886 (eval $ac_compile) 2>&5
4887 ac_status=$?
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; then
4890 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4891 enable_sjlj_exceptions=yes
4892 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4893 enable_sjlj_exceptions=no
4896 CXXFLAGS="$old_CXXFLAGS"
4897 rm -f conftest*
4900 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4901 # to two different models.
4902 case $enable_sjlj_exceptions in
4903 yes)
4905 cat >>confdefs.h <<\_ACEOF
4906 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4907 _ACEOF
4909 ac_exception_model_name=sjlj
4912 ac_exception_model_name="call frame"
4915 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4916 echo "$as_me: error: unable to detect exception model" >&2;}
4917 { (exit 1); exit 1; }; }
4919 esac
4920 ac_ext=c
4921 ac_cpp='$CPP $CPPFLAGS'
4922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4927 echo "${ECHO_T}$ac_exception_model_name" >&6
4930 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4931 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4932 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4933 if test "${enable_libunwind_exceptions+set}" = set; then
4934 enableval="$enable_libunwind_exceptions"
4936 case "$enableval" in
4937 yes|no) ;;
4938 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4939 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4940 { (exit 1); exit 1; }; } ;;
4941 esac
4943 else
4944 enable_libunwind_exceptions=no
4947 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4948 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4949 if test $enable_libunwind_exceptions = yes; then
4950 LIBUNWIND_FLAG="-lunwind"
4951 else
4952 LIBUNWIND_FLAG=""
4957 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4958 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4959 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4960 if test "${enable_libstdcxx_pch+set}" = set; then
4961 enableval="$enable_libstdcxx_pch"
4963 case "$enableval" in
4964 yes|no) ;;
4965 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4966 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4967 { (exit 1); exit 1; }; } ;;
4968 esac
4970 else
4971 enable_libstdcxx_pch=$is_hosted
4974 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4975 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4977 if test $enable_libstdcxx_pch = yes; then
4978 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4979 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4980 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 else
4983 ac_save_CXXFLAGS="$CXXFLAGS"
4984 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4987 ac_ext=cc
4988 ac_cpp='$CXXCPP $CPPFLAGS'
4989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4993 echo '#include <math.h>' > conftest.h
4994 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4995 -o conftest.h.gch 1>&5 2>&1 &&
4996 echo '#error "pch failed"' > conftest.h &&
4997 echo '#include "conftest.h"' > conftest.cc &&
4998 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4999 then
5000 glibcxx_cv_prog_CXX_pch=yes
5001 else
5002 glibcxx_cv_prog_CXX_pch=no
5004 rm -f conftest*
5005 CXXFLAGS=$ac_save_CXXFLAGS
5006 ac_ext=c
5007 ac_cpp='$CPP $CPPFLAGS'
5008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5015 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5016 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5020 if test $enable_libstdcxx_pch = yes; then
5021 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5022 else
5023 glibcxx_PCHFLAGS=""
5028 # Enable all the variable C++ runtime options.
5029 # NB: C_MBCHAR must come early.
5031 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5032 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5033 # Check whether --enable-cstdio or --disable-cstdio was given.
5034 if test "${enable_cstdio+set}" = set; then
5035 enableval="$enable_cstdio"
5037 case "$enableval" in
5038 stdio) ;;
5039 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5040 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5041 { (exit 1); exit 1; }; } ;;
5042 esac
5044 else
5045 enable_cstdio=stdio
5049 # Now that libio has been removed, you can have any color you want as long
5050 # as it's black. This is one big no-op until other packages are added, but
5051 # showing the framework never hurts.
5052 case ${enable_cstdio} in
5053 stdio)
5054 CSTDIO_H=config/io/c_io_stdio.h
5055 BASIC_FILE_H=config/io/basic_file_stdio.h
5056 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5057 echo "$as_me:$LINENO: result: stdio" >&5
5058 echo "${ECHO_T}stdio" >&6
5060 esac
5062 FPOS_H=$fpos_include_dir
5069 ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5075 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5076 # On Suns, sometimes $CPP names a directory.
5077 if test -n "$CPP" && test -d "$CPP"; then
5078 CPP=
5080 if test -z "$CPP"; then
5081 if test "${ac_cv_prog_CPP+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 else
5084 # Double quotes because CPP needs to be expanded
5085 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5087 ac_preproc_ok=false
5088 for ac_c_preproc_warn_flag in '' yes
5090 # Use a header file that comes with gcc, so configuring glibc
5091 # with a fresh cross-compiler works.
5092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5093 # <limits.h> exists even on freestanding compilers.
5094 # On the NeXT, cc -E runs the code through the compiler's parser,
5095 # not just through cpp. "Syntax error" is here to catch this case.
5096 cat >conftest.$ac_ext <<_ACEOF
5097 #line $LINENO "configure"
5098 /* confdefs.h. */
5099 _ACEOF
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 #ifdef __STDC__
5104 # include <limits.h>
5105 #else
5106 # include <assert.h>
5107 #endif
5108 Syntax error
5109 _ACEOF
5110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5112 ac_status=$?
5113 grep -v '^ *+' conftest.er1 >conftest.err
5114 rm -f conftest.er1
5115 cat conftest.err >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } >/dev/null; then
5118 if test -s conftest.err; then
5119 ac_cpp_err=$ac_c_preproc_warn_flag
5120 else
5121 ac_cpp_err=
5123 else
5124 ac_cpp_err=yes
5126 if test -z "$ac_cpp_err"; then
5128 else
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.$ac_ext >&5
5132 # Broken: fails on valid input.
5133 continue
5135 rm -f conftest.err conftest.$ac_ext
5137 # OK, works on sane cases. Now check whether non-existent headers
5138 # can be detected and how.
5139 cat >conftest.$ac_ext <<_ACEOF
5140 #line $LINENO "configure"
5141 /* confdefs.h. */
5142 _ACEOF
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 #include <ac_nonexistent.h>
5147 _ACEOF
5148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5150 ac_status=$?
5151 grep -v '^ *+' conftest.er1 >conftest.err
5152 rm -f conftest.er1
5153 cat conftest.err >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } >/dev/null; then
5156 if test -s conftest.err; then
5157 ac_cpp_err=$ac_c_preproc_warn_flag
5158 else
5159 ac_cpp_err=
5161 else
5162 ac_cpp_err=yes
5164 if test -z "$ac_cpp_err"; then
5165 # Broken: success on invalid input.
5166 continue
5167 else
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.$ac_ext >&5
5171 # Passes both tests.
5172 ac_preproc_ok=:
5173 break
5175 rm -f conftest.err conftest.$ac_ext
5177 done
5178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5179 rm -f conftest.err conftest.$ac_ext
5180 if $ac_preproc_ok; then
5181 break
5184 done
5185 ac_cv_prog_CPP=$CPP
5188 CPP=$ac_cv_prog_CPP
5189 else
5190 ac_cv_prog_CPP=$CPP
5192 echo "$as_me:$LINENO: result: $CPP" >&5
5193 echo "${ECHO_T}$CPP" >&6
5194 ac_preproc_ok=false
5195 for ac_c_preproc_warn_flag in '' yes
5197 # Use a header file that comes with gcc, so configuring glibc
5198 # with a fresh cross-compiler works.
5199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5200 # <limits.h> exists even on freestanding compilers.
5201 # On the NeXT, cc -E runs the code through the compiler's parser,
5202 # not just through cpp. "Syntax error" is here to catch this case.
5203 cat >conftest.$ac_ext <<_ACEOF
5204 #line $LINENO "configure"
5205 /* confdefs.h. */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #ifdef __STDC__
5211 # include <limits.h>
5212 #else
5213 # include <assert.h>
5214 #endif
5215 Syntax error
5216 _ACEOF
5217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5219 ac_status=$?
5220 grep -v '^ *+' conftest.er1 >conftest.err
5221 rm -f conftest.er1
5222 cat conftest.err >&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } >/dev/null; then
5225 if test -s conftest.err; then
5226 ac_cpp_err=$ac_c_preproc_warn_flag
5227 else
5228 ac_cpp_err=
5230 else
5231 ac_cpp_err=yes
5233 if test -z "$ac_cpp_err"; then
5235 else
5236 echo "$as_me: failed program was:" >&5
5237 sed 's/^/| /' conftest.$ac_ext >&5
5239 # Broken: fails on valid input.
5240 continue
5242 rm -f conftest.err conftest.$ac_ext
5244 # OK, works on sane cases. Now check whether non-existent headers
5245 # can be detected and how.
5246 cat >conftest.$ac_ext <<_ACEOF
5247 #line $LINENO "configure"
5248 /* confdefs.h. */
5249 _ACEOF
5250 cat confdefs.h >>conftest.$ac_ext
5251 cat >>conftest.$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 #include <ac_nonexistent.h>
5254 _ACEOF
5255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5257 ac_status=$?
5258 grep -v '^ *+' conftest.er1 >conftest.err
5259 rm -f conftest.er1
5260 cat conftest.err >&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } >/dev/null; then
5263 if test -s conftest.err; then
5264 ac_cpp_err=$ac_c_preproc_warn_flag
5265 else
5266 ac_cpp_err=
5268 else
5269 ac_cpp_err=yes
5271 if test -z "$ac_cpp_err"; then
5272 # Broken: success on invalid input.
5273 continue
5274 else
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 # Passes both tests.
5279 ac_preproc_ok=:
5280 break
5282 rm -f conftest.err conftest.$ac_ext
5284 done
5285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5286 rm -f conftest.err conftest.$ac_ext
5287 if $ac_preproc_ok; then
5289 else
5290 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5291 See \`config.log' for more details." >&5
5292 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5293 See \`config.log' for more details." >&2;}
5294 { (exit 1); exit 1; }; }
5297 ac_ext=c
5298 ac_cpp='$CPP $CPPFLAGS'
5299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5304 echo "$as_me:$LINENO: checking for egrep" >&5
5305 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5306 if test "${ac_cv_prog_egrep+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 else
5309 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5310 then ac_cv_prog_egrep='grep -E'
5311 else ac_cv_prog_egrep='egrep'
5314 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5315 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5316 EGREP=$ac_cv_prog_egrep
5319 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5320 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5321 if test "${ac_cv_header_stdc+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
5324 cat >conftest.$ac_ext <<_ACEOF
5325 #line $LINENO "configure"
5326 /* confdefs.h. */
5327 _ACEOF
5328 cat confdefs.h >>conftest.$ac_ext
5329 cat >>conftest.$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5331 #include <stdlib.h>
5332 #include <stdarg.h>
5333 #include <string.h>
5334 #include <float.h>
5337 main ()
5341 return 0;
5343 _ACEOF
5344 rm -f conftest.$ac_objext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 (eval $ac_compile) 2>&5
5347 ac_status=$?
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -s conftest.$ac_objext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 (eval $ac_try) 2>&5
5353 ac_status=$?
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_cv_header_stdc=yes
5357 else
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.$ac_ext >&5
5361 ac_cv_header_stdc=no
5363 rm -f conftest.$ac_objext conftest.$ac_ext
5365 if test $ac_cv_header_stdc = yes; then
5366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5367 cat >conftest.$ac_ext <<_ACEOF
5368 #line $LINENO "configure"
5369 /* confdefs.h. */
5370 _ACEOF
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5374 #include <string.h>
5376 _ACEOF
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378 $EGREP "memchr" >/dev/null 2>&1; then
5380 else
5381 ac_cv_header_stdc=no
5383 rm -f conftest*
5387 if test $ac_cv_header_stdc = yes; then
5388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5389 cat >conftest.$ac_ext <<_ACEOF
5390 #line $LINENO "configure"
5391 /* confdefs.h. */
5392 _ACEOF
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5396 #include <stdlib.h>
5398 _ACEOF
5399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5400 $EGREP "free" >/dev/null 2>&1; then
5402 else
5403 ac_cv_header_stdc=no
5405 rm -f conftest*
5409 if test $ac_cv_header_stdc = yes; then
5410 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5411 if test "$cross_compiling" = yes; then
5413 else
5414 cat >conftest.$ac_ext <<_ACEOF
5415 #line $LINENO "configure"
5416 /* confdefs.h. */
5417 _ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 #include <ctype.h>
5422 #if ((' ' & 0x0FF) == 0x020)
5423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5425 #else
5426 # define ISLOWER(c) \
5427 (('a' <= (c) && (c) <= 'i') \
5428 || ('j' <= (c) && (c) <= 'r') \
5429 || ('s' <= (c) && (c) <= 'z'))
5430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5431 #endif
5433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5435 main ()
5437 int i;
5438 for (i = 0; i < 256; i++)
5439 if (XOR (islower (i), ISLOWER (i))
5440 || toupper (i) != TOUPPER (i))
5441 exit(2);
5442 exit (0);
5444 _ACEOF
5445 rm -f conftest$ac_exeext
5446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5447 (eval $ac_link) 2>&5
5448 ac_status=$?
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 (eval $ac_try) 2>&5
5453 ac_status=$?
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; }; then
5457 else
5458 echo "$as_me: program exited with status $ac_status" >&5
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 ( exit $ac_status )
5463 ac_cv_header_stdc=no
5465 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5470 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5471 if test $ac_cv_header_stdc = yes; then
5473 cat >>confdefs.h <<\_ACEOF
5474 #define STDC_HEADERS 1
5475 _ACEOF
5479 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5489 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5490 inttypes.h stdint.h unistd.h
5492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5493 echo "$as_me:$LINENO: checking for $ac_header" >&5
5494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 else
5498 cat >conftest.$ac_ext <<_ACEOF
5499 #line $LINENO "configure"
5500 /* confdefs.h. */
5501 _ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 $ac_includes_default
5507 #include <$ac_header>
5508 _ACEOF
5509 rm -f conftest.$ac_objext
5510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5511 (eval $ac_compile) 2>&5
5512 ac_status=$?
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } &&
5515 { ac_try='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 (eval $ac_try) 2>&5
5518 ac_status=$?
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 eval "$as_ac_Header=yes"
5522 else
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 eval "$as_ac_Header=no"
5528 rm -f conftest.$ac_objext conftest.$ac_ext
5530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5533 cat >>confdefs.h <<_ACEOF
5534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5535 _ACEOF
5539 done
5543 echo "$as_me:$LINENO: checking for C locale to use" >&5
5544 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5545 # Check whether --enable-clocale or --disable-clocale was given.
5546 if test "${enable_clocale+set}" = set; then
5547 enableval="$enable_clocale"
5549 case "$enableval" in
5550 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5551 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5552 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5553 { (exit 1); exit 1; }; } ;;
5554 esac
5556 else
5557 enable_clocale=auto
5561 # If they didn't use this option switch, or if they specified --enable
5562 # with no specific model, we'll have to look for one. If they
5563 # specified --disable (???), do likewise.
5564 if test $enable_clocale = no || test $enable_clocale = yes; then
5565 enable_clocale=auto
5568 # Either a known package, or "auto"
5569 enable_clocale_flag=$enable_clocale
5571 # Probe for locale support if no specific model is specified.
5572 # Default to "generic".
5573 if test $enable_clocale_flag = auto; then
5574 case x${target_os} in
5575 xlinux* | xgnu*)
5576 cat >conftest.$ac_ext <<_ACEOF
5577 #line $LINENO "configure"
5578 /* confdefs.h. */
5579 _ACEOF
5580 cat confdefs.h >>conftest.$ac_ext
5581 cat >>conftest.$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5584 #include <features.h>
5585 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5586 _GLIBCXX_ok
5587 #endif
5589 _ACEOF
5590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5591 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5592 enable_clocale_flag=gnu
5593 else
5594 enable_clocale_flag=generic
5596 rm -f conftest*
5599 # Test for bugs early in glibc-2.2.x series
5600 if test x$enable_clocale_flag = xgnu; then
5601 if test "$cross_compiling" = yes; then
5602 enable_clocale_flag=generic
5603 else
5604 cat >conftest.$ac_ext <<_ACEOF
5605 #line $LINENO "configure"
5606 /* confdefs.h. */
5607 _ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5612 #define _GNU_SOURCE 1
5613 #include <locale.h>
5614 #include <string.h>
5615 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5616 extern __typeof(newlocale) __newlocale;
5617 extern __typeof(duplocale) __duplocale;
5618 extern __typeof(strcoll_l) __strcoll_l;
5619 #endif
5620 int main()
5622 const char __one[] = "Äuglein Augmen";
5623 const char __two[] = "Äuglein";
5624 int i;
5625 int j;
5626 __locale_t loc;
5627 __locale_t loc_dup;
5628 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5629 loc_dup = __duplocale(loc);
5630 i = __strcoll_l(__one, __two, loc);
5631 j = __strcoll_l(__one, __two, loc_dup);
5632 return 0;
5635 _ACEOF
5636 rm -f conftest$ac_exeext
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>&5
5639 ac_status=$?
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 enable_clocale_flag=gnu
5648 else
5649 echo "$as_me: program exited with status $ac_status" >&5
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5653 ( exit $ac_status )
5654 enable_clocale_flag=generic
5656 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5660 # ... at some point put __strxfrm_l tests in as well.
5663 enable_clocale_flag=generic
5665 esac
5668 # Deal with gettext issues. Default to not using it (=no) until we detect
5669 # support for it later. Let the user turn it off via --e/d, but let that
5670 # default to on for easier handling.
5671 USE_NLS=no
5672 # Check whether --enable-nls or --disable-nls was given.
5673 if test "${enable_nls+set}" = set; then
5674 enableval="$enable_nls"
5676 else
5677 enable_nls=yes
5680 # Set configure bits for specified locale package
5681 case ${enable_clocale_flag} in
5682 generic)
5683 echo "$as_me:$LINENO: result: generic" >&5
5684 echo "${ECHO_T}generic" >&6
5686 CLOCALE_H=config/locale/generic/c_locale.h
5687 CLOCALE_CC=config/locale/generic/c_locale.cc
5688 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5689 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5690 CCOLLATE_CC=config/locale/generic/collate_members.cc
5691 CCTYPE_CC=config/locale/generic/ctype_members.cc
5692 CMESSAGES_H=config/locale/generic/messages_members.h
5693 CMESSAGES_CC=config/locale/generic/messages_members.cc
5694 CMONEY_CC=config/locale/generic/monetary_members.cc
5695 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5696 CTIME_H=config/locale/generic/time_members.h
5697 CTIME_CC=config/locale/generic/time_members.cc
5698 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5700 gnu)
5701 echo "$as_me:$LINENO: result: gnu" >&5
5702 echo "${ECHO_T}gnu" >&6
5704 # Declare intention to use gettext, and add support for specific
5705 # languages.
5706 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5707 ALL_LINGUAS="de fr"
5709 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5710 # Extract the first word of "msgfmt", so it can be a program name with args.
5711 set dummy msgfmt; ac_word=$2
5712 echo "$as_me:$LINENO: checking for $ac_word" >&5
5713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5714 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 if test -n "$check_msgfmt"; then
5718 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_check_msgfmt="yes"
5728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5734 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5737 check_msgfmt=$ac_cv_prog_check_msgfmt
5738 if test -n "$check_msgfmt"; then
5739 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5740 echo "${ECHO_T}$check_msgfmt" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5746 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5747 USE_NLS=yes
5749 # Export the build objects.
5750 for ling in $ALL_LINGUAS; do \
5751 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5752 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5753 done
5757 CLOCALE_H=config/locale/gnu/c_locale.h
5758 CLOCALE_CC=config/locale/gnu/c_locale.cc
5759 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5760 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5761 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5762 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5763 CMESSAGES_H=config/locale/gnu/messages_members.h
5764 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5765 CMONEY_CC=config/locale/gnu/monetary_members.cc
5766 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5767 CTIME_H=config/locale/gnu/time_members.h
5768 CTIME_CC=config/locale/gnu/time_members.cc
5769 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5771 ieee_1003.1-2001)
5772 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5773 echo "${ECHO_T}IEEE 1003.1" >&6
5775 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5776 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5777 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5778 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5779 CCOLLATE_CC=config/locale/generic/collate_members.cc
5780 CCTYPE_CC=config/locale/generic/ctype_members.cc
5781 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5782 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5783 CMONEY_CC=config/locale/generic/monetary_members.cc
5784 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5785 CTIME_H=config/locale/generic/time_members.h
5786 CTIME_CC=config/locale/generic/time_members.cc
5787 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5789 esac
5791 # This is where the testsuite looks for locale catalogs, using the
5792 # -DLOCALEDIR define during testsuite compilation.
5793 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5796 # A standalone libintl (e.g., GNU libintl) may be in use.
5797 if test $USE_NLS = yes; then
5799 for ac_header in libintl.h
5801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5803 echo "$as_me:$LINENO: checking for $ac_header" >&5
5804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5810 else
5811 # Is the header compilable?
5812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5814 cat >conftest.$ac_ext <<_ACEOF
5815 #line $LINENO "configure"
5816 /* confdefs.h. */
5817 _ACEOF
5818 cat confdefs.h >>conftest.$ac_ext
5819 cat >>conftest.$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 $ac_includes_default
5822 #include <$ac_header>
5823 _ACEOF
5824 rm -f conftest.$ac_objext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5826 (eval $ac_compile) 2>&5
5827 ac_status=$?
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try='test -s conftest.$ac_objext'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 (eval $ac_try) 2>&5
5833 ac_status=$?
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 ac_header_compiler=yes
5837 else
5838 echo "$as_me: failed program was:" >&5
5839 sed 's/^/| /' conftest.$ac_ext >&5
5841 ac_header_compiler=no
5843 rm -f conftest.$ac_objext conftest.$ac_ext
5844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5845 echo "${ECHO_T}$ac_header_compiler" >&6
5847 # Is the header present?
5848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5850 cat >conftest.$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5852 /* confdefs.h. */
5853 _ACEOF
5854 cat confdefs.h >>conftest.$ac_ext
5855 cat >>conftest.$ac_ext <<_ACEOF
5856 /* end confdefs.h. */
5857 #include <$ac_header>
5858 _ACEOF
5859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5861 ac_status=$?
5862 grep -v '^ *+' conftest.er1 >conftest.err
5863 rm -f conftest.er1
5864 cat conftest.err >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } >/dev/null; then
5867 if test -s conftest.err; then
5868 ac_cpp_err=$ac_c_preproc_warn_flag
5869 else
5870 ac_cpp_err=
5872 else
5873 ac_cpp_err=yes
5875 if test -z "$ac_cpp_err"; then
5876 ac_header_preproc=yes
5877 else
5878 echo "$as_me: failed program was:" >&5
5879 sed 's/^/| /' conftest.$ac_ext >&5
5881 ac_header_preproc=no
5883 rm -f conftest.err conftest.$ac_ext
5884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5885 echo "${ECHO_T}$ac_header_preproc" >&6
5887 # So? What about this header?
5888 case $ac_header_compiler:$ac_header_preproc in
5889 yes:no )
5890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5895 cat <<\_ASBOX
5896 ## ------------------------------------ ##
5897 ## Report this to bug-autoconf@gnu.org. ##
5898 ## ------------------------------------ ##
5899 _ASBOX
5901 sed "s/^/$as_me: WARNING: /" >&2
5903 no:yes )
5904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5911 cat <<\_ASBOX
5912 ## ------------------------------------ ##
5913 ## Report this to bug-autoconf@gnu.org. ##
5914 ## ------------------------------------ ##
5915 _ASBOX
5917 sed "s/^/$as_me: WARNING: /" >&2
5919 esac
5920 echo "$as_me:$LINENO: checking for $ac_header" >&5
5921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5923 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 else
5925 eval "$as_ac_Header=$ac_header_preproc"
5927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5932 cat >>confdefs.h <<_ACEOF
5933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5934 _ACEOF
5936 else
5937 USE_NLS=no
5940 done
5942 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5943 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5944 if test "${ac_cv_search_gettext+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 else
5947 ac_func_search_save_LIBS=$LIBS
5948 ac_cv_search_gettext=no
5949 if test x$gcc_no_link = xyes; then
5950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5952 { (exit 1); exit 1; }; }
5954 cat >conftest.$ac_ext <<_ACEOF
5955 #line $LINENO "configure"
5956 /* confdefs.h. */
5957 _ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5962 /* Override any gcc2 internal prototype to avoid an error. */
5963 #ifdef __cplusplus
5964 extern "C"
5965 #endif
5966 /* We use char because int might match the return type of a gcc2
5967 builtin and then its argument prototype would still apply. */
5968 char gettext ();
5970 main ()
5972 gettext ();
5974 return 0;
5976 _ACEOF
5977 rm -f conftest.$ac_objext conftest$ac_exeext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5979 (eval $ac_link) 2>&5
5980 ac_status=$?
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try='test -s conftest$ac_exeext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 (eval $ac_try) 2>&5
5986 ac_status=$?
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_search_gettext="none required"
5990 else
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.$ac_ext >&5
5995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5996 if test "$ac_cv_search_gettext" = no; then
5997 for ac_lib in intl; do
5998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5999 if test x$gcc_no_link = xyes; then
6000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6002 { (exit 1); exit 1; }; }
6004 cat >conftest.$ac_ext <<_ACEOF
6005 #line $LINENO "configure"
6006 /* confdefs.h. */
6007 _ACEOF
6008 cat confdefs.h >>conftest.$ac_ext
6009 cat >>conftest.$ac_ext <<_ACEOF
6010 /* end confdefs.h. */
6012 /* Override any gcc2 internal prototype to avoid an error. */
6013 #ifdef __cplusplus
6014 extern "C"
6015 #endif
6016 /* We use char because int might match the return type of a gcc2
6017 builtin and then its argument prototype would still apply. */
6018 char gettext ();
6020 main ()
6022 gettext ();
6024 return 0;
6026 _ACEOF
6027 rm -f conftest.$ac_objext conftest$ac_exeext
6028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6029 (eval $ac_link) 2>&5
6030 ac_status=$?
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try='test -s conftest$ac_exeext'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 (eval $ac_try) 2>&5
6036 ac_status=$?
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 ac_cv_search_gettext="-l$ac_lib"
6040 break
6041 else
6042 echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.$ac_ext >&5
6046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6047 done
6049 LIBS=$ac_func_search_save_LIBS
6051 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6052 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6053 if test "$ac_cv_search_gettext" != no; then
6054 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6056 else
6057 USE_NLS=no
6061 if test $USE_NLS = yes; then
6062 cat >>confdefs.h <<\_ACEOF
6063 #define _GLIBCXX_USE_NLS 1
6064 _ACEOF
6084 # Check whether --enable-cheaders or --disable-cheaders was given.
6085 if test "${enable_cheaders+set}" = set; then
6086 enableval="$enable_cheaders"
6088 case "$enableval" in
6089 c|c_std) ;;
6090 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6091 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6092 { (exit 1); exit 1; }; } ;;
6093 esac
6095 else
6096 enable_cheaders=$c_model
6099 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6100 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6102 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6109 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6110 if test "${enable_c_mbchar+set}" = set; then
6111 enableval="$enable_c_mbchar"
6113 case "$enableval" in
6114 yes|no) ;;
6115 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6116 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6117 { (exit 1); exit 1; }; } ;;
6118 esac
6120 else
6121 enable_c_mbchar=yes
6124 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6128 # Check whether --enable-c99 or --disable-c99 was given.
6129 if test "${enable_c99+set}" = set; then
6130 enableval="$enable_c99"
6132 case "$enableval" in
6133 yes|no) ;;
6134 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6135 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6136 { (exit 1); exit 1; }; } ;;
6137 esac
6139 else
6140 enable_c99=yes
6146 ac_ext=cc
6147 ac_cpp='$CXXCPP $CPPFLAGS'
6148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6153 # Check for the existence of <math.h> functions used if C99 is enabled.
6154 ac_c99_math=yes;
6155 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6156 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6157 cat >conftest.$ac_ext <<_ACEOF
6158 #line $LINENO "configure"
6159 /* confdefs.h. */
6160 _ACEOF
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 #include <math.h>
6166 main ()
6168 fpclassify(0.0);
6170 return 0;
6172 _ACEOF
6173 rm -f conftest.$ac_objext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 (eval $ac_compile) 2>&5
6176 ac_status=$?
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
6179 { ac_try='test -s conftest.$ac_objext'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 (eval $ac_try) 2>&5
6182 ac_status=$?
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6186 else
6187 echo "$as_me: failed program was:" >&5
6188 sed 's/^/| /' conftest.$ac_ext >&5
6190 ac_c99_math=no
6192 rm -f conftest.$ac_objext conftest.$ac_ext
6193 cat >conftest.$ac_ext <<_ACEOF
6194 #line $LINENO "configure"
6195 /* confdefs.h. */
6196 _ACEOF
6197 cat confdefs.h >>conftest.$ac_ext
6198 cat >>conftest.$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6200 #include <math.h>
6202 main ()
6204 isfinite(0.0);
6206 return 0;
6208 _ACEOF
6209 rm -f conftest.$ac_objext
6210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6211 (eval $ac_compile) 2>&5
6212 ac_status=$?
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } &&
6215 { ac_try='test -s conftest.$ac_objext'
6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 (eval $ac_try) 2>&5
6218 ac_status=$?
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then
6222 else
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.$ac_ext >&5
6226 ac_c99_math=no
6228 rm -f conftest.$ac_objext conftest.$ac_ext
6229 cat >conftest.$ac_ext <<_ACEOF
6230 #line $LINENO "configure"
6231 /* confdefs.h. */
6232 _ACEOF
6233 cat confdefs.h >>conftest.$ac_ext
6234 cat >>conftest.$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 #include <math.h>
6238 main ()
6240 isinf(0.0);
6242 return 0;
6244 _ACEOF
6245 rm -f conftest.$ac_objext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247 (eval $ac_compile) 2>&5
6248 ac_status=$?
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try='test -s conftest.$ac_objext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 (eval $ac_try) 2>&5
6254 ac_status=$?
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6258 else
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 ac_c99_math=no
6264 rm -f conftest.$ac_objext conftest.$ac_ext
6265 cat >conftest.$ac_ext <<_ACEOF
6266 #line $LINENO "configure"
6267 /* confdefs.h. */
6268 _ACEOF
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 #include <math.h>
6274 main ()
6276 isnan(0.0);
6278 return 0;
6280 _ACEOF
6281 rm -f conftest.$ac_objext
6282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6283 (eval $ac_compile) 2>&5
6284 ac_status=$?
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } &&
6287 { ac_try='test -s conftest.$ac_objext'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 (eval $ac_try) 2>&5
6290 ac_status=$?
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; }; then
6294 else
6295 echo "$as_me: failed program was:" >&5
6296 sed 's/^/| /' conftest.$ac_ext >&5
6298 ac_c99_math=no
6300 rm -f conftest.$ac_objext conftest.$ac_ext
6301 cat >conftest.$ac_ext <<_ACEOF
6302 #line $LINENO "configure"
6303 /* confdefs.h. */
6304 _ACEOF
6305 cat confdefs.h >>conftest.$ac_ext
6306 cat >>conftest.$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6308 #include <math.h>
6310 main ()
6312 isnormal(0.0);
6314 return 0;
6316 _ACEOF
6317 rm -f conftest.$ac_objext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>&5
6320 ac_status=$?
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } &&
6323 { ac_try='test -s conftest.$ac_objext'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325 (eval $ac_try) 2>&5
6326 ac_status=$?
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; }; then
6330 else
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6334 ac_c99_math=no
6336 rm -f conftest.$ac_objext conftest.$ac_ext
6337 cat >conftest.$ac_ext <<_ACEOF
6338 #line $LINENO "configure"
6339 /* confdefs.h. */
6340 _ACEOF
6341 cat confdefs.h >>conftest.$ac_ext
6342 cat >>conftest.$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 #include <math.h>
6346 main ()
6348 signbit(0.0);
6350 return 0;
6352 _ACEOF
6353 rm -f conftest.$ac_objext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>&5
6356 ac_status=$?
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 (eval $ac_try) 2>&5
6362 ac_status=$?
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6366 else
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6370 ac_c99_math=no
6372 rm -f conftest.$ac_objext conftest.$ac_ext
6373 cat >conftest.$ac_ext <<_ACEOF
6374 #line $LINENO "configure"
6375 /* confdefs.h. */
6376 _ACEOF
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 #include <math.h>
6382 main ()
6384 isgreater(0.0,0.0);
6386 return 0;
6388 _ACEOF
6389 rm -f conftest.$ac_objext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6391 (eval $ac_compile) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6402 else
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6406 ac_c99_math=no
6408 rm -f conftest.$ac_objext conftest.$ac_ext
6409 cat >conftest.$ac_ext <<_ACEOF
6410 #line $LINENO "configure"
6411 /* confdefs.h. */
6412 _ACEOF
6413 cat confdefs.h >>conftest.$ac_ext
6414 cat >>conftest.$ac_ext <<_ACEOF
6415 /* end confdefs.h. */
6416 #include <math.h>
6418 main ()
6420 isgreaterequal(0.0,0.0);
6422 return 0;
6424 _ACEOF
6425 rm -f conftest.$ac_objext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6427 (eval $ac_compile) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_c99_math=no
6444 rm -f conftest.$ac_objext conftest.$ac_ext
6445 cat >conftest.$ac_ext <<_ACEOF
6446 #line $LINENO "configure"
6447 /* confdefs.h. */
6448 _ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 #include <math.h>
6454 main ()
6456 isless(0.0,0.0);
6458 return 0;
6460 _ACEOF
6461 rm -f conftest.$ac_objext
6462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463 (eval $ac_compile) 2>&5
6464 ac_status=$?
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } &&
6467 { ac_try='test -s conftest.$ac_objext'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 (eval $ac_try) 2>&5
6470 ac_status=$?
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; }; then
6474 else
6475 echo "$as_me: failed program was:" >&5
6476 sed 's/^/| /' conftest.$ac_ext >&5
6478 ac_c99_math=no
6480 rm -f conftest.$ac_objext conftest.$ac_ext
6481 cat >conftest.$ac_ext <<_ACEOF
6482 #line $LINENO "configure"
6483 /* confdefs.h. */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 #include <math.h>
6490 main ()
6492 islessequal(0.0,0.0);
6494 return 0;
6496 _ACEOF
6497 rm -f conftest.$ac_objext
6498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6499 (eval $ac_compile) 2>&5
6500 ac_status=$?
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try='test -s conftest.$ac_objext'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 (eval $ac_try) 2>&5
6506 ac_status=$?
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; }; then
6510 else
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.$ac_ext >&5
6514 ac_c99_math=no
6516 rm -f conftest.$ac_objext conftest.$ac_ext
6517 cat >conftest.$ac_ext <<_ACEOF
6518 #line $LINENO "configure"
6519 /* confdefs.h. */
6520 _ACEOF
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6524 #include <math.h>
6526 main ()
6528 islessgreater(0.0,0.0);
6530 return 0;
6532 _ACEOF
6533 rm -f conftest.$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -s conftest.$ac_objext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 (eval $ac_try) 2>&5
6542 ac_status=$?
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 ac_c99_math=no
6552 rm -f conftest.$ac_objext conftest.$ac_ext
6553 cat >conftest.$ac_ext <<_ACEOF
6554 #line $LINENO "configure"
6555 /* confdefs.h. */
6556 _ACEOF
6557 cat confdefs.h >>conftest.$ac_ext
6558 cat >>conftest.$ac_ext <<_ACEOF
6559 /* end confdefs.h. */
6560 #include <math.h>
6562 main ()
6564 isunordered(0.0,0.0);
6566 return 0;
6568 _ACEOF
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571 (eval $ac_compile) 2>&5
6572 ac_status=$?
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try='test -s conftest.$ac_objext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 (eval $ac_try) 2>&5
6578 ac_status=$?
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6582 else
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6586 ac_c99_math=no
6588 rm -f conftest.$ac_objext conftest.$ac_ext
6589 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6590 echo "${ECHO_T}$ac_c99_math" >&6
6592 # Check for the existence in <stdio.h> of vscanf, et. al.
6593 ac_c99_stdio=yes;
6594 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6595 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6596 cat >conftest.$ac_ext <<_ACEOF
6597 #line $LINENO "configure"
6598 /* confdefs.h. */
6599 _ACEOF
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6603 #include <stdio.h>
6605 main ()
6607 snprintf("12", 0, "%i");
6609 return 0;
6611 _ACEOF
6612 rm -f conftest.$ac_objext
6613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6614 (eval $ac_compile) 2>&5
6615 ac_status=$?
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } &&
6618 { ac_try='test -s conftest.$ac_objext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 (eval $ac_try) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6625 else
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_c99_stdio=no
6631 rm -f conftest.$ac_objext conftest.$ac_ext
6632 cat >conftest.$ac_ext <<_ACEOF
6633 #line $LINENO "configure"
6634 /* confdefs.h. */
6635 _ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6639 #include <stdio.h>
6640 #include <stdarg.h>
6641 void foo(char* fmt, ...)
6642 {va_list args; va_start(args, fmt);
6643 vfscanf(stderr, "%i", args);}
6645 main ()
6649 return 0;
6651 _ACEOF
6652 rm -f conftest.$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 (eval $ac_compile) 2>&5
6655 ac_status=$?
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } &&
6658 { ac_try='test -s conftest.$ac_objext'
6659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 (eval $ac_try) 2>&5
6661 ac_status=$?
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); }; }; then
6665 else
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6669 ac_c99_stdio=no
6671 rm -f conftest.$ac_objext conftest.$ac_ext
6672 cat >conftest.$ac_ext <<_ACEOF
6673 #line $LINENO "configure"
6674 /* confdefs.h. */
6675 _ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6679 #include <stdio.h>
6680 #include <stdarg.h>
6681 void foo(char* fmt, ...)
6682 {va_list args; va_start(args, fmt);
6683 vscanf("%i", args);}
6685 main ()
6689 return 0;
6691 _ACEOF
6692 rm -f conftest.$ac_objext
6693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6694 (eval $ac_compile) 2>&5
6695 ac_status=$?
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try='test -s conftest.$ac_objext'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 (eval $ac_try) 2>&5
6701 ac_status=$?
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6705 else
6706 echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6709 ac_c99_stdio=no
6711 rm -f conftest.$ac_objext conftest.$ac_ext
6712 cat >conftest.$ac_ext <<_ACEOF
6713 #line $LINENO "configure"
6714 /* confdefs.h. */
6715 _ACEOF
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 #include <stdio.h>
6720 #include <stdarg.h>
6721 void foo(char* fmt, ...)
6722 {va_list args; va_start(args, fmt);
6723 vsnprintf(fmt, 0, "%i", args);}
6725 main ()
6729 return 0;
6731 _ACEOF
6732 rm -f conftest.$ac_objext
6733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6734 (eval $ac_compile) 2>&5
6735 ac_status=$?
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try='test -s conftest.$ac_objext'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 (eval $ac_try) 2>&5
6741 ac_status=$?
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; }; then
6745 else
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6749 ac_c99_stdio=no
6751 rm -f conftest.$ac_objext conftest.$ac_ext
6752 cat >conftest.$ac_ext <<_ACEOF
6753 #line $LINENO "configure"
6754 /* confdefs.h. */
6755 _ACEOF
6756 cat confdefs.h >>conftest.$ac_ext
6757 cat >>conftest.$ac_ext <<_ACEOF
6758 /* end confdefs.h. */
6759 #include <stdio.h>
6760 #include <stdarg.h>
6761 void foo(char* fmt, ...)
6762 {va_list args; va_start(args, fmt);
6763 vsscanf(fmt, "%i", args);}
6765 main ()
6769 return 0;
6771 _ACEOF
6772 rm -f conftest.$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>&5
6775 ac_status=$?
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } &&
6778 { ac_try='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6785 else
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.$ac_ext >&5
6789 ac_c99_stdio=no
6791 rm -f conftest.$ac_objext conftest.$ac_ext
6792 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6793 echo "${ECHO_T}$ac_c99_stdio" >&6
6795 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6796 ac_c99_stdlib=yes;
6797 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6798 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6799 if test "${ac_c99_lldiv_t+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6803 cat >conftest.$ac_ext <<_ACEOF
6804 #line $LINENO "configure"
6805 /* confdefs.h. */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 #include <stdlib.h>
6812 main ()
6814 lldiv_t mydivt;
6816 return 0;
6818 _ACEOF
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>&5
6822 ac_status=$?
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } &&
6825 { ac_try='test -s conftest.$ac_objext'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 (eval $ac_try) 2>&5
6828 ac_status=$?
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; }; then
6831 ac_c99_lldiv_t=yes
6832 else
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6836 ac_c99_lldiv_t=no
6838 rm -f conftest.$ac_objext conftest.$ac_ext
6842 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6843 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6845 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6846 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6847 cat >conftest.$ac_ext <<_ACEOF
6848 #line $LINENO "configure"
6849 /* confdefs.h. */
6850 _ACEOF
6851 cat confdefs.h >>conftest.$ac_ext
6852 cat >>conftest.$ac_ext <<_ACEOF
6853 /* end confdefs.h. */
6854 #include <stdlib.h>
6856 main ()
6858 char* tmp; strtof("gnu", &tmp);
6860 return 0;
6862 _ACEOF
6863 rm -f conftest.$ac_objext
6864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6865 (eval $ac_compile) 2>&5
6866 ac_status=$?
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } &&
6869 { ac_try='test -s conftest.$ac_objext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 (eval $ac_try) 2>&5
6872 ac_status=$?
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6876 else
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6880 ac_c99_stdlib=no
6882 rm -f conftest.$ac_objext conftest.$ac_ext
6883 cat >conftest.$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6885 /* confdefs.h. */
6886 _ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6890 #include <stdlib.h>
6892 main ()
6894 char* tmp; strtold("gnu", &tmp);
6896 return 0;
6898 _ACEOF
6899 rm -f conftest.$ac_objext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>&5
6902 ac_status=$?
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try='test -s conftest.$ac_objext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 (eval $ac_try) 2>&5
6908 ac_status=$?
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6912 else
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.$ac_ext >&5
6916 ac_c99_stdlib=no
6918 rm -f conftest.$ac_objext conftest.$ac_ext
6919 cat >conftest.$ac_ext <<_ACEOF
6920 #line $LINENO "configure"
6921 /* confdefs.h. */
6922 _ACEOF
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6926 #include <stdlib.h>
6928 main ()
6930 llabs(10);
6932 return 0;
6934 _ACEOF
6935 rm -f conftest.$ac_objext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6937 (eval $ac_compile) 2>&5
6938 ac_status=$?
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -s conftest.$ac_objext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 (eval $ac_try) 2>&5
6944 ac_status=$?
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6948 else
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6952 ac_c99_stdlib=no
6954 rm -f conftest.$ac_objext conftest.$ac_ext
6955 cat >conftest.$ac_ext <<_ACEOF
6956 #line $LINENO "configure"
6957 /* confdefs.h. */
6958 _ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 #include <stdlib.h>
6964 main ()
6966 lldiv(10,1);
6968 return 0;
6970 _ACEOF
6971 rm -f conftest.$ac_objext
6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 (eval $ac_compile) 2>&5
6974 ac_status=$?
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try='test -s conftest.$ac_objext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 (eval $ac_try) 2>&5
6980 ac_status=$?
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6984 else
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6988 ac_c99_stdlib=no
6990 rm -f conftest.$ac_objext conftest.$ac_ext
6991 cat >conftest.$ac_ext <<_ACEOF
6992 #line $LINENO "configure"
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <stdlib.h>
7000 main ()
7002 atoll("10");
7004 return 0;
7006 _ACEOF
7007 rm -f conftest.$ac_objext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7009 (eval $ac_compile) 2>&5
7010 ac_status=$?
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 (eval $ac_try) 2>&5
7016 ac_status=$?
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7020 else
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.$ac_ext >&5
7024 ac_c99_stdlib=no
7026 rm -f conftest.$ac_objext conftest.$ac_ext
7027 cat >conftest.$ac_ext <<_ACEOF
7028 #line $LINENO "configure"
7029 /* confdefs.h. */
7030 _ACEOF
7031 cat confdefs.h >>conftest.$ac_ext
7032 cat >>conftest.$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7034 #include <stdlib.h>
7036 main ()
7038 _Exit(0);
7040 return 0;
7042 _ACEOF
7043 rm -f conftest.$ac_objext
7044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try='test -s conftest.$ac_objext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 (eval $ac_try) 2>&5
7052 ac_status=$?
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7056 else
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7060 ac_c99_stdlib=no
7062 rm -f conftest.$ac_objext conftest.$ac_ext
7063 if test x"$ac_c99_lldiv_t" = x"no"; then
7064 ac_c99_stdlib=no;
7066 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7067 echo "${ECHO_T}$ac_c99_stdlib" >&6
7069 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7070 # XXX the wchar.h checks should be rolled into the general C99 bits.
7071 ac_c99_wchar=yes;
7072 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7073 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7074 cat >conftest.$ac_ext <<_ACEOF
7075 #line $LINENO "configure"
7076 /* confdefs.h. */
7077 _ACEOF
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h. */
7081 #include <wchar.h>
7083 main ()
7085 wcstold(L"10.0", NULL);
7087 return 0;
7089 _ACEOF
7090 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7092 (eval $ac_compile) 2>&5
7093 ac_status=$?
7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); } &&
7096 { ac_try='test -s conftest.$ac_objext'
7097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 (eval $ac_try) 2>&5
7099 ac_status=$?
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); }; }; then
7103 else
7104 echo "$as_me: failed program was:" >&5
7105 sed 's/^/| /' conftest.$ac_ext >&5
7107 ac_c99_wchar=no
7109 rm -f conftest.$ac_objext conftest.$ac_ext
7110 cat >conftest.$ac_ext <<_ACEOF
7111 #line $LINENO "configure"
7112 /* confdefs.h. */
7113 _ACEOF
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <wchar.h>
7119 main ()
7121 wcstoll(L"10", NULL, 10);
7123 return 0;
7125 _ACEOF
7126 rm -f conftest.$ac_objext
7127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7128 (eval $ac_compile) 2>&5
7129 ac_status=$?
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try='test -s conftest.$ac_objext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 (eval $ac_try) 2>&5
7135 ac_status=$?
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7139 else
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7143 ac_c99_wchar=no
7145 rm -f conftest.$ac_objext conftest.$ac_ext
7146 cat >conftest.$ac_ext <<_ACEOF
7147 #line $LINENO "configure"
7148 /* confdefs.h. */
7149 _ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <wchar.h>
7155 main ()
7157 wcstoull(L"10", NULL, 10);
7159 return 0;
7161 _ACEOF
7162 rm -f conftest.$ac_objext
7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7164 (eval $ac_compile) 2>&5
7165 ac_status=$?
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } &&
7168 { ac_try='test -s conftest.$ac_objext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 (eval $ac_try) 2>&5
7171 ac_status=$?
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7175 else
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.$ac_ext >&5
7179 ac_c99_wchar=no
7181 rm -f conftest.$ac_objext conftest.$ac_ext
7182 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7183 echo "${ECHO_T}$ac_c99_wchar" >&6
7185 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7186 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7187 if test x"$ac_c99_math" = x"no" ||
7188 test x"$ac_c99_stdio" = x"no" ||
7189 test x"$ac_c99_stdlib" = x"no" ||
7190 test x"$ac_c99_wchar" = x"no"; then
7191 enable_c99=no;
7193 echo "$as_me:$LINENO: result: $enable_c99" >&5
7194 echo "${ECHO_T}$enable_c99" >&6
7196 # Option parsed, now set things appropriately
7197 if test x"$enable_c99" = x"yes"; then
7198 cat >>confdefs.h <<\_ACEOF
7199 #define _GLIBCXX_USE_C99 1
7200 _ACEOF
7204 ac_ext=c
7205 ac_cpp='$CPP $CPPFLAGS'
7206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 # Check whether --enable-long-long or --disable-long-long was given.
7213 if test "${enable_long_long+set}" = set; then
7214 enableval="$enable_long_long"
7216 case "$enableval" in
7217 yes|no) ;;
7218 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7219 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7220 { (exit 1); exit 1; }; } ;;
7221 esac
7223 else
7224 enable_long_long=yes
7230 ac_ext=cc
7231 ac_cpp='$CXXCPP $CPPFLAGS'
7232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7237 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7238 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7239 # iostreams require strtoll, strtoull to compile
7240 cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7242 /* confdefs.h. */
7243 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 #include <stdlib.h>
7249 main ()
7251 char* tmp; strtoll("gnu", &tmp, 10);
7253 return 0;
7255 _ACEOF
7256 rm -f conftest.$ac_objext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7258 (eval $ac_compile) 2>&5
7259 ac_status=$?
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } &&
7262 { ac_try='test -s conftest.$ac_objext'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264 (eval $ac_try) 2>&5
7265 ac_status=$?
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; }; then
7269 else
7270 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.$ac_ext >&5
7273 enable_long_long=no
7275 rm -f conftest.$ac_objext conftest.$ac_ext
7276 cat >conftest.$ac_ext <<_ACEOF
7277 #line $LINENO "configure"
7278 /* confdefs.h. */
7279 _ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <stdlib.h>
7285 main ()
7287 char* tmp; strtoull("gnu", &tmp, 10);
7289 return 0;
7291 _ACEOF
7292 rm -f conftest.$ac_objext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294 (eval $ac_compile) 2>&5
7295 ac_status=$?
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 (eval $ac_try) 2>&5
7301 ac_status=$?
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7305 else
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.$ac_ext >&5
7309 enable_long_long=no
7311 rm -f conftest.$ac_objext conftest.$ac_ext
7313 # Option parsed, now set things appropriately
7314 if test $enable_long_long = yes; then
7315 cat >>confdefs.h <<\_ACEOF
7316 #define _GLIBCXX_USE_LONG_LONG 1
7317 _ACEOF
7320 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7321 echo "${ECHO_T}$enable_long_long" >&6
7323 ac_ext=c
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7331 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7332 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7333 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7334 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7335 echo "${ECHO_T}$target_thread_file" >&6
7337 if test $target_thread_file != single; then
7338 cat >>confdefs.h <<\_ACEOF
7339 #define HAVE_GTHR_DEFAULT 1
7340 _ACEOF
7342 cat >>confdefs.h <<\_ACEOF
7343 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7344 _ACEOF
7348 glibcxx_thread_h=gthr-$target_thread_file.h
7352 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7353 if test "${enable_concept_checks+set}" = set; then
7354 enableval="$enable_concept_checks"
7356 case "$enableval" in
7357 yes|no) ;;
7358 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7359 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7360 { (exit 1); exit 1; }; } ;;
7361 esac
7363 else
7364 enable_concept_checks=no
7367 if test $enable_concept_checks = yes; then
7368 cat >>confdefs.h <<\_ACEOF
7369 #define _GLIBCXX_CONCEPT_CHECKS 1
7370 _ACEOF
7375 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7376 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7377 enableval="$enable_libstdcxx_debug_flags"
7378 case "x$enable_libstdcxx_debug_flags" in
7379 xno | x) enable_libstdcxx_debug_flags= ;;
7380 x-*) ;;
7381 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7382 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7383 { (exit 1); exit 1; }; } ;;
7384 esac
7385 else
7386 enable_libstdcxx_debug_flags="-g3 -O0"
7390 # Option parsed, now set things appropriately
7391 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7394 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7395 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7398 echo "$as_me:$LINENO: checking for additional debug build" >&5
7399 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7400 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7401 if test "${enable_libstdcxx_debug+set}" = set; then
7402 enableval="$enable_libstdcxx_debug"
7404 case "$enableval" in
7405 yes|no) ;;
7406 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7407 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7408 { (exit 1); exit 1; }; } ;;
7409 esac
7411 else
7412 enable_libstdcxx_debug=no
7415 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7416 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7419 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7420 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7421 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7422 if test "${enable_cxx_flags+set}" = set; then
7423 enableval="$enable_cxx_flags"
7424 case "x$enable_cxx_flags" in
7425 xno | x) enable_cxx_flags= ;;
7426 x-*) ;;
7427 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7428 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7429 { (exit 1); exit 1; }; } ;;
7430 esac
7431 else
7432 enable_cxx_flags=
7436 # Run through flags (either default or command-line) and set anything
7437 # extra (e.g., #defines) that must accompany particular g++ options.
7438 if test -n "$enable_cxx_flags"; then
7439 for f in $enable_cxx_flags; do
7440 case "$f" in
7441 -fhonor-std) ;;
7442 -*) ;;
7443 *) # and we're trying to pass /what/ exactly?
7444 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7445 echo "$as_me: error: compiler flags start with a -" >&2;}
7446 { (exit 1); exit 1; }; } ;;
7447 esac
7448 done
7451 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7452 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7453 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7457 # No surprises, no surprises...
7458 if test $atomicity_include_dir = cpu/generic ; then
7459 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7460 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7461 if test $target_thread_file = single; then
7462 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7463 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7464 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7465 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7466 else
7467 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7468 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7469 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7470 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7475 if $GLIBCXX_IS_NATIVE; then
7477 # We can do more elaborate tests that assume a working linker.
7478 CANADIAN=no
7480 # Check for available headers.
7494 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7495 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7496 sys/types.h
7498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7500 echo "$as_me:$LINENO: checking for $ac_header" >&5
7501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7507 else
7508 # Is the header compilable?
7509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7511 cat >conftest.$ac_ext <<_ACEOF
7512 #line $LINENO "configure"
7513 /* confdefs.h. */
7514 _ACEOF
7515 cat confdefs.h >>conftest.$ac_ext
7516 cat >>conftest.$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7518 $ac_includes_default
7519 #include <$ac_header>
7520 _ACEOF
7521 rm -f conftest.$ac_objext
7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7523 (eval $ac_compile) 2>&5
7524 ac_status=$?
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 (eval $ac_try) 2>&5
7530 ac_status=$?
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_header_compiler=yes
7534 else
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_header_compiler=no
7540 rm -f conftest.$ac_objext conftest.$ac_ext
7541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7542 echo "${ECHO_T}$ac_header_compiler" >&6
7544 # Is the header present?
7545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7547 cat >conftest.$ac_ext <<_ACEOF
7548 #line $LINENO "configure"
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <$ac_header>
7555 _ACEOF
7556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7558 ac_status=$?
7559 grep -v '^ *+' conftest.er1 >conftest.err
7560 rm -f conftest.er1
7561 cat conftest.err >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } >/dev/null; then
7564 if test -s conftest.err; then
7565 ac_cpp_err=$ac_c_preproc_warn_flag
7566 else
7567 ac_cpp_err=
7569 else
7570 ac_cpp_err=yes
7572 if test -z "$ac_cpp_err"; then
7573 ac_header_preproc=yes
7574 else
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7578 ac_header_preproc=no
7580 rm -f conftest.err conftest.$ac_ext
7581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7582 echo "${ECHO_T}$ac_header_preproc" >&6
7584 # So? What about this header?
7585 case $ac_header_compiler:$ac_header_preproc in
7586 yes:no )
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7592 cat <<\_ASBOX
7593 ## ------------------------------------ ##
7594 ## Report this to bug-autoconf@gnu.org. ##
7595 ## ------------------------------------ ##
7596 _ASBOX
7598 sed "s/^/$as_me: WARNING: /" >&2
7600 no:yes )
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7608 cat <<\_ASBOX
7609 ## ------------------------------------ ##
7610 ## Report this to bug-autoconf@gnu.org. ##
7611 ## ------------------------------------ ##
7612 _ASBOX
7614 sed "s/^/$as_me: WARNING: /" >&2
7616 esac
7617 echo "$as_me:$LINENO: checking for $ac_header" >&5
7618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 else
7622 eval "$as_ac_Header=$ac_header_preproc"
7624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7629 cat >>confdefs.h <<_ACEOF
7630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7631 _ACEOF
7635 done
7639 # All these tests are for C++; save the language and the compiler flags.
7640 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7641 # found in GLIBCXX_CONFIGURE.
7644 ac_ext=cc
7645 ac_cpp='$CXXCPP $CPPFLAGS'
7646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7651 ac_save_CXXFLAGS="$CXXFLAGS"
7653 # Check for maintainer-mode bits.
7654 if test x"$USE_MAINTAINER_MODE" = xno; then
7655 WERROR=''
7656 else
7657 WERROR='-Werror'
7660 # Check for -ffunction-sections -fdata-sections
7661 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7662 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7663 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7664 cat >conftest.$ac_ext <<_ACEOF
7665 #line $LINENO "configure"
7666 /* confdefs.h. */
7667 _ACEOF
7668 cat confdefs.h >>conftest.$ac_ext
7669 cat >>conftest.$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7673 main ()
7675 int foo;
7677 return 0;
7679 _ACEOF
7680 rm -f conftest.$ac_objext
7681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682 (eval $ac_compile) 2>&5
7683 ac_status=$?
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } &&
7686 { ac_try='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 (eval $ac_try) 2>&5
7689 ac_status=$?
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7692 ac_fdsections=yes
7693 else
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.$ac_ext >&5
7697 ac_fdsections=no
7699 rm -f conftest.$ac_objext conftest.$ac_ext
7700 if test "$ac_test_CXXFLAGS" = set; then
7701 CXXFLAGS="$ac_save_CXXFLAGS"
7702 else
7703 # this is the suspicious part
7704 CXXFLAGS=''
7706 if test x"$ac_fdsections" = x"yes"; then
7707 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7709 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7710 echo "${ECHO_T}$ac_fdsections" >&6
7712 ac_ext=c
7713 ac_cpp='$CPP $CPPFLAGS'
7714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7722 # If we're not using GNU ld, then there's no point in even trying these
7723 # tests. Check for that first. We should have already tested for gld
7724 # by now (in libtool), but require it now just to be safe...
7725 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7726 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7730 # The name set by libtool depends on the version of libtool. Shame on us
7731 # for depending on an impl detail, but c'est la vie. Older versions used
7732 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7733 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7734 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7735 # set (hence we're using an older libtool), then set it.
7736 if test x${with_gnu_ld+set} != xset; then
7737 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7738 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7739 with_gnu_ld=no
7740 else
7741 with_gnu_ld=$ac_cv_prog_gnu_ld
7745 # Start by getting the version number. I think the libtool test already
7746 # does some of this, but throws away the result.
7748 ldver=`$LD --version 2>/dev/null | head -1 | \
7749 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7751 glibcxx_gnu_ld_version=`echo $ldver | \
7752 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7754 # Set --gc-sections.
7755 if test "$with_gnu_ld" = "notbroken"; then
7756 # GNU ld it is! Joy and bunny rabbits!
7758 # All these tests are for C++; save the language and the compiler flags.
7759 # Need to do this so that g++ won't try to link in libstdc++
7760 ac_test_CFLAGS="${CFLAGS+set}"
7761 ac_save_CFLAGS="$CFLAGS"
7762 CFLAGS='-x c++ -Wl,--gc-sections'
7764 # Check for -Wl,--gc-sections
7765 # XXX This test is broken at the moment, as symbols required for linking
7766 # are now in libsupc++ (not built yet). In addition, this test has
7767 # cored on solaris in the past. In addition, --gc-sections doesn't
7768 # really work at the moment (keeps on discarding used sections, first
7769 # .eh_frame and now some of the glibc sections for iconv).
7770 # Bzzzzt. Thanks for playing, maybe next time.
7771 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7772 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7773 if test "$cross_compiling" = yes; then
7774 ac_sectionLDflags=yes
7775 else
7776 cat >conftest.$ac_ext <<_ACEOF
7777 #line $LINENO "configure"
7778 /* confdefs.h. */
7779 _ACEOF
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 int main(void)
7786 try { throw 1; }
7787 catch (...) { };
7788 return 0;
7791 _ACEOF
7792 rm -f conftest$ac_exeext
7793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7794 (eval $ac_link) 2>&5
7795 ac_status=$?
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7799 (eval $ac_try) 2>&5
7800 ac_status=$?
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; }; then
7803 ac_sectionLDflags=yes
7804 else
7805 echo "$as_me: program exited with status $ac_status" >&5
7806 echo "$as_me: failed program was:" >&5
7807 sed 's/^/| /' conftest.$ac_ext >&5
7809 ( exit $ac_status )
7810 ac_sectionLDflags=no
7812 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7814 if test "$ac_test_CFLAGS" = set; then
7815 CFLAGS="$ac_save_CFLAGS"
7816 else
7817 # this is the suspicious part
7818 CFLAGS=''
7820 if test "$ac_sectionLDflags" = "yes"; then
7821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7823 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7824 echo "${ECHO_T}$ac_sectionLDflags" >&6
7827 # Set linker optimization flags.
7828 if test x"$with_gnu_ld" = x"yes"; then
7829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7837 ac_save_CXXFLAGS="$CXXFLAGS"
7838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7840 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7841 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7842 if test "${ac_cv_lib_m_sin+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 ac_check_lib_save_LIBS=$LIBS
7846 LIBS="-lm $LIBS"
7847 if test x$gcc_no_link = xyes; then
7848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7850 { (exit 1); exit 1; }; }
7852 cat >conftest.$ac_ext <<_ACEOF
7853 #line $LINENO "configure"
7854 /* confdefs.h. */
7855 _ACEOF
7856 cat confdefs.h >>conftest.$ac_ext
7857 cat >>conftest.$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7860 /* Override any gcc2 internal prototype to avoid an error. */
7861 #ifdef __cplusplus
7862 extern "C"
7863 #endif
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7866 char sin ();
7868 main ()
7870 sin ();
7872 return 0;
7874 _ACEOF
7875 rm -f conftest.$ac_objext conftest$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>&5
7878 ac_status=$?
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } &&
7881 { ac_try='test -s conftest$ac_exeext'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 (eval $ac_try) 2>&5
7884 ac_status=$?
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7887 ac_cv_lib_m_sin=yes
7888 else
7889 echo "$as_me: failed program was:" >&5
7890 sed 's/^/| /' conftest.$ac_ext >&5
7892 ac_cv_lib_m_sin=no
7894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7895 LIBS=$ac_check_lib_save_LIBS
7897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7898 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7899 if test $ac_cv_lib_m_sin = yes; then
7900 libm="-lm"
7903 ac_save_LIBS="$LIBS"
7904 LIBS="$LIBS $libm"
7908 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7909 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7910 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7911 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 else
7917 ac_ext=cc
7918 ac_cpp='$CXXCPP $CPPFLAGS'
7919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7923 cat >conftest.$ac_ext <<_ACEOF
7924 #line $LINENO "configure"
7925 /* confdefs.h. */
7926 _ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7930 #include <math.h>
7931 #ifdef HAVE_IEEEFP_H
7932 #include <ieeefp.h>
7933 #endif
7936 main ()
7938 isinf(0);
7940 return 0;
7942 _ACEOF
7943 rm -f conftest.$ac_objext
7944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7945 (eval $ac_compile) 2>&5
7946 ac_status=$?
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } &&
7949 { ac_try='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 (eval $ac_try) 2>&5
7952 ac_status=$?
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 glibcxx_cv_func_isinf_use=yes
7956 else
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7960 glibcxx_cv_func_isinf_use=no
7962 rm -f conftest.$ac_objext conftest.$ac_ext
7963 ac_ext=c
7964 ac_cpp='$CPP $CPPFLAGS'
7965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7974 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7976 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7978 for ac_func in isinf
7980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7981 echo "$as_me:$LINENO: checking for $ac_func" >&5
7982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7983 if eval "test \"\${$as_ac_var+set}\" = set"; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7985 else
7986 if test x$gcc_no_link = xyes; then
7987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7989 { (exit 1); exit 1; }; }
7991 cat >conftest.$ac_ext <<_ACEOF
7992 #line $LINENO "configure"
7993 /* confdefs.h. */
7994 _ACEOF
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 /* System header to define __stub macros and hopefully few prototypes,
7999 which can conflict with char $ac_func (); below.
8000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8001 <limits.h> exists even on freestanding compilers. */
8002 #ifdef __STDC__
8003 # include <limits.h>
8004 #else
8005 # include <assert.h>
8006 #endif
8007 /* Override any gcc2 internal prototype to avoid an error. */
8008 #ifdef __cplusplus
8009 extern "C"
8011 #endif
8012 /* We use char because int might match the return type of a gcc2
8013 builtin and then its argument prototype would still apply. */
8014 char $ac_func ();
8015 /* The GNU C library defines this for functions which it implements
8016 to always fail with ENOSYS. Some functions are actually named
8017 something starting with __ and the normal name is an alias. */
8018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8019 choke me
8020 #else
8021 char (*f) () = $ac_func;
8022 #endif
8023 #ifdef __cplusplus
8025 #endif
8028 main ()
8030 return f != $ac_func;
8032 return 0;
8034 _ACEOF
8035 rm -f conftest.$ac_objext conftest$ac_exeext
8036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8037 (eval $ac_link) 2>&5
8038 ac_status=$?
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try='test -s conftest$ac_exeext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 (eval $ac_try) 2>&5
8044 ac_status=$?
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8047 eval "$as_ac_var=yes"
8048 else
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 eval "$as_ac_var=no"
8054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8058 if test `eval echo '${'$as_ac_var'}'` = yes; then
8059 cat >>confdefs.h <<_ACEOF
8060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8061 _ACEOF
8064 done
8066 else
8068 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8069 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8070 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8071 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 else
8077 ac_ext=cc
8078 ac_cpp='$CXXCPP $CPPFLAGS'
8079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8083 cat >conftest.$ac_ext <<_ACEOF
8084 #line $LINENO "configure"
8085 /* confdefs.h. */
8086 _ACEOF
8087 cat confdefs.h >>conftest.$ac_ext
8088 cat >>conftest.$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8090 #include <math.h>
8091 #ifdef HAVE_IEEEFP_H
8092 #include <ieeefp.h>
8093 #endif
8096 main ()
8098 _isinf(0);
8100 return 0;
8102 _ACEOF
8103 rm -f conftest.$ac_objext
8104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8105 (eval $ac_compile) 2>&5
8106 ac_status=$?
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try='test -s conftest.$ac_objext'
8110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 (eval $ac_try) 2>&5
8112 ac_status=$?
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); }; }; then
8115 glibcxx_cv_func__isinf_use=yes
8116 else
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.$ac_ext >&5
8120 glibcxx_cv_func__isinf_use=no
8122 rm -f conftest.$ac_objext conftest.$ac_ext
8123 ac_ext=c
8124 ac_cpp='$CPP $CPPFLAGS'
8125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8134 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8136 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8138 for ac_func in _isinf
8140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8141 echo "$as_me:$LINENO: checking for $ac_func" >&5
8142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8143 if eval "test \"\${$as_ac_var+set}\" = set"; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 else
8146 if test x$gcc_no_link = xyes; then
8147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8149 { (exit 1); exit 1; }; }
8151 cat >conftest.$ac_ext <<_ACEOF
8152 #line $LINENO "configure"
8153 /* confdefs.h. */
8154 _ACEOF
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 /* System header to define __stub macros and hopefully few prototypes,
8159 which can conflict with char $ac_func (); below.
8160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8161 <limits.h> exists even on freestanding compilers. */
8162 #ifdef __STDC__
8163 # include <limits.h>
8164 #else
8165 # include <assert.h>
8166 #endif
8167 /* Override any gcc2 internal prototype to avoid an error. */
8168 #ifdef __cplusplus
8169 extern "C"
8171 #endif
8172 /* We use char because int might match the return type of a gcc2
8173 builtin and then its argument prototype would still apply. */
8174 char $ac_func ();
8175 /* The GNU C library defines this for functions which it implements
8176 to always fail with ENOSYS. Some functions are actually named
8177 something starting with __ and the normal name is an alias. */
8178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8179 choke me
8180 #else
8181 char (*f) () = $ac_func;
8182 #endif
8183 #ifdef __cplusplus
8185 #endif
8188 main ()
8190 return f != $ac_func;
8192 return 0;
8194 _ACEOF
8195 rm -f conftest.$ac_objext conftest$ac_exeext
8196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8197 (eval $ac_link) 2>&5
8198 ac_status=$?
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
8201 { ac_try='test -s conftest$ac_exeext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 (eval $ac_try) 2>&5
8204 ac_status=$?
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 eval "$as_ac_var=yes"
8208 else
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 eval "$as_ac_var=no"
8214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8218 if test `eval echo '${'$as_ac_var'}'` = yes; then
8219 cat >>confdefs.h <<_ACEOF
8220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8221 _ACEOF
8224 done
8231 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8232 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8233 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8234 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else
8240 ac_ext=cc
8241 ac_cpp='$CXXCPP $CPPFLAGS'
8242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8246 cat >conftest.$ac_ext <<_ACEOF
8247 #line $LINENO "configure"
8248 /* confdefs.h. */
8249 _ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8253 #include <math.h>
8254 #ifdef HAVE_IEEEFP_H
8255 #include <ieeefp.h>
8256 #endif
8259 main ()
8261 isnan(0);
8263 return 0;
8265 _ACEOF
8266 rm -f conftest.$ac_objext
8267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8268 (eval $ac_compile) 2>&5
8269 ac_status=$?
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try='test -s conftest.$ac_objext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 (eval $ac_try) 2>&5
8275 ac_status=$?
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 glibcxx_cv_func_isnan_use=yes
8279 else
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 glibcxx_cv_func_isnan_use=no
8285 rm -f conftest.$ac_objext conftest.$ac_ext
8286 ac_ext=c
8287 ac_cpp='$CPP $CPPFLAGS'
8288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8297 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8299 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8301 for ac_func in isnan
8303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8304 echo "$as_me:$LINENO: checking for $ac_func" >&5
8305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8306 if eval "test \"\${$as_ac_var+set}\" = set"; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 else
8309 if test x$gcc_no_link = xyes; then
8310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8312 { (exit 1); exit 1; }; }
8314 cat >conftest.$ac_ext <<_ACEOF
8315 #line $LINENO "configure"
8316 /* confdefs.h. */
8317 _ACEOF
8318 cat confdefs.h >>conftest.$ac_ext
8319 cat >>conftest.$ac_ext <<_ACEOF
8320 /* end confdefs.h. */
8321 /* System header to define __stub macros and hopefully few prototypes,
8322 which can conflict with char $ac_func (); below.
8323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8324 <limits.h> exists even on freestanding compilers. */
8325 #ifdef __STDC__
8326 # include <limits.h>
8327 #else
8328 # include <assert.h>
8329 #endif
8330 /* Override any gcc2 internal prototype to avoid an error. */
8331 #ifdef __cplusplus
8332 extern "C"
8334 #endif
8335 /* We use char because int might match the return type of a gcc2
8336 builtin and then its argument prototype would still apply. */
8337 char $ac_func ();
8338 /* The GNU C library defines this for functions which it implements
8339 to always fail with ENOSYS. Some functions are actually named
8340 something starting with __ and the normal name is an alias. */
8341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8342 choke me
8343 #else
8344 char (*f) () = $ac_func;
8345 #endif
8346 #ifdef __cplusplus
8348 #endif
8351 main ()
8353 return f != $ac_func;
8355 return 0;
8357 _ACEOF
8358 rm -f conftest.$ac_objext conftest$ac_exeext
8359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8360 (eval $ac_link) 2>&5
8361 ac_status=$?
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } &&
8364 { ac_try='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 (eval $ac_try) 2>&5
8367 ac_status=$?
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then
8370 eval "$as_ac_var=yes"
8371 else
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.$ac_ext >&5
8375 eval "$as_ac_var=no"
8377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8381 if test `eval echo '${'$as_ac_var'}'` = yes; then
8382 cat >>confdefs.h <<_ACEOF
8383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8384 _ACEOF
8387 done
8389 else
8391 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8392 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8393 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8394 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8396 else
8400 ac_ext=cc
8401 ac_cpp='$CXXCPP $CPPFLAGS'
8402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8406 cat >conftest.$ac_ext <<_ACEOF
8407 #line $LINENO "configure"
8408 /* confdefs.h. */
8409 _ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8413 #include <math.h>
8414 #ifdef HAVE_IEEEFP_H
8415 #include <ieeefp.h>
8416 #endif
8419 main ()
8421 _isnan(0);
8423 return 0;
8425 _ACEOF
8426 rm -f conftest.$ac_objext
8427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8428 (eval $ac_compile) 2>&5
8429 ac_status=$?
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 glibcxx_cv_func__isnan_use=yes
8439 else
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 glibcxx_cv_func__isnan_use=no
8445 rm -f conftest.$ac_objext conftest.$ac_ext
8446 ac_ext=c
8447 ac_cpp='$CPP $CPPFLAGS'
8448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8457 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8459 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8461 for ac_func in _isnan
8463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8464 echo "$as_me:$LINENO: checking for $ac_func" >&5
8465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8466 if eval "test \"\${$as_ac_var+set}\" = set"; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 else
8469 if test x$gcc_no_link = xyes; then
8470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8472 { (exit 1); exit 1; }; }
8474 cat >conftest.$ac_ext <<_ACEOF
8475 #line $LINENO "configure"
8476 /* confdefs.h. */
8477 _ACEOF
8478 cat confdefs.h >>conftest.$ac_ext
8479 cat >>conftest.$ac_ext <<_ACEOF
8480 /* end confdefs.h. */
8481 /* System header to define __stub macros and hopefully few prototypes,
8482 which can conflict with char $ac_func (); below.
8483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8484 <limits.h> exists even on freestanding compilers. */
8485 #ifdef __STDC__
8486 # include <limits.h>
8487 #else
8488 # include <assert.h>
8489 #endif
8490 /* Override any gcc2 internal prototype to avoid an error. */
8491 #ifdef __cplusplus
8492 extern "C"
8494 #endif
8495 /* We use char because int might match the return type of a gcc2
8496 builtin and then its argument prototype would still apply. */
8497 char $ac_func ();
8498 /* The GNU C library defines this for functions which it implements
8499 to always fail with ENOSYS. Some functions are actually named
8500 something starting with __ and the normal name is an alias. */
8501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8502 choke me
8503 #else
8504 char (*f) () = $ac_func;
8505 #endif
8506 #ifdef __cplusplus
8508 #endif
8511 main ()
8513 return f != $ac_func;
8515 return 0;
8517 _ACEOF
8518 rm -f conftest.$ac_objext conftest$ac_exeext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520 (eval $ac_link) 2>&5
8521 ac_status=$?
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } &&
8524 { ac_try='test -s conftest$ac_exeext'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; }; then
8530 eval "$as_ac_var=yes"
8531 else
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 eval "$as_ac_var=no"
8537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8541 if test `eval echo '${'$as_ac_var'}'` = yes; then
8542 cat >>confdefs.h <<_ACEOF
8543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8544 _ACEOF
8547 done
8554 echo "$as_me:$LINENO: checking for finite declaration" >&5
8555 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8556 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8557 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 else
8563 ac_ext=cc
8564 ac_cpp='$CXXCPP $CPPFLAGS'
8565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8569 cat >conftest.$ac_ext <<_ACEOF
8570 #line $LINENO "configure"
8571 /* confdefs.h. */
8572 _ACEOF
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8576 #include <math.h>
8577 #ifdef HAVE_IEEEFP_H
8578 #include <ieeefp.h>
8579 #endif
8582 main ()
8584 finite(0);
8586 return 0;
8588 _ACEOF
8589 rm -f conftest.$ac_objext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8591 (eval $ac_compile) 2>&5
8592 ac_status=$?
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } &&
8595 { ac_try='test -s conftest.$ac_objext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 (eval $ac_try) 2>&5
8598 ac_status=$?
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 glibcxx_cv_func_finite_use=yes
8602 else
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.$ac_ext >&5
8606 glibcxx_cv_func_finite_use=no
8608 rm -f conftest.$ac_objext conftest.$ac_ext
8609 ac_ext=c
8610 ac_cpp='$CPP $CPPFLAGS'
8611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8620 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8622 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8624 for ac_func in finite
8626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8627 echo "$as_me:$LINENO: checking for $ac_func" >&5
8628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8629 if eval "test \"\${$as_ac_var+set}\" = set"; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 if test x$gcc_no_link = xyes; then
8633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8635 { (exit 1); exit 1; }; }
8637 cat >conftest.$ac_ext <<_ACEOF
8638 #line $LINENO "configure"
8639 /* confdefs.h. */
8640 _ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 /* System header to define __stub macros and hopefully few prototypes,
8645 which can conflict with char $ac_func (); below.
8646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8647 <limits.h> exists even on freestanding compilers. */
8648 #ifdef __STDC__
8649 # include <limits.h>
8650 #else
8651 # include <assert.h>
8652 #endif
8653 /* Override any gcc2 internal prototype to avoid an error. */
8654 #ifdef __cplusplus
8655 extern "C"
8657 #endif
8658 /* We use char because int might match the return type of a gcc2
8659 builtin and then its argument prototype would still apply. */
8660 char $ac_func ();
8661 /* The GNU C library defines this for functions which it implements
8662 to always fail with ENOSYS. Some functions are actually named
8663 something starting with __ and the normal name is an alias. */
8664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8665 choke me
8666 #else
8667 char (*f) () = $ac_func;
8668 #endif
8669 #ifdef __cplusplus
8671 #endif
8674 main ()
8676 return f != $ac_func;
8678 return 0;
8680 _ACEOF
8681 rm -f conftest.$ac_objext conftest$ac_exeext
8682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8683 (eval $ac_link) 2>&5
8684 ac_status=$?
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } &&
8687 { ac_try='test -s conftest$ac_exeext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 (eval $ac_try) 2>&5
8690 ac_status=$?
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 eval "$as_ac_var=yes"
8694 else
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 eval "$as_ac_var=no"
8700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8704 if test `eval echo '${'$as_ac_var'}'` = yes; then
8705 cat >>confdefs.h <<_ACEOF
8706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8707 _ACEOF
8710 done
8712 else
8714 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8715 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8716 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8717 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8719 else
8723 ac_ext=cc
8724 ac_cpp='$CXXCPP $CPPFLAGS'
8725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8729 cat >conftest.$ac_ext <<_ACEOF
8730 #line $LINENO "configure"
8731 /* confdefs.h. */
8732 _ACEOF
8733 cat confdefs.h >>conftest.$ac_ext
8734 cat >>conftest.$ac_ext <<_ACEOF
8735 /* end confdefs.h. */
8736 #include <math.h>
8737 #ifdef HAVE_IEEEFP_H
8738 #include <ieeefp.h>
8739 #endif
8742 main ()
8744 _finite(0);
8746 return 0;
8748 _ACEOF
8749 rm -f conftest.$ac_objext
8750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8751 (eval $ac_compile) 2>&5
8752 ac_status=$?
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } &&
8755 { ac_try='test -s conftest.$ac_objext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 glibcxx_cv_func__finite_use=yes
8762 else
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 glibcxx_cv_func__finite_use=no
8768 rm -f conftest.$ac_objext conftest.$ac_ext
8769 ac_ext=c
8770 ac_cpp='$CPP $CPPFLAGS'
8771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8780 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8782 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8784 for ac_func in _finite
8786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8787 echo "$as_me:$LINENO: checking for $ac_func" >&5
8788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8789 if eval "test \"\${$as_ac_var+set}\" = set"; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792 if test x$gcc_no_link = xyes; then
8793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8795 { (exit 1); exit 1; }; }
8797 cat >conftest.$ac_ext <<_ACEOF
8798 #line $LINENO "configure"
8799 /* confdefs.h. */
8800 _ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 /* System header to define __stub macros and hopefully few prototypes,
8805 which can conflict with char $ac_func (); below.
8806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8807 <limits.h> exists even on freestanding compilers. */
8808 #ifdef __STDC__
8809 # include <limits.h>
8810 #else
8811 # include <assert.h>
8812 #endif
8813 /* Override any gcc2 internal prototype to avoid an error. */
8814 #ifdef __cplusplus
8815 extern "C"
8817 #endif
8818 /* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */
8820 char $ac_func ();
8821 /* The GNU C library defines this for functions which it implements
8822 to always fail with ENOSYS. Some functions are actually named
8823 something starting with __ and the normal name is an alias. */
8824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8825 choke me
8826 #else
8827 char (*f) () = $ac_func;
8828 #endif
8829 #ifdef __cplusplus
8831 #endif
8834 main ()
8836 return f != $ac_func;
8838 return 0;
8840 _ACEOF
8841 rm -f conftest.$ac_objext conftest$ac_exeext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8843 (eval $ac_link) 2>&5
8844 ac_status=$?
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } &&
8847 { ac_try='test -s conftest$ac_exeext'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 (eval $ac_try) 2>&5
8850 ac_status=$?
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 eval "$as_ac_var=yes"
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 eval "$as_ac_var=no"
8860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8864 if test `eval echo '${'$as_ac_var'}'` = yes; then
8865 cat >>confdefs.h <<_ACEOF
8866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8867 _ACEOF
8870 done
8877 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8878 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8879 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8880 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8882 else
8886 ac_ext=cc
8887 ac_cpp='$CXXCPP $CPPFLAGS'
8888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8892 cat >conftest.$ac_ext <<_ACEOF
8893 #line $LINENO "configure"
8894 /* confdefs.h. */
8895 _ACEOF
8896 cat confdefs.h >>conftest.$ac_ext
8897 cat >>conftest.$ac_ext <<_ACEOF
8898 /* end confdefs.h. */
8899 #include <math.h>
8901 main ()
8903 copysign(0, 0);
8905 return 0;
8907 _ACEOF
8908 rm -f conftest.$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>&5
8911 ac_status=$?
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } &&
8914 { ac_try='test -s conftest.$ac_objext'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 (eval $ac_try) 2>&5
8917 ac_status=$?
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; }; then
8920 glibcxx_cv_func_copysign_use=yes
8921 else
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.$ac_ext >&5
8925 glibcxx_cv_func_copysign_use=no
8927 rm -f conftest.$ac_objext conftest.$ac_ext
8928 ac_ext=c
8929 ac_cpp='$CPP $CPPFLAGS'
8930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8939 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8941 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8943 for ac_func in copysign
8945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8946 echo "$as_me:$LINENO: checking for $ac_func" >&5
8947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8948 if eval "test \"\${$as_ac_var+set}\" = set"; then
8949 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 else
8951 if test x$gcc_no_link = xyes; then
8952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8954 { (exit 1); exit 1; }; }
8956 cat >conftest.$ac_ext <<_ACEOF
8957 #line $LINENO "configure"
8958 /* confdefs.h. */
8959 _ACEOF
8960 cat confdefs.h >>conftest.$ac_ext
8961 cat >>conftest.$ac_ext <<_ACEOF
8962 /* end confdefs.h. */
8963 /* System header to define __stub macros and hopefully few prototypes,
8964 which can conflict with char $ac_func (); below.
8965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8966 <limits.h> exists even on freestanding compilers. */
8967 #ifdef __STDC__
8968 # include <limits.h>
8969 #else
8970 # include <assert.h>
8971 #endif
8972 /* Override any gcc2 internal prototype to avoid an error. */
8973 #ifdef __cplusplus
8974 extern "C"
8976 #endif
8977 /* We use char because int might match the return type of a gcc2
8978 builtin and then its argument prototype would still apply. */
8979 char $ac_func ();
8980 /* The GNU C library defines this for functions which it implements
8981 to always fail with ENOSYS. Some functions are actually named
8982 something starting with __ and the normal name is an alias. */
8983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8984 choke me
8985 #else
8986 char (*f) () = $ac_func;
8987 #endif
8988 #ifdef __cplusplus
8990 #endif
8993 main ()
8995 return f != $ac_func;
8997 return 0;
8999 _ACEOF
9000 rm -f conftest.$ac_objext conftest$ac_exeext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9002 (eval $ac_link) 2>&5
9003 ac_status=$?
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try='test -s conftest$ac_exeext'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 (eval $ac_try) 2>&5
9009 ac_status=$?
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; }; then
9012 eval "$as_ac_var=yes"
9013 else
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 eval "$as_ac_var=no"
9019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9023 if test `eval echo '${'$as_ac_var'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9026 _ACEOF
9029 done
9031 else
9033 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9034 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9035 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9036 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 else
9042 ac_ext=cc
9043 ac_cpp='$CXXCPP $CPPFLAGS'
9044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9048 cat >conftest.$ac_ext <<_ACEOF
9049 #line $LINENO "configure"
9050 /* confdefs.h. */
9051 _ACEOF
9052 cat confdefs.h >>conftest.$ac_ext
9053 cat >>conftest.$ac_ext <<_ACEOF
9054 /* end confdefs.h. */
9055 #include <math.h>
9057 main ()
9059 _copysign(0, 0);
9061 return 0;
9063 _ACEOF
9064 rm -f conftest.$ac_objext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9066 (eval $ac_compile) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try='test -s conftest.$ac_objext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 (eval $ac_try) 2>&5
9073 ac_status=$?
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 glibcxx_cv_func__copysign_use=yes
9077 else
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 glibcxx_cv_func__copysign_use=no
9083 rm -f conftest.$ac_objext conftest.$ac_ext
9084 ac_ext=c
9085 ac_cpp='$CPP $CPPFLAGS'
9086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9095 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9097 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9099 for ac_func in _copysign
9101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9102 echo "$as_me:$LINENO: checking for $ac_func" >&5
9103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9104 if eval "test \"\${$as_ac_var+set}\" = set"; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 else
9107 if test x$gcc_no_link = xyes; then
9108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9110 { (exit 1); exit 1; }; }
9112 cat >conftest.$ac_ext <<_ACEOF
9113 #line $LINENO "configure"
9114 /* confdefs.h. */
9115 _ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9119 /* System header to define __stub macros and hopefully few prototypes,
9120 which can conflict with char $ac_func (); below.
9121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9122 <limits.h> exists even on freestanding compilers. */
9123 #ifdef __STDC__
9124 # include <limits.h>
9125 #else
9126 # include <assert.h>
9127 #endif
9128 /* Override any gcc2 internal prototype to avoid an error. */
9129 #ifdef __cplusplus
9130 extern "C"
9132 #endif
9133 /* We use char because int might match the return type of a gcc2
9134 builtin and then its argument prototype would still apply. */
9135 char $ac_func ();
9136 /* The GNU C library defines this for functions which it implements
9137 to always fail with ENOSYS. Some functions are actually named
9138 something starting with __ and the normal name is an alias. */
9139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9140 choke me
9141 #else
9142 char (*f) () = $ac_func;
9143 #endif
9144 #ifdef __cplusplus
9146 #endif
9149 main ()
9151 return f != $ac_func;
9153 return 0;
9155 _ACEOF
9156 rm -f conftest.$ac_objext conftest$ac_exeext
9157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9158 (eval $ac_link) 2>&5
9159 ac_status=$?
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); } &&
9162 { ac_try='test -s conftest$ac_exeext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; }; then
9168 eval "$as_ac_var=yes"
9169 else
9170 echo "$as_me: failed program was:" >&5
9171 sed 's/^/| /' conftest.$ac_ext >&5
9173 eval "$as_ac_var=no"
9175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9179 if test `eval echo '${'$as_ac_var'}'` = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9182 _ACEOF
9185 done
9192 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9193 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9194 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9195 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9196 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 else
9201 ac_ext=cc
9202 ac_cpp='$CXXCPP $CPPFLAGS'
9203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9207 cat >conftest.$ac_ext <<_ACEOF
9208 #line $LINENO "configure"
9209 /* confdefs.h. */
9210 _ACEOF
9211 cat confdefs.h >>conftest.$ac_ext
9212 cat >>conftest.$ac_ext <<_ACEOF
9213 /* end confdefs.h. */
9214 #include <math.h>
9216 main ()
9218 sincos(0, 0, 0);
9220 return 0;
9222 _ACEOF
9223 rm -f conftest.$ac_objext
9224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9225 (eval $ac_compile) 2>&5
9226 ac_status=$?
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); } &&
9229 { ac_try='test -s conftest.$ac_objext'
9230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 (eval $ac_try) 2>&5
9232 ac_status=$?
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }; }; then
9235 glibcxx_cv_func_sincos_use=yes
9236 else
9237 echo "$as_me: failed program was:" >&5
9238 sed 's/^/| /' conftest.$ac_ext >&5
9240 glibcxx_cv_func_sincos_use=no
9242 rm -f conftest.$ac_objext conftest.$ac_ext
9243 ac_ext=c
9244 ac_cpp='$CPP $CPPFLAGS'
9245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9254 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9256 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9258 for ac_func in sincos
9260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9261 echo "$as_me:$LINENO: checking for $ac_func" >&5
9262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9263 if eval "test \"\${$as_ac_var+set}\" = set"; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 else
9266 if test x$gcc_no_link = xyes; then
9267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9269 { (exit 1); exit 1; }; }
9271 cat >conftest.$ac_ext <<_ACEOF
9272 #line $LINENO "configure"
9273 /* confdefs.h. */
9274 _ACEOF
9275 cat confdefs.h >>conftest.$ac_ext
9276 cat >>conftest.$ac_ext <<_ACEOF
9277 /* end confdefs.h. */
9278 /* System header to define __stub macros and hopefully few prototypes,
9279 which can conflict with char $ac_func (); below.
9280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9281 <limits.h> exists even on freestanding compilers. */
9282 #ifdef __STDC__
9283 # include <limits.h>
9284 #else
9285 # include <assert.h>
9286 #endif
9287 /* Override any gcc2 internal prototype to avoid an error. */
9288 #ifdef __cplusplus
9289 extern "C"
9291 #endif
9292 /* We use char because int might match the return type of a gcc2
9293 builtin and then its argument prototype would still apply. */
9294 char $ac_func ();
9295 /* The GNU C library defines this for functions which it implements
9296 to always fail with ENOSYS. Some functions are actually named
9297 something starting with __ and the normal name is an alias. */
9298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9299 choke me
9300 #else
9301 char (*f) () = $ac_func;
9302 #endif
9303 #ifdef __cplusplus
9305 #endif
9308 main ()
9310 return f != $ac_func;
9312 return 0;
9314 _ACEOF
9315 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>&5
9318 ac_status=$?
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -s conftest$ac_exeext'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 (eval $ac_try) 2>&5
9324 ac_status=$?
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 eval "$as_ac_var=yes"
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 eval "$as_ac_var=no"
9334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9338 if test `eval echo '${'$as_ac_var'}'` = yes; then
9339 cat >>confdefs.h <<_ACEOF
9340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9341 _ACEOF
9344 done
9346 else
9348 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9349 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 else
9357 ac_ext=cc
9358 ac_cpp='$CXXCPP $CPPFLAGS'
9359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9363 cat >conftest.$ac_ext <<_ACEOF
9364 #line $LINENO "configure"
9365 /* confdefs.h. */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9370 #include <math.h>
9372 main ()
9374 _sincos(0, 0, 0);
9376 return 0;
9378 _ACEOF
9379 rm -f conftest.$ac_objext
9380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9381 (eval $ac_compile) 2>&5
9382 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 (eval $ac_try) 2>&5
9388 ac_status=$?
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 glibcxx_cv_func__sincos_use=yes
9392 else
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 glibcxx_cv_func__sincos_use=no
9398 rm -f conftest.$ac_objext conftest.$ac_ext
9399 ac_ext=c
9400 ac_cpp='$CPP $CPPFLAGS'
9401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9410 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9412 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9414 for ac_func in _sincos
9416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9417 echo "$as_me:$LINENO: checking for $ac_func" >&5
9418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9419 if eval "test \"\${$as_ac_var+set}\" = set"; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 else
9422 if test x$gcc_no_link = xyes; then
9423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9425 { (exit 1); exit 1; }; }
9427 cat >conftest.$ac_ext <<_ACEOF
9428 #line $LINENO "configure"
9429 /* confdefs.h. */
9430 _ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9434 /* System header to define __stub macros and hopefully few prototypes,
9435 which can conflict with char $ac_func (); below.
9436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9437 <limits.h> exists even on freestanding compilers. */
9438 #ifdef __STDC__
9439 # include <limits.h>
9440 #else
9441 # include <assert.h>
9442 #endif
9443 /* Override any gcc2 internal prototype to avoid an error. */
9444 #ifdef __cplusplus
9445 extern "C"
9447 #endif
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9450 char $ac_func ();
9451 /* The GNU C library defines this for functions which it implements
9452 to always fail with ENOSYS. Some functions are actually named
9453 something starting with __ and the normal name is an alias. */
9454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9455 choke me
9456 #else
9457 char (*f) () = $ac_func;
9458 #endif
9459 #ifdef __cplusplus
9461 #endif
9464 main ()
9466 return f != $ac_func;
9468 return 0;
9470 _ACEOF
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9473 (eval $ac_link) 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 eval "$as_ac_var=yes"
9484 else
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 eval "$as_ac_var=no"
9490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9494 if test `eval echo '${'$as_ac_var'}'` = yes; then
9495 cat >>confdefs.h <<_ACEOF
9496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9497 _ACEOF
9500 done
9507 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9508 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9509 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9510 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 else
9516 ac_ext=cc
9517 ac_cpp='$CXXCPP $CPPFLAGS'
9518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9522 cat >conftest.$ac_ext <<_ACEOF
9523 #line $LINENO "configure"
9524 /* confdefs.h. */
9525 _ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9529 #include <math.h>
9530 #ifdef HAVE_IEEEFP_H
9531 #include <ieeefp.h>
9532 #endif
9535 main ()
9537 fpclass(0);
9539 return 0;
9541 _ACEOF
9542 rm -f conftest.$ac_objext
9543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9544 (eval $ac_compile) 2>&5
9545 ac_status=$?
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } &&
9548 { ac_try='test -s conftest.$ac_objext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 (eval $ac_try) 2>&5
9551 ac_status=$?
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 glibcxx_cv_func_fpclass_use=yes
9555 else
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.$ac_ext >&5
9559 glibcxx_cv_func_fpclass_use=no
9561 rm -f conftest.$ac_objext conftest.$ac_ext
9562 ac_ext=c
9563 ac_cpp='$CPP $CPPFLAGS'
9564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9573 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9575 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9577 for ac_func in fpclass
9579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9580 echo "$as_me:$LINENO: checking for $ac_func" >&5
9581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9582 if eval "test \"\${$as_ac_var+set}\" = set"; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 else
9585 if test x$gcc_no_link = xyes; then
9586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9588 { (exit 1); exit 1; }; }
9590 cat >conftest.$ac_ext <<_ACEOF
9591 #line $LINENO "configure"
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9597 /* System header to define __stub macros and hopefully few prototypes,
9598 which can conflict with char $ac_func (); below.
9599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9600 <limits.h> exists even on freestanding compilers. */
9601 #ifdef __STDC__
9602 # include <limits.h>
9603 #else
9604 # include <assert.h>
9605 #endif
9606 /* Override any gcc2 internal prototype to avoid an error. */
9607 #ifdef __cplusplus
9608 extern "C"
9610 #endif
9611 /* We use char because int might match the return type of a gcc2
9612 builtin and then its argument prototype would still apply. */
9613 char $ac_func ();
9614 /* The GNU C library defines this for functions which it implements
9615 to always fail with ENOSYS. Some functions are actually named
9616 something starting with __ and the normal name is an alias. */
9617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9618 choke me
9619 #else
9620 char (*f) () = $ac_func;
9621 #endif
9622 #ifdef __cplusplus
9624 #endif
9627 main ()
9629 return f != $ac_func;
9631 return 0;
9633 _ACEOF
9634 rm -f conftest.$ac_objext conftest$ac_exeext
9635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9636 (eval $ac_link) 2>&5
9637 ac_status=$?
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try='test -s conftest$ac_exeext'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642 (eval $ac_try) 2>&5
9643 ac_status=$?
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; }; then
9646 eval "$as_ac_var=yes"
9647 else
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.$ac_ext >&5
9651 eval "$as_ac_var=no"
9653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9657 if test `eval echo '${'$as_ac_var'}'` = yes; then
9658 cat >>confdefs.h <<_ACEOF
9659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9660 _ACEOF
9663 done
9665 else
9667 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9668 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9669 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9670 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 else
9676 ac_ext=cc
9677 ac_cpp='$CXXCPP $CPPFLAGS'
9678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9682 cat >conftest.$ac_ext <<_ACEOF
9683 #line $LINENO "configure"
9684 /* confdefs.h. */
9685 _ACEOF
9686 cat confdefs.h >>conftest.$ac_ext
9687 cat >>conftest.$ac_ext <<_ACEOF
9688 /* end confdefs.h. */
9689 #include <math.h>
9690 #ifdef HAVE_IEEEFP_H
9691 #include <ieeefp.h>
9692 #endif
9695 main ()
9697 _fpclass(0);
9699 return 0;
9701 _ACEOF
9702 rm -f conftest.$ac_objext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704 (eval $ac_compile) 2>&5
9705 ac_status=$?
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try='test -s conftest.$ac_objext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 (eval $ac_try) 2>&5
9711 ac_status=$?
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 glibcxx_cv_func__fpclass_use=yes
9715 else
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 glibcxx_cv_func__fpclass_use=no
9721 rm -f conftest.$ac_objext conftest.$ac_ext
9722 ac_ext=c
9723 ac_cpp='$CPP $CPPFLAGS'
9724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9733 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9735 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9737 for ac_func in _fpclass
9739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9740 echo "$as_me:$LINENO: checking for $ac_func" >&5
9741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9742 if eval "test \"\${$as_ac_var+set}\" = set"; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745 if test x$gcc_no_link = xyes; then
9746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9748 { (exit 1); exit 1; }; }
9750 cat >conftest.$ac_ext <<_ACEOF
9751 #line $LINENO "configure"
9752 /* confdefs.h. */
9753 _ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 /* System header to define __stub macros and hopefully few prototypes,
9758 which can conflict with char $ac_func (); below.
9759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9760 <limits.h> exists even on freestanding compilers. */
9761 #ifdef __STDC__
9762 # include <limits.h>
9763 #else
9764 # include <assert.h>
9765 #endif
9766 /* Override any gcc2 internal prototype to avoid an error. */
9767 #ifdef __cplusplus
9768 extern "C"
9770 #endif
9771 /* We use char because int might match the return type of a gcc2
9772 builtin and then its argument prototype would still apply. */
9773 char $ac_func ();
9774 /* The GNU C library defines this for functions which it implements
9775 to always fail with ENOSYS. Some functions are actually named
9776 something starting with __ and the normal name is an alias. */
9777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9778 choke me
9779 #else
9780 char (*f) () = $ac_func;
9781 #endif
9782 #ifdef __cplusplus
9784 #endif
9787 main ()
9789 return f != $ac_func;
9791 return 0;
9793 _ACEOF
9794 rm -f conftest.$ac_objext conftest$ac_exeext
9795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9796 (eval $ac_link) 2>&5
9797 ac_status=$?
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try='test -s conftest$ac_exeext'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 (eval $ac_try) 2>&5
9803 ac_status=$?
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 eval "$as_ac_var=yes"
9807 else
9808 echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 eval "$as_ac_var=no"
9813 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9817 if test `eval echo '${'$as_ac_var'}'` = yes; then
9818 cat >>confdefs.h <<_ACEOF
9819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9820 _ACEOF
9823 done
9830 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9831 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9835 else
9839 ac_ext=cc
9840 ac_cpp='$CXXCPP $CPPFLAGS'
9841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9845 cat >conftest.$ac_ext <<_ACEOF
9846 #line $LINENO "configure"
9847 /* confdefs.h. */
9848 _ACEOF
9849 cat confdefs.h >>conftest.$ac_ext
9850 cat >>conftest.$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9852 #include <math.h>
9853 #ifdef HAVE_IEEEFP_H
9854 #include <ieeefp.h>
9855 #endif
9858 main ()
9860 qfpclass(0);
9862 return 0;
9864 _ACEOF
9865 rm -f conftest.$ac_objext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9867 (eval $ac_compile) 2>&5
9868 ac_status=$?
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } &&
9871 { ac_try='test -s conftest.$ac_objext'
9872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9873 (eval $ac_try) 2>&5
9874 ac_status=$?
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); }; }; then
9877 glibcxx_cv_func_qfpclass_use=yes
9878 else
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 glibcxx_cv_func_qfpclass_use=no
9884 rm -f conftest.$ac_objext conftest.$ac_ext
9885 ac_ext=c
9886 ac_cpp='$CPP $CPPFLAGS'
9887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9896 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9898 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9900 for ac_func in qfpclass
9902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9903 echo "$as_me:$LINENO: checking for $ac_func" >&5
9904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9905 if eval "test \"\${$as_ac_var+set}\" = set"; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 else
9908 if test x$gcc_no_link = xyes; then
9909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9911 { (exit 1); exit 1; }; }
9913 cat >conftest.$ac_ext <<_ACEOF
9914 #line $LINENO "configure"
9915 /* confdefs.h. */
9916 _ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9920 /* System header to define __stub macros and hopefully few prototypes,
9921 which can conflict with char $ac_func (); below.
9922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9923 <limits.h> exists even on freestanding compilers. */
9924 #ifdef __STDC__
9925 # include <limits.h>
9926 #else
9927 # include <assert.h>
9928 #endif
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 #ifdef __cplusplus
9931 extern "C"
9933 #endif
9934 /* We use char because int might match the return type of a gcc2
9935 builtin and then its argument prototype would still apply. */
9936 char $ac_func ();
9937 /* The GNU C library defines this for functions which it implements
9938 to always fail with ENOSYS. Some functions are actually named
9939 something starting with __ and the normal name is an alias. */
9940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9941 choke me
9942 #else
9943 char (*f) () = $ac_func;
9944 #endif
9945 #ifdef __cplusplus
9947 #endif
9950 main ()
9952 return f != $ac_func;
9954 return 0;
9956 _ACEOF
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9959 (eval $ac_link) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } &&
9963 { ac_try='test -s conftest$ac_exeext'
9964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 (eval $ac_try) 2>&5
9966 ac_status=$?
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; }; then
9969 eval "$as_ac_var=yes"
9970 else
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.$ac_ext >&5
9974 eval "$as_ac_var=no"
9976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9980 if test `eval echo '${'$as_ac_var'}'` = yes; then
9981 cat >>confdefs.h <<_ACEOF
9982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9983 _ACEOF
9986 done
9988 else
9990 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9991 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9992 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9993 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 else
9999 ac_ext=cc
10000 ac_cpp='$CXXCPP $CPPFLAGS'
10001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10005 cat >conftest.$ac_ext <<_ACEOF
10006 #line $LINENO "configure"
10007 /* confdefs.h. */
10008 _ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10012 #include <math.h>
10013 #ifdef HAVE_IEEEFP_H
10014 #include <ieeefp.h>
10015 #endif
10018 main ()
10020 _qfpclass(0);
10022 return 0;
10024 _ACEOF
10025 rm -f conftest.$ac_objext
10026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10027 (eval $ac_compile) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -s conftest.$ac_objext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10034 ac_status=$?
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 glibcxx_cv_func__qfpclass_use=yes
10038 else
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 glibcxx_cv_func__qfpclass_use=no
10044 rm -f conftest.$ac_objext conftest.$ac_ext
10045 ac_ext=c
10046 ac_cpp='$CPP $CPPFLAGS'
10047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10056 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10058 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10060 for ac_func in _qfpclass
10062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10063 echo "$as_me:$LINENO: checking for $ac_func" >&5
10064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_var+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 else
10068 if test x$gcc_no_link = xyes; then
10069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10071 { (exit 1); exit 1; }; }
10073 cat >conftest.$ac_ext <<_ACEOF
10074 #line $LINENO "configure"
10075 /* confdefs.h. */
10076 _ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10080 /* System header to define __stub macros and hopefully few prototypes,
10081 which can conflict with char $ac_func (); below.
10082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10083 <limits.h> exists even on freestanding compilers. */
10084 #ifdef __STDC__
10085 # include <limits.h>
10086 #else
10087 # include <assert.h>
10088 #endif
10089 /* Override any gcc2 internal prototype to avoid an error. */
10090 #ifdef __cplusplus
10091 extern "C"
10093 #endif
10094 /* We use char because int might match the return type of a gcc2
10095 builtin and then its argument prototype would still apply. */
10096 char $ac_func ();
10097 /* The GNU C library defines this for functions which it implements
10098 to always fail with ENOSYS. Some functions are actually named
10099 something starting with __ and the normal name is an alias. */
10100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10101 choke me
10102 #else
10103 char (*f) () = $ac_func;
10104 #endif
10105 #ifdef __cplusplus
10107 #endif
10110 main ()
10112 return f != $ac_func;
10114 return 0;
10116 _ACEOF
10117 rm -f conftest.$ac_objext conftest$ac_exeext
10118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10119 (eval $ac_link) 2>&5
10120 ac_status=$?
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 eval "$as_ac_var=yes"
10130 else
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 eval "$as_ac_var=no"
10136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10140 if test `eval echo '${'$as_ac_var'}'` = yes; then
10141 cat >>confdefs.h <<_ACEOF
10142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10143 _ACEOF
10146 done
10153 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10154 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10155 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10156 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 else
10162 ac_ext=cc
10163 ac_cpp='$CXXCPP $CPPFLAGS'
10164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10168 cat >conftest.$ac_ext <<_ACEOF
10169 #line $LINENO "configure"
10170 /* confdefs.h. */
10171 _ACEOF
10172 cat confdefs.h >>conftest.$ac_ext
10173 cat >>conftest.$ac_ext <<_ACEOF
10174 /* end confdefs.h. */
10175 #include <math.h>
10177 main ()
10179 hypot(0, 0);
10181 return 0;
10183 _ACEOF
10184 rm -f conftest.$ac_objext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>&5
10187 ac_status=$?
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10193 ac_status=$?
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 glibcxx_cv_func_hypot_use=yes
10197 else
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10201 glibcxx_cv_func_hypot_use=no
10203 rm -f conftest.$ac_objext conftest.$ac_ext
10204 ac_ext=c
10205 ac_cpp='$CPP $CPPFLAGS'
10206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10215 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10217 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10219 for ac_func in hypot
10221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10222 echo "$as_me:$LINENO: checking for $ac_func" >&5
10223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10224 if eval "test \"\${$as_ac_var+set}\" = set"; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 if test x$gcc_no_link = xyes; then
10228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10230 { (exit 1); exit 1; }; }
10232 cat >conftest.$ac_ext <<_ACEOF
10233 #line $LINENO "configure"
10234 /* confdefs.h. */
10235 _ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 /* System header to define __stub macros and hopefully few prototypes,
10240 which can conflict with char $ac_func (); below.
10241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10242 <limits.h> exists even on freestanding compilers. */
10243 #ifdef __STDC__
10244 # include <limits.h>
10245 #else
10246 # include <assert.h>
10247 #endif
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10252 #endif
10253 /* We use char because int might match the return type of a gcc2
10254 builtin and then its argument prototype would still apply. */
10255 char $ac_func ();
10256 /* The GNU C library defines this for functions which it implements
10257 to always fail with ENOSYS. Some functions are actually named
10258 something starting with __ and the normal name is an alias. */
10259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10260 choke me
10261 #else
10262 char (*f) () = $ac_func;
10263 #endif
10264 #ifdef __cplusplus
10266 #endif
10269 main ()
10271 return f != $ac_func;
10273 return 0;
10275 _ACEOF
10276 rm -f conftest.$ac_objext conftest$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278 (eval $ac_link) 2>&5
10279 ac_status=$?
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } &&
10282 { ac_try='test -s conftest$ac_exeext'
10283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284 (eval $ac_try) 2>&5
10285 ac_status=$?
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; }; then
10288 eval "$as_ac_var=yes"
10289 else
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10293 eval "$as_ac_var=no"
10295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10299 if test `eval echo '${'$as_ac_var'}'` = yes; then
10300 cat >>confdefs.h <<_ACEOF
10301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10302 _ACEOF
10305 done
10307 else
10309 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10310 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10311 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10312 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 else
10318 ac_ext=cc
10319 ac_cpp='$CXXCPP $CPPFLAGS'
10320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10324 cat >conftest.$ac_ext <<_ACEOF
10325 #line $LINENO "configure"
10326 /* confdefs.h. */
10327 _ACEOF
10328 cat confdefs.h >>conftest.$ac_ext
10329 cat >>conftest.$ac_ext <<_ACEOF
10330 /* end confdefs.h. */
10331 #include <math.h>
10333 main ()
10335 _hypot(0, 0);
10337 return 0;
10339 _ACEOF
10340 rm -f conftest.$ac_objext
10341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10342 (eval $ac_compile) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } &&
10346 { ac_try='test -s conftest.$ac_objext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10349 ac_status=$?
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 glibcxx_cv_func__hypot_use=yes
10353 else
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 glibcxx_cv_func__hypot_use=no
10359 rm -f conftest.$ac_objext conftest.$ac_ext
10360 ac_ext=c
10361 ac_cpp='$CPP $CPPFLAGS'
10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10371 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10373 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10375 for ac_func in _hypot
10377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10378 echo "$as_me:$LINENO: checking for $ac_func" >&5
10379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10380 if eval "test \"\${$as_ac_var+set}\" = set"; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 else
10383 if test x$gcc_no_link = xyes; then
10384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10386 { (exit 1); exit 1; }; }
10388 cat >conftest.$ac_ext <<_ACEOF
10389 #line $LINENO "configure"
10390 /* confdefs.h. */
10391 _ACEOF
10392 cat confdefs.h >>conftest.$ac_ext
10393 cat >>conftest.$ac_ext <<_ACEOF
10394 /* end confdefs.h. */
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char $ac_func (); below.
10397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10398 <limits.h> exists even on freestanding compilers. */
10399 #ifdef __STDC__
10400 # include <limits.h>
10401 #else
10402 # include <assert.h>
10403 #endif
10404 /* Override any gcc2 internal prototype to avoid an error. */
10405 #ifdef __cplusplus
10406 extern "C"
10408 #endif
10409 /* We use char because int might match the return type of a gcc2
10410 builtin and then its argument prototype would still apply. */
10411 char $ac_func ();
10412 /* The GNU C library defines this for functions which it implements
10413 to always fail with ENOSYS. Some functions are actually named
10414 something starting with __ and the normal name is an alias. */
10415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10416 choke me
10417 #else
10418 char (*f) () = $ac_func;
10419 #endif
10420 #ifdef __cplusplus
10422 #endif
10425 main ()
10427 return f != $ac_func;
10429 return 0;
10431 _ACEOF
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434 (eval $ac_link) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest$ac_exeext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 eval "$as_ac_var=yes"
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 eval "$as_ac_var=no"
10451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10455 if test `eval echo '${'$as_ac_var'}'` = yes; then
10456 cat >>confdefs.h <<_ACEOF
10457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10458 _ACEOF
10461 done
10468 echo "$as_me:$LINENO: checking for float trig functions" >&5
10469 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10470 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 else
10476 ac_ext=cc
10477 ac_cpp='$CXXCPP $CPPFLAGS'
10478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10482 cat >conftest.$ac_ext <<_ACEOF
10483 #line $LINENO "configure"
10484 /* confdefs.h. */
10485 _ACEOF
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <math.h>
10491 main ()
10493 `for x in acosf asinf atanf \
10494 cosf sinf tanf \
10495 coshf sinhf tanhf; do echo "$x (0);"; done`
10497 return 0;
10499 _ACEOF
10500 rm -f conftest.$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try='test -s conftest.$ac_objext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10509 ac_status=$?
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 glibcxx_cv_func_float_trig_use=yes
10513 else
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10517 glibcxx_cv_func_float_trig_use=no
10519 rm -f conftest.$ac_objext conftest.$ac_ext
10520 ac_ext=c
10521 ac_cpp='$CPP $CPPFLAGS'
10522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10529 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10530 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10540 for ac_func in acosf asinf atanf \
10541 cosf sinf tanf \
10542 coshf sinhf tanhf
10544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10545 echo "$as_me:$LINENO: checking for $ac_func" >&5
10546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10547 if eval "test \"\${$as_ac_var+set}\" = set"; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 else
10550 if test x$gcc_no_link = xyes; then
10551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10553 { (exit 1); exit 1; }; }
10555 cat >conftest.$ac_ext <<_ACEOF
10556 #line $LINENO "configure"
10557 /* confdefs.h. */
10558 _ACEOF
10559 cat confdefs.h >>conftest.$ac_ext
10560 cat >>conftest.$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10562 /* System header to define __stub macros and hopefully few prototypes,
10563 which can conflict with char $ac_func (); below.
10564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10565 <limits.h> exists even on freestanding compilers. */
10566 #ifdef __STDC__
10567 # include <limits.h>
10568 #else
10569 # include <assert.h>
10570 #endif
10571 /* Override any gcc2 internal prototype to avoid an error. */
10572 #ifdef __cplusplus
10573 extern "C"
10575 #endif
10576 /* We use char because int might match the return type of a gcc2
10577 builtin and then its argument prototype would still apply. */
10578 char $ac_func ();
10579 /* The GNU C library defines this for functions which it implements
10580 to always fail with ENOSYS. Some functions are actually named
10581 something starting with __ and the normal name is an alias. */
10582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10583 choke me
10584 #else
10585 char (*f) () = $ac_func;
10586 #endif
10587 #ifdef __cplusplus
10589 #endif
10592 main ()
10594 return f != $ac_func;
10596 return 0;
10598 _ACEOF
10599 rm -f conftest.$ac_objext conftest$ac_exeext
10600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5
10602 ac_status=$?
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } &&
10605 { ac_try='test -s conftest$ac_exeext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10608 ac_status=$?
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10611 eval "$as_ac_var=yes"
10612 else
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 eval "$as_ac_var=no"
10618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10622 if test `eval echo '${'$as_ac_var'}'` = yes; then
10623 cat >>confdefs.h <<_ACEOF
10624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10625 _ACEOF
10628 done
10633 echo "$as_me:$LINENO: checking for float round functions" >&5
10634 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10635 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10636 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 else
10641 ac_ext=cc
10642 ac_cpp='$CXXCPP $CPPFLAGS'
10643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10647 cat >conftest.$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <math.h>
10656 main ()
10658 `for x in ceilf floorf; do echo "$x (0);"; done`
10660 return 0;
10662 _ACEOF
10663 rm -f conftest.$ac_objext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10665 (eval $ac_compile) 2>&5
10666 ac_status=$?
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try='test -s conftest.$ac_objext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10672 ac_status=$?
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 glibcxx_cv_func_float_round_use=yes
10676 else
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10680 glibcxx_cv_func_float_round_use=no
10682 rm -f conftest.$ac_objext conftest.$ac_ext
10683 ac_ext=c
10684 ac_cpp='$CPP $CPPFLAGS'
10685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10692 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10693 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10696 for ac_func in ceilf floorf
10698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10699 echo "$as_me:$LINENO: checking for $ac_func" >&5
10700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10701 if eval "test \"\${$as_ac_var+set}\" = set"; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 else
10704 if test x$gcc_no_link = xyes; then
10705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10707 { (exit 1); exit 1; }; }
10709 cat >conftest.$ac_ext <<_ACEOF
10710 #line $LINENO "configure"
10711 /* confdefs.h. */
10712 _ACEOF
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h. */
10716 /* System header to define __stub macros and hopefully few prototypes,
10717 which can conflict with char $ac_func (); below.
10718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10719 <limits.h> exists even on freestanding compilers. */
10720 #ifdef __STDC__
10721 # include <limits.h>
10722 #else
10723 # include <assert.h>
10724 #endif
10725 /* Override any gcc2 internal prototype to avoid an error. */
10726 #ifdef __cplusplus
10727 extern "C"
10729 #endif
10730 /* We use char because int might match the return type of a gcc2
10731 builtin and then its argument prototype would still apply. */
10732 char $ac_func ();
10733 /* The GNU C library defines this for functions which it implements
10734 to always fail with ENOSYS. Some functions are actually named
10735 something starting with __ and the normal name is an alias. */
10736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10737 choke me
10738 #else
10739 char (*f) () = $ac_func;
10740 #endif
10741 #ifdef __cplusplus
10743 #endif
10746 main ()
10748 return f != $ac_func;
10750 return 0;
10752 _ACEOF
10753 rm -f conftest.$ac_objext conftest$ac_exeext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10755 (eval $ac_link) 2>&5
10756 ac_status=$?
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } &&
10759 { ac_try='test -s conftest$ac_exeext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10762 ac_status=$?
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 eval "$as_ac_var=yes"
10766 else
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10770 eval "$as_ac_var=no"
10772 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10776 if test `eval echo '${'$as_ac_var'}'` = yes; then
10777 cat >>confdefs.h <<_ACEOF
10778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10779 _ACEOF
10782 done
10788 echo "$as_me:$LINENO: checking for expf declaration" >&5
10789 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10790 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10791 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10797 ac_ext=cc
10798 ac_cpp='$CXXCPP $CPPFLAGS'
10799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10803 cat >conftest.$ac_ext <<_ACEOF
10804 #line $LINENO "configure"
10805 /* confdefs.h. */
10806 _ACEOF
10807 cat confdefs.h >>conftest.$ac_ext
10808 cat >>conftest.$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10810 #include <math.h>
10811 #ifdef HAVE_IEEEFP_H
10812 #include <ieeefp.h>
10813 #endif
10816 main ()
10818 expf(0);
10820 return 0;
10822 _ACEOF
10823 rm -f conftest.$ac_objext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825 (eval $ac_compile) 2>&5
10826 ac_status=$?
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } &&
10829 { ac_try='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10832 ac_status=$?
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 glibcxx_cv_func_expf_use=yes
10836 else
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.$ac_ext >&5
10840 glibcxx_cv_func_expf_use=no
10842 rm -f conftest.$ac_objext conftest.$ac_ext
10843 ac_ext=c
10844 ac_cpp='$CPP $CPPFLAGS'
10845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10854 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10858 for ac_func in expf
10860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10861 echo "$as_me:$LINENO: checking for $ac_func" >&5
10862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10863 if eval "test \"\${$as_ac_var+set}\" = set"; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 else
10866 if test x$gcc_no_link = xyes; then
10867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10869 { (exit 1); exit 1; }; }
10871 cat >conftest.$ac_ext <<_ACEOF
10872 #line $LINENO "configure"
10873 /* confdefs.h. */
10874 _ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10878 /* System header to define __stub macros and hopefully few prototypes,
10879 which can conflict with char $ac_func (); below.
10880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10881 <limits.h> exists even on freestanding compilers. */
10882 #ifdef __STDC__
10883 # include <limits.h>
10884 #else
10885 # include <assert.h>
10886 #endif
10887 /* Override any gcc2 internal prototype to avoid an error. */
10888 #ifdef __cplusplus
10889 extern "C"
10891 #endif
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10894 char $ac_func ();
10895 /* The GNU C library defines this for functions which it implements
10896 to always fail with ENOSYS. Some functions are actually named
10897 something starting with __ and the normal name is an alias. */
10898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10899 choke me
10900 #else
10901 char (*f) () = $ac_func;
10902 #endif
10903 #ifdef __cplusplus
10905 #endif
10908 main ()
10910 return f != $ac_func;
10912 return 0;
10914 _ACEOF
10915 rm -f conftest.$ac_objext conftest$ac_exeext
10916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10917 (eval $ac_link) 2>&5
10918 ac_status=$?
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -s conftest$ac_exeext'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10924 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; }; then
10927 eval "$as_ac_var=yes"
10928 else
10929 echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.$ac_ext >&5
10932 eval "$as_ac_var=no"
10934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10938 if test `eval echo '${'$as_ac_var'}'` = yes; then
10939 cat >>confdefs.h <<_ACEOF
10940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10941 _ACEOF
10944 done
10946 else
10948 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10949 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10950 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10951 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 else
10957 ac_ext=cc
10958 ac_cpp='$CXXCPP $CPPFLAGS'
10959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10963 cat >conftest.$ac_ext <<_ACEOF
10964 #line $LINENO "configure"
10965 /* confdefs.h. */
10966 _ACEOF
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10970 #include <math.h>
10971 #ifdef HAVE_IEEEFP_H
10972 #include <ieeefp.h>
10973 #endif
10976 main ()
10978 _expf(0);
10980 return 0;
10982 _ACEOF
10983 rm -f conftest.$ac_objext
10984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10985 (eval $ac_compile) 2>&5
10986 ac_status=$?
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } &&
10989 { ac_try='test -s conftest.$ac_objext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10992 ac_status=$?
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10995 glibcxx_cv_func__expf_use=yes
10996 else
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.$ac_ext >&5
11000 glibcxx_cv_func__expf_use=no
11002 rm -f conftest.$ac_objext conftest.$ac_ext
11003 ac_ext=c
11004 ac_cpp='$CPP $CPPFLAGS'
11005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11014 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11016 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11018 for ac_func in _expf
11020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11021 echo "$as_me:$LINENO: checking for $ac_func" >&5
11022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11023 if eval "test \"\${$as_ac_var+set}\" = set"; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 else
11026 if test x$gcc_no_link = xyes; then
11027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11029 { (exit 1); exit 1; }; }
11031 cat >conftest.$ac_ext <<_ACEOF
11032 #line $LINENO "configure"
11033 /* confdefs.h. */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 /* System header to define __stub macros and hopefully few prototypes,
11039 which can conflict with char $ac_func (); below.
11040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11041 <limits.h> exists even on freestanding compilers. */
11042 #ifdef __STDC__
11043 # include <limits.h>
11044 #else
11045 # include <assert.h>
11046 #endif
11047 /* Override any gcc2 internal prototype to avoid an error. */
11048 #ifdef __cplusplus
11049 extern "C"
11051 #endif
11052 /* We use char because int might match the return type of a gcc2
11053 builtin and then its argument prototype would still apply. */
11054 char $ac_func ();
11055 /* The GNU C library defines this for functions which it implements
11056 to always fail with ENOSYS. Some functions are actually named
11057 something starting with __ and the normal name is an alias. */
11058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11059 choke me
11060 #else
11061 char (*f) () = $ac_func;
11062 #endif
11063 #ifdef __cplusplus
11065 #endif
11068 main ()
11070 return f != $ac_func;
11072 return 0;
11074 _ACEOF
11075 rm -f conftest.$ac_objext conftest$ac_exeext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11077 (eval $ac_link) 2>&5
11078 ac_status=$?
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try='test -s conftest$ac_exeext'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11084 ac_status=$?
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; }; then
11087 eval "$as_ac_var=yes"
11088 else
11089 echo "$as_me: failed program was:" >&5
11090 sed 's/^/| /' conftest.$ac_ext >&5
11092 eval "$as_ac_var=no"
11094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11098 if test `eval echo '${'$as_ac_var'}'` = yes; then
11099 cat >>confdefs.h <<_ACEOF
11100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11101 _ACEOF
11104 done
11111 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11112 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 else
11120 ac_ext=cc
11121 ac_cpp='$CXXCPP $CPPFLAGS'
11122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11126 cat >conftest.$ac_ext <<_ACEOF
11127 #line $LINENO "configure"
11128 /* confdefs.h. */
11129 _ACEOF
11130 cat confdefs.h >>conftest.$ac_ext
11131 cat >>conftest.$ac_ext <<_ACEOF
11132 /* end confdefs.h. */
11133 #include <math.h>
11134 #ifdef HAVE_IEEEFP_H
11135 #include <ieeefp.h>
11136 #endif
11139 main ()
11141 isnanf(0);
11143 return 0;
11145 _ACEOF
11146 rm -f conftest.$ac_objext
11147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11148 (eval $ac_compile) 2>&5
11149 ac_status=$?
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } &&
11152 { ac_try='test -s conftest.$ac_objext'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11155 ac_status=$?
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then
11158 glibcxx_cv_func_isnanf_use=yes
11159 else
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 glibcxx_cv_func_isnanf_use=no
11165 rm -f conftest.$ac_objext conftest.$ac_ext
11166 ac_ext=c
11167 ac_cpp='$CPP $CPPFLAGS'
11168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11177 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11179 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11181 for ac_func in isnanf
11183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11184 echo "$as_me:$LINENO: checking for $ac_func" >&5
11185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11186 if eval "test \"\${$as_ac_var+set}\" = set"; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11189 if test x$gcc_no_link = xyes; then
11190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11192 { (exit 1); exit 1; }; }
11194 cat >conftest.$ac_ext <<_ACEOF
11195 #line $LINENO "configure"
11196 /* confdefs.h. */
11197 _ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11205 #ifdef __STDC__
11206 # include <limits.h>
11207 #else
11208 # include <assert.h>
11209 #endif
11210 /* Override any gcc2 internal prototype to avoid an error. */
11211 #ifdef __cplusplus
11212 extern "C"
11214 #endif
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11217 char $ac_func ();
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11222 choke me
11223 #else
11224 char (*f) () = $ac_func;
11225 #endif
11226 #ifdef __cplusplus
11228 #endif
11231 main ()
11233 return f != $ac_func;
11235 return 0;
11237 _ACEOF
11238 rm -f conftest.$ac_objext conftest$ac_exeext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11240 (eval $ac_link) 2>&5
11241 ac_status=$?
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } &&
11244 { ac_try='test -s conftest$ac_exeext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11250 eval "$as_ac_var=yes"
11251 else
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11255 eval "$as_ac_var=no"
11257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11261 if test `eval echo '${'$as_ac_var'}'` = yes; then
11262 cat >>confdefs.h <<_ACEOF
11263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11264 _ACEOF
11267 done
11269 else
11271 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11272 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11273 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11274 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 else
11280 ac_ext=cc
11281 ac_cpp='$CXXCPP $CPPFLAGS'
11282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11286 cat >conftest.$ac_ext <<_ACEOF
11287 #line $LINENO "configure"
11288 /* confdefs.h. */
11289 _ACEOF
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 #include <math.h>
11294 #ifdef HAVE_IEEEFP_H
11295 #include <ieeefp.h>
11296 #endif
11299 main ()
11301 _isnanf(0);
11303 return 0;
11305 _ACEOF
11306 rm -f conftest.$ac_objext
11307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11308 (eval $ac_compile) 2>&5
11309 ac_status=$?
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11315 ac_status=$?
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 glibcxx_cv_func__isnanf_use=yes
11319 else
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 glibcxx_cv_func__isnanf_use=no
11325 rm -f conftest.$ac_objext conftest.$ac_ext
11326 ac_ext=c
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11337 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11339 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11341 for ac_func in _isnanf
11343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11344 echo "$as_me:$LINENO: checking for $ac_func" >&5
11345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11346 if eval "test \"\${$as_ac_var+set}\" = set"; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 else
11349 if test x$gcc_no_link = xyes; then
11350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11352 { (exit 1); exit 1; }; }
11354 cat >conftest.$ac_ext <<_ACEOF
11355 #line $LINENO "configure"
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 /* System header to define __stub macros and hopefully few prototypes,
11362 which can conflict with char $ac_func (); below.
11363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11364 <limits.h> exists even on freestanding compilers. */
11365 #ifdef __STDC__
11366 # include <limits.h>
11367 #else
11368 # include <assert.h>
11369 #endif
11370 /* Override any gcc2 internal prototype to avoid an error. */
11371 #ifdef __cplusplus
11372 extern "C"
11374 #endif
11375 /* We use char because int might match the return type of a gcc2
11376 builtin and then its argument prototype would still apply. */
11377 char $ac_func ();
11378 /* The GNU C library defines this for functions which it implements
11379 to always fail with ENOSYS. Some functions are actually named
11380 something starting with __ and the normal name is an alias. */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 choke me
11383 #else
11384 char (*f) () = $ac_func;
11385 #endif
11386 #ifdef __cplusplus
11388 #endif
11391 main ()
11393 return f != $ac_func;
11395 return 0;
11397 _ACEOF
11398 rm -f conftest.$ac_objext conftest$ac_exeext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11400 (eval $ac_link) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } &&
11404 { ac_try='test -s conftest$ac_exeext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 eval "$as_ac_var=yes"
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 eval "$as_ac_var=no"
11417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11421 if test `eval echo '${'$as_ac_var'}'` = yes; then
11422 cat >>confdefs.h <<_ACEOF
11423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11424 _ACEOF
11427 done
11434 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11435 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11436 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11437 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 else
11443 ac_ext=cc
11444 ac_cpp='$CXXCPP $CPPFLAGS'
11445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11449 cat >conftest.$ac_ext <<_ACEOF
11450 #line $LINENO "configure"
11451 /* confdefs.h. */
11452 _ACEOF
11453 cat confdefs.h >>conftest.$ac_ext
11454 cat >>conftest.$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11456 #include <math.h>
11457 #ifdef HAVE_IEEEFP_H
11458 #include <ieeefp.h>
11459 #endif
11462 main ()
11464 isinff(0);
11466 return 0;
11468 _ACEOF
11469 rm -f conftest.$ac_objext
11470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11471 (eval $ac_compile) 2>&5
11472 ac_status=$?
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try='test -s conftest.$ac_objext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 glibcxx_cv_func_isinff_use=yes
11482 else
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.$ac_ext >&5
11486 glibcxx_cv_func_isinff_use=no
11488 rm -f conftest.$ac_objext conftest.$ac_ext
11489 ac_ext=c
11490 ac_cpp='$CPP $CPPFLAGS'
11491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11500 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11502 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11504 for ac_func in isinff
11506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11507 echo "$as_me:$LINENO: checking for $ac_func" >&5
11508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11509 if eval "test \"\${$as_ac_var+set}\" = set"; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 else
11512 if test x$gcc_no_link = xyes; then
11513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11515 { (exit 1); exit 1; }; }
11517 cat >conftest.$ac_ext <<_ACEOF
11518 #line $LINENO "configure"
11519 /* confdefs.h. */
11520 _ACEOF
11521 cat confdefs.h >>conftest.$ac_ext
11522 cat >>conftest.$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11524 /* System header to define __stub macros and hopefully few prototypes,
11525 which can conflict with char $ac_func (); below.
11526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11527 <limits.h> exists even on freestanding compilers. */
11528 #ifdef __STDC__
11529 # include <limits.h>
11530 #else
11531 # include <assert.h>
11532 #endif
11533 /* Override any gcc2 internal prototype to avoid an error. */
11534 #ifdef __cplusplus
11535 extern "C"
11537 #endif
11538 /* We use char because int might match the return type of a gcc2
11539 builtin and then its argument prototype would still apply. */
11540 char $ac_func ();
11541 /* The GNU C library defines this for functions which it implements
11542 to always fail with ENOSYS. Some functions are actually named
11543 something starting with __ and the normal name is an alias. */
11544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11545 choke me
11546 #else
11547 char (*f) () = $ac_func;
11548 #endif
11549 #ifdef __cplusplus
11551 #endif
11554 main ()
11556 return f != $ac_func;
11558 return 0;
11560 _ACEOF
11561 rm -f conftest.$ac_objext conftest$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>&5
11564 ac_status=$?
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -s conftest$ac_exeext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11570 ac_status=$?
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 eval "$as_ac_var=yes"
11574 else
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11578 eval "$as_ac_var=no"
11580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11584 if test `eval echo '${'$as_ac_var'}'` = yes; then
11585 cat >>confdefs.h <<_ACEOF
11586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11587 _ACEOF
11590 done
11592 else
11594 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11595 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11596 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11597 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 else
11603 ac_ext=cc
11604 ac_cpp='$CXXCPP $CPPFLAGS'
11605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11609 cat >conftest.$ac_ext <<_ACEOF
11610 #line $LINENO "configure"
11611 /* confdefs.h. */
11612 _ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 #include <math.h>
11617 #ifdef HAVE_IEEEFP_H
11618 #include <ieeefp.h>
11619 #endif
11622 main ()
11624 _isinff(0);
11626 return 0;
11628 _ACEOF
11629 rm -f conftest.$ac_objext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11631 (eval $ac_compile) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11638 ac_status=$?
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 glibcxx_cv_func__isinff_use=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 glibcxx_cv_func__isinff_use=no
11648 rm -f conftest.$ac_objext conftest.$ac_ext
11649 ac_ext=c
11650 ac_cpp='$CPP $CPPFLAGS'
11651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11660 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11662 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11664 for ac_func in _isinff
11666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11667 echo "$as_me:$LINENO: checking for $ac_func" >&5
11668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11669 if eval "test \"\${$as_ac_var+set}\" = set"; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 else
11672 if test x$gcc_no_link = xyes; then
11673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11675 { (exit 1); exit 1; }; }
11677 cat >conftest.$ac_ext <<_ACEOF
11678 #line $LINENO "configure"
11679 /* confdefs.h. */
11680 _ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 /* System header to define __stub macros and hopefully few prototypes,
11685 which can conflict with char $ac_func (); below.
11686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11687 <limits.h> exists even on freestanding compilers. */
11688 #ifdef __STDC__
11689 # include <limits.h>
11690 #else
11691 # include <assert.h>
11692 #endif
11693 /* Override any gcc2 internal prototype to avoid an error. */
11694 #ifdef __cplusplus
11695 extern "C"
11697 #endif
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11700 char $ac_func ();
11701 /* The GNU C library defines this for functions which it implements
11702 to always fail with ENOSYS. Some functions are actually named
11703 something starting with __ and the normal name is an alias. */
11704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11705 choke me
11706 #else
11707 char (*f) () = $ac_func;
11708 #endif
11709 #ifdef __cplusplus
11711 #endif
11714 main ()
11716 return f != $ac_func;
11718 return 0;
11720 _ACEOF
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>&5
11724 ac_status=$?
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11730 ac_status=$?
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 eval "$as_ac_var=yes"
11734 else
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.$ac_ext >&5
11738 eval "$as_ac_var=no"
11740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11744 if test `eval echo '${'$as_ac_var'}'` = yes; then
11745 cat >>confdefs.h <<_ACEOF
11746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11747 _ACEOF
11750 done
11757 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11758 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11759 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11760 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 else
11766 ac_ext=cc
11767 ac_cpp='$CXXCPP $CPPFLAGS'
11768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11772 cat >conftest.$ac_ext <<_ACEOF
11773 #line $LINENO "configure"
11774 /* confdefs.h. */
11775 _ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 #include <math.h>
11781 main ()
11783 atan2f(0, 0);
11785 return 0;
11787 _ACEOF
11788 rm -f conftest.$ac_objext
11789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11790 (eval $ac_compile) 2>&5
11791 ac_status=$?
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 glibcxx_cv_func_atan2f_use=yes
11801 else
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11805 glibcxx_cv_func_atan2f_use=no
11807 rm -f conftest.$ac_objext conftest.$ac_ext
11808 ac_ext=c
11809 ac_cpp='$CPP $CPPFLAGS'
11810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11819 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11821 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11823 for ac_func in atan2f
11825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11826 echo "$as_me:$LINENO: checking for $ac_func" >&5
11827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11828 if eval "test \"\${$as_ac_var+set}\" = set"; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 else
11831 if test x$gcc_no_link = xyes; then
11832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11834 { (exit 1); exit 1; }; }
11836 cat >conftest.$ac_ext <<_ACEOF
11837 #line $LINENO "configure"
11838 /* confdefs.h. */
11839 _ACEOF
11840 cat confdefs.h >>conftest.$ac_ext
11841 cat >>conftest.$ac_ext <<_ACEOF
11842 /* end confdefs.h. */
11843 /* System header to define __stub macros and hopefully few prototypes,
11844 which can conflict with char $ac_func (); below.
11845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846 <limits.h> exists even on freestanding compilers. */
11847 #ifdef __STDC__
11848 # include <limits.h>
11849 #else
11850 # include <assert.h>
11851 #endif
11852 /* Override any gcc2 internal prototype to avoid an error. */
11853 #ifdef __cplusplus
11854 extern "C"
11856 #endif
11857 /* We use char because int might match the return type of a gcc2
11858 builtin and then its argument prototype would still apply. */
11859 char $ac_func ();
11860 /* The GNU C library defines this for functions which it implements
11861 to always fail with ENOSYS. Some functions are actually named
11862 something starting with __ and the normal name is an alias. */
11863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11864 choke me
11865 #else
11866 char (*f) () = $ac_func;
11867 #endif
11868 #ifdef __cplusplus
11870 #endif
11873 main ()
11875 return f != $ac_func;
11877 return 0;
11879 _ACEOF
11880 rm -f conftest.$ac_objext conftest$ac_exeext
11881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11882 (eval $ac_link) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -s conftest$ac_exeext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 eval "$as_ac_var=yes"
11893 else
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.$ac_ext >&5
11897 eval "$as_ac_var=no"
11899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11903 if test `eval echo '${'$as_ac_var'}'` = yes; then
11904 cat >>confdefs.h <<_ACEOF
11905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11906 _ACEOF
11909 done
11911 else
11913 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11914 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11915 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11916 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 else
11922 ac_ext=cc
11923 ac_cpp='$CXXCPP $CPPFLAGS'
11924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 cat >conftest.$ac_ext <<_ACEOF
11929 #line $LINENO "configure"
11930 /* confdefs.h. */
11931 _ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 #include <math.h>
11937 main ()
11939 _atan2f(0, 0);
11941 return 0;
11943 _ACEOF
11944 rm -f conftest.$ac_objext
11945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11946 (eval $ac_compile) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } &&
11950 { ac_try='test -s conftest.$ac_objext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 glibcxx_cv_func__atan2f_use=yes
11957 else
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 glibcxx_cv_func__atan2f_use=no
11963 rm -f conftest.$ac_objext conftest.$ac_ext
11964 ac_ext=c
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11975 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11977 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11979 for ac_func in _atan2f
11981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11982 echo "$as_me:$LINENO: checking for $ac_func" >&5
11983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11984 if eval "test \"\${$as_ac_var+set}\" = set"; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 else
11987 if test x$gcc_no_link = xyes; then
11988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11990 { (exit 1); exit 1; }; }
11992 cat >conftest.$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11994 /* confdefs.h. */
11995 _ACEOF
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 /* System header to define __stub macros and hopefully few prototypes,
12000 which can conflict with char $ac_func (); below.
12001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 <limits.h> exists even on freestanding compilers. */
12003 #ifdef __STDC__
12004 # include <limits.h>
12005 #else
12006 # include <assert.h>
12007 #endif
12008 /* Override any gcc2 internal prototype to avoid an error. */
12009 #ifdef __cplusplus
12010 extern "C"
12012 #endif
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12015 char $ac_func ();
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12020 choke me
12021 #else
12022 char (*f) () = $ac_func;
12023 #endif
12024 #ifdef __cplusplus
12026 #endif
12029 main ()
12031 return f != $ac_func;
12033 return 0;
12035 _ACEOF
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 (eval $ac_link) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 eval "$as_ac_var=yes"
12049 else
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 eval "$as_ac_var=no"
12055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12059 if test `eval echo '${'$as_ac_var'}'` = yes; then
12060 cat >>confdefs.h <<_ACEOF
12061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12062 _ACEOF
12065 done
12072 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12074 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12075 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 else
12081 ac_ext=cc
12082 ac_cpp='$CXXCPP $CPPFLAGS'
12083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12087 cat >conftest.$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <math.h>
12095 #ifdef HAVE_IEEEFP_H
12096 #include <ieeefp.h>
12097 #endif
12100 main ()
12102 fabsf(0);
12104 return 0;
12106 _ACEOF
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12110 ac_status=$?
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119 glibcxx_cv_func_fabsf_use=yes
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 glibcxx_cv_func_fabsf_use=no
12126 rm -f conftest.$ac_objext conftest.$ac_ext
12127 ac_ext=c
12128 ac_cpp='$CPP $CPPFLAGS'
12129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12138 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12140 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12142 for ac_func in fabsf
12144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12145 echo "$as_me:$LINENO: checking for $ac_func" >&5
12146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12147 if eval "test \"\${$as_ac_var+set}\" = set"; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 if test x$gcc_no_link = xyes; then
12151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12153 { (exit 1); exit 1; }; }
12155 cat >conftest.$ac_ext <<_ACEOF
12156 #line $LINENO "configure"
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* System header to define __stub macros and hopefully few prototypes,
12163 which can conflict with char $ac_func (); below.
12164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12165 <limits.h> exists even on freestanding compilers. */
12166 #ifdef __STDC__
12167 # include <limits.h>
12168 #else
12169 # include <assert.h>
12170 #endif
12171 /* Override any gcc2 internal prototype to avoid an error. */
12172 #ifdef __cplusplus
12173 extern "C"
12175 #endif
12176 /* We use char because int might match the return type of a gcc2
12177 builtin and then its argument prototype would still apply. */
12178 char $ac_func ();
12179 /* The GNU C library defines this for functions which it implements
12180 to always fail with ENOSYS. Some functions are actually named
12181 something starting with __ and the normal name is an alias. */
12182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12183 choke me
12184 #else
12185 char (*f) () = $ac_func;
12186 #endif
12187 #ifdef __cplusplus
12189 #endif
12192 main ()
12194 return f != $ac_func;
12196 return 0;
12198 _ACEOF
12199 rm -f conftest.$ac_objext conftest$ac_exeext
12200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12201 (eval $ac_link) 2>&5
12202 ac_status=$?
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); } &&
12205 { ac_try='test -s conftest$ac_exeext'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12208 ac_status=$?
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; }; then
12211 eval "$as_ac_var=yes"
12212 else
12213 echo "$as_me: failed program was:" >&5
12214 sed 's/^/| /' conftest.$ac_ext >&5
12216 eval "$as_ac_var=no"
12218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12222 if test `eval echo '${'$as_ac_var'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12225 _ACEOF
12228 done
12230 else
12232 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12233 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12234 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12235 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12241 ac_ext=cc
12242 ac_cpp='$CXXCPP $CPPFLAGS'
12243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12247 cat >conftest.$ac_ext <<_ACEOF
12248 #line $LINENO "configure"
12249 /* confdefs.h. */
12250 _ACEOF
12251 cat confdefs.h >>conftest.$ac_ext
12252 cat >>conftest.$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12254 #include <math.h>
12255 #ifdef HAVE_IEEEFP_H
12256 #include <ieeefp.h>
12257 #endif
12260 main ()
12262 _fabsf(0);
12264 return 0;
12266 _ACEOF
12267 rm -f conftest.$ac_objext
12268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12269 (eval $ac_compile) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try='test -s conftest.$ac_objext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12276 ac_status=$?
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12279 glibcxx_cv_func__fabsf_use=yes
12280 else
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.$ac_ext >&5
12284 glibcxx_cv_func__fabsf_use=no
12286 rm -f conftest.$ac_objext conftest.$ac_ext
12287 ac_ext=c
12288 ac_cpp='$CPP $CPPFLAGS'
12289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12298 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12300 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12302 for ac_func in _fabsf
12304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12305 echo "$as_me:$LINENO: checking for $ac_func" >&5
12306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12307 if eval "test \"\${$as_ac_var+set}\" = set"; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 else
12310 if test x$gcc_no_link = xyes; then
12311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12313 { (exit 1); exit 1; }; }
12315 cat >conftest.$ac_ext <<_ACEOF
12316 #line $LINENO "configure"
12317 /* confdefs.h. */
12318 _ACEOF
12319 cat confdefs.h >>conftest.$ac_ext
12320 cat >>conftest.$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12322 /* System header to define __stub macros and hopefully few prototypes,
12323 which can conflict with char $ac_func (); below.
12324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12325 <limits.h> exists even on freestanding compilers. */
12326 #ifdef __STDC__
12327 # include <limits.h>
12328 #else
12329 # include <assert.h>
12330 #endif
12331 /* Override any gcc2 internal prototype to avoid an error. */
12332 #ifdef __cplusplus
12333 extern "C"
12335 #endif
12336 /* We use char because int might match the return type of a gcc2
12337 builtin and then its argument prototype would still apply. */
12338 char $ac_func ();
12339 /* The GNU C library defines this for functions which it implements
12340 to always fail with ENOSYS. Some functions are actually named
12341 something starting with __ and the normal name is an alias. */
12342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12343 choke me
12344 #else
12345 char (*f) () = $ac_func;
12346 #endif
12347 #ifdef __cplusplus
12349 #endif
12352 main ()
12354 return f != $ac_func;
12356 return 0;
12358 _ACEOF
12359 rm -f conftest.$ac_objext conftest$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 eval "$as_ac_var=yes"
12372 else
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.$ac_ext >&5
12376 eval "$as_ac_var=no"
12378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12382 if test `eval echo '${'$as_ac_var'}'` = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12385 _ACEOF
12388 done
12395 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12396 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12397 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12398 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12400 else
12404 ac_ext=cc
12405 ac_cpp='$CXXCPP $CPPFLAGS'
12406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12410 cat >conftest.$ac_ext <<_ACEOF
12411 #line $LINENO "configure"
12412 /* confdefs.h. */
12413 _ACEOF
12414 cat confdefs.h >>conftest.$ac_ext
12415 cat >>conftest.$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12417 #include <math.h>
12419 main ()
12421 fmodf(0, 0);
12423 return 0;
12425 _ACEOF
12426 rm -f conftest.$ac_objext
12427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12428 (eval $ac_compile) 2>&5
12429 ac_status=$?
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -s conftest.$ac_objext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 glibcxx_cv_func_fmodf_use=yes
12439 else
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12443 glibcxx_cv_func_fmodf_use=no
12445 rm -f conftest.$ac_objext conftest.$ac_ext
12446 ac_ext=c
12447 ac_cpp='$CPP $CPPFLAGS'
12448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12457 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12459 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12461 for ac_func in fmodf
12463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12464 echo "$as_me:$LINENO: checking for $ac_func" >&5
12465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12466 if eval "test \"\${$as_ac_var+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 else
12469 if test x$gcc_no_link = xyes; then
12470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12472 { (exit 1); exit 1; }; }
12474 cat >conftest.$ac_ext <<_ACEOF
12475 #line $LINENO "configure"
12476 /* confdefs.h. */
12477 _ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12481 /* System header to define __stub macros and hopefully few prototypes,
12482 which can conflict with char $ac_func (); below.
12483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12484 <limits.h> exists even on freestanding compilers. */
12485 #ifdef __STDC__
12486 # include <limits.h>
12487 #else
12488 # include <assert.h>
12489 #endif
12490 /* Override any gcc2 internal prototype to avoid an error. */
12491 #ifdef __cplusplus
12492 extern "C"
12494 #endif
12495 /* We use char because int might match the return type of a gcc2
12496 builtin and then its argument prototype would still apply. */
12497 char $ac_func ();
12498 /* The GNU C library defines this for functions which it implements
12499 to always fail with ENOSYS. Some functions are actually named
12500 something starting with __ and the normal name is an alias. */
12501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12502 choke me
12503 #else
12504 char (*f) () = $ac_func;
12505 #endif
12506 #ifdef __cplusplus
12508 #endif
12511 main ()
12513 return f != $ac_func;
12515 return 0;
12517 _ACEOF
12518 rm -f conftest.$ac_objext conftest$ac_exeext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12520 (eval $ac_link) 2>&5
12521 ac_status=$?
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try='test -s conftest$ac_exeext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12527 ac_status=$?
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 eval "$as_ac_var=yes"
12531 else
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12535 eval "$as_ac_var=no"
12537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12541 if test `eval echo '${'$as_ac_var'}'` = yes; then
12542 cat >>confdefs.h <<_ACEOF
12543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12544 _ACEOF
12547 done
12549 else
12551 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12552 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12553 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12554 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12556 else
12560 ac_ext=cc
12561 ac_cpp='$CXXCPP $CPPFLAGS'
12562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12566 cat >conftest.$ac_ext <<_ACEOF
12567 #line $LINENO "configure"
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 #include <math.h>
12575 main ()
12577 _fmodf(0, 0);
12579 return 0;
12581 _ACEOF
12582 rm -f conftest.$ac_objext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584 (eval $ac_compile) 2>&5
12585 ac_status=$?
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 glibcxx_cv_func__fmodf_use=yes
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 glibcxx_cv_func__fmodf_use=no
12601 rm -f conftest.$ac_objext conftest.$ac_ext
12602 ac_ext=c
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12613 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12615 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12617 for ac_func in _fmodf
12619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12620 echo "$as_me:$LINENO: checking for $ac_func" >&5
12621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12622 if eval "test \"\${$as_ac_var+set}\" = set"; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 else
12625 if test x$gcc_no_link = xyes; then
12626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12628 { (exit 1); exit 1; }; }
12630 cat >conftest.$ac_ext <<_ACEOF
12631 #line $LINENO "configure"
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 /* System header to define __stub macros and hopefully few prototypes,
12638 which can conflict with char $ac_func (); below.
12639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12640 <limits.h> exists even on freestanding compilers. */
12641 #ifdef __STDC__
12642 # include <limits.h>
12643 #else
12644 # include <assert.h>
12645 #endif
12646 /* Override any gcc2 internal prototype to avoid an error. */
12647 #ifdef __cplusplus
12648 extern "C"
12650 #endif
12651 /* We use char because int might match the return type of a gcc2
12652 builtin and then its argument prototype would still apply. */
12653 char $ac_func ();
12654 /* The GNU C library defines this for functions which it implements
12655 to always fail with ENOSYS. Some functions are actually named
12656 something starting with __ and the normal name is an alias. */
12657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12658 choke me
12659 #else
12660 char (*f) () = $ac_func;
12661 #endif
12662 #ifdef __cplusplus
12664 #endif
12667 main ()
12669 return f != $ac_func;
12671 return 0;
12673 _ACEOF
12674 rm -f conftest.$ac_objext conftest$ac_exeext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12676 (eval $ac_link) 2>&5
12677 ac_status=$?
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try='test -s conftest$ac_exeext'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; }; then
12686 eval "$as_ac_var=yes"
12687 else
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 eval "$as_ac_var=no"
12693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12697 if test `eval echo '${'$as_ac_var'}'` = yes; then
12698 cat >>confdefs.h <<_ACEOF
12699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12700 _ACEOF
12703 done
12710 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12711 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12712 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12713 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12719 ac_ext=cc
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12725 cat >conftest.$ac_ext <<_ACEOF
12726 #line $LINENO "configure"
12727 /* confdefs.h. */
12728 _ACEOF
12729 cat confdefs.h >>conftest.$ac_ext
12730 cat >>conftest.$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 #include <math.h>
12734 main ()
12736 frexpf(0, 0);
12738 return 0;
12740 _ACEOF
12741 rm -f conftest.$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>&5
12744 ac_status=$?
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try='test -s conftest.$ac_objext'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12750 ac_status=$?
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; }; then
12753 glibcxx_cv_func_frexpf_use=yes
12754 else
12755 echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.$ac_ext >&5
12758 glibcxx_cv_func_frexpf_use=no
12760 rm -f conftest.$ac_objext conftest.$ac_ext
12761 ac_ext=c
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12772 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12774 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12776 for ac_func in frexpf
12778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12779 echo "$as_me:$LINENO: checking for $ac_func" >&5
12780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12781 if eval "test \"\${$as_ac_var+set}\" = set"; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12783 else
12784 if test x$gcc_no_link = xyes; then
12785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12787 { (exit 1); exit 1; }; }
12789 cat >conftest.$ac_ext <<_ACEOF
12790 #line $LINENO "configure"
12791 /* confdefs.h. */
12792 _ACEOF
12793 cat confdefs.h >>conftest.$ac_ext
12794 cat >>conftest.$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 /* System header to define __stub macros and hopefully few prototypes,
12797 which can conflict with char $ac_func (); below.
12798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12799 <limits.h> exists even on freestanding compilers. */
12800 #ifdef __STDC__
12801 # include <limits.h>
12802 #else
12803 # include <assert.h>
12804 #endif
12805 /* Override any gcc2 internal prototype to avoid an error. */
12806 #ifdef __cplusplus
12807 extern "C"
12809 #endif
12810 /* We use char because int might match the return type of a gcc2
12811 builtin and then its argument prototype would still apply. */
12812 char $ac_func ();
12813 /* The GNU C library defines this for functions which it implements
12814 to always fail with ENOSYS. Some functions are actually named
12815 something starting with __ and the normal name is an alias. */
12816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12817 choke me
12818 #else
12819 char (*f) () = $ac_func;
12820 #endif
12821 #ifdef __cplusplus
12823 #endif
12826 main ()
12828 return f != $ac_func;
12830 return 0;
12832 _ACEOF
12833 rm -f conftest.$ac_objext conftest$ac_exeext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12835 (eval $ac_link) 2>&5
12836 ac_status=$?
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try='test -s conftest$ac_exeext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 eval "$as_ac_var=yes"
12846 else
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.$ac_ext >&5
12850 eval "$as_ac_var=no"
12852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12856 if test `eval echo '${'$as_ac_var'}'` = yes; then
12857 cat >>confdefs.h <<_ACEOF
12858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12859 _ACEOF
12862 done
12864 else
12866 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12867 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12868 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12869 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 else
12875 ac_ext=cc
12876 ac_cpp='$CXXCPP $CPPFLAGS'
12877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12881 cat >conftest.$ac_ext <<_ACEOF
12882 #line $LINENO "configure"
12883 /* confdefs.h. */
12884 _ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12888 #include <math.h>
12890 main ()
12892 _frexpf(0, 0);
12894 return 0;
12896 _ACEOF
12897 rm -f conftest.$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } &&
12903 { ac_try='test -s conftest.$ac_objext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12906 ac_status=$?
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 glibcxx_cv_func__frexpf_use=yes
12910 else
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 glibcxx_cv_func__frexpf_use=no
12916 rm -f conftest.$ac_objext conftest.$ac_ext
12917 ac_ext=c
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12928 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12930 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12932 for ac_func in _frexpf
12934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12935 echo "$as_me:$LINENO: checking for $ac_func" >&5
12936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_var+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 else
12940 if test x$gcc_no_link = xyes; then
12941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12943 { (exit 1); exit 1; }; }
12945 cat >conftest.$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* System header to define __stub macros and hopefully few prototypes,
12953 which can conflict with char $ac_func (); below.
12954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12955 <limits.h> exists even on freestanding compilers. */
12956 #ifdef __STDC__
12957 # include <limits.h>
12958 #else
12959 # include <assert.h>
12960 #endif
12961 /* Override any gcc2 internal prototype to avoid an error. */
12962 #ifdef __cplusplus
12963 extern "C"
12965 #endif
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12968 char $ac_func ();
12969 /* The GNU C library defines this for functions which it implements
12970 to always fail with ENOSYS. Some functions are actually named
12971 something starting with __ and the normal name is an alias. */
12972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12973 choke me
12974 #else
12975 char (*f) () = $ac_func;
12976 #endif
12977 #ifdef __cplusplus
12979 #endif
12982 main ()
12984 return f != $ac_func;
12986 return 0;
12988 _ACEOF
12989 rm -f conftest.$ac_objext conftest$ac_exeext
12990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 eval "$as_ac_var=yes"
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 eval "$as_ac_var=no"
13008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13012 if test `eval echo '${'$as_ac_var'}'` = yes; then
13013 cat >>confdefs.h <<_ACEOF
13014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13015 _ACEOF
13018 done
13025 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13026 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13027 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13028 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 else
13034 ac_ext=cc
13035 ac_cpp='$CXXCPP $CPPFLAGS'
13036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13040 cat >conftest.$ac_ext <<_ACEOF
13041 #line $LINENO "configure"
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 #include <math.h>
13049 main ()
13051 hypotf(0, 0);
13053 return 0;
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>&5
13059 ac_status=$?
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try='test -s conftest.$ac_objext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13065 ac_status=$?
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 glibcxx_cv_func_hypotf_use=yes
13069 else
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13073 glibcxx_cv_func_hypotf_use=no
13075 rm -f conftest.$ac_objext conftest.$ac_ext
13076 ac_ext=c
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13087 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13089 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13091 for ac_func in hypotf
13093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13094 echo "$as_me:$LINENO: checking for $ac_func" >&5
13095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_var+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 else
13099 if test x$gcc_no_link = xyes; then
13100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13102 { (exit 1); exit 1; }; }
13104 cat >conftest.$ac_ext <<_ACEOF
13105 #line $LINENO "configure"
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 /* System header to define __stub macros and hopefully few prototypes,
13112 which can conflict with char $ac_func (); below.
13113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13114 <limits.h> exists even on freestanding compilers. */
13115 #ifdef __STDC__
13116 # include <limits.h>
13117 #else
13118 # include <assert.h>
13119 #endif
13120 /* Override any gcc2 internal prototype to avoid an error. */
13121 #ifdef __cplusplus
13122 extern "C"
13124 #endif
13125 /* We use char because int might match the return type of a gcc2
13126 builtin and then its argument prototype would still apply. */
13127 char $ac_func ();
13128 /* The GNU C library defines this for functions which it implements
13129 to always fail with ENOSYS. Some functions are actually named
13130 something starting with __ and the normal name is an alias. */
13131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13132 choke me
13133 #else
13134 char (*f) () = $ac_func;
13135 #endif
13136 #ifdef __cplusplus
13138 #endif
13141 main ()
13143 return f != $ac_func;
13145 return 0;
13147 _ACEOF
13148 rm -f conftest.$ac_objext conftest$ac_exeext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13150 (eval $ac_link) 2>&5
13151 ac_status=$?
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } &&
13154 { ac_try='test -s conftest$ac_exeext'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 eval "$as_ac_var=yes"
13161 else
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13165 eval "$as_ac_var=no"
13167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13171 if test `eval echo '${'$as_ac_var'}'` = yes; then
13172 cat >>confdefs.h <<_ACEOF
13173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13174 _ACEOF
13177 done
13179 else
13181 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13182 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13183 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13184 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 else
13190 ac_ext=cc
13191 ac_cpp='$CXXCPP $CPPFLAGS'
13192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13196 cat >conftest.$ac_ext <<_ACEOF
13197 #line $LINENO "configure"
13198 /* confdefs.h. */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <math.h>
13205 main ()
13207 _hypotf(0, 0);
13209 return 0;
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>&5
13215 ac_status=$?
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -s conftest.$ac_objext'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; }; then
13224 glibcxx_cv_func__hypotf_use=yes
13225 else
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13229 glibcxx_cv_func__hypotf_use=no
13231 rm -f conftest.$ac_objext conftest.$ac_ext
13232 ac_ext=c
13233 ac_cpp='$CPP $CPPFLAGS'
13234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13243 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13247 for ac_func in _hypotf
13249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13250 echo "$as_me:$LINENO: checking for $ac_func" >&5
13251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_var+set}\" = set"; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 else
13255 if test x$gcc_no_link = xyes; then
13256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13258 { (exit 1); exit 1; }; }
13260 cat >conftest.$ac_ext <<_ACEOF
13261 #line $LINENO "configure"
13262 /* confdefs.h. */
13263 _ACEOF
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func (); below.
13269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13270 <limits.h> exists even on freestanding compilers. */
13271 #ifdef __STDC__
13272 # include <limits.h>
13273 #else
13274 # include <assert.h>
13275 #endif
13276 /* Override any gcc2 internal prototype to avoid an error. */
13277 #ifdef __cplusplus
13278 extern "C"
13280 #endif
13281 /* We use char because int might match the return type of a gcc2
13282 builtin and then its argument prototype would still apply. */
13283 char $ac_func ();
13284 /* The GNU C library defines this for functions which it implements
13285 to always fail with ENOSYS. Some functions are actually named
13286 something starting with __ and the normal name is an alias. */
13287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13288 choke me
13289 #else
13290 char (*f) () = $ac_func;
13291 #endif
13292 #ifdef __cplusplus
13294 #endif
13297 main ()
13299 return f != $ac_func;
13301 return 0;
13303 _ACEOF
13304 rm -f conftest.$ac_objext conftest$ac_exeext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13306 (eval $ac_link) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } &&
13310 { ac_try='test -s conftest$ac_exeext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 eval "$as_ac_var=yes"
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13321 eval "$as_ac_var=no"
13323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13327 if test `eval echo '${'$as_ac_var'}'` = yes; then
13328 cat >>confdefs.h <<_ACEOF
13329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13330 _ACEOF
13333 done
13340 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13341 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13342 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13343 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 else
13349 ac_ext=cc
13350 ac_cpp='$CXXCPP $CPPFLAGS'
13351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13355 cat >conftest.$ac_ext <<_ACEOF
13356 #line $LINENO "configure"
13357 /* confdefs.h. */
13358 _ACEOF
13359 cat confdefs.h >>conftest.$ac_ext
13360 cat >>conftest.$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13362 #include <math.h>
13364 main ()
13366 ldexpf(0, 0);
13368 return 0;
13370 _ACEOF
13371 rm -f conftest.$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 glibcxx_cv_func_ldexpf_use=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13388 glibcxx_cv_func_ldexpf_use=no
13390 rm -f conftest.$ac_objext conftest.$ac_ext
13391 ac_ext=c
13392 ac_cpp='$CPP $CPPFLAGS'
13393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13402 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13404 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13406 for ac_func in ldexpf
13408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13409 echo "$as_me:$LINENO: checking for $ac_func" >&5
13410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_var+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 if test x$gcc_no_link = xyes; then
13415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13417 { (exit 1); exit 1; }; }
13419 cat >conftest.$ac_ext <<_ACEOF
13420 #line $LINENO "configure"
13421 /* confdefs.h. */
13422 _ACEOF
13423 cat confdefs.h >>conftest.$ac_ext
13424 cat >>conftest.$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 /* System header to define __stub macros and hopefully few prototypes,
13427 which can conflict with char $ac_func (); below.
13428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13429 <limits.h> exists even on freestanding compilers. */
13430 #ifdef __STDC__
13431 # include <limits.h>
13432 #else
13433 # include <assert.h>
13434 #endif
13435 /* Override any gcc2 internal prototype to avoid an error. */
13436 #ifdef __cplusplus
13437 extern "C"
13439 #endif
13440 /* We use char because int might match the return type of a gcc2
13441 builtin and then its argument prototype would still apply. */
13442 char $ac_func ();
13443 /* The GNU C library defines this for functions which it implements
13444 to always fail with ENOSYS. Some functions are actually named
13445 something starting with __ and the normal name is an alias. */
13446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13447 choke me
13448 #else
13449 char (*f) () = $ac_func;
13450 #endif
13451 #ifdef __cplusplus
13453 #endif
13456 main ()
13458 return f != $ac_func;
13460 return 0;
13462 _ACEOF
13463 rm -f conftest.$ac_objext conftest$ac_exeext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13465 (eval $ac_link) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -s conftest$ac_exeext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 eval "$as_ac_var=yes"
13476 else
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13480 eval "$as_ac_var=no"
13482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13486 if test `eval echo '${'$as_ac_var'}'` = yes; then
13487 cat >>confdefs.h <<_ACEOF
13488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13489 _ACEOF
13492 done
13494 else
13496 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13497 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13498 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13499 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13505 ac_ext=cc
13506 ac_cpp='$CXXCPP $CPPFLAGS'
13507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13511 cat >conftest.$ac_ext <<_ACEOF
13512 #line $LINENO "configure"
13513 /* confdefs.h. */
13514 _ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13518 #include <math.h>
13520 main ()
13522 _ldexpf(0, 0);
13524 return 0;
13526 _ACEOF
13527 rm -f conftest.$ac_objext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13529 (eval $ac_compile) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } &&
13533 { ac_try='test -s conftest.$ac_objext'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13536 ac_status=$?
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 glibcxx_cv_func__ldexpf_use=yes
13540 else
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13544 glibcxx_cv_func__ldexpf_use=no
13546 rm -f conftest.$ac_objext conftest.$ac_ext
13547 ac_ext=c
13548 ac_cpp='$CPP $CPPFLAGS'
13549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13558 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13560 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13562 for ac_func in _ldexpf
13564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13565 echo "$as_me:$LINENO: checking for $ac_func" >&5
13566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13567 if eval "test \"\${$as_ac_var+set}\" = set"; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 else
13570 if test x$gcc_no_link = xyes; then
13571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13573 { (exit 1); exit 1; }; }
13575 cat >conftest.$ac_ext <<_ACEOF
13576 #line $LINENO "configure"
13577 /* confdefs.h. */
13578 _ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13582 /* System header to define __stub macros and hopefully few prototypes,
13583 which can conflict with char $ac_func (); below.
13584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13585 <limits.h> exists even on freestanding compilers. */
13586 #ifdef __STDC__
13587 # include <limits.h>
13588 #else
13589 # include <assert.h>
13590 #endif
13591 /* Override any gcc2 internal prototype to avoid an error. */
13592 #ifdef __cplusplus
13593 extern "C"
13595 #endif
13596 /* We use char because int might match the return type of a gcc2
13597 builtin and then its argument prototype would still apply. */
13598 char $ac_func ();
13599 /* The GNU C library defines this for functions which it implements
13600 to always fail with ENOSYS. Some functions are actually named
13601 something starting with __ and the normal name is an alias. */
13602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13603 choke me
13604 #else
13605 char (*f) () = $ac_func;
13606 #endif
13607 #ifdef __cplusplus
13609 #endif
13612 main ()
13614 return f != $ac_func;
13616 return 0;
13618 _ACEOF
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13621 (eval $ac_link) 2>&5
13622 ac_status=$?
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } &&
13625 { ac_try='test -s conftest$ac_exeext'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13628 ac_status=$?
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; }; then
13631 eval "$as_ac_var=yes"
13632 else
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.$ac_ext >&5
13636 eval "$as_ac_var=no"
13638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13642 if test `eval echo '${'$as_ac_var'}'` = yes; then
13643 cat >>confdefs.h <<_ACEOF
13644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13645 _ACEOF
13648 done
13655 echo "$as_me:$LINENO: checking for logf declaration" >&5
13656 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13657 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13658 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13664 ac_ext=cc
13665 ac_cpp='$CXXCPP $CPPFLAGS'
13666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13670 cat >conftest.$ac_ext <<_ACEOF
13671 #line $LINENO "configure"
13672 /* confdefs.h. */
13673 _ACEOF
13674 cat confdefs.h >>conftest.$ac_ext
13675 cat >>conftest.$ac_ext <<_ACEOF
13676 /* end confdefs.h. */
13677 #include <math.h>
13678 #ifdef HAVE_IEEEFP_H
13679 #include <ieeefp.h>
13680 #endif
13683 main ()
13685 logf(0);
13687 return 0;
13689 _ACEOF
13690 rm -f conftest.$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 glibcxx_cv_func_logf_use=yes
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13707 glibcxx_cv_func_logf_use=no
13709 rm -f conftest.$ac_objext conftest.$ac_ext
13710 ac_ext=c
13711 ac_cpp='$CPP $CPPFLAGS'
13712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13721 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13723 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13725 for ac_func in logf
13727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13730 if eval "test \"\${$as_ac_var+set}\" = set"; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733 if test x$gcc_no_link = xyes; then
13734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13736 { (exit 1); exit 1; }; }
13738 cat >conftest.$ac_ext <<_ACEOF
13739 #line $LINENO "configure"
13740 /* confdefs.h. */
13741 _ACEOF
13742 cat confdefs.h >>conftest.$ac_ext
13743 cat >>conftest.$ac_ext <<_ACEOF
13744 /* end confdefs.h. */
13745 /* System header to define __stub macros and hopefully few prototypes,
13746 which can conflict with char $ac_func (); below.
13747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13748 <limits.h> exists even on freestanding compilers. */
13749 #ifdef __STDC__
13750 # include <limits.h>
13751 #else
13752 # include <assert.h>
13753 #endif
13754 /* Override any gcc2 internal prototype to avoid an error. */
13755 #ifdef __cplusplus
13756 extern "C"
13758 #endif
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13761 char $ac_func ();
13762 /* The GNU C library defines this for functions which it implements
13763 to always fail with ENOSYS. Some functions are actually named
13764 something starting with __ and the normal name is an alias. */
13765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13766 choke me
13767 #else
13768 char (*f) () = $ac_func;
13769 #endif
13770 #ifdef __cplusplus
13772 #endif
13775 main ()
13777 return f != $ac_func;
13779 return 0;
13781 _ACEOF
13782 rm -f conftest.$ac_objext conftest$ac_exeext
13783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13784 (eval $ac_link) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13791 ac_status=$?
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 eval "$as_ac_var=yes"
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 eval "$as_ac_var=no"
13801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13805 if test `eval echo '${'$as_ac_var'}'` = yes; then
13806 cat >>confdefs.h <<_ACEOF
13807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13808 _ACEOF
13811 done
13813 else
13815 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13816 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13817 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13818 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 else
13824 ac_ext=cc
13825 ac_cpp='$CXXCPP $CPPFLAGS'
13826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13830 cat >conftest.$ac_ext <<_ACEOF
13831 #line $LINENO "configure"
13832 /* confdefs.h. */
13833 _ACEOF
13834 cat confdefs.h >>conftest.$ac_ext
13835 cat >>conftest.$ac_ext <<_ACEOF
13836 /* end confdefs.h. */
13837 #include <math.h>
13838 #ifdef HAVE_IEEEFP_H
13839 #include <ieeefp.h>
13840 #endif
13843 main ()
13845 _logf(0);
13847 return 0;
13849 _ACEOF
13850 rm -f conftest.$ac_objext
13851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13852 (eval $ac_compile) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try='test -s conftest.$ac_objext'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13859 ac_status=$?
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 glibcxx_cv_func__logf_use=yes
13863 else
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.$ac_ext >&5
13867 glibcxx_cv_func__logf_use=no
13869 rm -f conftest.$ac_objext conftest.$ac_ext
13870 ac_ext=c
13871 ac_cpp='$CPP $CPPFLAGS'
13872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13881 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13885 for ac_func in _logf
13887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13888 echo "$as_me:$LINENO: checking for $ac_func" >&5
13889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13890 if eval "test \"\${$as_ac_var+set}\" = set"; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 else
13893 if test x$gcc_no_link = xyes; then
13894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13896 { (exit 1); exit 1; }; }
13898 cat >conftest.$ac_ext <<_ACEOF
13899 #line $LINENO "configure"
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 /* System header to define __stub macros and hopefully few prototypes,
13906 which can conflict with char $ac_func (); below.
13907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13908 <limits.h> exists even on freestanding compilers. */
13909 #ifdef __STDC__
13910 # include <limits.h>
13911 #else
13912 # include <assert.h>
13913 #endif
13914 /* Override any gcc2 internal prototype to avoid an error. */
13915 #ifdef __cplusplus
13916 extern "C"
13918 #endif
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13921 char $ac_func ();
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 choke me
13927 #else
13928 char (*f) () = $ac_func;
13929 #endif
13930 #ifdef __cplusplus
13932 #endif
13935 main ()
13937 return f != $ac_func;
13939 return 0;
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13951 ac_status=$?
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 eval "$as_ac_var=yes"
13955 else
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13959 eval "$as_ac_var=no"
13961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13965 if test `eval echo '${'$as_ac_var'}'` = yes; then
13966 cat >>confdefs.h <<_ACEOF
13967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13968 _ACEOF
13971 done
13978 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13979 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13980 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13981 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 else
13987 ac_ext=cc
13988 ac_cpp='$CXXCPP $CPPFLAGS'
13989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13993 cat >conftest.$ac_ext <<_ACEOF
13994 #line $LINENO "configure"
13995 /* confdefs.h. */
13996 _ACEOF
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14000 #include <math.h>
14001 #ifdef HAVE_IEEEFP_H
14002 #include <ieeefp.h>
14003 #endif
14006 main ()
14008 log10f(0);
14010 return 0;
14012 _ACEOF
14013 rm -f conftest.$ac_objext
14014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14015 (eval $ac_compile) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 glibcxx_cv_func_log10f_use=yes
14026 else
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14030 glibcxx_cv_func_log10f_use=no
14032 rm -f conftest.$ac_objext conftest.$ac_ext
14033 ac_ext=c
14034 ac_cpp='$CPP $CPPFLAGS'
14035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14044 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14046 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14048 for ac_func in log10f
14050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14051 echo "$as_me:$LINENO: checking for $ac_func" >&5
14052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14053 if eval "test \"\${$as_ac_var+set}\" = set"; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 else
14056 if test x$gcc_no_link = xyes; then
14057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14059 { (exit 1); exit 1; }; }
14061 cat >conftest.$ac_ext <<_ACEOF
14062 #line $LINENO "configure"
14063 /* confdefs.h. */
14064 _ACEOF
14065 cat confdefs.h >>conftest.$ac_ext
14066 cat >>conftest.$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 /* System header to define __stub macros and hopefully few prototypes,
14069 which can conflict with char $ac_func (); below.
14070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14071 <limits.h> exists even on freestanding compilers. */
14072 #ifdef __STDC__
14073 # include <limits.h>
14074 #else
14075 # include <assert.h>
14076 #endif
14077 /* Override any gcc2 internal prototype to avoid an error. */
14078 #ifdef __cplusplus
14079 extern "C"
14081 #endif
14082 /* We use char because int might match the return type of a gcc2
14083 builtin and then its argument prototype would still apply. */
14084 char $ac_func ();
14085 /* The GNU C library defines this for functions which it implements
14086 to always fail with ENOSYS. Some functions are actually named
14087 something starting with __ and the normal name is an alias. */
14088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14089 choke me
14090 #else
14091 char (*f) () = $ac_func;
14092 #endif
14093 #ifdef __cplusplus
14095 #endif
14098 main ()
14100 return f != $ac_func;
14102 return 0;
14104 _ACEOF
14105 rm -f conftest.$ac_objext conftest$ac_exeext
14106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14107 (eval $ac_link) 2>&5
14108 ac_status=$?
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -s conftest$ac_exeext'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5
14114 ac_status=$?
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 eval "$as_ac_var=yes"
14118 else
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 eval "$as_ac_var=no"
14124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14128 if test `eval echo '${'$as_ac_var'}'` = yes; then
14129 cat >>confdefs.h <<_ACEOF
14130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14131 _ACEOF
14134 done
14136 else
14138 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14139 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14140 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14141 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 else
14147 ac_ext=cc
14148 ac_cpp='$CXXCPP $CPPFLAGS'
14149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14153 cat >conftest.$ac_ext <<_ACEOF
14154 #line $LINENO "configure"
14155 /* confdefs.h. */
14156 _ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 #include <math.h>
14161 #ifdef HAVE_IEEEFP_H
14162 #include <ieeefp.h>
14163 #endif
14166 main ()
14168 _log10f(0);
14170 return 0;
14172 _ACEOF
14173 rm -f conftest.$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 glibcxx_cv_func__log10f_use=yes
14186 else
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14190 glibcxx_cv_func__log10f_use=no
14192 rm -f conftest.$ac_objext conftest.$ac_ext
14193 ac_ext=c
14194 ac_cpp='$CPP $CPPFLAGS'
14195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14204 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14206 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14208 for ac_func in _log10f
14210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14211 echo "$as_me:$LINENO: checking for $ac_func" >&5
14212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14213 if eval "test \"\${$as_ac_var+set}\" = set"; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 else
14216 if test x$gcc_no_link = xyes; then
14217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14219 { (exit 1); exit 1; }; }
14221 cat >conftest.$ac_ext <<_ACEOF
14222 #line $LINENO "configure"
14223 /* confdefs.h. */
14224 _ACEOF
14225 cat confdefs.h >>conftest.$ac_ext
14226 cat >>conftest.$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 /* System header to define __stub macros and hopefully few prototypes,
14229 which can conflict with char $ac_func (); below.
14230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14231 <limits.h> exists even on freestanding compilers. */
14232 #ifdef __STDC__
14233 # include <limits.h>
14234 #else
14235 # include <assert.h>
14236 #endif
14237 /* Override any gcc2 internal prototype to avoid an error. */
14238 #ifdef __cplusplus
14239 extern "C"
14241 #endif
14242 /* We use char because int might match the return type of a gcc2
14243 builtin and then its argument prototype would still apply. */
14244 char $ac_func ();
14245 /* The GNU C library defines this for functions which it implements
14246 to always fail with ENOSYS. Some functions are actually named
14247 something starting with __ and the normal name is an alias. */
14248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14249 choke me
14250 #else
14251 char (*f) () = $ac_func;
14252 #endif
14253 #ifdef __cplusplus
14255 #endif
14258 main ()
14260 return f != $ac_func;
14262 return 0;
14264 _ACEOF
14265 rm -f conftest.$ac_objext conftest$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>&5
14268 ac_status=$?
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -s conftest$ac_exeext'
14272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14273 (eval $ac_try) 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; }; then
14277 eval "$as_ac_var=yes"
14278 else
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14282 eval "$as_ac_var=no"
14284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14288 if test `eval echo '${'$as_ac_var'}'` = yes; then
14289 cat >>confdefs.h <<_ACEOF
14290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14291 _ACEOF
14294 done
14301 echo "$as_me:$LINENO: checking for modff declaration" >&5
14302 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14303 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14304 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 else
14310 ac_ext=cc
14311 ac_cpp='$CXXCPP $CPPFLAGS'
14312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14316 cat >conftest.$ac_ext <<_ACEOF
14317 #line $LINENO "configure"
14318 /* confdefs.h. */
14319 _ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 #include <math.h>
14325 main ()
14327 modff(0, 0);
14329 return 0;
14331 _ACEOF
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14341 ac_status=$?
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14344 glibcxx_cv_func_modff_use=yes
14345 else
14346 echo "$as_me: failed program was:" >&5
14347 sed 's/^/| /' conftest.$ac_ext >&5
14349 glibcxx_cv_func_modff_use=no
14351 rm -f conftest.$ac_objext conftest.$ac_ext
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14363 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14365 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14367 for ac_func in modff
14369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14370 echo "$as_me:$LINENO: checking for $ac_func" >&5
14371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14372 if eval "test \"\${$as_ac_var+set}\" = set"; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 if test x$gcc_no_link = xyes; then
14376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14378 { (exit 1); exit 1; }; }
14380 cat >conftest.$ac_ext <<_ACEOF
14381 #line $LINENO "configure"
14382 /* confdefs.h. */
14383 _ACEOF
14384 cat confdefs.h >>conftest.$ac_ext
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 /* System header to define __stub macros and hopefully few prototypes,
14388 which can conflict with char $ac_func (); below.
14389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14390 <limits.h> exists even on freestanding compilers. */
14391 #ifdef __STDC__
14392 # include <limits.h>
14393 #else
14394 # include <assert.h>
14395 #endif
14396 /* Override any gcc2 internal prototype to avoid an error. */
14397 #ifdef __cplusplus
14398 extern "C"
14400 #endif
14401 /* We use char because int might match the return type of a gcc2
14402 builtin and then its argument prototype would still apply. */
14403 char $ac_func ();
14404 /* The GNU C library defines this for functions which it implements
14405 to always fail with ENOSYS. Some functions are actually named
14406 something starting with __ and the normal name is an alias. */
14407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14408 choke me
14409 #else
14410 char (*f) () = $ac_func;
14411 #endif
14412 #ifdef __cplusplus
14414 #endif
14417 main ()
14419 return f != $ac_func;
14421 return 0;
14423 _ACEOF
14424 rm -f conftest.$ac_objext conftest$ac_exeext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426 (eval $ac_link) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -s conftest$ac_exeext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 eval "$as_ac_var=yes"
14437 else
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14441 eval "$as_ac_var=no"
14443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14447 if test `eval echo '${'$as_ac_var'}'` = yes; then
14448 cat >>confdefs.h <<_ACEOF
14449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14450 _ACEOF
14453 done
14455 else
14457 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14458 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14459 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14460 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 else
14466 ac_ext=cc
14467 ac_cpp='$CXXCPP $CPPFLAGS'
14468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14472 cat >conftest.$ac_ext <<_ACEOF
14473 #line $LINENO "configure"
14474 /* confdefs.h. */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 #include <math.h>
14481 main ()
14483 _modff(0, 0);
14485 return 0;
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14497 ac_status=$?
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 glibcxx_cv_func__modff_use=yes
14501 else
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14505 glibcxx_cv_func__modff_use=no
14507 rm -f conftest.$ac_objext conftest.$ac_ext
14508 ac_ext=c
14509 ac_cpp='$CPP $CPPFLAGS'
14510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14519 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14521 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14523 for ac_func in _modff
14525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14526 echo "$as_me:$LINENO: checking for $ac_func" >&5
14527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14528 if eval "test \"\${$as_ac_var+set}\" = set"; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 else
14531 if test x$gcc_no_link = xyes; then
14532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14534 { (exit 1); exit 1; }; }
14536 cat >conftest.$ac_ext <<_ACEOF
14537 #line $LINENO "configure"
14538 /* confdefs.h. */
14539 _ACEOF
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 /* System header to define __stub macros and hopefully few prototypes,
14544 which can conflict with char $ac_func (); below.
14545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14546 <limits.h> exists even on freestanding compilers. */
14547 #ifdef __STDC__
14548 # include <limits.h>
14549 #else
14550 # include <assert.h>
14551 #endif
14552 /* Override any gcc2 internal prototype to avoid an error. */
14553 #ifdef __cplusplus
14554 extern "C"
14556 #endif
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14559 char $ac_func ();
14560 /* The GNU C library defines this for functions which it implements
14561 to always fail with ENOSYS. Some functions are actually named
14562 something starting with __ and the normal name is an alias. */
14563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14564 choke me
14565 #else
14566 char (*f) () = $ac_func;
14567 #endif
14568 #ifdef __cplusplus
14570 #endif
14573 main ()
14575 return f != $ac_func;
14577 return 0;
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -s conftest$ac_exeext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 eval "$as_ac_var=yes"
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 eval "$as_ac_var=no"
14599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14603 if test `eval echo '${'$as_ac_var'}'` = yes; then
14604 cat >>confdefs.h <<_ACEOF
14605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14606 _ACEOF
14609 done
14616 echo "$as_me:$LINENO: checking for powf declaration" >&5
14617 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14618 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14619 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14625 ac_ext=cc
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14631 cat >conftest.$ac_ext <<_ACEOF
14632 #line $LINENO "configure"
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 #include <math.h>
14640 main ()
14642 powf(0, 0);
14644 return 0;
14646 _ACEOF
14647 rm -f conftest.$ac_objext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14649 (eval $ac_compile) 2>&5
14650 ac_status=$?
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try='test -s conftest.$ac_objext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 glibcxx_cv_func_powf_use=yes
14660 else
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.$ac_ext >&5
14664 glibcxx_cv_func_powf_use=no
14666 rm -f conftest.$ac_objext conftest.$ac_ext
14667 ac_ext=c
14668 ac_cpp='$CPP $CPPFLAGS'
14669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14678 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14680 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14682 for ac_func in powf
14684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14685 echo "$as_me:$LINENO: checking for $ac_func" >&5
14686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14687 if eval "test \"\${$as_ac_var+set}\" = set"; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 else
14690 if test x$gcc_no_link = xyes; then
14691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14693 { (exit 1); exit 1; }; }
14695 cat >conftest.$ac_ext <<_ACEOF
14696 #line $LINENO "configure"
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702 /* System header to define __stub macros and hopefully few prototypes,
14703 which can conflict with char $ac_func (); below.
14704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14705 <limits.h> exists even on freestanding compilers. */
14706 #ifdef __STDC__
14707 # include <limits.h>
14708 #else
14709 # include <assert.h>
14710 #endif
14711 /* Override any gcc2 internal prototype to avoid an error. */
14712 #ifdef __cplusplus
14713 extern "C"
14715 #endif
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14718 char $ac_func ();
14719 /* The GNU C library defines this for functions which it implements
14720 to always fail with ENOSYS. Some functions are actually named
14721 something starting with __ and the normal name is an alias. */
14722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14723 choke me
14724 #else
14725 char (*f) () = $ac_func;
14726 #endif
14727 #ifdef __cplusplus
14729 #endif
14732 main ()
14734 return f != $ac_func;
14736 return 0;
14738 _ACEOF
14739 rm -f conftest.$ac_objext conftest$ac_exeext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14741 (eval $ac_link) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try='test -s conftest$ac_exeext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 eval "$as_ac_var=yes"
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 eval "$as_ac_var=no"
14758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14762 if test `eval echo '${'$as_ac_var'}'` = yes; then
14763 cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14765 _ACEOF
14768 done
14770 else
14772 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14773 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14774 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14775 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14781 ac_ext=cc
14782 ac_cpp='$CXXCPP $CPPFLAGS'
14783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14787 cat >conftest.$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <math.h>
14796 main ()
14798 _powf(0, 0);
14800 return 0;
14802 _ACEOF
14803 rm -f conftest.$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try='test -s conftest.$ac_objext'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14815 glibcxx_cv_func__powf_use=yes
14816 else
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14820 glibcxx_cv_func__powf_use=no
14822 rm -f conftest.$ac_objext conftest.$ac_ext
14823 ac_ext=c
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14834 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14836 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14838 for ac_func in _powf
14840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14841 echo "$as_me:$LINENO: checking for $ac_func" >&5
14842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14843 if eval "test \"\${$as_ac_var+set}\" = set"; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 else
14846 if test x$gcc_no_link = xyes; then
14847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14849 { (exit 1); exit 1; }; }
14851 cat >conftest.$ac_ext <<_ACEOF
14852 #line $LINENO "configure"
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func (); below.
14860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14861 <limits.h> exists even on freestanding compilers. */
14862 #ifdef __STDC__
14863 # include <limits.h>
14864 #else
14865 # include <assert.h>
14866 #endif
14867 /* Override any gcc2 internal prototype to avoid an error. */
14868 #ifdef __cplusplus
14869 extern "C"
14871 #endif
14872 /* We use char because int might match the return type of a gcc2
14873 builtin and then its argument prototype would still apply. */
14874 char $ac_func ();
14875 /* The GNU C library defines this for functions which it implements
14876 to always fail with ENOSYS. Some functions are actually named
14877 something starting with __ and the normal name is an alias. */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14879 choke me
14880 #else
14881 char (*f) () = $ac_func;
14882 #endif
14883 #ifdef __cplusplus
14885 #endif
14888 main ()
14890 return f != $ac_func;
14892 return 0;
14894 _ACEOF
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14897 (eval $ac_link) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -s conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 eval "$as_ac_var=yes"
14908 else
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14912 eval "$as_ac_var=no"
14914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14918 if test `eval echo '${'$as_ac_var'}'` = yes; then
14919 cat >>confdefs.h <<_ACEOF
14920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14921 _ACEOF
14924 done
14931 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14932 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14933 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14934 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14935 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 else
14940 ac_ext=cc
14941 ac_cpp='$CXXCPP $CPPFLAGS'
14942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14946 cat >conftest.$ac_ext <<_ACEOF
14947 #line $LINENO "configure"
14948 /* confdefs.h. */
14949 _ACEOF
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 #include <math.h>
14954 #ifdef HAVE_IEEEFP_H
14955 #include <ieeefp.h>
14956 #endif
14959 main ()
14961 sqrtf(0);
14963 return 0;
14965 _ACEOF
14966 rm -f conftest.$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>&5
14969 ac_status=$?
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14978 glibcxx_cv_func_sqrtf_use=yes
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 glibcxx_cv_func_sqrtf_use=no
14985 rm -f conftest.$ac_objext conftest.$ac_ext
14986 ac_ext=c
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14997 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
15001 for ac_func in sqrtf
15003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15004 echo "$as_me:$LINENO: checking for $ac_func" >&5
15005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15006 if eval "test \"\${$as_ac_var+set}\" = set"; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 else
15009 if test x$gcc_no_link = xyes; then
15010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15012 { (exit 1); exit 1; }; }
15014 cat >conftest.$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15016 /* confdefs.h. */
15017 _ACEOF
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 /* System header to define __stub macros and hopefully few prototypes,
15022 which can conflict with char $ac_func (); below.
15023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15024 <limits.h> exists even on freestanding compilers. */
15025 #ifdef __STDC__
15026 # include <limits.h>
15027 #else
15028 # include <assert.h>
15029 #endif
15030 /* Override any gcc2 internal prototype to avoid an error. */
15031 #ifdef __cplusplus
15032 extern "C"
15034 #endif
15035 /* We use char because int might match the return type of a gcc2
15036 builtin and then its argument prototype would still apply. */
15037 char $ac_func ();
15038 /* The GNU C library defines this for functions which it implements
15039 to always fail with ENOSYS. Some functions are actually named
15040 something starting with __ and the normal name is an alias. */
15041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15042 choke me
15043 #else
15044 char (*f) () = $ac_func;
15045 #endif
15046 #ifdef __cplusplus
15048 #endif
15051 main ()
15053 return f != $ac_func;
15055 return 0;
15057 _ACEOF
15058 rm -f conftest.$ac_objext conftest$ac_exeext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15060 (eval $ac_link) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try='test -s conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 eval "$as_ac_var=yes"
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15075 eval "$as_ac_var=no"
15077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15081 if test `eval echo '${'$as_ac_var'}'` = yes; then
15082 cat >>confdefs.h <<_ACEOF
15083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15084 _ACEOF
15087 done
15089 else
15091 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15092 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15093 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15094 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15100 ac_ext=cc
15101 ac_cpp='$CXXCPP $CPPFLAGS'
15102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15106 cat >conftest.$ac_ext <<_ACEOF
15107 #line $LINENO "configure"
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 #include <math.h>
15114 #ifdef HAVE_IEEEFP_H
15115 #include <ieeefp.h>
15116 #endif
15119 main ()
15121 _sqrtf(0);
15123 return 0;
15125 _ACEOF
15126 rm -f conftest.$ac_objext
15127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15128 (eval $ac_compile) 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try='test -s conftest.$ac_objext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15135 ac_status=$?
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 glibcxx_cv_func__sqrtf_use=yes
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15143 glibcxx_cv_func__sqrtf_use=no
15145 rm -f conftest.$ac_objext conftest.$ac_ext
15146 ac_ext=c
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15157 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15159 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15161 for ac_func in _sqrtf
15163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15164 echo "$as_me:$LINENO: checking for $ac_func" >&5
15165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15166 if eval "test \"\${$as_ac_var+set}\" = set"; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 else
15169 if test x$gcc_no_link = xyes; then
15170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15172 { (exit 1); exit 1; }; }
15174 cat >conftest.$ac_ext <<_ACEOF
15175 #line $LINENO "configure"
15176 /* confdefs.h. */
15177 _ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 /* System header to define __stub macros and hopefully few prototypes,
15182 which can conflict with char $ac_func (); below.
15183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15184 <limits.h> exists even on freestanding compilers. */
15185 #ifdef __STDC__
15186 # include <limits.h>
15187 #else
15188 # include <assert.h>
15189 #endif
15190 /* Override any gcc2 internal prototype to avoid an error. */
15191 #ifdef __cplusplus
15192 extern "C"
15194 #endif
15195 /* We use char because int might match the return type of a gcc2
15196 builtin and then its argument prototype would still apply. */
15197 char $ac_func ();
15198 /* The GNU C library defines this for functions which it implements
15199 to always fail with ENOSYS. Some functions are actually named
15200 something starting with __ and the normal name is an alias. */
15201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15202 choke me
15203 #else
15204 char (*f) () = $ac_func;
15205 #endif
15206 #ifdef __cplusplus
15208 #endif
15211 main ()
15213 return f != $ac_func;
15215 return 0;
15217 _ACEOF
15218 rm -f conftest.$ac_objext conftest$ac_exeext
15219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15220 (eval $ac_link) 2>&5
15221 ac_status=$?
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try='test -s conftest$ac_exeext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 eval "$as_ac_var=yes"
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15235 eval "$as_ac_var=no"
15237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15241 if test `eval echo '${'$as_ac_var'}'` = yes; then
15242 cat >>confdefs.h <<_ACEOF
15243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15244 _ACEOF
15247 done
15254 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15255 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15256 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15257 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 else
15263 ac_ext=cc
15264 ac_cpp='$CXXCPP $CPPFLAGS'
15265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15269 cat >conftest.$ac_ext <<_ACEOF
15270 #line $LINENO "configure"
15271 /* confdefs.h. */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 #include <math.h>
15278 main ()
15280 sincosf(0, 0, 0);
15282 return 0;
15284 _ACEOF
15285 rm -f conftest.$ac_objext
15286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>&5
15288 ac_status=$?
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -s conftest.$ac_objext'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15294 ac_status=$?
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; }; then
15297 glibcxx_cv_func_sincosf_use=yes
15298 else
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.$ac_ext >&5
15302 glibcxx_cv_func_sincosf_use=no
15304 rm -f conftest.$ac_objext conftest.$ac_ext
15305 ac_ext=c
15306 ac_cpp='$CPP $CPPFLAGS'
15307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15316 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15318 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15320 for ac_func in sincosf
15322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15323 echo "$as_me:$LINENO: checking for $ac_func" >&5
15324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15325 if eval "test \"\${$as_ac_var+set}\" = set"; then
15326 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 else
15328 if test x$gcc_no_link = xyes; then
15329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15331 { (exit 1); exit 1; }; }
15333 cat >conftest.$ac_ext <<_ACEOF
15334 #line $LINENO "configure"
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 /* System header to define __stub macros and hopefully few prototypes,
15341 which can conflict with char $ac_func (); below.
15342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15343 <limits.h> exists even on freestanding compilers. */
15344 #ifdef __STDC__
15345 # include <limits.h>
15346 #else
15347 # include <assert.h>
15348 #endif
15349 /* Override any gcc2 internal prototype to avoid an error. */
15350 #ifdef __cplusplus
15351 extern "C"
15353 #endif
15354 /* We use char because int might match the return type of a gcc2
15355 builtin and then its argument prototype would still apply. */
15356 char $ac_func ();
15357 /* The GNU C library defines this for functions which it implements
15358 to always fail with ENOSYS. Some functions are actually named
15359 something starting with __ and the normal name is an alias. */
15360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15361 choke me
15362 #else
15363 char (*f) () = $ac_func;
15364 #endif
15365 #ifdef __cplusplus
15367 #endif
15370 main ()
15372 return f != $ac_func;
15374 return 0;
15376 _ACEOF
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15379 (eval $ac_link) 2>&5
15380 ac_status=$?
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } &&
15383 { ac_try='test -s conftest$ac_exeext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15386 ac_status=$?
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 eval "$as_ac_var=yes"
15390 else
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15394 eval "$as_ac_var=no"
15396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15400 if test `eval echo '${'$as_ac_var'}'` = yes; then
15401 cat >>confdefs.h <<_ACEOF
15402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15403 _ACEOF
15406 done
15408 else
15410 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15411 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15412 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15413 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15419 ac_ext=cc
15420 ac_cpp='$CXXCPP $CPPFLAGS'
15421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15425 cat >conftest.$ac_ext <<_ACEOF
15426 #line $LINENO "configure"
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 #include <math.h>
15434 main ()
15436 _sincosf(0, 0, 0);
15438 return 0;
15440 _ACEOF
15441 rm -f conftest.$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>&5
15444 ac_status=$?
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try='test -s conftest.$ac_objext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15450 ac_status=$?
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 glibcxx_cv_func__sincosf_use=yes
15454 else
15455 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.$ac_ext >&5
15458 glibcxx_cv_func__sincosf_use=no
15460 rm -f conftest.$ac_objext conftest.$ac_ext
15461 ac_ext=c
15462 ac_cpp='$CPP $CPPFLAGS'
15463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15472 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15474 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15476 for ac_func in _sincosf
15478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15479 echo "$as_me:$LINENO: checking for $ac_func" >&5
15480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15481 if eval "test \"\${$as_ac_var+set}\" = set"; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484 if test x$gcc_no_link = xyes; then
15485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15487 { (exit 1); exit 1; }; }
15489 cat >conftest.$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 /* System header to define __stub macros and hopefully few prototypes,
15497 which can conflict with char $ac_func (); below.
15498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15499 <limits.h> exists even on freestanding compilers. */
15500 #ifdef __STDC__
15501 # include <limits.h>
15502 #else
15503 # include <assert.h>
15504 #endif
15505 /* Override any gcc2 internal prototype to avoid an error. */
15506 #ifdef __cplusplus
15507 extern "C"
15509 #endif
15510 /* We use char because int might match the return type of a gcc2
15511 builtin and then its argument prototype would still apply. */
15512 char $ac_func ();
15513 /* The GNU C library defines this for functions which it implements
15514 to always fail with ENOSYS. Some functions are actually named
15515 something starting with __ and the normal name is an alias. */
15516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15517 choke me
15518 #else
15519 char (*f) () = $ac_func;
15520 #endif
15521 #ifdef __cplusplus
15523 #endif
15526 main ()
15528 return f != $ac_func;
15530 return 0;
15532 _ACEOF
15533 rm -f conftest.$ac_objext conftest$ac_exeext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15535 (eval $ac_link) 2>&5
15536 ac_status=$?
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try='test -s conftest$ac_exeext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15542 ac_status=$?
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15545 eval "$as_ac_var=yes"
15546 else
15547 echo "$as_me: failed program was:" >&5
15548 sed 's/^/| /' conftest.$ac_ext >&5
15550 eval "$as_ac_var=no"
15552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15556 if test `eval echo '${'$as_ac_var'}'` = yes; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15559 _ACEOF
15562 done
15569 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15570 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15571 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15572 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 else
15578 ac_ext=cc
15579 ac_cpp='$CXXCPP $CPPFLAGS'
15580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15584 cat >conftest.$ac_ext <<_ACEOF
15585 #line $LINENO "configure"
15586 /* confdefs.h. */
15587 _ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 #include <math.h>
15592 #ifdef HAVE_IEEEFP_H
15593 #include <ieeefp.h>
15594 #endif
15597 main ()
15599 finitef(0);
15601 return 0;
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15606 (eval $ac_compile) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 glibcxx_cv_func_finitef_use=yes
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 glibcxx_cv_func_finitef_use=no
15623 rm -f conftest.$ac_objext conftest.$ac_ext
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15635 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15639 for ac_func in finitef
15641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 echo "$as_me:$LINENO: checking for $ac_func" >&5
15643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15644 if eval "test \"\${$as_ac_var+set}\" = set"; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 if test x$gcc_no_link = xyes; then
15648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15650 { (exit 1); exit 1; }; }
15652 cat >conftest.$ac_ext <<_ACEOF
15653 #line $LINENO "configure"
15654 /* confdefs.h. */
15655 _ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func (); below.
15661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15662 <limits.h> exists even on freestanding compilers. */
15663 #ifdef __STDC__
15664 # include <limits.h>
15665 #else
15666 # include <assert.h>
15667 #endif
15668 /* Override any gcc2 internal prototype to avoid an error. */
15669 #ifdef __cplusplus
15670 extern "C"
15672 #endif
15673 /* We use char because int might match the return type of a gcc2
15674 builtin and then its argument prototype would still apply. */
15675 char $ac_func ();
15676 /* The GNU C library defines this for functions which it implements
15677 to always fail with ENOSYS. Some functions are actually named
15678 something starting with __ and the normal name is an alias. */
15679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15680 choke me
15681 #else
15682 char (*f) () = $ac_func;
15683 #endif
15684 #ifdef __cplusplus
15686 #endif
15689 main ()
15691 return f != $ac_func;
15693 return 0;
15695 _ACEOF
15696 rm -f conftest.$ac_objext conftest$ac_exeext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15698 (eval $ac_link) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -s conftest$ac_exeext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 eval "$as_ac_var=yes"
15709 else
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15713 eval "$as_ac_var=no"
15715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15719 if test `eval echo '${'$as_ac_var'}'` = yes; then
15720 cat >>confdefs.h <<_ACEOF
15721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15722 _ACEOF
15725 done
15727 else
15729 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15730 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15731 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15732 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15738 ac_ext=cc
15739 ac_cpp='$CXXCPP $CPPFLAGS'
15740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15744 cat >conftest.$ac_ext <<_ACEOF
15745 #line $LINENO "configure"
15746 /* confdefs.h. */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 #include <math.h>
15752 #ifdef HAVE_IEEEFP_H
15753 #include <ieeefp.h>
15754 #endif
15757 main ()
15759 _finitef(0);
15761 return 0;
15763 _ACEOF
15764 rm -f conftest.$ac_objext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15766 (eval $ac_compile) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -s conftest.$ac_objext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 glibcxx_cv_func__finitef_use=yes
15777 else
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 glibcxx_cv_func__finitef_use=no
15783 rm -f conftest.$ac_objext conftest.$ac_ext
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15795 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15797 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15799 for ac_func in _finitef
15801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15802 echo "$as_me:$LINENO: checking for $ac_func" >&5
15803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15804 if eval "test \"\${$as_ac_var+set}\" = set"; then
15805 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 else
15807 if test x$gcc_no_link = xyes; then
15808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15810 { (exit 1); exit 1; }; }
15812 cat >conftest.$ac_ext <<_ACEOF
15813 #line $LINENO "configure"
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 /* System header to define __stub macros and hopefully few prototypes,
15820 which can conflict with char $ac_func (); below.
15821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15822 <limits.h> exists even on freestanding compilers. */
15823 #ifdef __STDC__
15824 # include <limits.h>
15825 #else
15826 # include <assert.h>
15827 #endif
15828 /* Override any gcc2 internal prototype to avoid an error. */
15829 #ifdef __cplusplus
15830 extern "C"
15832 #endif
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15835 char $ac_func ();
15836 /* The GNU C library defines this for functions which it implements
15837 to always fail with ENOSYS. Some functions are actually named
15838 something starting with __ and the normal name is an alias. */
15839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15840 choke me
15841 #else
15842 char (*f) () = $ac_func;
15843 #endif
15844 #ifdef __cplusplus
15846 #endif
15849 main ()
15851 return f != $ac_func;
15853 return 0;
15855 _ACEOF
15856 rm -f conftest.$ac_objext conftest$ac_exeext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15858 (eval $ac_link) 2>&5
15859 ac_status=$?
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } &&
15862 { ac_try='test -s conftest$ac_exeext'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15865 ac_status=$?
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; }; then
15868 eval "$as_ac_var=yes"
15869 else
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.$ac_ext >&5
15873 eval "$as_ac_var=no"
15875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15879 if test `eval echo '${'$as_ac_var'}'` = yes; then
15880 cat >>confdefs.h <<_ACEOF
15881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15882 _ACEOF
15885 done
15892 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15893 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15894 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15896 else
15900 ac_ext=cc
15901 ac_cpp='$CXXCPP $CPPFLAGS'
15902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15906 cat >conftest.$ac_ext <<_ACEOF
15907 #line $LINENO "configure"
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 #include <math.h>
15915 main ()
15917 `for x in acosl asinl atanl \
15918 cosl sinl tanl \
15919 coshl sinhl tanhl; do echo "$x (0);"; done`
15921 return 0;
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 glibcxx_cv_func_long_double_trig_use=yes
15937 else
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15941 glibcxx_cv_func_long_double_trig_use=no
15943 rm -f conftest.$ac_objext conftest.$ac_ext
15944 ac_ext=c
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15953 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15954 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15964 for ac_func in acosl asinl atanl \
15965 cosl sinl tanl \
15966 coshl sinhl tanhl
15968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15969 echo "$as_me:$LINENO: checking for $ac_func" >&5
15970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15971 if eval "test \"\${$as_ac_var+set}\" = set"; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 if test x$gcc_no_link = xyes; then
15975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15977 { (exit 1); exit 1; }; }
15979 cat >conftest.$ac_ext <<_ACEOF
15980 #line $LINENO "configure"
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func (); below.
15988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989 <limits.h> exists even on freestanding compilers. */
15990 #ifdef __STDC__
15991 # include <limits.h>
15992 #else
15993 # include <assert.h>
15994 #endif
15995 /* Override any gcc2 internal prototype to avoid an error. */
15996 #ifdef __cplusplus
15997 extern "C"
15999 #endif
16000 /* We use char because int might match the return type of a gcc2
16001 builtin and then its argument prototype would still apply. */
16002 char $ac_func ();
16003 /* The GNU C library defines this for functions which it implements
16004 to always fail with ENOSYS. Some functions are actually named
16005 something starting with __ and the normal name is an alias. */
16006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16007 choke me
16008 #else
16009 char (*f) () = $ac_func;
16010 #endif
16011 #ifdef __cplusplus
16013 #endif
16016 main ()
16018 return f != $ac_func;
16020 return 0;
16022 _ACEOF
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -s conftest$ac_exeext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 eval "$as_ac_var=yes"
16036 else
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 eval "$as_ac_var=no"
16042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16046 if test `eval echo '${'$as_ac_var'}'` = yes; then
16047 cat >>confdefs.h <<_ACEOF
16048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16049 _ACEOF
16052 done
16057 echo "$as_me:$LINENO: checking for long double round functions" >&5
16058 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16059 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16065 ac_ext=cc
16066 ac_cpp='$CXXCPP $CPPFLAGS'
16067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16071 cat >conftest.$ac_ext <<_ACEOF
16072 #line $LINENO "configure"
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 #include <math.h>
16080 main ()
16082 `for x in ceill floorl; do echo "$x (0);"; done`
16084 return 0;
16086 _ACEOF
16087 rm -f conftest.$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try='test -s conftest.$ac_objext'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16096 ac_status=$?
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; }; then
16099 glibcxx_cv_func_long_double_round_use=yes
16100 else
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 glibcxx_cv_func_long_double_round_use=no
16106 rm -f conftest.$ac_objext conftest.$ac_ext
16107 ac_ext=c
16108 ac_cpp='$CPP $CPPFLAGS'
16109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16116 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16120 for ac_func in ceill floorl
16122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16123 echo "$as_me:$LINENO: checking for $ac_func" >&5
16124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16125 if eval "test \"\${$as_ac_var+set}\" = set"; then
16126 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 else
16128 if test x$gcc_no_link = xyes; then
16129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16131 { (exit 1); exit 1; }; }
16133 cat >conftest.$ac_ext <<_ACEOF
16134 #line $LINENO "configure"
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 /* System header to define __stub macros and hopefully few prototypes,
16141 which can conflict with char $ac_func (); below.
16142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16143 <limits.h> exists even on freestanding compilers. */
16144 #ifdef __STDC__
16145 # include <limits.h>
16146 #else
16147 # include <assert.h>
16148 #endif
16149 /* Override any gcc2 internal prototype to avoid an error. */
16150 #ifdef __cplusplus
16151 extern "C"
16153 #endif
16154 /* We use char because int might match the return type of a gcc2
16155 builtin and then its argument prototype would still apply. */
16156 char $ac_func ();
16157 /* The GNU C library defines this for functions which it implements
16158 to always fail with ENOSYS. Some functions are actually named
16159 something starting with __ and the normal name is an alias. */
16160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16161 choke me
16162 #else
16163 char (*f) () = $ac_func;
16164 #endif
16165 #ifdef __cplusplus
16167 #endif
16170 main ()
16172 return f != $ac_func;
16174 return 0;
16176 _ACEOF
16177 rm -f conftest.$ac_objext conftest$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 2>&5
16180 ac_status=$?
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try='test -s conftest$ac_exeext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 eval "$as_ac_var=yes"
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16194 eval "$as_ac_var=no"
16196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16200 if test `eval echo '${'$as_ac_var'}'` = yes; then
16201 cat >>confdefs.h <<_ACEOF
16202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16203 _ACEOF
16206 done
16212 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16213 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16214 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16215 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 else
16221 ac_ext=cc
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 cat >conftest.$ac_ext <<_ACEOF
16228 #line $LINENO "configure"
16229 /* confdefs.h. */
16230 _ACEOF
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16234 #include <math.h>
16235 #ifdef HAVE_IEEEFP_H
16236 #include <ieeefp.h>
16237 #endif
16240 main ()
16242 isnanl(0);
16244 return 0;
16246 _ACEOF
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 glibcxx_cv_func_isnanl_use=yes
16260 else
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 glibcxx_cv_func_isnanl_use=no
16266 rm -f conftest.$ac_objext conftest.$ac_ext
16267 ac_ext=c
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16278 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16280 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16282 for ac_func in isnanl
16284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16285 echo "$as_me:$LINENO: checking for $ac_func" >&5
16286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16287 if eval "test \"\${$as_ac_var+set}\" = set"; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 else
16290 if test x$gcc_no_link = xyes; then
16291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16293 { (exit 1); exit 1; }; }
16295 cat >conftest.$ac_ext <<_ACEOF
16296 #line $LINENO "configure"
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 /* System header to define __stub macros and hopefully few prototypes,
16303 which can conflict with char $ac_func (); below.
16304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16305 <limits.h> exists even on freestanding compilers. */
16306 #ifdef __STDC__
16307 # include <limits.h>
16308 #else
16309 # include <assert.h>
16310 #endif
16311 /* Override any gcc2 internal prototype to avoid an error. */
16312 #ifdef __cplusplus
16313 extern "C"
16315 #endif
16316 /* We use char because int might match the return type of a gcc2
16317 builtin and then its argument prototype would still apply. */
16318 char $ac_func ();
16319 /* The GNU C library defines this for functions which it implements
16320 to always fail with ENOSYS. Some functions are actually named
16321 something starting with __ and the normal name is an alias. */
16322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16323 choke me
16324 #else
16325 char (*f) () = $ac_func;
16326 #endif
16327 #ifdef __cplusplus
16329 #endif
16332 main ()
16334 return f != $ac_func;
16336 return 0;
16338 _ACEOF
16339 rm -f conftest.$ac_objext conftest$ac_exeext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16341 (eval $ac_link) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -s conftest$ac_exeext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16351 eval "$as_ac_var=yes"
16352 else
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16356 eval "$as_ac_var=no"
16358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16362 if test `eval echo '${'$as_ac_var'}'` = yes; then
16363 cat >>confdefs.h <<_ACEOF
16364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16365 _ACEOF
16368 done
16370 else
16372 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16373 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16374 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16375 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 else
16381 ac_ext=cc
16382 ac_cpp='$CXXCPP $CPPFLAGS'
16383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16387 cat >conftest.$ac_ext <<_ACEOF
16388 #line $LINENO "configure"
16389 /* confdefs.h. */
16390 _ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 #include <math.h>
16395 #ifdef HAVE_IEEEFP_H
16396 #include <ieeefp.h>
16397 #endif
16400 main ()
16402 _isnanl(0);
16404 return 0;
16406 _ACEOF
16407 rm -f conftest.$ac_objext
16408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16409 (eval $ac_compile) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16416 ac_status=$?
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 glibcxx_cv_func__isnanl_use=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 glibcxx_cv_func__isnanl_use=no
16426 rm -f conftest.$ac_objext conftest.$ac_ext
16427 ac_ext=c
16428 ac_cpp='$CPP $CPPFLAGS'
16429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16438 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16440 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16442 for ac_func in _isnanl
16444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16445 echo "$as_me:$LINENO: checking for $ac_func" >&5
16446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16447 if eval "test \"\${$as_ac_var+set}\" = set"; then
16448 echo $ECHO_N "(cached) $ECHO_C" >&6
16449 else
16450 if test x$gcc_no_link = xyes; then
16451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16453 { (exit 1); exit 1; }; }
16455 cat >conftest.$ac_ext <<_ACEOF
16456 #line $LINENO "configure"
16457 /* confdefs.h. */
16458 _ACEOF
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462 /* System header to define __stub macros and hopefully few prototypes,
16463 which can conflict with char $ac_func (); below.
16464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16465 <limits.h> exists even on freestanding compilers. */
16466 #ifdef __STDC__
16467 # include <limits.h>
16468 #else
16469 # include <assert.h>
16470 #endif
16471 /* Override any gcc2 internal prototype to avoid an error. */
16472 #ifdef __cplusplus
16473 extern "C"
16475 #endif
16476 /* We use char because int might match the return type of a gcc2
16477 builtin and then its argument prototype would still apply. */
16478 char $ac_func ();
16479 /* The GNU C library defines this for functions which it implements
16480 to always fail with ENOSYS. Some functions are actually named
16481 something starting with __ and the normal name is an alias. */
16482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 choke me
16484 #else
16485 char (*f) () = $ac_func;
16486 #endif
16487 #ifdef __cplusplus
16489 #endif
16492 main ()
16494 return f != $ac_func;
16496 return 0;
16498 _ACEOF
16499 rm -f conftest.$ac_objext conftest$ac_exeext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16501 (eval $ac_link) 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -s conftest$ac_exeext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 eval "$as_ac_var=yes"
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16516 eval "$as_ac_var=no"
16518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16522 if test `eval echo '${'$as_ac_var'}'` = yes; then
16523 cat >>confdefs.h <<_ACEOF
16524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16525 _ACEOF
16528 done
16535 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16536 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16537 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16538 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16544 ac_ext=cc
16545 ac_cpp='$CXXCPP $CPPFLAGS'
16546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16550 cat >conftest.$ac_ext <<_ACEOF
16551 #line $LINENO "configure"
16552 /* confdefs.h. */
16553 _ACEOF
16554 cat confdefs.h >>conftest.$ac_ext
16555 cat >>conftest.$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16557 #include <math.h>
16558 #ifdef HAVE_IEEEFP_H
16559 #include <ieeefp.h>
16560 #endif
16563 main ()
16565 isinfl(0);
16567 return 0;
16569 _ACEOF
16570 rm -f conftest.$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 glibcxx_cv_func_isinfl_use=yes
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 glibcxx_cv_func_isinfl_use=no
16589 rm -f conftest.$ac_objext conftest.$ac_ext
16590 ac_ext=c
16591 ac_cpp='$CPP $CPPFLAGS'
16592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16601 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16603 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16605 for ac_func in isinfl
16607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16608 echo "$as_me:$LINENO: checking for $ac_func" >&5
16609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16610 if eval "test \"\${$as_ac_var+set}\" = set"; then
16611 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 else
16613 if test x$gcc_no_link = xyes; then
16614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16616 { (exit 1); exit 1; }; }
16618 cat >conftest.$ac_ext <<_ACEOF
16619 #line $LINENO "configure"
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 /* System header to define __stub macros and hopefully few prototypes,
16626 which can conflict with char $ac_func (); below.
16627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16628 <limits.h> exists even on freestanding compilers. */
16629 #ifdef __STDC__
16630 # include <limits.h>
16631 #else
16632 # include <assert.h>
16633 #endif
16634 /* Override any gcc2 internal prototype to avoid an error. */
16635 #ifdef __cplusplus
16636 extern "C"
16638 #endif
16639 /* We use char because int might match the return type of a gcc2
16640 builtin and then its argument prototype would still apply. */
16641 char $ac_func ();
16642 /* The GNU C library defines this for functions which it implements
16643 to always fail with ENOSYS. Some functions are actually named
16644 something starting with __ and the normal name is an alias. */
16645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16646 choke me
16647 #else
16648 char (*f) () = $ac_func;
16649 #endif
16650 #ifdef __cplusplus
16652 #endif
16655 main ()
16657 return f != $ac_func;
16659 return 0;
16661 _ACEOF
16662 rm -f conftest.$ac_objext conftest$ac_exeext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16664 (eval $ac_link) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try='test -s conftest$ac_exeext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 eval "$as_ac_var=yes"
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16679 eval "$as_ac_var=no"
16681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16685 if test `eval echo '${'$as_ac_var'}'` = yes; then
16686 cat >>confdefs.h <<_ACEOF
16687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16688 _ACEOF
16691 done
16693 else
16695 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16696 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16697 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16698 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 else
16704 ac_ext=cc
16705 ac_cpp='$CXXCPP $CPPFLAGS'
16706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16710 cat >conftest.$ac_ext <<_ACEOF
16711 #line $LINENO "configure"
16712 /* confdefs.h. */
16713 _ACEOF
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 #include <math.h>
16718 #ifdef HAVE_IEEEFP_H
16719 #include <ieeefp.h>
16720 #endif
16723 main ()
16725 _isinfl(0);
16727 return 0;
16729 _ACEOF
16730 rm -f conftest.$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } &&
16736 { ac_try='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 glibcxx_cv_func__isinfl_use=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 glibcxx_cv_func__isinfl_use=no
16749 rm -f conftest.$ac_objext conftest.$ac_ext
16750 ac_ext=c
16751 ac_cpp='$CPP $CPPFLAGS'
16752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16761 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16763 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16765 for ac_func in _isinfl
16767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16768 echo "$as_me:$LINENO: checking for $ac_func" >&5
16769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_var+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 if test x$gcc_no_link = xyes; then
16774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16776 { (exit 1); exit 1; }; }
16778 cat >conftest.$ac_ext <<_ACEOF
16779 #line $LINENO "configure"
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 /* System header to define __stub macros and hopefully few prototypes,
16786 which can conflict with char $ac_func (); below.
16787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 <limits.h> exists even on freestanding compilers. */
16789 #ifdef __STDC__
16790 # include <limits.h>
16791 #else
16792 # include <assert.h>
16793 #endif
16794 /* Override any gcc2 internal prototype to avoid an error. */
16795 #ifdef __cplusplus
16796 extern "C"
16798 #endif
16799 /* We use char because int might match the return type of a gcc2
16800 builtin and then its argument prototype would still apply. */
16801 char $ac_func ();
16802 /* The GNU C library defines this for functions which it implements
16803 to always fail with ENOSYS. Some functions are actually named
16804 something starting with __ and the normal name is an alias. */
16805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16806 choke me
16807 #else
16808 char (*f) () = $ac_func;
16809 #endif
16810 #ifdef __cplusplus
16812 #endif
16815 main ()
16817 return f != $ac_func;
16819 return 0;
16821 _ACEOF
16822 rm -f conftest.$ac_objext conftest$ac_exeext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16824 (eval $ac_link) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -s conftest$ac_exeext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 eval "$as_ac_var=yes"
16835 else
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16839 eval "$as_ac_var=no"
16841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16845 if test `eval echo '${'$as_ac_var'}'` = yes; then
16846 cat >>confdefs.h <<_ACEOF
16847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16848 _ACEOF
16851 done
16858 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16859 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16860 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16861 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 else
16867 ac_ext=cc
16868 ac_cpp='$CXXCPP $CPPFLAGS'
16869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16873 cat >conftest.$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16875 /* confdefs.h. */
16876 _ACEOF
16877 cat confdefs.h >>conftest.$ac_ext
16878 cat >>conftest.$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16880 #include <math.h>
16882 main ()
16884 copysignl(0, 0);
16886 return 0;
16888 _ACEOF
16889 rm -f conftest.$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>&5
16892 ac_status=$?
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try='test -s conftest.$ac_objext'
16896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16897 (eval $ac_try) 2>&5
16898 ac_status=$?
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; }; then
16901 glibcxx_cv_func_copysignl_use=yes
16902 else
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.$ac_ext >&5
16906 glibcxx_cv_func_copysignl_use=no
16908 rm -f conftest.$ac_objext conftest.$ac_ext
16909 ac_ext=c
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16920 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16922 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16924 for ac_func in copysignl
16926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16927 echo "$as_me:$LINENO: checking for $ac_func" >&5
16928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16929 if eval "test \"\${$as_ac_var+set}\" = set"; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 else
16932 if test x$gcc_no_link = xyes; then
16933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16935 { (exit 1); exit 1; }; }
16937 cat >conftest.$ac_ext <<_ACEOF
16938 #line $LINENO "configure"
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 /* System header to define __stub macros and hopefully few prototypes,
16945 which can conflict with char $ac_func (); below.
16946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947 <limits.h> exists even on freestanding compilers. */
16948 #ifdef __STDC__
16949 # include <limits.h>
16950 #else
16951 # include <assert.h>
16952 #endif
16953 /* Override any gcc2 internal prototype to avoid an error. */
16954 #ifdef __cplusplus
16955 extern "C"
16957 #endif
16958 /* We use char because int might match the return type of a gcc2
16959 builtin and then its argument prototype would still apply. */
16960 char $ac_func ();
16961 /* The GNU C library defines this for functions which it implements
16962 to always fail with ENOSYS. Some functions are actually named
16963 something starting with __ and the normal name is an alias. */
16964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16965 choke me
16966 #else
16967 char (*f) () = $ac_func;
16968 #endif
16969 #ifdef __cplusplus
16971 #endif
16974 main ()
16976 return f != $ac_func;
16978 return 0;
16980 _ACEOF
16981 rm -f conftest.$ac_objext conftest$ac_exeext
16982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16983 (eval $ac_link) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try='test -s conftest$ac_exeext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16993 eval "$as_ac_var=yes"
16994 else
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16998 eval "$as_ac_var=no"
17000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17004 if test `eval echo '${'$as_ac_var'}'` = yes; then
17005 cat >>confdefs.h <<_ACEOF
17006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17007 _ACEOF
17010 done
17012 else
17014 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
17015 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17016 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17017 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 else
17023 ac_ext=cc
17024 ac_cpp='$CXXCPP $CPPFLAGS'
17025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17029 cat >conftest.$ac_ext <<_ACEOF
17030 #line $LINENO "configure"
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 #include <math.h>
17038 main ()
17040 _copysignl(0, 0);
17042 return 0;
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>&5
17048 ac_status=$?
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -s conftest.$ac_objext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 glibcxx_cv_func__copysignl_use=yes
17058 else
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17062 glibcxx_cv_func__copysignl_use=no
17064 rm -f conftest.$ac_objext conftest.$ac_ext
17065 ac_ext=c
17066 ac_cpp='$CPP $CPPFLAGS'
17067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17076 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17078 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17080 for ac_func in _copysignl
17082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 echo "$as_me:$LINENO: checking for $ac_func" >&5
17084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17085 if eval "test \"\${$as_ac_var+set}\" = set"; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 else
17088 if test x$gcc_no_link = xyes; then
17089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17091 { (exit 1); exit 1; }; }
17093 cat >conftest.$ac_ext <<_ACEOF
17094 #line $LINENO "configure"
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 /* System header to define __stub macros and hopefully few prototypes,
17101 which can conflict with char $ac_func (); below.
17102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17103 <limits.h> exists even on freestanding compilers. */
17104 #ifdef __STDC__
17105 # include <limits.h>
17106 #else
17107 # include <assert.h>
17108 #endif
17109 /* Override any gcc2 internal prototype to avoid an error. */
17110 #ifdef __cplusplus
17111 extern "C"
17113 #endif
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17116 char $ac_func ();
17117 /* The GNU C library defines this for functions which it implements
17118 to always fail with ENOSYS. Some functions are actually named
17119 something starting with __ and the normal name is an alias. */
17120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17121 choke me
17122 #else
17123 char (*f) () = $ac_func;
17124 #endif
17125 #ifdef __cplusplus
17127 #endif
17130 main ()
17132 return f != $ac_func;
17134 return 0;
17136 _ACEOF
17137 rm -f conftest.$ac_objext conftest$ac_exeext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17139 (eval $ac_link) 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try='test -s conftest$ac_exeext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 eval "$as_ac_var=yes"
17150 else
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 eval "$as_ac_var=no"
17156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17160 if test `eval echo '${'$as_ac_var'}'` = yes; then
17161 cat >>confdefs.h <<_ACEOF
17162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17163 _ACEOF
17166 done
17173 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17174 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17175 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17176 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 else
17182 ac_ext=cc
17183 ac_cpp='$CXXCPP $CPPFLAGS'
17184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17188 cat >conftest.$ac_ext <<_ACEOF
17189 #line $LINENO "configure"
17190 /* confdefs.h. */
17191 _ACEOF
17192 cat confdefs.h >>conftest.$ac_ext
17193 cat >>conftest.$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17195 #include <math.h>
17197 main ()
17199 atan2l(0, 0);
17201 return 0;
17203 _ACEOF
17204 rm -f conftest.$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 glibcxx_cv_func_atan2l_use=yes
17217 else
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17221 glibcxx_cv_func_atan2l_use=no
17223 rm -f conftest.$ac_objext conftest.$ac_ext
17224 ac_ext=c
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17235 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17237 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17239 for ac_func in atan2l
17241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17242 echo "$as_me:$LINENO: checking for $ac_func" >&5
17243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17244 if eval "test \"\${$as_ac_var+set}\" = set"; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 else
17247 if test x$gcc_no_link = xyes; then
17248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17250 { (exit 1); exit 1; }; }
17252 cat >conftest.$ac_ext <<_ACEOF
17253 #line $LINENO "configure"
17254 /* confdefs.h. */
17255 _ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259 /* System header to define __stub macros and hopefully few prototypes,
17260 which can conflict with char $ac_func (); below.
17261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17262 <limits.h> exists even on freestanding compilers. */
17263 #ifdef __STDC__
17264 # include <limits.h>
17265 #else
17266 # include <assert.h>
17267 #endif
17268 /* Override any gcc2 internal prototype to avoid an error. */
17269 #ifdef __cplusplus
17270 extern "C"
17272 #endif
17273 /* We use char because int might match the return type of a gcc2
17274 builtin and then its argument prototype would still apply. */
17275 char $ac_func ();
17276 /* The GNU C library defines this for functions which it implements
17277 to always fail with ENOSYS. Some functions are actually named
17278 something starting with __ and the normal name is an alias. */
17279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17280 choke me
17281 #else
17282 char (*f) () = $ac_func;
17283 #endif
17284 #ifdef __cplusplus
17286 #endif
17289 main ()
17291 return f != $ac_func;
17293 return 0;
17295 _ACEOF
17296 rm -f conftest.$ac_objext conftest$ac_exeext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -s conftest$ac_exeext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 eval "$as_ac_var=yes"
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 eval "$as_ac_var=no"
17315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17319 if test `eval echo '${'$as_ac_var'}'` = yes; then
17320 cat >>confdefs.h <<_ACEOF
17321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17322 _ACEOF
17325 done
17327 else
17329 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17330 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17331 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17332 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 else
17338 ac_ext=cc
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344 cat >conftest.$ac_ext <<_ACEOF
17345 #line $LINENO "configure"
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <math.h>
17353 main ()
17355 _atan2l(0, 0);
17357 return 0;
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17369 ac_status=$?
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 glibcxx_cv_func__atan2l_use=yes
17373 else
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17377 glibcxx_cv_func__atan2l_use=no
17379 rm -f conftest.$ac_objext conftest.$ac_ext
17380 ac_ext=c
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17391 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17393 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17395 for ac_func in _atan2l
17397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17398 echo "$as_me:$LINENO: checking for $ac_func" >&5
17399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17400 if eval "test \"\${$as_ac_var+set}\" = set"; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 if test x$gcc_no_link = xyes; then
17404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17406 { (exit 1); exit 1; }; }
17408 cat >conftest.$ac_ext <<_ACEOF
17409 #line $LINENO "configure"
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 /* System header to define __stub macros and hopefully few prototypes,
17416 which can conflict with char $ac_func (); below.
17417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17418 <limits.h> exists even on freestanding compilers. */
17419 #ifdef __STDC__
17420 # include <limits.h>
17421 #else
17422 # include <assert.h>
17423 #endif
17424 /* Override any gcc2 internal prototype to avoid an error. */
17425 #ifdef __cplusplus
17426 extern "C"
17428 #endif
17429 /* We use char because int might match the return type of a gcc2
17430 builtin and then its argument prototype would still apply. */
17431 char $ac_func ();
17432 /* The GNU C library defines this for functions which it implements
17433 to always fail with ENOSYS. Some functions are actually named
17434 something starting with __ and the normal name is an alias. */
17435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17436 choke me
17437 #else
17438 char (*f) () = $ac_func;
17439 #endif
17440 #ifdef __cplusplus
17442 #endif
17445 main ()
17447 return f != $ac_func;
17449 return 0;
17451 _ACEOF
17452 rm -f conftest.$ac_objext conftest$ac_exeext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17454 (eval $ac_link) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -s conftest$ac_exeext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 eval "$as_ac_var=yes"
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17469 eval "$as_ac_var=no"
17471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17475 if test `eval echo '${'$as_ac_var'}'` = yes; then
17476 cat >>confdefs.h <<_ACEOF
17477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17478 _ACEOF
17481 done
17488 echo "$as_me:$LINENO: checking for expl declaration" >&5
17489 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17490 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17491 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17497 ac_ext=cc
17498 ac_cpp='$CXXCPP $CPPFLAGS'
17499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17503 cat >conftest.$ac_ext <<_ACEOF
17504 #line $LINENO "configure"
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 #include <math.h>
17511 #ifdef HAVE_IEEEFP_H
17512 #include <ieeefp.h>
17513 #endif
17516 main ()
17518 expl(0);
17520 return 0;
17522 _ACEOF
17523 rm -f conftest.$ac_objext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17525 (eval $ac_compile) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } &&
17529 { ac_try='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 glibcxx_cv_func_expl_use=yes
17536 else
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17540 glibcxx_cv_func_expl_use=no
17542 rm -f conftest.$ac_objext conftest.$ac_ext
17543 ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17554 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17556 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17558 for ac_func in expl
17560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17561 echo "$as_me:$LINENO: checking for $ac_func" >&5
17562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17563 if eval "test \"\${$as_ac_var+set}\" = set"; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 else
17566 if test x$gcc_no_link = xyes; then
17567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17569 { (exit 1); exit 1; }; }
17571 cat >conftest.$ac_ext <<_ACEOF
17572 #line $LINENO "configure"
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 /* System header to define __stub macros and hopefully few prototypes,
17579 which can conflict with char $ac_func (); below.
17580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17581 <limits.h> exists even on freestanding compilers. */
17582 #ifdef __STDC__
17583 # include <limits.h>
17584 #else
17585 # include <assert.h>
17586 #endif
17587 /* Override any gcc2 internal prototype to avoid an error. */
17588 #ifdef __cplusplus
17589 extern "C"
17591 #endif
17592 /* We use char because int might match the return type of a gcc2
17593 builtin and then its argument prototype would still apply. */
17594 char $ac_func ();
17595 /* The GNU C library defines this for functions which it implements
17596 to always fail with ENOSYS. Some functions are actually named
17597 something starting with __ and the normal name is an alias. */
17598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17599 choke me
17600 #else
17601 char (*f) () = $ac_func;
17602 #endif
17603 #ifdef __cplusplus
17605 #endif
17608 main ()
17610 return f != $ac_func;
17612 return 0;
17614 _ACEOF
17615 rm -f conftest.$ac_objext conftest$ac_exeext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17617 (eval $ac_link) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try='test -s conftest$ac_exeext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17624 ac_status=$?
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 eval "$as_ac_var=yes"
17628 else
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17632 eval "$as_ac_var=no"
17634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17638 if test `eval echo '${'$as_ac_var'}'` = yes; then
17639 cat >>confdefs.h <<_ACEOF
17640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17641 _ACEOF
17644 done
17646 else
17648 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17649 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17650 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17651 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 else
17657 ac_ext=cc
17658 ac_cpp='$CXXCPP $CPPFLAGS'
17659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17663 cat >conftest.$ac_ext <<_ACEOF
17664 #line $LINENO "configure"
17665 /* confdefs.h. */
17666 _ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 #include <math.h>
17671 #ifdef HAVE_IEEEFP_H
17672 #include <ieeefp.h>
17673 #endif
17676 main ()
17678 _expl(0);
17680 return 0;
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try='test -s conftest.$ac_objext'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17692 ac_status=$?
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 glibcxx_cv_func__expl_use=yes
17696 else
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17700 glibcxx_cv_func__expl_use=no
17702 rm -f conftest.$ac_objext conftest.$ac_ext
17703 ac_ext=c
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17714 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17716 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17718 for ac_func in _expl
17720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17721 echo "$as_me:$LINENO: checking for $ac_func" >&5
17722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17723 if eval "test \"\${$as_ac_var+set}\" = set"; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 if test x$gcc_no_link = xyes; then
17727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17729 { (exit 1); exit 1; }; }
17731 cat >conftest.$ac_ext <<_ACEOF
17732 #line $LINENO "configure"
17733 /* confdefs.h. */
17734 _ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 /* System header to define __stub macros and hopefully few prototypes,
17739 which can conflict with char $ac_func (); below.
17740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17741 <limits.h> exists even on freestanding compilers. */
17742 #ifdef __STDC__
17743 # include <limits.h>
17744 #else
17745 # include <assert.h>
17746 #endif
17747 /* Override any gcc2 internal prototype to avoid an error. */
17748 #ifdef __cplusplus
17749 extern "C"
17751 #endif
17752 /* We use char because int might match the return type of a gcc2
17753 builtin and then its argument prototype would still apply. */
17754 char $ac_func ();
17755 /* The GNU C library defines this for functions which it implements
17756 to always fail with ENOSYS. Some functions are actually named
17757 something starting with __ and the normal name is an alias. */
17758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17759 choke me
17760 #else
17761 char (*f) () = $ac_func;
17762 #endif
17763 #ifdef __cplusplus
17765 #endif
17768 main ()
17770 return f != $ac_func;
17772 return 0;
17774 _ACEOF
17775 rm -f conftest.$ac_objext conftest$ac_exeext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17777 (eval $ac_link) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -s conftest$ac_exeext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 eval "$as_ac_var=yes"
17788 else
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17792 eval "$as_ac_var=no"
17794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17798 if test `eval echo '${'$as_ac_var'}'` = yes; then
17799 cat >>confdefs.h <<_ACEOF
17800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17801 _ACEOF
17804 done
17811 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17812 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17813 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17814 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 else
17820 ac_ext=cc
17821 ac_cpp='$CXXCPP $CPPFLAGS'
17822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17826 cat >conftest.$ac_ext <<_ACEOF
17827 #line $LINENO "configure"
17828 /* confdefs.h. */
17829 _ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17833 #include <math.h>
17834 #ifdef HAVE_IEEEFP_H
17835 #include <ieeefp.h>
17836 #endif
17839 main ()
17841 fabsl(0);
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 glibcxx_cv_func_fabsl_use=yes
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17863 glibcxx_cv_func_fabsl_use=no
17865 rm -f conftest.$ac_objext conftest.$ac_ext
17866 ac_ext=c
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17877 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17879 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17881 for ac_func in fabsl
17883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17884 echo "$as_me:$LINENO: checking for $ac_func" >&5
17885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17886 if eval "test \"\${$as_ac_var+set}\" = set"; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889 if test x$gcc_no_link = xyes; then
17890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17892 { (exit 1); exit 1; }; }
17894 cat >conftest.$ac_ext <<_ACEOF
17895 #line $LINENO "configure"
17896 /* confdefs.h. */
17897 _ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 /* System header to define __stub macros and hopefully few prototypes,
17902 which can conflict with char $ac_func (); below.
17903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17904 <limits.h> exists even on freestanding compilers. */
17905 #ifdef __STDC__
17906 # include <limits.h>
17907 #else
17908 # include <assert.h>
17909 #endif
17910 /* Override any gcc2 internal prototype to avoid an error. */
17911 #ifdef __cplusplus
17912 extern "C"
17914 #endif
17915 /* We use char because int might match the return type of a gcc2
17916 builtin and then its argument prototype would still apply. */
17917 char $ac_func ();
17918 /* The GNU C library defines this for functions which it implements
17919 to always fail with ENOSYS. Some functions are actually named
17920 something starting with __ and the normal name is an alias. */
17921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17922 choke me
17923 #else
17924 char (*f) () = $ac_func;
17925 #endif
17926 #ifdef __cplusplus
17928 #endif
17931 main ()
17933 return f != $ac_func;
17935 return 0;
17937 _ACEOF
17938 rm -f conftest.$ac_objext conftest$ac_exeext
17939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17940 (eval $ac_link) 2>&5
17941 ac_status=$?
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -s conftest$ac_exeext'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17947 ac_status=$?
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17950 eval "$as_ac_var=yes"
17951 else
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 eval "$as_ac_var=no"
17957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17961 if test `eval echo '${'$as_ac_var'}'` = yes; then
17962 cat >>confdefs.h <<_ACEOF
17963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17964 _ACEOF
17967 done
17969 else
17971 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17972 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17973 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17974 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 else
17980 ac_ext=cc
17981 ac_cpp='$CXXCPP $CPPFLAGS'
17982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17986 cat >conftest.$ac_ext <<_ACEOF
17987 #line $LINENO "configure"
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 #include <math.h>
17994 #ifdef HAVE_IEEEFP_H
17995 #include <ieeefp.h>
17996 #endif
17999 main ()
18001 _fabsl(0);
18003 return 0;
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } &&
18012 { ac_try='test -s conftest.$ac_objext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18015 ac_status=$?
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 glibcxx_cv_func__fabsl_use=yes
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 glibcxx_cv_func__fabsl_use=no
18025 rm -f conftest.$ac_objext conftest.$ac_ext
18026 ac_ext=c
18027 ac_cpp='$CPP $CPPFLAGS'
18028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18037 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18039 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18041 for ac_func in _fabsl
18043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18044 echo "$as_me:$LINENO: checking for $ac_func" >&5
18045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18046 if eval "test \"\${$as_ac_var+set}\" = set"; then
18047 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 else
18049 if test x$gcc_no_link = xyes; then
18050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18052 { (exit 1); exit 1; }; }
18054 cat >conftest.$ac_ext <<_ACEOF
18055 #line $LINENO "configure"
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 /* System header to define __stub macros and hopefully few prototypes,
18062 which can conflict with char $ac_func (); below.
18063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18064 <limits.h> exists even on freestanding compilers. */
18065 #ifdef __STDC__
18066 # include <limits.h>
18067 #else
18068 # include <assert.h>
18069 #endif
18070 /* Override any gcc2 internal prototype to avoid an error. */
18071 #ifdef __cplusplus
18072 extern "C"
18074 #endif
18075 /* We use char because int might match the return type of a gcc2
18076 builtin and then its argument prototype would still apply. */
18077 char $ac_func ();
18078 /* The GNU C library defines this for functions which it implements
18079 to always fail with ENOSYS. Some functions are actually named
18080 something starting with __ and the normal name is an alias. */
18081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18082 choke me
18083 #else
18084 char (*f) () = $ac_func;
18085 #endif
18086 #ifdef __cplusplus
18088 #endif
18091 main ()
18093 return f != $ac_func;
18095 return 0;
18097 _ACEOF
18098 rm -f conftest.$ac_objext conftest$ac_exeext
18099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18100 (eval $ac_link) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try='test -s conftest$ac_exeext'
18105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106 (eval $ac_try) 2>&5
18107 ac_status=$?
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 eval "$as_ac_var=yes"
18111 else
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18115 eval "$as_ac_var=no"
18117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18121 if test `eval echo '${'$as_ac_var'}'` = yes; then
18122 cat >>confdefs.h <<_ACEOF
18123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18124 _ACEOF
18127 done
18134 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18135 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18136 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18137 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 else
18143 ac_ext=cc
18144 ac_cpp='$CXXCPP $CPPFLAGS'
18145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18149 cat >conftest.$ac_ext <<_ACEOF
18150 #line $LINENO "configure"
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 #include <math.h>
18158 main ()
18160 fmodl(0, 0);
18162 return 0;
18164 _ACEOF
18165 rm -f conftest.$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 glibcxx_cv_func_fmodl_use=yes
18178 else
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18182 glibcxx_cv_func_fmodl_use=no
18184 rm -f conftest.$ac_objext conftest.$ac_ext
18185 ac_ext=c
18186 ac_cpp='$CPP $CPPFLAGS'
18187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18196 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18198 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18200 for ac_func in fmodl
18202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18203 echo "$as_me:$LINENO: checking for $ac_func" >&5
18204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18205 if eval "test \"\${$as_ac_var+set}\" = set"; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 else
18208 if test x$gcc_no_link = xyes; then
18209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18211 { (exit 1); exit 1; }; }
18213 cat >conftest.$ac_ext <<_ACEOF
18214 #line $LINENO "configure"
18215 /* confdefs.h. */
18216 _ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 /* System header to define __stub macros and hopefully few prototypes,
18221 which can conflict with char $ac_func (); below.
18222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18223 <limits.h> exists even on freestanding compilers. */
18224 #ifdef __STDC__
18225 # include <limits.h>
18226 #else
18227 # include <assert.h>
18228 #endif
18229 /* Override any gcc2 internal prototype to avoid an error. */
18230 #ifdef __cplusplus
18231 extern "C"
18233 #endif
18234 /* We use char because int might match the return type of a gcc2
18235 builtin and then its argument prototype would still apply. */
18236 char $ac_func ();
18237 /* The GNU C library defines this for functions which it implements
18238 to always fail with ENOSYS. Some functions are actually named
18239 something starting with __ and the normal name is an alias. */
18240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18241 choke me
18242 #else
18243 char (*f) () = $ac_func;
18244 #endif
18245 #ifdef __cplusplus
18247 #endif
18250 main ()
18252 return f != $ac_func;
18254 return 0;
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18259 (eval $ac_link) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try='test -s conftest$ac_exeext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18266 ac_status=$?
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 eval "$as_ac_var=yes"
18270 else
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18274 eval "$as_ac_var=no"
18276 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18280 if test `eval echo '${'$as_ac_var'}'` = yes; then
18281 cat >>confdefs.h <<_ACEOF
18282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18283 _ACEOF
18286 done
18288 else
18290 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18291 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18292 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18293 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18295 else
18299 ac_ext=cc
18300 ac_cpp='$CXXCPP $CPPFLAGS'
18301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18305 cat >conftest.$ac_ext <<_ACEOF
18306 #line $LINENO "configure"
18307 /* confdefs.h. */
18308 _ACEOF
18309 cat confdefs.h >>conftest.$ac_ext
18310 cat >>conftest.$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 #include <math.h>
18314 main ()
18316 _fmodl(0, 0);
18318 return 0;
18320 _ACEOF
18321 rm -f conftest.$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 glibcxx_cv_func__fmodl_use=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 glibcxx_cv_func__fmodl_use=no
18340 rm -f conftest.$ac_objext conftest.$ac_ext
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18352 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18354 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18356 for ac_func in _fmodl
18358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18359 echo "$as_me:$LINENO: checking for $ac_func" >&5
18360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18361 if eval "test \"\${$as_ac_var+set}\" = set"; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 else
18364 if test x$gcc_no_link = xyes; then
18365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18367 { (exit 1); exit 1; }; }
18369 cat >conftest.$ac_ext <<_ACEOF
18370 #line $LINENO "configure"
18371 /* confdefs.h. */
18372 _ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376 /* System header to define __stub macros and hopefully few prototypes,
18377 which can conflict with char $ac_func (); below.
18378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18379 <limits.h> exists even on freestanding compilers. */
18380 #ifdef __STDC__
18381 # include <limits.h>
18382 #else
18383 # include <assert.h>
18384 #endif
18385 /* Override any gcc2 internal prototype to avoid an error. */
18386 #ifdef __cplusplus
18387 extern "C"
18389 #endif
18390 /* We use char because int might match the return type of a gcc2
18391 builtin and then its argument prototype would still apply. */
18392 char $ac_func ();
18393 /* The GNU C library defines this for functions which it implements
18394 to always fail with ENOSYS. Some functions are actually named
18395 something starting with __ and the normal name is an alias. */
18396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18397 choke me
18398 #else
18399 char (*f) () = $ac_func;
18400 #endif
18401 #ifdef __cplusplus
18403 #endif
18406 main ()
18408 return f != $ac_func;
18410 return 0;
18412 _ACEOF
18413 rm -f conftest.$ac_objext conftest$ac_exeext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18415 (eval $ac_link) 2>&5
18416 ac_status=$?
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -s conftest$ac_exeext'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; }; then
18425 eval "$as_ac_var=yes"
18426 else
18427 echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18430 eval "$as_ac_var=no"
18432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18436 if test `eval echo '${'$as_ac_var'}'` = yes; then
18437 cat >>confdefs.h <<_ACEOF
18438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18439 _ACEOF
18442 done
18449 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18450 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18451 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18452 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18458 ac_ext=cc
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464 cat >conftest.$ac_ext <<_ACEOF
18465 #line $LINENO "configure"
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <math.h>
18473 main ()
18475 frexpl(0, 0);
18477 return 0;
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>&5
18483 ac_status=$?
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 glibcxx_cv_func_frexpl_use=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 glibcxx_cv_func_frexpl_use=no
18499 rm -f conftest.$ac_objext conftest.$ac_ext
18500 ac_ext=c
18501 ac_cpp='$CPP $CPPFLAGS'
18502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18511 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18513 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18515 for ac_func in frexpl
18517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18518 echo "$as_me:$LINENO: checking for $ac_func" >&5
18519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18520 if eval "test \"\${$as_ac_var+set}\" = set"; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 if test x$gcc_no_link = xyes; then
18524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18526 { (exit 1); exit 1; }; }
18528 cat >conftest.$ac_ext <<_ACEOF
18529 #line $LINENO "configure"
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 /* System header to define __stub macros and hopefully few prototypes,
18536 which can conflict with char $ac_func (); below.
18537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18538 <limits.h> exists even on freestanding compilers. */
18539 #ifdef __STDC__
18540 # include <limits.h>
18541 #else
18542 # include <assert.h>
18543 #endif
18544 /* Override any gcc2 internal prototype to avoid an error. */
18545 #ifdef __cplusplus
18546 extern "C"
18548 #endif
18549 /* We use char because int might match the return type of a gcc2
18550 builtin and then its argument prototype would still apply. */
18551 char $ac_func ();
18552 /* The GNU C library defines this for functions which it implements
18553 to always fail with ENOSYS. Some functions are actually named
18554 something starting with __ and the normal name is an alias. */
18555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18556 choke me
18557 #else
18558 char (*f) () = $ac_func;
18559 #endif
18560 #ifdef __cplusplus
18562 #endif
18565 main ()
18567 return f != $ac_func;
18569 return 0;
18571 _ACEOF
18572 rm -f conftest.$ac_objext conftest$ac_exeext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18574 (eval $ac_link) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try='test -s conftest$ac_exeext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18581 ac_status=$?
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18584 eval "$as_ac_var=yes"
18585 else
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 eval "$as_ac_var=no"
18591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18595 if test `eval echo '${'$as_ac_var'}'` = yes; then
18596 cat >>confdefs.h <<_ACEOF
18597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18598 _ACEOF
18601 done
18603 else
18605 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18606 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18607 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18608 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 else
18614 ac_ext=cc
18615 ac_cpp='$CXXCPP $CPPFLAGS'
18616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18620 cat >conftest.$ac_ext <<_ACEOF
18621 #line $LINENO "configure"
18622 /* confdefs.h. */
18623 _ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 #include <math.h>
18629 main ()
18631 _frexpl(0, 0);
18633 return 0;
18635 _ACEOF
18636 rm -f conftest.$ac_objext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18638 (eval $ac_compile) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 glibcxx_cv_func__frexpl_use=yes
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 glibcxx_cv_func__frexpl_use=no
18655 rm -f conftest.$ac_objext conftest.$ac_ext
18656 ac_ext=c
18657 ac_cpp='$CPP $CPPFLAGS'
18658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18667 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18671 for ac_func in _frexpl
18673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18674 echo "$as_me:$LINENO: checking for $ac_func" >&5
18675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18676 if eval "test \"\${$as_ac_var+set}\" = set"; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 else
18679 if test x$gcc_no_link = xyes; then
18680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18682 { (exit 1); exit 1; }; }
18684 cat >conftest.$ac_ext <<_ACEOF
18685 #line $LINENO "configure"
18686 /* confdefs.h. */
18687 _ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 /* System header to define __stub macros and hopefully few prototypes,
18692 which can conflict with char $ac_func (); below.
18693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18694 <limits.h> exists even on freestanding compilers. */
18695 #ifdef __STDC__
18696 # include <limits.h>
18697 #else
18698 # include <assert.h>
18699 #endif
18700 /* Override any gcc2 internal prototype to avoid an error. */
18701 #ifdef __cplusplus
18702 extern "C"
18704 #endif
18705 /* We use char because int might match the return type of a gcc2
18706 builtin and then its argument prototype would still apply. */
18707 char $ac_func ();
18708 /* The GNU C library defines this for functions which it implements
18709 to always fail with ENOSYS. Some functions are actually named
18710 something starting with __ and the normal name is an alias. */
18711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18712 choke me
18713 #else
18714 char (*f) () = $ac_func;
18715 #endif
18716 #ifdef __cplusplus
18718 #endif
18721 main ()
18723 return f != $ac_func;
18725 return 0;
18727 _ACEOF
18728 rm -f conftest.$ac_objext conftest$ac_exeext
18729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18730 (eval $ac_link) 2>&5
18731 ac_status=$?
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -s conftest$ac_exeext'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 eval "$as_ac_var=yes"
18741 else
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18745 eval "$as_ac_var=no"
18747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18754 _ACEOF
18757 done
18764 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18765 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18766 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18767 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 else
18773 ac_ext=cc
18774 ac_cpp='$CXXCPP $CPPFLAGS'
18775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18779 cat >conftest.$ac_ext <<_ACEOF
18780 #line $LINENO "configure"
18781 /* confdefs.h. */
18782 _ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <math.h>
18788 main ()
18790 hypotl(0, 0);
18792 return 0;
18794 _ACEOF
18795 rm -f conftest.$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -s conftest.$ac_objext'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; }; then
18807 glibcxx_cv_func_hypotl_use=yes
18808 else
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18812 glibcxx_cv_func_hypotl_use=no
18814 rm -f conftest.$ac_objext conftest.$ac_ext
18815 ac_ext=c
18816 ac_cpp='$CPP $CPPFLAGS'
18817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18826 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18828 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18830 for ac_func in hypotl
18832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18833 echo "$as_me:$LINENO: checking for $ac_func" >&5
18834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18835 if eval "test \"\${$as_ac_var+set}\" = set"; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 else
18838 if test x$gcc_no_link = xyes; then
18839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18841 { (exit 1); exit 1; }; }
18843 cat >conftest.$ac_ext <<_ACEOF
18844 #line $LINENO "configure"
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 /* System header to define __stub macros and hopefully few prototypes,
18851 which can conflict with char $ac_func (); below.
18852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18853 <limits.h> exists even on freestanding compilers. */
18854 #ifdef __STDC__
18855 # include <limits.h>
18856 #else
18857 # include <assert.h>
18858 #endif
18859 /* Override any gcc2 internal prototype to avoid an error. */
18860 #ifdef __cplusplus
18861 extern "C"
18863 #endif
18864 /* We use char because int might match the return type of a gcc2
18865 builtin and then its argument prototype would still apply. */
18866 char $ac_func ();
18867 /* The GNU C library defines this for functions which it implements
18868 to always fail with ENOSYS. Some functions are actually named
18869 something starting with __ and the normal name is an alias. */
18870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18871 choke me
18872 #else
18873 char (*f) () = $ac_func;
18874 #endif
18875 #ifdef __cplusplus
18877 #endif
18880 main ()
18882 return f != $ac_func;
18884 return 0;
18886 _ACEOF
18887 rm -f conftest.$ac_objext conftest$ac_exeext
18888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18889 (eval $ac_link) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -s conftest$ac_exeext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 eval "$as_ac_var=yes"
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 eval "$as_ac_var=no"
18906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18910 if test `eval echo '${'$as_ac_var'}'` = yes; then
18911 cat >>confdefs.h <<_ACEOF
18912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18913 _ACEOF
18916 done
18918 else
18920 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18921 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18922 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18923 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18929 ac_ext=cc
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935 cat >conftest.$ac_ext <<_ACEOF
18936 #line $LINENO "configure"
18937 /* confdefs.h. */
18938 _ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #include <math.h>
18944 main ()
18946 _hypotl(0, 0);
18948 return 0;
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 glibcxx_cv_func__hypotl_use=yes
18964 else
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18968 glibcxx_cv_func__hypotl_use=no
18970 rm -f conftest.$ac_objext conftest.$ac_ext
18971 ac_ext=c
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18982 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18984 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18986 for ac_func in _hypotl
18988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18989 echo "$as_me:$LINENO: checking for $ac_func" >&5
18990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18991 if eval "test \"\${$as_ac_var+set}\" = set"; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 else
18994 if test x$gcc_no_link = xyes; then
18995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18997 { (exit 1); exit 1; }; }
18999 cat >conftest.$ac_ext <<_ACEOF
19000 #line $LINENO "configure"
19001 /* confdefs.h. */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 /* System header to define __stub macros and hopefully few prototypes,
19007 which can conflict with char $ac_func (); below.
19008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19009 <limits.h> exists even on freestanding compilers. */
19010 #ifdef __STDC__
19011 # include <limits.h>
19012 #else
19013 # include <assert.h>
19014 #endif
19015 /* Override any gcc2 internal prototype to avoid an error. */
19016 #ifdef __cplusplus
19017 extern "C"
19019 #endif
19020 /* We use char because int might match the return type of a gcc2
19021 builtin and then its argument prototype would still apply. */
19022 char $ac_func ();
19023 /* The GNU C library defines this for functions which it implements
19024 to always fail with ENOSYS. Some functions are actually named
19025 something starting with __ and the normal name is an alias. */
19026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19027 choke me
19028 #else
19029 char (*f) () = $ac_func;
19030 #endif
19031 #ifdef __cplusplus
19033 #endif
19036 main ()
19038 return f != $ac_func;
19040 return 0;
19042 _ACEOF
19043 rm -f conftest.$ac_objext conftest$ac_exeext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19045 (eval $ac_link) 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 eval "$as_ac_var=yes"
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19060 eval "$as_ac_var=no"
19062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19066 if test `eval echo '${'$as_ac_var'}'` = yes; then
19067 cat >>confdefs.h <<_ACEOF
19068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19069 _ACEOF
19072 done
19079 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19080 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19081 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19082 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19083 echo $ECHO_N "(cached) $ECHO_C" >&6
19084 else
19088 ac_ext=cc
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094 cat >conftest.$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #include <math.h>
19103 main ()
19105 ldexpl(0, 0);
19107 return 0;
19109 _ACEOF
19110 rm -f conftest.$ac_objext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19112 (eval $ac_compile) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19119 ac_status=$?
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 glibcxx_cv_func_ldexpl_use=yes
19123 else
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 glibcxx_cv_func_ldexpl_use=no
19129 rm -f conftest.$ac_objext conftest.$ac_ext
19130 ac_ext=c
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19141 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19143 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19145 for ac_func in ldexpl
19147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19148 echo "$as_me:$LINENO: checking for $ac_func" >&5
19149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19150 if eval "test \"\${$as_ac_var+set}\" = set"; then
19151 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 else
19153 if test x$gcc_no_link = xyes; then
19154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19156 { (exit 1); exit 1; }; }
19158 cat >conftest.$ac_ext <<_ACEOF
19159 #line $LINENO "configure"
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 /* System header to define __stub macros and hopefully few prototypes,
19166 which can conflict with char $ac_func (); below.
19167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19168 <limits.h> exists even on freestanding compilers. */
19169 #ifdef __STDC__
19170 # include <limits.h>
19171 #else
19172 # include <assert.h>
19173 #endif
19174 /* Override any gcc2 internal prototype to avoid an error. */
19175 #ifdef __cplusplus
19176 extern "C"
19178 #endif
19179 /* We use char because int might match the return type of a gcc2
19180 builtin and then its argument prototype would still apply. */
19181 char $ac_func ();
19182 /* The GNU C library defines this for functions which it implements
19183 to always fail with ENOSYS. Some functions are actually named
19184 something starting with __ and the normal name is an alias. */
19185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19186 choke me
19187 #else
19188 char (*f) () = $ac_func;
19189 #endif
19190 #ifdef __cplusplus
19192 #endif
19195 main ()
19197 return f != $ac_func;
19199 return 0;
19201 _ACEOF
19202 rm -f conftest.$ac_objext conftest$ac_exeext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19204 (eval $ac_link) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -s conftest$ac_exeext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 eval "$as_ac_var=yes"
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19219 eval "$as_ac_var=no"
19221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19225 if test `eval echo '${'$as_ac_var'}'` = yes; then
19226 cat >>confdefs.h <<_ACEOF
19227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19228 _ACEOF
19231 done
19233 else
19235 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19236 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19237 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19238 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 else
19244 ac_ext=cc
19245 ac_cpp='$CXXCPP $CPPFLAGS'
19246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19250 cat >conftest.$ac_ext <<_ACEOF
19251 #line $LINENO "configure"
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <math.h>
19259 main ()
19261 _ldexpl(0, 0);
19263 return 0;
19265 _ACEOF
19266 rm -f conftest.$ac_objext
19267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19268 (eval $ac_compile) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 glibcxx_cv_func__ldexpl_use=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 glibcxx_cv_func__ldexpl_use=no
19285 rm -f conftest.$ac_objext conftest.$ac_ext
19286 ac_ext=c
19287 ac_cpp='$CPP $CPPFLAGS'
19288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19297 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19299 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19301 for ac_func in _ldexpl
19303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19304 echo "$as_me:$LINENO: checking for $ac_func" >&5
19305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19306 if eval "test \"\${$as_ac_var+set}\" = set"; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 else
19309 if test x$gcc_no_link = xyes; then
19310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19312 { (exit 1); exit 1; }; }
19314 cat >conftest.$ac_ext <<_ACEOF
19315 #line $LINENO "configure"
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 /* System header to define __stub macros and hopefully few prototypes,
19322 which can conflict with char $ac_func (); below.
19323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19324 <limits.h> exists even on freestanding compilers. */
19325 #ifdef __STDC__
19326 # include <limits.h>
19327 #else
19328 # include <assert.h>
19329 #endif
19330 /* Override any gcc2 internal prototype to avoid an error. */
19331 #ifdef __cplusplus
19332 extern "C"
19334 #endif
19335 /* We use char because int might match the return type of a gcc2
19336 builtin and then its argument prototype would still apply. */
19337 char $ac_func ();
19338 /* The GNU C library defines this for functions which it implements
19339 to always fail with ENOSYS. Some functions are actually named
19340 something starting with __ and the normal name is an alias. */
19341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19342 choke me
19343 #else
19344 char (*f) () = $ac_func;
19345 #endif
19346 #ifdef __cplusplus
19348 #endif
19351 main ()
19353 return f != $ac_func;
19355 return 0;
19357 _ACEOF
19358 rm -f conftest.$ac_objext conftest$ac_exeext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19360 (eval $ac_link) 2>&5
19361 ac_status=$?
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try='test -s conftest$ac_exeext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 eval "$as_ac_var=yes"
19371 else
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.$ac_ext >&5
19375 eval "$as_ac_var=no"
19377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19381 if test `eval echo '${'$as_ac_var'}'` = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19384 _ACEOF
19387 done
19394 echo "$as_me:$LINENO: checking for logl declaration" >&5
19395 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19396 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19397 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 else
19403 ac_ext=cc
19404 ac_cpp='$CXXCPP $CPPFLAGS'
19405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19409 cat >conftest.$ac_ext <<_ACEOF
19410 #line $LINENO "configure"
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 #include <math.h>
19417 #ifdef HAVE_IEEEFP_H
19418 #include <ieeefp.h>
19419 #endif
19422 main ()
19424 logl(0);
19426 return 0;
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>&5
19432 ac_status=$?
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19441 glibcxx_cv_func_logl_use=yes
19442 else
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 glibcxx_cv_func_logl_use=no
19448 rm -f conftest.$ac_objext conftest.$ac_ext
19449 ac_ext=c
19450 ac_cpp='$CPP $CPPFLAGS'
19451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19460 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19462 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19464 for ac_func in logl
19466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19467 echo "$as_me:$LINENO: checking for $ac_func" >&5
19468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19469 if eval "test \"\${$as_ac_var+set}\" = set"; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 else
19472 if test x$gcc_no_link = xyes; then
19473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19475 { (exit 1); exit 1; }; }
19477 cat >conftest.$ac_ext <<_ACEOF
19478 #line $LINENO "configure"
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 /* System header to define __stub macros and hopefully few prototypes,
19485 which can conflict with char $ac_func (); below.
19486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19487 <limits.h> exists even on freestanding compilers. */
19488 #ifdef __STDC__
19489 # include <limits.h>
19490 #else
19491 # include <assert.h>
19492 #endif
19493 /* Override any gcc2 internal prototype to avoid an error. */
19494 #ifdef __cplusplus
19495 extern "C"
19497 #endif
19498 /* We use char because int might match the return type of a gcc2
19499 builtin and then its argument prototype would still apply. */
19500 char $ac_func ();
19501 /* The GNU C library defines this for functions which it implements
19502 to always fail with ENOSYS. Some functions are actually named
19503 something starting with __ and the normal name is an alias. */
19504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19505 choke me
19506 #else
19507 char (*f) () = $ac_func;
19508 #endif
19509 #ifdef __cplusplus
19511 #endif
19514 main ()
19516 return f != $ac_func;
19518 return 0;
19520 _ACEOF
19521 rm -f conftest.$ac_objext conftest$ac_exeext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19523 (eval $ac_link) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest$ac_exeext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 eval "$as_ac_var=yes"
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 eval "$as_ac_var=no"
19540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19544 if test `eval echo '${'$as_ac_var'}'` = yes; then
19545 cat >>confdefs.h <<_ACEOF
19546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19547 _ACEOF
19550 done
19552 else
19554 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19555 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19556 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19557 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 else
19563 ac_ext=cc
19564 ac_cpp='$CXXCPP $CPPFLAGS'
19565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19569 cat >conftest.$ac_ext <<_ACEOF
19570 #line $LINENO "configure"
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <math.h>
19577 #ifdef HAVE_IEEEFP_H
19578 #include <ieeefp.h>
19579 #endif
19582 main ()
19584 _logl(0);
19586 return 0;
19588 _ACEOF
19589 rm -f conftest.$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19598 ac_status=$?
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 glibcxx_cv_func__logl_use=yes
19602 else
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 glibcxx_cv_func__logl_use=no
19608 rm -f conftest.$ac_objext conftest.$ac_ext
19609 ac_ext=c
19610 ac_cpp='$CPP $CPPFLAGS'
19611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19620 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19622 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19624 for ac_func in _logl
19626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19627 echo "$as_me:$LINENO: checking for $ac_func" >&5
19628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19629 if eval "test \"\${$as_ac_var+set}\" = set"; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 else
19632 if test x$gcc_no_link = xyes; then
19633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19635 { (exit 1); exit 1; }; }
19637 cat >conftest.$ac_ext <<_ACEOF
19638 #line $LINENO "configure"
19639 /* confdefs.h. */
19640 _ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 /* System header to define __stub macros and hopefully few prototypes,
19645 which can conflict with char $ac_func (); below.
19646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19647 <limits.h> exists even on freestanding compilers. */
19648 #ifdef __STDC__
19649 # include <limits.h>
19650 #else
19651 # include <assert.h>
19652 #endif
19653 /* Override any gcc2 internal prototype to avoid an error. */
19654 #ifdef __cplusplus
19655 extern "C"
19657 #endif
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19660 char $ac_func ();
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19665 choke me
19666 #else
19667 char (*f) () = $ac_func;
19668 #endif
19669 #ifdef __cplusplus
19671 #endif
19674 main ()
19676 return f != $ac_func;
19678 return 0;
19680 _ACEOF
19681 rm -f conftest.$ac_objext conftest$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683 (eval $ac_link) 2>&5
19684 ac_status=$?
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -s conftest$ac_exeext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19690 ac_status=$?
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 eval "$as_ac_var=yes"
19694 else
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 eval "$as_ac_var=no"
19700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19704 if test `eval echo '${'$as_ac_var'}'` = yes; then
19705 cat >>confdefs.h <<_ACEOF
19706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19707 _ACEOF
19710 done
19717 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19718 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19719 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19720 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 else
19726 ac_ext=cc
19727 ac_cpp='$CXXCPP $CPPFLAGS'
19728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19732 cat >conftest.$ac_ext <<_ACEOF
19733 #line $LINENO "configure"
19734 /* confdefs.h. */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 #include <math.h>
19740 #ifdef HAVE_IEEEFP_H
19741 #include <ieeefp.h>
19742 #endif
19745 main ()
19747 log10l(0);
19749 return 0;
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19754 (eval $ac_compile) 2>&5
19755 ac_status=$?
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 glibcxx_cv_func_log10l_use=yes
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 glibcxx_cv_func_log10l_use=no
19771 rm -f conftest.$ac_objext conftest.$ac_ext
19772 ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19785 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19787 for ac_func in log10l
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 if test x$gcc_no_link = xyes; then
19796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.$ac_ext <<_ACEOF
19801 #line $LINENO "configure"
19802 /* confdefs.h. */
19803 _ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 /* System header to define __stub macros and hopefully few prototypes,
19808 which can conflict with char $ac_func (); below.
19809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19810 <limits.h> exists even on freestanding compilers. */
19811 #ifdef __STDC__
19812 # include <limits.h>
19813 #else
19814 # include <assert.h>
19815 #endif
19816 /* Override any gcc2 internal prototype to avoid an error. */
19817 #ifdef __cplusplus
19818 extern "C"
19820 #endif
19821 /* We use char because int might match the return type of a gcc2
19822 builtin and then its argument prototype would still apply. */
19823 char $ac_func ();
19824 /* The GNU C library defines this for functions which it implements
19825 to always fail with ENOSYS. Some functions are actually named
19826 something starting with __ and the normal name is an alias. */
19827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19828 choke me
19829 #else
19830 char (*f) () = $ac_func;
19831 #endif
19832 #ifdef __cplusplus
19834 #endif
19837 main ()
19839 return f != $ac_func;
19841 return 0;
19843 _ACEOF
19844 rm -f conftest.$ac_objext conftest$ac_exeext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19846 (eval $ac_link) 2>&5
19847 ac_status=$?
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try='test -s conftest$ac_exeext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19853 ac_status=$?
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19856 eval "$as_ac_var=yes"
19857 else
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.$ac_ext >&5
19861 eval "$as_ac_var=no"
19863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19867 if test `eval echo '${'$as_ac_var'}'` = yes; then
19868 cat >>confdefs.h <<_ACEOF
19869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19870 _ACEOF
19873 done
19875 else
19877 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19878 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19879 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19880 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else
19886 ac_ext=cc
19887 ac_cpp='$CXXCPP $CPPFLAGS'
19888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19892 cat >conftest.$ac_ext <<_ACEOF
19893 #line $LINENO "configure"
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 #include <math.h>
19900 #ifdef HAVE_IEEEFP_H
19901 #include <ieeefp.h>
19902 #endif
19905 main ()
19907 _log10l(0);
19909 return 0;
19911 _ACEOF
19912 rm -f conftest.$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 glibcxx_cv_func__log10l_use=yes
19925 else
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 glibcxx_cv_func__log10l_use=no
19931 rm -f conftest.$ac_objext conftest.$ac_ext
19932 ac_ext=c
19933 ac_cpp='$CPP $CPPFLAGS'
19934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19943 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19945 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19947 for ac_func in _log10l
19949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19950 echo "$as_me:$LINENO: checking for $ac_func" >&5
19951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19952 if eval "test \"\${$as_ac_var+set}\" = set"; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 else
19955 if test x$gcc_no_link = xyes; then
19956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19958 { (exit 1); exit 1; }; }
19960 cat >conftest.$ac_ext <<_ACEOF
19961 #line $LINENO "configure"
19962 /* confdefs.h. */
19963 _ACEOF
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 /* System header to define __stub macros and hopefully few prototypes,
19968 which can conflict with char $ac_func (); below.
19969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19970 <limits.h> exists even on freestanding compilers. */
19971 #ifdef __STDC__
19972 # include <limits.h>
19973 #else
19974 # include <assert.h>
19975 #endif
19976 /* Override any gcc2 internal prototype to avoid an error. */
19977 #ifdef __cplusplus
19978 extern "C"
19980 #endif
19981 /* We use char because int might match the return type of a gcc2
19982 builtin and then its argument prototype would still apply. */
19983 char $ac_func ();
19984 /* The GNU C library defines this for functions which it implements
19985 to always fail with ENOSYS. Some functions are actually named
19986 something starting with __ and the normal name is an alias. */
19987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19988 choke me
19989 #else
19990 char (*f) () = $ac_func;
19991 #endif
19992 #ifdef __cplusplus
19994 #endif
19997 main ()
19999 return f != $ac_func;
20001 return 0;
20003 _ACEOF
20004 rm -f conftest.$ac_objext conftest$ac_exeext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20006 (eval $ac_link) 2>&5
20007 ac_status=$?
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -s conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20013 ac_status=$?
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 eval "$as_ac_var=yes"
20017 else
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 eval "$as_ac_var=no"
20023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20027 if test `eval echo '${'$as_ac_var'}'` = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20030 _ACEOF
20033 done
20040 echo "$as_me:$LINENO: checking for modfl declaration" >&5
20041 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20042 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20043 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 else
20049 ac_ext=cc
20050 ac_cpp='$CXXCPP $CPPFLAGS'
20051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20055 cat >conftest.$ac_ext <<_ACEOF
20056 #line $LINENO "configure"
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 #include <math.h>
20064 main ()
20066 modfl(0, 0);
20068 return 0;
20070 _ACEOF
20071 rm -f conftest.$ac_objext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20073 (eval $ac_compile) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 glibcxx_cv_func_modfl_use=yes
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20088 glibcxx_cv_func_modfl_use=no
20090 rm -f conftest.$ac_objext conftest.$ac_ext
20091 ac_ext=c
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20102 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20104 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20106 for ac_func in modfl
20108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20109 echo "$as_me:$LINENO: checking for $ac_func" >&5
20110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20111 if eval "test \"\${$as_ac_var+set}\" = set"; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 if test x$gcc_no_link = xyes; then
20115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20117 { (exit 1); exit 1; }; }
20119 cat >conftest.$ac_ext <<_ACEOF
20120 #line $LINENO "configure"
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 /* System header to define __stub macros and hopefully few prototypes,
20127 which can conflict with char $ac_func (); below.
20128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20129 <limits.h> exists even on freestanding compilers. */
20130 #ifdef __STDC__
20131 # include <limits.h>
20132 #else
20133 # include <assert.h>
20134 #endif
20135 /* Override any gcc2 internal prototype to avoid an error. */
20136 #ifdef __cplusplus
20137 extern "C"
20139 #endif
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20142 char $ac_func ();
20143 /* The GNU C library defines this for functions which it implements
20144 to always fail with ENOSYS. Some functions are actually named
20145 something starting with __ and the normal name is an alias. */
20146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20147 choke me
20148 #else
20149 char (*f) () = $ac_func;
20150 #endif
20151 #ifdef __cplusplus
20153 #endif
20156 main ()
20158 return f != $ac_func;
20160 return 0;
20162 _ACEOF
20163 rm -f conftest.$ac_objext conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try='test -s conftest$ac_exeext'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; }; then
20175 eval "$as_ac_var=yes"
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 eval "$as_ac_var=no"
20182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20186 if test `eval echo '${'$as_ac_var'}'` = yes; then
20187 cat >>confdefs.h <<_ACEOF
20188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20189 _ACEOF
20192 done
20194 else
20196 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20197 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20198 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20199 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 else
20205 ac_ext=cc
20206 ac_cpp='$CXXCPP $CPPFLAGS'
20207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20211 cat >conftest.$ac_ext <<_ACEOF
20212 #line $LINENO "configure"
20213 /* confdefs.h. */
20214 _ACEOF
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 #include <math.h>
20220 main ()
20222 _modfl(0, 0);
20224 return 0;
20226 _ACEOF
20227 rm -f conftest.$ac_objext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20229 (eval $ac_compile) 2>&5
20230 ac_status=$?
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try='test -s conftest.$ac_objext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 glibcxx_cv_func__modfl_use=yes
20240 else
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.$ac_ext >&5
20244 glibcxx_cv_func__modfl_use=no
20246 rm -f conftest.$ac_objext conftest.$ac_ext
20247 ac_ext=c
20248 ac_cpp='$CPP $CPPFLAGS'
20249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20258 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20260 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20262 for ac_func in _modfl
20264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20265 echo "$as_me:$LINENO: checking for $ac_func" >&5
20266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20267 if eval "test \"\${$as_ac_var+set}\" = set"; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else
20270 if test x$gcc_no_link = xyes; then
20271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20273 { (exit 1); exit 1; }; }
20275 cat >conftest.$ac_ext <<_ACEOF
20276 #line $LINENO "configure"
20277 /* confdefs.h. */
20278 _ACEOF
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 /* System header to define __stub macros and hopefully few prototypes,
20283 which can conflict with char $ac_func (); below.
20284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20285 <limits.h> exists even on freestanding compilers. */
20286 #ifdef __STDC__
20287 # include <limits.h>
20288 #else
20289 # include <assert.h>
20290 #endif
20291 /* Override any gcc2 internal prototype to avoid an error. */
20292 #ifdef __cplusplus
20293 extern "C"
20295 #endif
20296 /* We use char because int might match the return type of a gcc2
20297 builtin and then its argument prototype would still apply. */
20298 char $ac_func ();
20299 /* The GNU C library defines this for functions which it implements
20300 to always fail with ENOSYS. Some functions are actually named
20301 something starting with __ and the normal name is an alias. */
20302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20303 choke me
20304 #else
20305 char (*f) () = $ac_func;
20306 #endif
20307 #ifdef __cplusplus
20309 #endif
20312 main ()
20314 return f != $ac_func;
20316 return 0;
20318 _ACEOF
20319 rm -f conftest.$ac_objext conftest$ac_exeext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20321 (eval $ac_link) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try='test -s conftest$ac_exeext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 eval "$as_ac_var=yes"
20332 else
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20336 eval "$as_ac_var=no"
20338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20342 if test `eval echo '${'$as_ac_var'}'` = yes; then
20343 cat >>confdefs.h <<_ACEOF
20344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20345 _ACEOF
20348 done
20355 echo "$as_me:$LINENO: checking for powl declaration" >&5
20356 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20357 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20358 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20364 ac_ext=cc
20365 ac_cpp='$CXXCPP $CPPFLAGS'
20366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370 cat >conftest.$ac_ext <<_ACEOF
20371 #line $LINENO "configure"
20372 /* confdefs.h. */
20373 _ACEOF
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 #include <math.h>
20379 main ()
20381 powl(0, 0);
20383 return 0;
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); } &&
20392 { ac_try='test -s conftest.$ac_objext'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20395 ac_status=$?
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; }; then
20398 glibcxx_cv_func_powl_use=yes
20399 else
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20403 glibcxx_cv_func_powl_use=no
20405 rm -f conftest.$ac_objext conftest.$ac_ext
20406 ac_ext=c
20407 ac_cpp='$CPP $CPPFLAGS'
20408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20417 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20419 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20421 for ac_func in powl
20423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20424 echo "$as_me:$LINENO: checking for $ac_func" >&5
20425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20426 if eval "test \"\${$as_ac_var+set}\" = set"; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 else
20429 if test x$gcc_no_link = xyes; then
20430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20432 { (exit 1); exit 1; }; }
20434 cat >conftest.$ac_ext <<_ACEOF
20435 #line $LINENO "configure"
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 /* System header to define __stub macros and hopefully few prototypes,
20442 which can conflict with char $ac_func (); below.
20443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20444 <limits.h> exists even on freestanding compilers. */
20445 #ifdef __STDC__
20446 # include <limits.h>
20447 #else
20448 # include <assert.h>
20449 #endif
20450 /* Override any gcc2 internal prototype to avoid an error. */
20451 #ifdef __cplusplus
20452 extern "C"
20454 #endif
20455 /* We use char because int might match the return type of a gcc2
20456 builtin and then its argument prototype would still apply. */
20457 char $ac_func ();
20458 /* The GNU C library defines this for functions which it implements
20459 to always fail with ENOSYS. Some functions are actually named
20460 something starting with __ and the normal name is an alias. */
20461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20462 choke me
20463 #else
20464 char (*f) () = $ac_func;
20465 #endif
20466 #ifdef __cplusplus
20468 #endif
20471 main ()
20473 return f != $ac_func;
20475 return 0;
20477 _ACEOF
20478 rm -f conftest.$ac_objext conftest$ac_exeext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20480 (eval $ac_link) 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -s conftest$ac_exeext'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 eval "$as_ac_var=yes"
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20495 eval "$as_ac_var=no"
20497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20501 if test `eval echo '${'$as_ac_var'}'` = yes; then
20502 cat >>confdefs.h <<_ACEOF
20503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20504 _ACEOF
20507 done
20509 else
20511 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20512 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20513 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20514 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20515 echo $ECHO_N "(cached) $ECHO_C" >&6
20516 else
20520 ac_ext=cc
20521 ac_cpp='$CXXCPP $CPPFLAGS'
20522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20526 cat >conftest.$ac_ext <<_ACEOF
20527 #line $LINENO "configure"
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 #include <math.h>
20535 main ()
20537 _powl(0, 0);
20539 return 0;
20541 _ACEOF
20542 rm -f conftest.$ac_objext
20543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20544 (eval $ac_compile) 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try='test -s conftest.$ac_objext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20551 ac_status=$?
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 glibcxx_cv_func__powl_use=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 glibcxx_cv_func__powl_use=no
20561 rm -f conftest.$ac_objext conftest.$ac_ext
20562 ac_ext=c
20563 ac_cpp='$CPP $CPPFLAGS'
20564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20573 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20575 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20577 for ac_func in _powl
20579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20580 echo "$as_me:$LINENO: checking for $ac_func" >&5
20581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20582 if eval "test \"\${$as_ac_var+set}\" = set"; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20585 if test x$gcc_no_link = xyes; then
20586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20588 { (exit 1); exit 1; }; }
20590 cat >conftest.$ac_ext <<_ACEOF
20591 #line $LINENO "configure"
20592 /* confdefs.h. */
20593 _ACEOF
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20597 /* System header to define __stub macros and hopefully few prototypes,
20598 which can conflict with char $ac_func (); below.
20599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20600 <limits.h> exists even on freestanding compilers. */
20601 #ifdef __STDC__
20602 # include <limits.h>
20603 #else
20604 # include <assert.h>
20605 #endif
20606 /* Override any gcc2 internal prototype to avoid an error. */
20607 #ifdef __cplusplus
20608 extern "C"
20610 #endif
20611 /* We use char because int might match the return type of a gcc2
20612 builtin and then its argument prototype would still apply. */
20613 char $ac_func ();
20614 /* The GNU C library defines this for functions which it implements
20615 to always fail with ENOSYS. Some functions are actually named
20616 something starting with __ and the normal name is an alias. */
20617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20618 choke me
20619 #else
20620 char (*f) () = $ac_func;
20621 #endif
20622 #ifdef __cplusplus
20624 #endif
20627 main ()
20629 return f != $ac_func;
20631 return 0;
20633 _ACEOF
20634 rm -f conftest.$ac_objext conftest$ac_exeext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20636 (eval $ac_link) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 eval "$as_ac_var=yes"
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 eval "$as_ac_var=no"
20653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20657 if test `eval echo '${'$as_ac_var'}'` = yes; then
20658 cat >>confdefs.h <<_ACEOF
20659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20660 _ACEOF
20663 done
20670 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20671 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20672 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20673 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 else
20679 ac_ext=cc
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat >conftest.$ac_ext <<_ACEOF
20686 #line $LINENO "configure"
20687 /* confdefs.h. */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 #include <math.h>
20693 #ifdef HAVE_IEEEFP_H
20694 #include <ieeefp.h>
20695 #endif
20698 main ()
20700 sqrtl(0);
20702 return 0;
20704 _ACEOF
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -s conftest.$ac_objext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 glibcxx_cv_func_sqrtl_use=yes
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20722 glibcxx_cv_func_sqrtl_use=no
20724 rm -f conftest.$ac_objext conftest.$ac_ext
20725 ac_ext=c
20726 ac_cpp='$CPP $CPPFLAGS'
20727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20736 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20738 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20740 for ac_func in sqrtl
20742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20743 echo "$as_me:$LINENO: checking for $ac_func" >&5
20744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20745 if eval "test \"\${$as_ac_var+set}\" = set"; then
20746 echo $ECHO_N "(cached) $ECHO_C" >&6
20747 else
20748 if test x$gcc_no_link = xyes; then
20749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20751 { (exit 1); exit 1; }; }
20753 cat >conftest.$ac_ext <<_ACEOF
20754 #line $LINENO "configure"
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 /* System header to define __stub macros and hopefully few prototypes,
20761 which can conflict with char $ac_func (); below.
20762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20763 <limits.h> exists even on freestanding compilers. */
20764 #ifdef __STDC__
20765 # include <limits.h>
20766 #else
20767 # include <assert.h>
20768 #endif
20769 /* Override any gcc2 internal prototype to avoid an error. */
20770 #ifdef __cplusplus
20771 extern "C"
20773 #endif
20774 /* We use char because int might match the return type of a gcc2
20775 builtin and then its argument prototype would still apply. */
20776 char $ac_func ();
20777 /* The GNU C library defines this for functions which it implements
20778 to always fail with ENOSYS. Some functions are actually named
20779 something starting with __ and the normal name is an alias. */
20780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20781 choke me
20782 #else
20783 char (*f) () = $ac_func;
20784 #endif
20785 #ifdef __cplusplus
20787 #endif
20790 main ()
20792 return f != $ac_func;
20794 return 0;
20796 _ACEOF
20797 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 eval "$as_ac_var=yes"
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20814 eval "$as_ac_var=no"
20816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20820 if test `eval echo '${'$as_ac_var'}'` = yes; then
20821 cat >>confdefs.h <<_ACEOF
20822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20823 _ACEOF
20826 done
20828 else
20830 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20831 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20832 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20833 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20839 ac_ext=cc
20840 ac_cpp='$CXXCPP $CPPFLAGS'
20841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845 cat >conftest.$ac_ext <<_ACEOF
20846 #line $LINENO "configure"
20847 /* confdefs.h. */
20848 _ACEOF
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 #include <math.h>
20853 #ifdef HAVE_IEEEFP_H
20854 #include <ieeefp.h>
20855 #endif
20858 main ()
20860 _sqrtl(0);
20862 return 0;
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -s conftest.$ac_objext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 glibcxx_cv_func__sqrtl_use=yes
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 glibcxx_cv_func__sqrtl_use=no
20884 rm -f conftest.$ac_objext conftest.$ac_ext
20885 ac_ext=c
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20896 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20898 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20900 for ac_func in _sqrtl
20902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20903 echo "$as_me:$LINENO: checking for $ac_func" >&5
20904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20905 if eval "test \"\${$as_ac_var+set}\" = set"; then
20906 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 else
20908 if test x$gcc_no_link = xyes; then
20909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20911 { (exit 1); exit 1; }; }
20913 cat >conftest.$ac_ext <<_ACEOF
20914 #line $LINENO "configure"
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 /* System header to define __stub macros and hopefully few prototypes,
20921 which can conflict with char $ac_func (); below.
20922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20923 <limits.h> exists even on freestanding compilers. */
20924 #ifdef __STDC__
20925 # include <limits.h>
20926 #else
20927 # include <assert.h>
20928 #endif
20929 /* Override any gcc2 internal prototype to avoid an error. */
20930 #ifdef __cplusplus
20931 extern "C"
20933 #endif
20934 /* We use char because int might match the return type of a gcc2
20935 builtin and then its argument prototype would still apply. */
20936 char $ac_func ();
20937 /* The GNU C library defines this for functions which it implements
20938 to always fail with ENOSYS. Some functions are actually named
20939 something starting with __ and the normal name is an alias. */
20940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20941 choke me
20942 #else
20943 char (*f) () = $ac_func;
20944 #endif
20945 #ifdef __cplusplus
20947 #endif
20950 main ()
20952 return f != $ac_func;
20954 return 0;
20956 _ACEOF
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959 (eval $ac_link) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -s conftest$ac_exeext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 eval "$as_ac_var=yes"
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 eval "$as_ac_var=no"
20976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20980 if test `eval echo '${'$as_ac_var'}'` = yes; then
20981 cat >>confdefs.h <<_ACEOF
20982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20983 _ACEOF
20986 done
20993 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20994 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20995 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20996 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20997 echo $ECHO_N "(cached) $ECHO_C" >&6
20998 else
21002 ac_ext=cc
21003 ac_cpp='$CXXCPP $CPPFLAGS'
21004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21008 cat >conftest.$ac_ext <<_ACEOF
21009 #line $LINENO "configure"
21010 /* confdefs.h. */
21011 _ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 #include <math.h>
21017 main ()
21019 sincosl(0, 0, 0);
21021 return 0;
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21026 (eval $ac_compile) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } &&
21030 { ac_try='test -s conftest.$ac_objext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 glibcxx_cv_func_sincosl_use=yes
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21041 glibcxx_cv_func_sincosl_use=no
21043 rm -f conftest.$ac_objext conftest.$ac_ext
21044 ac_ext=c
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21055 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21057 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21059 for ac_func in sincosl
21061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21062 echo "$as_me:$LINENO: checking for $ac_func" >&5
21063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21064 if eval "test \"\${$as_ac_var+set}\" = set"; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067 if test x$gcc_no_link = xyes; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21072 cat >conftest.$ac_ext <<_ACEOF
21073 #line $LINENO "configure"
21074 /* confdefs.h. */
21075 _ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 /* System header to define __stub macros and hopefully few prototypes,
21080 which can conflict with char $ac_func (); below.
21081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21082 <limits.h> exists even on freestanding compilers. */
21083 #ifdef __STDC__
21084 # include <limits.h>
21085 #else
21086 # include <assert.h>
21087 #endif
21088 /* Override any gcc2 internal prototype to avoid an error. */
21089 #ifdef __cplusplus
21090 extern "C"
21092 #endif
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21095 char $ac_func ();
21096 /* The GNU C library defines this for functions which it implements
21097 to always fail with ENOSYS. Some functions are actually named
21098 something starting with __ and the normal name is an alias. */
21099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21100 choke me
21101 #else
21102 char (*f) () = $ac_func;
21103 #endif
21104 #ifdef __cplusplus
21106 #endif
21109 main ()
21111 return f != $ac_func;
21113 return 0;
21115 _ACEOF
21116 rm -f conftest.$ac_objext conftest$ac_exeext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21118 (eval $ac_link) 2>&5
21119 ac_status=$?
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } &&
21122 { ac_try='test -s conftest$ac_exeext'
21123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21124 (eval $ac_try) 2>&5
21125 ac_status=$?
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; }; then
21128 eval "$as_ac_var=yes"
21129 else
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 eval "$as_ac_var=no"
21135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21139 if test `eval echo '${'$as_ac_var'}'` = yes; then
21140 cat >>confdefs.h <<_ACEOF
21141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21142 _ACEOF
21145 done
21147 else
21149 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21150 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21151 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21152 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 else
21158 ac_ext=cc
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164 cat >conftest.$ac_ext <<_ACEOF
21165 #line $LINENO "configure"
21166 /* confdefs.h. */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171 #include <math.h>
21173 main ()
21175 _sincosl(0, 0, 0);
21177 return 0;
21179 _ACEOF
21180 rm -f conftest.$ac_objext
21181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21182 (eval $ac_compile) 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try='test -s conftest.$ac_objext'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 glibcxx_cv_func__sincosl_use=yes
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21197 glibcxx_cv_func__sincosl_use=no
21199 rm -f conftest.$ac_objext conftest.$ac_ext
21200 ac_ext=c
21201 ac_cpp='$CPP $CPPFLAGS'
21202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21211 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21213 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21215 for ac_func in _sincosl
21217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21218 echo "$as_me:$LINENO: checking for $ac_func" >&5
21219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21220 if eval "test \"\${$as_ac_var+set}\" = set"; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 else
21223 if test x$gcc_no_link = xyes; then
21224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21226 { (exit 1); exit 1; }; }
21228 cat >conftest.$ac_ext <<_ACEOF
21229 #line $LINENO "configure"
21230 /* confdefs.h. */
21231 _ACEOF
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 /* System header to define __stub macros and hopefully few prototypes,
21236 which can conflict with char $ac_func (); below.
21237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21238 <limits.h> exists even on freestanding compilers. */
21239 #ifdef __STDC__
21240 # include <limits.h>
21241 #else
21242 # include <assert.h>
21243 #endif
21244 /* Override any gcc2 internal prototype to avoid an error. */
21245 #ifdef __cplusplus
21246 extern "C"
21248 #endif
21249 /* We use char because int might match the return type of a gcc2
21250 builtin and then its argument prototype would still apply. */
21251 char $ac_func ();
21252 /* The GNU C library defines this for functions which it implements
21253 to always fail with ENOSYS. Some functions are actually named
21254 something starting with __ and the normal name is an alias. */
21255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21256 choke me
21257 #else
21258 char (*f) () = $ac_func;
21259 #endif
21260 #ifdef __cplusplus
21262 #endif
21265 main ()
21267 return f != $ac_func;
21269 return 0;
21271 _ACEOF
21272 rm -f conftest.$ac_objext conftest$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -s conftest$ac_exeext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 eval "$as_ac_var=yes"
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21289 eval "$as_ac_var=no"
21291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21295 if test `eval echo '${'$as_ac_var'}'` = yes; then
21296 cat >>confdefs.h <<_ACEOF
21297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21298 _ACEOF
21301 done
21308 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21309 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21310 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21311 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21313 else
21317 ac_ext=cc
21318 ac_cpp='$CXXCPP $CPPFLAGS'
21319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21323 cat >conftest.$ac_ext <<_ACEOF
21324 #line $LINENO "configure"
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 #include <math.h>
21331 #ifdef HAVE_IEEEFP_H
21332 #include <ieeefp.h>
21333 #endif
21336 main ()
21338 finitel(0);
21340 return 0;
21342 _ACEOF
21343 rm -f conftest.$ac_objext
21344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21345 (eval $ac_compile) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -s conftest.$ac_objext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 glibcxx_cv_func_finitel_use=yes
21356 else
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21360 glibcxx_cv_func_finitel_use=no
21362 rm -f conftest.$ac_objext conftest.$ac_ext
21363 ac_ext=c
21364 ac_cpp='$CPP $CPPFLAGS'
21365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21374 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21376 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21378 for ac_func in finitel
21380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21381 echo "$as_me:$LINENO: checking for $ac_func" >&5
21382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21383 if eval "test \"\${$as_ac_var+set}\" = set"; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 if test x$gcc_no_link = xyes; then
21387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21389 { (exit 1); exit 1; }; }
21391 cat >conftest.$ac_ext <<_ACEOF
21392 #line $LINENO "configure"
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 /* System header to define __stub macros and hopefully few prototypes,
21399 which can conflict with char $ac_func (); below.
21400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21401 <limits.h> exists even on freestanding compilers. */
21402 #ifdef __STDC__
21403 # include <limits.h>
21404 #else
21405 # include <assert.h>
21406 #endif
21407 /* Override any gcc2 internal prototype to avoid an error. */
21408 #ifdef __cplusplus
21409 extern "C"
21411 #endif
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21414 char $ac_func ();
21415 /* The GNU C library defines this for functions which it implements
21416 to always fail with ENOSYS. Some functions are actually named
21417 something starting with __ and the normal name is an alias. */
21418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21419 choke me
21420 #else
21421 char (*f) () = $ac_func;
21422 #endif
21423 #ifdef __cplusplus
21425 #endif
21428 main ()
21430 return f != $ac_func;
21432 return 0;
21434 _ACEOF
21435 rm -f conftest.$ac_objext conftest$ac_exeext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21437 (eval $ac_link) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } &&
21441 { ac_try='test -s conftest$ac_exeext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21444 ac_status=$?
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 eval "$as_ac_var=yes"
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21452 eval "$as_ac_var=no"
21454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21458 if test `eval echo '${'$as_ac_var'}'` = yes; then
21459 cat >>confdefs.h <<_ACEOF
21460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21461 _ACEOF
21464 done
21466 else
21468 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21469 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21470 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21471 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21477 ac_ext=cc
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483 cat >conftest.$ac_ext <<_ACEOF
21484 #line $LINENO "configure"
21485 /* confdefs.h. */
21486 _ACEOF
21487 cat confdefs.h >>conftest.$ac_ext
21488 cat >>conftest.$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490 #include <math.h>
21491 #ifdef HAVE_IEEEFP_H
21492 #include <ieeefp.h>
21493 #endif
21496 main ()
21498 _finitel(0);
21500 return 0;
21502 _ACEOF
21503 rm -f conftest.$ac_objext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21505 (eval $ac_compile) 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } &&
21509 { ac_try='test -s conftest.$ac_objext'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; }; then
21515 glibcxx_cv_func__finitel_use=yes
21516 else
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 glibcxx_cv_func__finitel_use=no
21522 rm -f conftest.$ac_objext conftest.$ac_ext
21523 ac_ext=c
21524 ac_cpp='$CPP $CPPFLAGS'
21525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21534 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21536 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21538 for ac_func in _finitel
21540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21541 echo "$as_me:$LINENO: checking for $ac_func" >&5
21542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21543 if eval "test \"\${$as_ac_var+set}\" = set"; then
21544 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 else
21546 if test x$gcc_no_link = xyes; then
21547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21549 { (exit 1); exit 1; }; }
21551 cat >conftest.$ac_ext <<_ACEOF
21552 #line $LINENO "configure"
21553 /* confdefs.h. */
21554 _ACEOF
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 /* System header to define __stub macros and hopefully few prototypes,
21559 which can conflict with char $ac_func (); below.
21560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21561 <limits.h> exists even on freestanding compilers. */
21562 #ifdef __STDC__
21563 # include <limits.h>
21564 #else
21565 # include <assert.h>
21566 #endif
21567 /* Override any gcc2 internal prototype to avoid an error. */
21568 #ifdef __cplusplus
21569 extern "C"
21571 #endif
21572 /* We use char because int might match the return type of a gcc2
21573 builtin and then its argument prototype would still apply. */
21574 char $ac_func ();
21575 /* The GNU C library defines this for functions which it implements
21576 to always fail with ENOSYS. Some functions are actually named
21577 something starting with __ and the normal name is an alias. */
21578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21579 choke me
21580 #else
21581 char (*f) () = $ac_func;
21582 #endif
21583 #ifdef __cplusplus
21585 #endif
21588 main ()
21590 return f != $ac_func;
21592 return 0;
21594 _ACEOF
21595 rm -f conftest.$ac_objext conftest$ac_exeext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21597 (eval $ac_link) 2>&5
21598 ac_status=$?
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -s conftest$ac_exeext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 eval "$as_ac_var=yes"
21608 else
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 eval "$as_ac_var=no"
21614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21618 if test `eval echo '${'$as_ac_var'}'` = yes; then
21619 cat >>confdefs.h <<_ACEOF
21620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21621 _ACEOF
21624 done
21632 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21633 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21634 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 else
21640 ac_ext=cc
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21646 cat >conftest.$ac_ext <<_ACEOF
21647 #line $LINENO "configure"
21648 /* confdefs.h. */
21649 _ACEOF
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653 #include <math.h>
21655 main ()
21657 `for x in _acosf _asinf _atanf \
21658 _cosf _sinf _tanf \
21659 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21661 return 0;
21663 _ACEOF
21664 rm -f conftest.$ac_objext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21666 (eval $ac_compile) 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try='test -s conftest.$ac_objext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21673 ac_status=$?
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21676 glibcxx_cv_func__float_trig_use=yes
21677 else
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21681 glibcxx_cv_func__float_trig_use=no
21683 rm -f conftest.$ac_objext conftest.$ac_ext
21684 ac_ext=c
21685 ac_cpp='$CPP $CPPFLAGS'
21686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21693 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21694 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21704 for ac_func in _acosf _asinf _atanf \
21705 _cosf _sinf _tanf \
21706 _coshf _sinhf _tanhf
21708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21709 echo "$as_me:$LINENO: checking for $ac_func" >&5
21710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21711 if eval "test \"\${$as_ac_var+set}\" = set"; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 else
21714 if test x$gcc_no_link = xyes; then
21715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21717 { (exit 1); exit 1; }; }
21719 cat >conftest.$ac_ext <<_ACEOF
21720 #line $LINENO "configure"
21721 /* confdefs.h. */
21722 _ACEOF
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 /* System header to define __stub macros and hopefully few prototypes,
21727 which can conflict with char $ac_func (); below.
21728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21729 <limits.h> exists even on freestanding compilers. */
21730 #ifdef __STDC__
21731 # include <limits.h>
21732 #else
21733 # include <assert.h>
21734 #endif
21735 /* Override any gcc2 internal prototype to avoid an error. */
21736 #ifdef __cplusplus
21737 extern "C"
21739 #endif
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21742 char $ac_func ();
21743 /* The GNU C library defines this for functions which it implements
21744 to always fail with ENOSYS. Some functions are actually named
21745 something starting with __ and the normal name is an alias. */
21746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21747 choke me
21748 #else
21749 char (*f) () = $ac_func;
21750 #endif
21751 #ifdef __cplusplus
21753 #endif
21756 main ()
21758 return f != $ac_func;
21760 return 0;
21762 _ACEOF
21763 rm -f conftest.$ac_objext conftest$ac_exeext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21765 (eval $ac_link) 2>&5
21766 ac_status=$?
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -s conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 eval "$as_ac_var=yes"
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 eval "$as_ac_var=no"
21782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21786 if test `eval echo '${'$as_ac_var'}'` = yes; then
21787 cat >>confdefs.h <<_ACEOF
21788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21789 _ACEOF
21792 done
21797 echo "$as_me:$LINENO: checking for _float round functions" >&5
21798 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21799 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21801 else
21805 ac_ext=cc
21806 ac_cpp='$CXXCPP $CPPFLAGS'
21807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21811 cat >conftest.$ac_ext <<_ACEOF
21812 #line $LINENO "configure"
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 #include <math.h>
21820 main ()
21822 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21824 return 0;
21826 _ACEOF
21827 rm -f conftest.$ac_objext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21829 (eval $ac_compile) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 glibcxx_cv_func__float_round_use=yes
21840 else
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21844 glibcxx_cv_func__float_round_use=no
21846 rm -f conftest.$ac_objext conftest.$ac_ext
21847 ac_ext=c
21848 ac_cpp='$CPP $CPPFLAGS'
21849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21856 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21857 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21860 for ac_func in _ceilf _floorf
21862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21863 echo "$as_me:$LINENO: checking for $ac_func" >&5
21864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21865 if eval "test \"\${$as_ac_var+set}\" = set"; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 else
21868 if test x$gcc_no_link = xyes; then
21869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21871 { (exit 1); exit 1; }; }
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 /* System header to define __stub macros and hopefully few prototypes,
21881 which can conflict with char $ac_func (); below.
21882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21883 <limits.h> exists even on freestanding compilers. */
21884 #ifdef __STDC__
21885 # include <limits.h>
21886 #else
21887 # include <assert.h>
21888 #endif
21889 /* Override any gcc2 internal prototype to avoid an error. */
21890 #ifdef __cplusplus
21891 extern "C"
21893 #endif
21894 /* We use char because int might match the return type of a gcc2
21895 builtin and then its argument prototype would still apply. */
21896 char $ac_func ();
21897 /* The GNU C library defines this for functions which it implements
21898 to always fail with ENOSYS. Some functions are actually named
21899 something starting with __ and the normal name is an alias. */
21900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21901 choke me
21902 #else
21903 char (*f) () = $ac_func;
21904 #endif
21905 #ifdef __cplusplus
21907 #endif
21910 main ()
21912 return f != $ac_func;
21914 return 0;
21916 _ACEOF
21917 rm -f conftest.$ac_objext conftest$ac_exeext
21918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21919 (eval $ac_link) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -s conftest$ac_exeext'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21926 ac_status=$?
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 eval "$as_ac_var=yes"
21930 else
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 eval "$as_ac_var=no"
21936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21940 if test `eval echo '${'$as_ac_var'}'` = yes; then
21941 cat >>confdefs.h <<_ACEOF
21942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21943 _ACEOF
21946 done
21952 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21953 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21954 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21960 ac_ext=cc
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21966 cat >conftest.$ac_ext <<_ACEOF
21967 #line $LINENO "configure"
21968 /* confdefs.h. */
21969 _ACEOF
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973 #include <math.h>
21975 main ()
21977 `for x in _acosl _asinl _atanl \
21978 _cosl _sinl _tanl \
21979 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21981 return 0;
21983 _ACEOF
21984 rm -f conftest.$ac_objext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21986 (eval $ac_compile) 2>&5
21987 ac_status=$?
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -s conftest.$ac_objext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 glibcxx_cv_func__long_double_trig_use=yes
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22001 glibcxx_cv_func__long_double_trig_use=no
22003 rm -f conftest.$ac_objext conftest.$ac_ext
22004 ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
22013 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
22014 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22024 for ac_func in _acosl _asinl _atanl \
22025 _cosl _sinl _tanl \
22026 _coshl _sinhl _tanhl
22028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22029 echo "$as_me:$LINENO: checking for $ac_func" >&5
22030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22031 if eval "test \"\${$as_ac_var+set}\" = set"; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22033 else
22034 if test x$gcc_no_link = xyes; then
22035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22037 { (exit 1); exit 1; }; }
22039 cat >conftest.$ac_ext <<_ACEOF
22040 #line $LINENO "configure"
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 /* System header to define __stub macros and hopefully few prototypes,
22047 which can conflict with char $ac_func (); below.
22048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22049 <limits.h> exists even on freestanding compilers. */
22050 #ifdef __STDC__
22051 # include <limits.h>
22052 #else
22053 # include <assert.h>
22054 #endif
22055 /* Override any gcc2 internal prototype to avoid an error. */
22056 #ifdef __cplusplus
22057 extern "C"
22059 #endif
22060 /* We use char because int might match the return type of a gcc2
22061 builtin and then its argument prototype would still apply. */
22062 char $ac_func ();
22063 /* The GNU C library defines this for functions which it implements
22064 to always fail with ENOSYS. Some functions are actually named
22065 something starting with __ and the normal name is an alias. */
22066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22067 choke me
22068 #else
22069 char (*f) () = $ac_func;
22070 #endif
22071 #ifdef __cplusplus
22073 #endif
22076 main ()
22078 return f != $ac_func;
22080 return 0;
22082 _ACEOF
22083 rm -f conftest.$ac_objext conftest$ac_exeext
22084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22085 (eval $ac_link) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try='test -s conftest$ac_exeext'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; }; then
22095 eval "$as_ac_var=yes"
22096 else
22097 echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22100 eval "$as_ac_var=no"
22102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22106 if test `eval echo '${'$as_ac_var'}'` = yes; then
22107 cat >>confdefs.h <<_ACEOF
22108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22109 _ACEOF
22112 done
22117 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22118 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22119 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 else
22125 ac_ext=cc
22126 ac_cpp='$CXXCPP $CPPFLAGS'
22127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131 cat >conftest.$ac_ext <<_ACEOF
22132 #line $LINENO "configure"
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 #include <math.h>
22140 main ()
22142 `for x in _ceill _floorl; do echo "$x (0);"; done`
22144 return 0;
22146 _ACEOF
22147 rm -f conftest.$ac_objext
22148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22149 (eval $ac_compile) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } &&
22153 { ac_try='test -s conftest.$ac_objext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 glibcxx_cv_func__long_double_round_use=yes
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 glibcxx_cv_func__long_double_round_use=no
22166 rm -f conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22176 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22177 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22180 for ac_func in _ceill _floorl
22182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22183 echo "$as_me:$LINENO: checking for $ac_func" >&5
22184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22185 if eval "test \"\${$as_ac_var+set}\" = set"; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 else
22188 if test x$gcc_no_link = xyes; then
22189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22191 { (exit 1); exit 1; }; }
22193 cat >conftest.$ac_ext <<_ACEOF
22194 #line $LINENO "configure"
22195 /* confdefs.h. */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 /* System header to define __stub macros and hopefully few prototypes,
22201 which can conflict with char $ac_func (); below.
22202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22203 <limits.h> exists even on freestanding compilers. */
22204 #ifdef __STDC__
22205 # include <limits.h>
22206 #else
22207 # include <assert.h>
22208 #endif
22209 /* Override any gcc2 internal prototype to avoid an error. */
22210 #ifdef __cplusplus
22211 extern "C"
22213 #endif
22214 /* We use char because int might match the return type of a gcc2
22215 builtin and then its argument prototype would still apply. */
22216 char $ac_func ();
22217 /* The GNU C library defines this for functions which it implements
22218 to always fail with ENOSYS. Some functions are actually named
22219 something starting with __ and the normal name is an alias. */
22220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22221 choke me
22222 #else
22223 char (*f) () = $ac_func;
22224 #endif
22225 #ifdef __cplusplus
22227 #endif
22230 main ()
22232 return f != $ac_func;
22234 return 0;
22236 _ACEOF
22237 rm -f conftest.$ac_objext conftest$ac_exeext
22238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22239 (eval $ac_link) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 eval "$as_ac_var=yes"
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 eval "$as_ac_var=no"
22256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22260 if test `eval echo '${'$as_ac_var'}'` = yes; then
22261 cat >>confdefs.h <<_ACEOF
22262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22263 _ACEOF
22266 done
22271 LIBS="$ac_save_LIBS"
22272 CXXFLAGS="$ac_save_CXXFLAGS"
22276 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22277 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22278 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22279 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22285 ac_ext=cc
22286 ac_cpp='$CXXCPP $CPPFLAGS'
22287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22291 cat >conftest.$ac_ext <<_ACEOF
22292 #line $LINENO "configure"
22293 /* confdefs.h. */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 #include <math.h>
22300 main ()
22302 __builtin_abs(0);
22304 return 0;
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22309 (eval $ac_compile) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try='test -s conftest.$ac_objext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22316 ac_status=$?
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 glibcxx_cv_func___builtin_abs_use=yes
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22324 glibcxx_cv_func___builtin_abs_use=no
22326 rm -f conftest.$ac_objext conftest.$ac_ext
22327 ac_ext=c
22328 ac_cpp='$CPP $CPPFLAGS'
22329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22337 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22338 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22339 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22340 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22341 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22342 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22343 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 else
22347 if test x$gcc_no_link = xyes; then
22348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22350 { (exit 1); exit 1; }; }
22352 cat >conftest.$ac_ext <<_ACEOF
22353 #line $LINENO "configure"
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 #include <math.h>
22361 main ()
22363 __builtin_abs(0);
22365 return 0;
22367 _ACEOF
22368 rm -f conftest.$ac_objext conftest$ac_exeext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22370 (eval $ac_link) 2>&5
22371 ac_status=$?
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); } &&
22374 { ac_try='test -s conftest$ac_exeext'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22377 ac_status=$?
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 glibcxx_cv_func___builtin_abs_link=yes
22381 else
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.$ac_ext >&5
22385 glibcxx_cv_func___builtin_abs_link=no
22387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22392 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22393 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22394 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22395 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22396 cat >>confdefs.h <<_ACEOF
22397 #define ${ac_tr_func} 1
22398 _ACEOF
22404 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22405 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22406 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22407 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 else
22413 ac_ext=cc
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat >conftest.$ac_ext <<_ACEOF
22420 #line $LINENO "configure"
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 #include <math.h>
22428 main ()
22430 __builtin_fabsf(0);
22432 return 0;
22434 _ACEOF
22435 rm -f conftest.$ac_objext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22437 (eval $ac_compile) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 glibcxx_cv_func___builtin_fabsf_use=yes
22448 else
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22452 glibcxx_cv_func___builtin_fabsf_use=no
22454 rm -f conftest.$ac_objext conftest.$ac_ext
22455 ac_ext=c
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22466 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22467 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22468 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22469 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22470 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22471 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 else
22475 if test x$gcc_no_link = xyes; then
22476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22478 { (exit 1); exit 1; }; }
22480 cat >conftest.$ac_ext <<_ACEOF
22481 #line $LINENO "configure"
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 #include <math.h>
22489 main ()
22491 __builtin_fabsf(0);
22493 return 0;
22495 _ACEOF
22496 rm -f conftest.$ac_objext conftest$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try='test -s conftest$ac_exeext'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; }; then
22508 glibcxx_cv_func___builtin_fabsf_link=yes
22509 else
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22513 glibcxx_cv_func___builtin_fabsf_link=no
22515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22521 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22522 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22523 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22524 cat >>confdefs.h <<_ACEOF
22525 #define ${ac_tr_func} 1
22526 _ACEOF
22532 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22533 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22534 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22535 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 else
22541 ac_ext=cc
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 cat >conftest.$ac_ext <<_ACEOF
22548 #line $LINENO "configure"
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <math.h>
22556 main ()
22558 __builtin_fabs(0);
22560 return 0;
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>&5
22566 ac_status=$?
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -s conftest.$ac_objext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22572 ac_status=$?
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 glibcxx_cv_func___builtin_fabs_use=yes
22576 else
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22580 glibcxx_cv_func___builtin_fabs_use=no
22582 rm -f conftest.$ac_objext conftest.$ac_ext
22583 ac_ext=c
22584 ac_cpp='$CPP $CPPFLAGS'
22585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22594 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22595 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22596 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22597 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22598 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22599 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22600 echo $ECHO_N "(cached) $ECHO_C" >&6
22601 else
22603 if test x$gcc_no_link = xyes; then
22604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22606 { (exit 1); exit 1; }; }
22608 cat >conftest.$ac_ext <<_ACEOF
22609 #line $LINENO "configure"
22610 /* confdefs.h. */
22611 _ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 #include <math.h>
22617 main ()
22619 __builtin_fabs(0);
22621 return 0;
22623 _ACEOF
22624 rm -f conftest.$ac_objext conftest$ac_exeext
22625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22626 (eval $ac_link) 2>&5
22627 ac_status=$?
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); } &&
22630 { ac_try='test -s conftest$ac_exeext'
22631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632 (eval $ac_try) 2>&5
22633 ac_status=$?
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); }; }; then
22636 glibcxx_cv_func___builtin_fabs_link=yes
22637 else
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22641 glibcxx_cv_func___builtin_fabs_link=no
22643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22648 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22649 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22650 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22651 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22652 cat >>confdefs.h <<_ACEOF
22653 #define ${ac_tr_func} 1
22654 _ACEOF
22660 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22661 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22662 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22663 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 else
22669 ac_ext=cc
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22675 cat >conftest.$ac_ext <<_ACEOF
22676 #line $LINENO "configure"
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682 #include <math.h>
22684 main ()
22686 __builtin_fabsl(0);
22688 return 0;
22690 _ACEOF
22691 rm -f conftest.$ac_objext
22692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22693 (eval $ac_compile) 2>&5
22694 ac_status=$?
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } &&
22697 { ac_try='test -s conftest.$ac_objext'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; }; then
22703 glibcxx_cv_func___builtin_fabsl_use=yes
22704 else
22705 echo "$as_me: failed program was:" >&5
22706 sed 's/^/| /' conftest.$ac_ext >&5
22708 glibcxx_cv_func___builtin_fabsl_use=no
22710 rm -f conftest.$ac_objext conftest.$ac_ext
22711 ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22723 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22724 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22725 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22726 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22727 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22728 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 else
22731 if test x$gcc_no_link = xyes; then
22732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22734 { (exit 1); exit 1; }; }
22736 cat >conftest.$ac_ext <<_ACEOF
22737 #line $LINENO "configure"
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 #include <math.h>
22745 main ()
22747 __builtin_fabsl(0);
22749 return 0;
22751 _ACEOF
22752 rm -f conftest.$ac_objext conftest$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try='test -s conftest$ac_exeext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 glibcxx_cv_func___builtin_fabsl_link=yes
22765 else
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22769 glibcxx_cv_func___builtin_fabsl_link=no
22771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22777 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22778 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22779 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22780 cat >>confdefs.h <<_ACEOF
22781 #define ${ac_tr_func} 1
22782 _ACEOF
22788 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22789 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22790 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22791 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 else
22797 ac_ext=cc
22798 ac_cpp='$CXXCPP $CPPFLAGS'
22799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22803 cat >conftest.$ac_ext <<_ACEOF
22804 #line $LINENO "configure"
22805 /* confdefs.h. */
22806 _ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #include <math.h>
22812 main ()
22814 __builtin_labs(0);
22816 return 0;
22818 _ACEOF
22819 rm -f conftest.$ac_objext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22821 (eval $ac_compile) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try='test -s conftest.$ac_objext'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22828 ac_status=$?
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 glibcxx_cv_func___builtin_labs_use=yes
22832 else
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22836 glibcxx_cv_func___builtin_labs_use=no
22838 rm -f conftest.$ac_objext conftest.$ac_ext
22839 ac_ext=c
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22849 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22850 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22851 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22852 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22853 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22854 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22855 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 else
22859 if test x$gcc_no_link = xyes; then
22860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22862 { (exit 1); exit 1; }; }
22864 cat >conftest.$ac_ext <<_ACEOF
22865 #line $LINENO "configure"
22866 /* confdefs.h. */
22867 _ACEOF
22868 cat confdefs.h >>conftest.$ac_ext
22869 cat >>conftest.$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22871 #include <math.h>
22873 main ()
22875 __builtin_labs(0);
22877 return 0;
22879 _ACEOF
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882 (eval $ac_link) 2>&5
22883 ac_status=$?
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 glibcxx_cv_func___builtin_labs_link=yes
22893 else
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22897 glibcxx_cv_func___builtin_labs_link=no
22899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22905 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22906 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22907 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22908 cat >>confdefs.h <<_ACEOF
22909 #define ${ac_tr_func} 1
22910 _ACEOF
22917 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22918 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22919 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22920 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 else
22926 ac_ext=cc
22927 ac_cpp='$CXXCPP $CPPFLAGS'
22928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22932 cat >conftest.$ac_ext <<_ACEOF
22933 #line $LINENO "configure"
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 #include <math.h>
22941 main ()
22943 __builtin_sqrtf(0);
22945 return 0;
22947 _ACEOF
22948 rm -f conftest.$ac_objext
22949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22950 (eval $ac_compile) 2>&5
22951 ac_status=$?
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); } &&
22954 { ac_try='test -s conftest.$ac_objext'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 glibcxx_cv_func___builtin_sqrtf_use=yes
22961 else
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.$ac_ext >&5
22965 glibcxx_cv_func___builtin_sqrtf_use=no
22967 rm -f conftest.$ac_objext conftest.$ac_ext
22968 ac_ext=c
22969 ac_cpp='$CPP $CPPFLAGS'
22970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22979 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22980 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22981 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22982 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22983 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22984 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 else
22988 if test x$gcc_no_link = xyes; then
22989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22991 { (exit 1); exit 1; }; }
22993 cat >conftest.$ac_ext <<_ACEOF
22994 #line $LINENO "configure"
22995 /* confdefs.h. */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 #include <math.h>
23002 main ()
23004 __builtin_sqrtf(0);
23006 return 0;
23008 _ACEOF
23009 rm -f conftest.$ac_objext conftest$ac_exeext
23010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23011 (eval $ac_link) 2>&5
23012 ac_status=$?
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -s conftest$ac_exeext'
23016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017 (eval $ac_try) 2>&5
23018 ac_status=$?
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 glibcxx_cv_func___builtin_sqrtf_link=yes
23022 else
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23026 glibcxx_cv_func___builtin_sqrtf_link=no
23028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23034 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23035 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23036 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23037 cat >>confdefs.h <<_ACEOF
23038 #define ${ac_tr_func} 1
23039 _ACEOF
23045 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23046 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23047 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23048 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 else
23054 ac_ext=cc
23055 ac_cpp='$CXXCPP $CPPFLAGS'
23056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060 cat >conftest.$ac_ext <<_ACEOF
23061 #line $LINENO "configure"
23062 /* confdefs.h. */
23063 _ACEOF
23064 cat confdefs.h >>conftest.$ac_ext
23065 cat >>conftest.$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 #include <math.h>
23069 main ()
23071 __builtin_sqrt(0);
23073 return 0;
23075 _ACEOF
23076 rm -f conftest.$ac_objext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23078 (eval $ac_compile) 2>&5
23079 ac_status=$?
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } &&
23082 { ac_try='test -s conftest.$ac_objext'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 glibcxx_cv_func___builtin_sqrt_use=yes
23089 else
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 glibcxx_cv_func___builtin_sqrt_use=no
23095 rm -f conftest.$ac_objext conftest.$ac_ext
23096 ac_ext=c
23097 ac_cpp='$CPP $CPPFLAGS'
23098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23108 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23109 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23110 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23111 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23112 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23113 echo $ECHO_N "(cached) $ECHO_C" >&6
23114 else
23116 if test x$gcc_no_link = xyes; then
23117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23119 { (exit 1); exit 1; }; }
23121 cat >conftest.$ac_ext <<_ACEOF
23122 #line $LINENO "configure"
23123 /* confdefs.h. */
23124 _ACEOF
23125 cat confdefs.h >>conftest.$ac_ext
23126 cat >>conftest.$ac_ext <<_ACEOF
23127 /* end confdefs.h. */
23128 #include <math.h>
23130 main ()
23132 __builtin_sqrt(0);
23134 return 0;
23136 _ACEOF
23137 rm -f conftest.$ac_objext conftest$ac_exeext
23138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23139 (eval $ac_link) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try='test -s conftest$ac_exeext'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 glibcxx_cv_func___builtin_sqrt_link=yes
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23154 glibcxx_cv_func___builtin_sqrt_link=no
23156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23162 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23163 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23164 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23165 cat >>confdefs.h <<_ACEOF
23166 #define ${ac_tr_func} 1
23167 _ACEOF
23173 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23174 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23175 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23176 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23178 else
23182 ac_ext=cc
23183 ac_cpp='$CXXCPP $CPPFLAGS'
23184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23188 cat >conftest.$ac_ext <<_ACEOF
23189 #line $LINENO "configure"
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 #include <math.h>
23197 main ()
23199 __builtin_sqrtl(0);
23201 return 0;
23203 _ACEOF
23204 rm -f conftest.$ac_objext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23206 (eval $ac_compile) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } &&
23210 { ac_try='test -s conftest.$ac_objext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23213 ac_status=$?
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 glibcxx_cv_func___builtin_sqrtl_use=yes
23217 else
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23221 glibcxx_cv_func___builtin_sqrtl_use=no
23223 rm -f conftest.$ac_objext conftest.$ac_ext
23224 ac_ext=c
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23234 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23235 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23236 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23237 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23238 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23239 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23240 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 else
23244 if test x$gcc_no_link = xyes; then
23245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23247 { (exit 1); exit 1; }; }
23249 cat >conftest.$ac_ext <<_ACEOF
23250 #line $LINENO "configure"
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <math.h>
23258 main ()
23260 __builtin_sqrtl(0);
23262 return 0;
23264 _ACEOF
23265 rm -f conftest.$ac_objext conftest$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>&5
23268 ac_status=$?
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try='test -s conftest$ac_exeext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 glibcxx_cv_func___builtin_sqrtl_link=yes
23278 else
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.$ac_ext >&5
23282 glibcxx_cv_func___builtin_sqrtl_link=no
23284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23289 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23290 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23291 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23292 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23293 cat >>confdefs.h <<_ACEOF
23294 #define ${ac_tr_func} 1
23295 _ACEOF
23302 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23303 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23304 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23305 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23307 else
23311 ac_ext=cc
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317 cat >conftest.$ac_ext <<_ACEOF
23318 #line $LINENO "configure"
23319 /* confdefs.h. */
23320 _ACEOF
23321 cat confdefs.h >>conftest.$ac_ext
23322 cat >>conftest.$ac_ext <<_ACEOF
23323 /* end confdefs.h. */
23324 #include <math.h>
23326 main ()
23328 __builtin_sinf(0);
23330 return 0;
23332 _ACEOF
23333 rm -f conftest.$ac_objext
23334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23335 (eval $ac_compile) 2>&5
23336 ac_status=$?
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } &&
23339 { ac_try='test -s conftest.$ac_objext'
23340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23341 (eval $ac_try) 2>&5
23342 ac_status=$?
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); }; }; then
23345 glibcxx_cv_func___builtin_sinf_use=yes
23346 else
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23350 glibcxx_cv_func___builtin_sinf_use=no
23352 rm -f conftest.$ac_objext conftest.$ac_ext
23353 ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23364 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23365 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23366 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23367 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23368 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23369 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23373 if test x$gcc_no_link = xyes; then
23374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23376 { (exit 1); exit 1; }; }
23378 cat >conftest.$ac_ext <<_ACEOF
23379 #line $LINENO "configure"
23380 /* confdefs.h. */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <math.h>
23387 main ()
23389 __builtin_sinf(0);
23391 return 0;
23393 _ACEOF
23394 rm -f conftest.$ac_objext conftest$ac_exeext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23397 ac_status=$?
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 glibcxx_cv_func___builtin_sinf_link=yes
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23411 glibcxx_cv_func___builtin_sinf_link=no
23413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23419 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23420 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23421 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23422 cat >>confdefs.h <<_ACEOF
23423 #define ${ac_tr_func} 1
23424 _ACEOF
23430 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23431 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23432 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23433 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 else
23439 ac_ext=cc
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23445 cat >conftest.$ac_ext <<_ACEOF
23446 #line $LINENO "configure"
23447 /* confdefs.h. */
23448 _ACEOF
23449 cat confdefs.h >>conftest.$ac_ext
23450 cat >>conftest.$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452 #include <math.h>
23454 main ()
23456 __builtin_sin(0);
23458 return 0;
23460 _ACEOF
23461 rm -f conftest.$ac_objext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23463 (eval $ac_compile) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try='test -s conftest.$ac_objext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 glibcxx_cv_func___builtin_sin_use=yes
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 glibcxx_cv_func___builtin_sin_use=no
23480 rm -f conftest.$ac_objext conftest.$ac_ext
23481 ac_ext=c
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23492 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23493 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23494 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23495 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23496 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23497 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 else
23501 if test x$gcc_no_link = xyes; then
23502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23504 { (exit 1); exit 1; }; }
23506 cat >conftest.$ac_ext <<_ACEOF
23507 #line $LINENO "configure"
23508 /* confdefs.h. */
23509 _ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 #include <math.h>
23515 main ()
23517 __builtin_sin(0);
23519 return 0;
23521 _ACEOF
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524 (eval $ac_link) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 glibcxx_cv_func___builtin_sin_link=yes
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 glibcxx_cv_func___builtin_sin_link=no
23541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23547 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23548 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23549 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23550 cat >>confdefs.h <<_ACEOF
23551 #define ${ac_tr_func} 1
23552 _ACEOF
23558 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23559 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23560 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23561 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23563 else
23567 ac_ext=cc
23568 ac_cpp='$CXXCPP $CPPFLAGS'
23569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23573 cat >conftest.$ac_ext <<_ACEOF
23574 #line $LINENO "configure"
23575 /* confdefs.h. */
23576 _ACEOF
23577 cat confdefs.h >>conftest.$ac_ext
23578 cat >>conftest.$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23580 #include <math.h>
23582 main ()
23584 __builtin_sinl(0);
23586 return 0;
23588 _ACEOF
23589 rm -f conftest.$ac_objext
23590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23591 (eval $ac_compile) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } &&
23595 { ac_try='test -s conftest.$ac_objext'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; }; then
23601 glibcxx_cv_func___builtin_sinl_use=yes
23602 else
23603 echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23606 glibcxx_cv_func___builtin_sinl_use=no
23608 rm -f conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23621 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23622 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23623 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23624 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23625 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 else
23629 if test x$gcc_no_link = xyes; then
23630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23632 { (exit 1); exit 1; }; }
23634 cat >conftest.$ac_ext <<_ACEOF
23635 #line $LINENO "configure"
23636 /* confdefs.h. */
23637 _ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 #include <math.h>
23643 main ()
23645 __builtin_sinl(0);
23647 return 0;
23649 _ACEOF
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23659 ac_status=$?
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 glibcxx_cv_func___builtin_sinl_link=yes
23663 else
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23667 glibcxx_cv_func___builtin_sinl_link=no
23669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23675 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23676 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23677 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23678 cat >>confdefs.h <<_ACEOF
23679 #define ${ac_tr_func} 1
23680 _ACEOF
23687 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23688 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23689 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23690 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 else
23696 ac_ext=cc
23697 ac_cpp='$CXXCPP $CPPFLAGS'
23698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23702 cat >conftest.$ac_ext <<_ACEOF
23703 #line $LINENO "configure"
23704 /* confdefs.h. */
23705 _ACEOF
23706 cat confdefs.h >>conftest.$ac_ext
23707 cat >>conftest.$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23709 #include <math.h>
23711 main ()
23713 __builtin_cosf(0);
23715 return 0;
23717 _ACEOF
23718 rm -f conftest.$ac_objext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23720 (eval $ac_compile) 2>&5
23721 ac_status=$?
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -s conftest.$ac_objext'
23725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23726 (eval $ac_try) 2>&5
23727 ac_status=$?
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); }; }; then
23730 glibcxx_cv_func___builtin_cosf_use=yes
23731 else
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.$ac_ext >&5
23735 glibcxx_cv_func___builtin_cosf_use=no
23737 rm -f conftest.$ac_objext conftest.$ac_ext
23738 ac_ext=c
23739 ac_cpp='$CPP $CPPFLAGS'
23740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23749 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23750 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23751 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23752 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23753 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23754 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23758 if test x$gcc_no_link = xyes; then
23759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23761 { (exit 1); exit 1; }; }
23763 cat >conftest.$ac_ext <<_ACEOF
23764 #line $LINENO "configure"
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770 #include <math.h>
23772 main ()
23774 __builtin_cosf(0);
23776 return 0;
23778 _ACEOF
23779 rm -f conftest.$ac_objext conftest$ac_exeext
23780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23781 (eval $ac_link) 2>&5
23782 ac_status=$?
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -s conftest$ac_exeext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 glibcxx_cv_func___builtin_cosf_link=yes
23792 else
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23796 glibcxx_cv_func___builtin_cosf_link=no
23798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23804 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23805 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23806 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23807 cat >>confdefs.h <<_ACEOF
23808 #define ${ac_tr_func} 1
23809 _ACEOF
23815 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23816 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23817 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23818 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 else
23824 ac_ext=cc
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23830 cat >conftest.$ac_ext <<_ACEOF
23831 #line $LINENO "configure"
23832 /* confdefs.h. */
23833 _ACEOF
23834 cat confdefs.h >>conftest.$ac_ext
23835 cat >>conftest.$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23837 #include <math.h>
23839 main ()
23841 __builtin_cos(0);
23843 return 0;
23845 _ACEOF
23846 rm -f conftest.$ac_objext
23847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23848 (eval $ac_compile) 2>&5
23849 ac_status=$?
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } &&
23852 { ac_try='test -s conftest.$ac_objext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23858 glibcxx_cv_func___builtin_cos_use=yes
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23863 glibcxx_cv_func___builtin_cos_use=no
23865 rm -f conftest.$ac_objext conftest.$ac_ext
23866 ac_ext=c
23867 ac_cpp='$CPP $CPPFLAGS'
23868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23878 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23879 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23880 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23881 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23882 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 else
23886 if test x$gcc_no_link = xyes; then
23887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23889 { (exit 1); exit 1; }; }
23891 cat >conftest.$ac_ext <<_ACEOF
23892 #line $LINENO "configure"
23893 /* confdefs.h. */
23894 _ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 #include <math.h>
23900 main ()
23902 __builtin_cos(0);
23904 return 0;
23906 _ACEOF
23907 rm -f conftest.$ac_objext conftest$ac_exeext
23908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23909 (eval $ac_link) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 glibcxx_cv_func___builtin_cos_link=yes
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23924 glibcxx_cv_func___builtin_cos_link=no
23926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23932 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23933 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23934 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23935 cat >>confdefs.h <<_ACEOF
23936 #define ${ac_tr_func} 1
23937 _ACEOF
23943 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23944 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23945 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23946 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 else
23952 ac_ext=cc
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat >conftest.$ac_ext <<_ACEOF
23959 #line $LINENO "configure"
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965 #include <math.h>
23967 main ()
23969 __builtin_cosl(0);
23971 return 0;
23973 _ACEOF
23974 rm -f conftest.$ac_objext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>&5
23977 ac_status=$?
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -s conftest.$ac_objext'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23983 ac_status=$?
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 glibcxx_cv_func___builtin_cosl_use=yes
23987 else
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23991 glibcxx_cv_func___builtin_cosl_use=no
23993 rm -f conftest.$ac_objext conftest.$ac_ext
23994 ac_ext=c
23995 ac_cpp='$CPP $CPPFLAGS'
23996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
24005 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
24006 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
24007 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
24008 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
24009 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
24010 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24014 if test x$gcc_no_link = xyes; then
24015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24017 { (exit 1); exit 1; }; }
24019 cat >conftest.$ac_ext <<_ACEOF
24020 #line $LINENO "configure"
24021 /* confdefs.h. */
24022 _ACEOF
24023 cat confdefs.h >>conftest.$ac_ext
24024 cat >>conftest.$ac_ext <<_ACEOF
24025 /* end confdefs.h. */
24026 #include <math.h>
24028 main ()
24030 __builtin_cosl(0);
24032 return 0;
24034 _ACEOF
24035 rm -f conftest.$ac_objext conftest$ac_exeext
24036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24037 (eval $ac_link) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); } &&
24041 { ac_try='test -s conftest$ac_exeext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24044 ac_status=$?
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 glibcxx_cv_func___builtin_cosl_link=yes
24048 else
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24052 glibcxx_cv_func___builtin_cosl_link=no
24054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24060 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24061 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24062 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24063 cat >>confdefs.h <<_ACEOF
24064 #define ${ac_tr_func} 1
24065 _ACEOF
24071 dummyvar=no
24072 if test x$dummyvar = x"yes"; then
24073 cat >>confdefs.h <<\_ACEOF
24074 #define HAVE___BUILTIN_ABS 1
24075 _ACEOF
24077 cat >>confdefs.h <<\_ACEOF
24078 #define HAVE___BUILTIN_LABS 1
24079 _ACEOF
24081 cat >>confdefs.h <<\_ACEOF
24082 #define HAVE___BUILTIN_COS 1
24083 _ACEOF
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE___BUILTIN_COSF 1
24087 _ACEOF
24089 cat >>confdefs.h <<\_ACEOF
24090 #define HAVE___BUILTIN_COSL 1
24091 _ACEOF
24093 cat >>confdefs.h <<\_ACEOF
24094 #define HAVE___BUILTIN_FABS 1
24095 _ACEOF
24097 cat >>confdefs.h <<\_ACEOF
24098 #define HAVE___BUILTIN_FABSF 1
24099 _ACEOF
24101 cat >>confdefs.h <<\_ACEOF
24102 #define HAVE___BUILTIN_FABSL 1
24103 _ACEOF
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE___BUILTIN_SIN 1
24107 _ACEOF
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE___BUILTIN_SINF 1
24111 _ACEOF
24113 cat >>confdefs.h <<\_ACEOF
24114 #define HAVE___BUILTIN_SINL 1
24115 _ACEOF
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE___BUILTIN_SQRT 1
24119 _ACEOF
24121 cat >>confdefs.h <<\_ACEOF
24122 #define HAVE___BUILTIN_SQRTF 1
24123 _ACEOF
24125 cat >>confdefs.h <<\_ACEOF
24126 #define HAVE___BUILTIN_SQRTL 1
24127 _ACEOF
24133 echo "$as_me:$LINENO: checking for main in -lm" >&5
24134 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24135 if test "${ac_cv_lib_m_main+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138 ac_check_lib_save_LIBS=$LIBS
24139 LIBS="-lm $LIBS"
24140 if test x$gcc_no_link = xyes; then
24141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24143 { (exit 1); exit 1; }; }
24145 cat >conftest.$ac_ext <<_ACEOF
24146 #line $LINENO "configure"
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24155 main ()
24157 main ();
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 ac_cv_lib_m_main=yes
24175 else
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24179 ac_cv_lib_m_main=no
24181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24182 LIBS=$ac_check_lib_save_LIBS
24184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24185 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24186 if test $ac_cv_lib_m_main = yes; then
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE_LIBM 1
24189 _ACEOF
24191 LIBS="-lm $LIBS"
24197 for ac_func in nan copysignf
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 ${ac_func}.lo"
24285 done
24289 for ac_func in __signbit
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 signbit.lo"
24377 done
24380 for ac_func in __signbitf
24382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24383 echo "$as_me:$LINENO: checking for $ac_func" >&5
24384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24385 if eval "test \"\${$as_ac_var+set}\" = set"; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 else
24388 if test x$gcc_no_link = xyes; then
24389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24391 { (exit 1); exit 1; }; }
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line $LINENO "configure"
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 /* System header to define __stub macros and hopefully few prototypes,
24401 which can conflict with char $ac_func (); below.
24402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24403 <limits.h> exists even on freestanding compilers. */
24404 #ifdef __STDC__
24405 # include <limits.h>
24406 #else
24407 # include <assert.h>
24408 #endif
24409 /* Override any gcc2 internal prototype to avoid an error. */
24410 #ifdef __cplusplus
24411 extern "C"
24413 #endif
24414 /* We use char because int might match the return type of a gcc2
24415 builtin and then its argument prototype would still apply. */
24416 char $ac_func ();
24417 /* The GNU C library defines this for functions which it implements
24418 to always fail with ENOSYS. Some functions are actually named
24419 something starting with __ and the normal name is an alias. */
24420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24421 choke me
24422 #else
24423 char (*f) () = $ac_func;
24424 #endif
24425 #ifdef __cplusplus
24427 #endif
24430 main ()
24432 return f != $ac_func;
24434 return 0;
24436 _ACEOF
24437 rm -f conftest.$ac_objext conftest$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); } &&
24443 { ac_try='test -s conftest$ac_exeext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 eval "$as_ac_var=yes"
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24454 eval "$as_ac_var=no"
24456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24460 if test `eval echo '${'$as_ac_var'}'` = yes; then
24461 cat >>confdefs.h <<_ACEOF
24462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24463 _ACEOF
24465 else
24466 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24468 done
24471 if test x$ac_cv_func_copysignl = x"yes"; then
24473 for ac_func in __signbitl
24475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24476 echo "$as_me:$LINENO: checking for $ac_func" >&5
24477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24478 if eval "test \"\${$as_ac_var+set}\" = set"; then
24479 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 else
24481 if test x$gcc_no_link = xyes; then
24482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24484 { (exit 1); exit 1; }; }
24486 cat >conftest.$ac_ext <<_ACEOF
24487 #line $LINENO "configure"
24488 /* confdefs.h. */
24489 _ACEOF
24490 cat confdefs.h >>conftest.$ac_ext
24491 cat >>conftest.$ac_ext <<_ACEOF
24492 /* end confdefs.h. */
24493 /* System header to define __stub macros and hopefully few prototypes,
24494 which can conflict with char $ac_func (); below.
24495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496 <limits.h> exists even on freestanding compilers. */
24497 #ifdef __STDC__
24498 # include <limits.h>
24499 #else
24500 # include <assert.h>
24501 #endif
24502 /* Override any gcc2 internal prototype to avoid an error. */
24503 #ifdef __cplusplus
24504 extern "C"
24506 #endif
24507 /* We use char because int might match the return type of a gcc2
24508 builtin and then its argument prototype would still apply. */
24509 char $ac_func ();
24510 /* The GNU C library defines this for functions which it implements
24511 to always fail with ENOSYS. Some functions are actually named
24512 something starting with __ and the normal name is an alias. */
24513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24514 choke me
24515 #else
24516 char (*f) () = $ac_func;
24517 #endif
24518 #ifdef __cplusplus
24520 #endif
24523 main ()
24525 return f != $ac_func;
24527 return 0;
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532 (eval $ac_link) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -s conftest$ac_exeext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 eval "$as_ac_var=yes"
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24547 eval "$as_ac_var=no"
24549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24553 if test `eval echo '${'$as_ac_var'}'` = yes; then
24554 cat >>confdefs.h <<_ACEOF
24555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24556 _ACEOF
24558 else
24559 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24561 done
24565 # XXX Review this. Nothing uses it.
24566 if test -n "$LIBMATHOBJS"; then
24567 need_libmath=yes
24572 # Test wchar.h for mbstate_t, which is needed for char_traits and
24573 # others even if wchar_t support is not on.
24574 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24575 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24576 cat >conftest.$ac_ext <<_ACEOF
24577 #line $LINENO "configure"
24578 /* confdefs.h. */
24579 _ACEOF
24580 cat confdefs.h >>conftest.$ac_ext
24581 cat >>conftest.$ac_ext <<_ACEOF
24582 /* end confdefs.h. */
24583 #include <wchar.h>
24585 main ()
24587 mbstate_t teststate;
24589 return 0;
24591 _ACEOF
24592 rm -f conftest.$ac_objext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24594 (eval $ac_compile) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -s conftest.$ac_objext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 have_mbstate_t=yes
24605 else
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24609 have_mbstate_t=no
24611 rm -f conftest.$ac_objext conftest.$ac_ext
24612 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24613 echo "${ECHO_T}$have_mbstate_t" >&6
24614 if test x"$have_mbstate_t" = xyes; then
24615 cat >>confdefs.h <<\_ACEOF
24616 #define HAVE_MBSTATE_T 1
24617 _ACEOF
24621 # Sanity check for existence of ISO C99 headers for extended encoding.
24623 for ac_header in wchar.h
24625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24627 echo "$as_me:$LINENO: checking for $ac_header" >&5
24628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24634 else
24635 # Is the header compilable?
24636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24638 cat >conftest.$ac_ext <<_ACEOF
24639 #line $LINENO "configure"
24640 /* confdefs.h. */
24641 _ACEOF
24642 cat confdefs.h >>conftest.$ac_ext
24643 cat >>conftest.$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 $ac_includes_default
24646 #include <$ac_header>
24647 _ACEOF
24648 rm -f conftest.$ac_objext
24649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24650 (eval $ac_compile) 2>&5
24651 ac_status=$?
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } &&
24654 { ac_try='test -s conftest.$ac_objext'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24657 ac_status=$?
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 ac_header_compiler=yes
24661 else
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.$ac_ext >&5
24665 ac_header_compiler=no
24667 rm -f conftest.$ac_objext conftest.$ac_ext
24668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24669 echo "${ECHO_T}$ac_header_compiler" >&6
24671 # Is the header present?
24672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24674 cat >conftest.$ac_ext <<_ACEOF
24675 #line $LINENO "configure"
24676 /* confdefs.h. */
24677 _ACEOF
24678 cat confdefs.h >>conftest.$ac_ext
24679 cat >>conftest.$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24681 #include <$ac_header>
24682 _ACEOF
24683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } >/dev/null; then
24691 if test -s conftest.err; then
24692 ac_cpp_err=$ac_c_preproc_warn_flag
24693 else
24694 ac_cpp_err=
24696 else
24697 ac_cpp_err=yes
24699 if test -z "$ac_cpp_err"; then
24700 ac_header_preproc=yes
24701 else
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24705 ac_header_preproc=no
24707 rm -f conftest.err conftest.$ac_ext
24708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24709 echo "${ECHO_T}$ac_header_preproc" >&6
24711 # So? What about this header?
24712 case $ac_header_compiler:$ac_header_preproc in
24713 yes:no )
24714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24719 cat <<\_ASBOX
24720 ## ------------------------------------ ##
24721 ## Report this to bug-autoconf@gnu.org. ##
24722 ## ------------------------------------ ##
24723 _ASBOX
24725 sed "s/^/$as_me: WARNING: /" >&2
24727 no:yes )
24728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24735 cat <<\_ASBOX
24736 ## ------------------------------------ ##
24737 ## Report this to bug-autoconf@gnu.org. ##
24738 ## ------------------------------------ ##
24739 _ASBOX
24741 sed "s/^/$as_me: WARNING: /" >&2
24743 esac
24744 echo "$as_me:$LINENO: checking for $ac_header" >&5
24745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 else
24749 eval "$as_ac_Header=$ac_header_preproc"
24751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24756 cat >>confdefs.h <<_ACEOF
24757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24758 _ACEOF
24759 ac_has_wchar_h=yes
24760 else
24761 ac_has_wchar_h=no
24764 done
24767 for ac_header in wctype.h
24769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24771 echo "$as_me:$LINENO: checking for $ac_header" >&5
24772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24774 echo $ECHO_N "(cached) $ECHO_C" >&6
24776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24778 else
24779 # Is the header compilable?
24780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24782 cat >conftest.$ac_ext <<_ACEOF
24783 #line $LINENO "configure"
24784 /* confdefs.h. */
24785 _ACEOF
24786 cat confdefs.h >>conftest.$ac_ext
24787 cat >>conftest.$ac_ext <<_ACEOF
24788 /* end confdefs.h. */
24789 $ac_includes_default
24790 #include <$ac_header>
24791 _ACEOF
24792 rm -f conftest.$ac_objext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24794 (eval $ac_compile) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } &&
24798 { ac_try='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24801 ac_status=$?
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_header_compiler=yes
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24809 ac_header_compiler=no
24811 rm -f conftest.$ac_objext conftest.$ac_ext
24812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24813 echo "${ECHO_T}$ac_header_compiler" >&6
24815 # Is the header present?
24816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24818 cat >conftest.$ac_ext <<_ACEOF
24819 #line $LINENO "configure"
24820 /* confdefs.h. */
24821 _ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 #include <$ac_header>
24826 _ACEOF
24827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24829 ac_status=$?
24830 grep -v '^ *+' conftest.er1 >conftest.err
24831 rm -f conftest.er1
24832 cat conftest.err >&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } >/dev/null; then
24835 if test -s conftest.err; then
24836 ac_cpp_err=$ac_c_preproc_warn_flag
24837 else
24838 ac_cpp_err=
24840 else
24841 ac_cpp_err=yes
24843 if test -z "$ac_cpp_err"; then
24844 ac_header_preproc=yes
24845 else
24846 echo "$as_me: failed program was:" >&5
24847 sed 's/^/| /' conftest.$ac_ext >&5
24849 ac_header_preproc=no
24851 rm -f conftest.err conftest.$ac_ext
24852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24853 echo "${ECHO_T}$ac_header_preproc" >&6
24855 # So? What about this header?
24856 case $ac_header_compiler:$ac_header_preproc in
24857 yes:no )
24858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24863 cat <<\_ASBOX
24864 ## ------------------------------------ ##
24865 ## Report this to bug-autoconf@gnu.org. ##
24866 ## ------------------------------------ ##
24867 _ASBOX
24869 sed "s/^/$as_me: WARNING: /" >&2
24871 no:yes )
24872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24879 cat <<\_ASBOX
24880 ## ------------------------------------ ##
24881 ## Report this to bug-autoconf@gnu.org. ##
24882 ## ------------------------------------ ##
24883 _ASBOX
24885 sed "s/^/$as_me: WARNING: /" >&2
24887 esac
24888 echo "$as_me:$LINENO: checking for $ac_header" >&5
24889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 else
24893 eval "$as_ac_Header=$ac_header_preproc"
24895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24900 cat >>confdefs.h <<_ACEOF
24901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24902 _ACEOF
24903 ac_has_wctype_h=yes
24904 else
24905 ac_has_wctype_h=no
24908 done
24911 # Only continue checking if the ISO C99 headers exist and support is on.
24912 if test x"$ac_has_wchar_h" = xyes &&
24913 test x"$ac_has_wctype_h" = xyes &&
24914 test x"$enable_c_mbchar" != xno; then
24916 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24917 # numeric_limits can instantiate type_traits<wchar_t>
24918 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24919 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24920 cat >conftest.$ac_ext <<_ACEOF
24921 #line $LINENO "configure"
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 #include <wchar.h>
24929 main ()
24931 int i = WCHAR_MIN; int j = WCHAR_MAX;
24933 return 0;
24935 _ACEOF
24936 rm -f conftest.$ac_objext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24938 (eval $ac_compile) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try='test -s conftest.$ac_objext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24945 ac_status=$?
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24948 has_wchar_minmax=yes
24949 else
24950 echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.$ac_ext >&5
24953 has_wchar_minmax=no
24955 rm -f conftest.$ac_objext conftest.$ac_ext
24956 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24957 echo "${ECHO_T}$has_wchar_minmax" >&6
24959 # Test wchar.h for WEOF, which is what we use to determine whether
24960 # to specialize for char_traits<wchar_t> or not.
24961 echo "$as_me:$LINENO: checking for WEOF" >&5
24962 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24963 cat >conftest.$ac_ext <<_ACEOF
24964 #line $LINENO "configure"
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24971 #include <wchar.h>
24972 #include <stddef.h>
24974 main ()
24976 wint_t i = WEOF;
24978 return 0;
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24983 (eval $ac_compile) 2>&5
24984 ac_status=$?
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); } &&
24987 { ac_try='test -s conftest.$ac_objext'
24988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24989 (eval $ac_try) 2>&5
24990 ac_status=$?
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); }; }; then
24993 has_weof=yes
24994 else
24995 echo "$as_me: failed program was:" >&5
24996 sed 's/^/| /' conftest.$ac_ext >&5
24998 has_weof=no
25000 rm -f conftest.$ac_objext conftest.$ac_ext
25001 echo "$as_me:$LINENO: result: $has_weof" >&5
25002 echo "${ECHO_T}$has_weof" >&6
25004 # Tests for wide character functions used in char_traits<wchar_t>.
25005 ac_wfuncs=yes
25012 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
25014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25015 echo "$as_me:$LINENO: checking for $ac_func" >&5
25016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25017 if eval "test \"\${$as_ac_var+set}\" = set"; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 else
25020 if test x$gcc_no_link = xyes; then
25021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25023 { (exit 1); exit 1; }; }
25025 cat >conftest.$ac_ext <<_ACEOF
25026 #line $LINENO "configure"
25027 /* confdefs.h. */
25028 _ACEOF
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 /* System header to define __stub macros and hopefully few prototypes,
25033 which can conflict with char $ac_func (); below.
25034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25035 <limits.h> exists even on freestanding compilers. */
25036 #ifdef __STDC__
25037 # include <limits.h>
25038 #else
25039 # include <assert.h>
25040 #endif
25041 /* Override any gcc2 internal prototype to avoid an error. */
25042 #ifdef __cplusplus
25043 extern "C"
25045 #endif
25046 /* We use char because int might match the return type of a gcc2
25047 builtin and then its argument prototype would still apply. */
25048 char $ac_func ();
25049 /* The GNU C library defines this for functions which it implements
25050 to always fail with ENOSYS. Some functions are actually named
25051 something starting with __ and the normal name is an alias. */
25052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25053 choke me
25054 #else
25055 char (*f) () = $ac_func;
25056 #endif
25057 #ifdef __cplusplus
25059 #endif
25062 main ()
25064 return f != $ac_func;
25066 return 0;
25068 _ACEOF
25069 rm -f conftest.$ac_objext conftest$ac_exeext
25070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25071 (eval $ac_link) 2>&5
25072 ac_status=$?
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } &&
25075 { ac_try='test -s conftest$ac_exeext'
25076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077 (eval $ac_try) 2>&5
25078 ac_status=$?
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); }; }; then
25081 eval "$as_ac_var=yes"
25082 else
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25086 eval "$as_ac_var=no"
25088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25092 if test `eval echo '${'$as_ac_var'}'` = yes; then
25093 cat >>confdefs.h <<_ACEOF
25094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25095 _ACEOF
25097 else
25098 ac_wfuncs=no
25100 done
25103 # Checks for names injected into std:: by the c_std headers.
25150 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25151 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25152 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25153 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25154 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25155 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25158 echo "$as_me:$LINENO: checking for $ac_func" >&5
25159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25160 if eval "test \"\${$as_ac_var+set}\" = set"; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 else
25163 if test x$gcc_no_link = xyes; then
25164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25166 { (exit 1); exit 1; }; }
25168 cat >conftest.$ac_ext <<_ACEOF
25169 #line $LINENO "configure"
25170 /* confdefs.h. */
25171 _ACEOF
25172 cat confdefs.h >>conftest.$ac_ext
25173 cat >>conftest.$ac_ext <<_ACEOF
25174 /* end confdefs.h. */
25175 /* System header to define __stub macros and hopefully few prototypes,
25176 which can conflict with char $ac_func (); below.
25177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25178 <limits.h> exists even on freestanding compilers. */
25179 #ifdef __STDC__
25180 # include <limits.h>
25181 #else
25182 # include <assert.h>
25183 #endif
25184 /* Override any gcc2 internal prototype to avoid an error. */
25185 #ifdef __cplusplus
25186 extern "C"
25188 #endif
25189 /* We use char because int might match the return type of a gcc2
25190 builtin and then its argument prototype would still apply. */
25191 char $ac_func ();
25192 /* The GNU C library defines this for functions which it implements
25193 to always fail with ENOSYS. Some functions are actually named
25194 something starting with __ and the normal name is an alias. */
25195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25196 choke me
25197 #else
25198 char (*f) () = $ac_func;
25199 #endif
25200 #ifdef __cplusplus
25202 #endif
25205 main ()
25207 return f != $ac_func;
25209 return 0;
25211 _ACEOF
25212 rm -f conftest.$ac_objext conftest$ac_exeext
25213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25214 (eval $ac_link) 2>&5
25215 ac_status=$?
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } &&
25218 { ac_try='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 eval "$as_ac_var=yes"
25225 else
25226 echo "$as_me: failed program was:" >&5
25227 sed 's/^/| /' conftest.$ac_ext >&5
25229 eval "$as_ac_var=no"
25231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25235 if test `eval echo '${'$as_ac_var'}'` = yes; then
25236 cat >>confdefs.h <<_ACEOF
25237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25238 _ACEOF
25240 else
25241 ac_wfuncs=no
25243 done
25246 # Checks for wide character functions that are not required
25247 # for basic wchar_t support. Don't disable support if they are missing.
25248 # Injection of these is wrapped with guard macros.
25254 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25257 echo "$as_me:$LINENO: checking for $ac_func" >&5
25258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25259 if eval "test \"\${$as_ac_var+set}\" = set"; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25261 else
25262 if test x$gcc_no_link = xyes; then
25263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25265 { (exit 1); exit 1; }; }
25267 cat >conftest.$ac_ext <<_ACEOF
25268 #line $LINENO "configure"
25269 /* confdefs.h. */
25270 _ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25274 /* System header to define __stub macros and hopefully few prototypes,
25275 which can conflict with char $ac_func (); below.
25276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277 <limits.h> exists even on freestanding compilers. */
25278 #ifdef __STDC__
25279 # include <limits.h>
25280 #else
25281 # include <assert.h>
25282 #endif
25283 /* Override any gcc2 internal prototype to avoid an error. */
25284 #ifdef __cplusplus
25285 extern "C"
25287 #endif
25288 /* We use char because int might match the return type of a gcc2
25289 builtin and then its argument prototype would still apply. */
25290 char $ac_func ();
25291 /* The GNU C library defines this for functions which it implements
25292 to always fail with ENOSYS. Some functions are actually named
25293 something starting with __ and the normal name is an alias. */
25294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25295 choke me
25296 #else
25297 char (*f) () = $ac_func;
25298 #endif
25299 #ifdef __cplusplus
25301 #endif
25304 main ()
25306 return f != $ac_func;
25308 return 0;
25310 _ACEOF
25311 rm -f conftest.$ac_objext conftest$ac_exeext
25312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25313 (eval $ac_link) 2>&5
25314 ac_status=$?
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } &&
25317 { ac_try='test -s conftest$ac_exeext'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25320 ac_status=$?
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; }; then
25323 eval "$as_ac_var=yes"
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25328 eval "$as_ac_var=no"
25330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25334 if test `eval echo '${'$as_ac_var'}'` = yes; then
25335 cat >>confdefs.h <<_ACEOF
25336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25337 _ACEOF
25340 done
25343 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25344 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25345 if test x"$has_weof" = xyes &&
25346 test x"$has_wchar_minmax" = xyes &&
25347 test x"$ac_wfuncs" = xyes;
25348 then
25349 ac_isoC99_wchar_t=yes
25350 else
25351 ac_isoC99_wchar_t=no
25353 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25354 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25356 # Use iconv for wchar_t to char conversions. As such, check for
25357 # X/Open Portability Guide, version 2 features (XPG2).
25358 if test "${ac_cv_header_iconv_h+set}" = set; then
25359 echo "$as_me:$LINENO: checking for iconv.h" >&5
25360 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25361 if test "${ac_cv_header_iconv_h+set}" = set; then
25362 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25365 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25366 else
25367 # Is the header compilable?
25368 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25369 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25370 cat >conftest.$ac_ext <<_ACEOF
25371 #line $LINENO "configure"
25372 /* confdefs.h. */
25373 _ACEOF
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h. */
25377 $ac_includes_default
25378 #include <iconv.h>
25379 _ACEOF
25380 rm -f conftest.$ac_objext
25381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25382 (eval $ac_compile) 2>&5
25383 ac_status=$?
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); } &&
25386 { ac_try='test -s conftest.$ac_objext'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25389 ac_status=$?
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; }; then
25392 ac_header_compiler=yes
25393 else
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25397 ac_header_compiler=no
25399 rm -f conftest.$ac_objext conftest.$ac_ext
25400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25401 echo "${ECHO_T}$ac_header_compiler" >&6
25403 # Is the header present?
25404 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25405 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25406 cat >conftest.$ac_ext <<_ACEOF
25407 #line $LINENO "configure"
25408 /* confdefs.h. */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413 #include <iconv.h>
25414 _ACEOF
25415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25417 ac_status=$?
25418 grep -v '^ *+' conftest.er1 >conftest.err
25419 rm -f conftest.er1
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } >/dev/null; then
25423 if test -s conftest.err; then
25424 ac_cpp_err=$ac_c_preproc_warn_flag
25425 else
25426 ac_cpp_err=
25428 else
25429 ac_cpp_err=yes
25431 if test -z "$ac_cpp_err"; then
25432 ac_header_preproc=yes
25433 else
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25437 ac_header_preproc=no
25439 rm -f conftest.err conftest.$ac_ext
25440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25441 echo "${ECHO_T}$ac_header_preproc" >&6
25443 # So? What about this header?
25444 case $ac_header_compiler:$ac_header_preproc in
25445 yes:no )
25446 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25447 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25448 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25449 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25451 cat <<\_ASBOX
25452 ## ------------------------------------ ##
25453 ## Report this to bug-autoconf@gnu.org. ##
25454 ## ------------------------------------ ##
25455 _ASBOX
25457 sed "s/^/$as_me: WARNING: /" >&2
25459 no:yes )
25460 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25461 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25462 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25463 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25464 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25465 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25467 cat <<\_ASBOX
25468 ## ------------------------------------ ##
25469 ## Report this to bug-autoconf@gnu.org. ##
25470 ## ------------------------------------ ##
25471 _ASBOX
25473 sed "s/^/$as_me: WARNING: /" >&2
25475 esac
25476 echo "$as_me:$LINENO: checking for iconv.h" >&5
25477 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25478 if test "${ac_cv_header_iconv_h+set}" = set; then
25479 echo $ECHO_N "(cached) $ECHO_C" >&6
25480 else
25481 ac_cv_header_iconv_h=$ac_header_preproc
25483 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25484 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25487 if test $ac_cv_header_iconv_h = yes; then
25488 ac_has_iconv_h=yes
25489 else
25490 ac_has_iconv_h=no
25494 if test "${ac_cv_header_langinfo_h+set}" = set; then
25495 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25496 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25497 if test "${ac_cv_header_langinfo_h+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25501 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25502 else
25503 # Is the header compilable?
25504 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25505 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25506 cat >conftest.$ac_ext <<_ACEOF
25507 #line $LINENO "configure"
25508 /* confdefs.h. */
25509 _ACEOF
25510 cat confdefs.h >>conftest.$ac_ext
25511 cat >>conftest.$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25513 $ac_includes_default
25514 #include <langinfo.h>
25515 _ACEOF
25516 rm -f conftest.$ac_objext
25517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25518 (eval $ac_compile) 2>&5
25519 ac_status=$?
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); } &&
25522 { ac_try='test -s conftest.$ac_objext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25525 ac_status=$?
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_header_compiler=yes
25529 else
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25533 ac_header_compiler=no
25535 rm -f conftest.$ac_objext conftest.$ac_ext
25536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25537 echo "${ECHO_T}$ac_header_compiler" >&6
25539 # Is the header present?
25540 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25541 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25542 cat >conftest.$ac_ext <<_ACEOF
25543 #line $LINENO "configure"
25544 /* confdefs.h. */
25545 _ACEOF
25546 cat confdefs.h >>conftest.$ac_ext
25547 cat >>conftest.$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25549 #include <langinfo.h>
25550 _ACEOF
25551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25553 ac_status=$?
25554 grep -v '^ *+' conftest.er1 >conftest.err
25555 rm -f conftest.er1
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } >/dev/null; then
25559 if test -s conftest.err; then
25560 ac_cpp_err=$ac_c_preproc_warn_flag
25561 else
25562 ac_cpp_err=
25564 else
25565 ac_cpp_err=yes
25567 if test -z "$ac_cpp_err"; then
25568 ac_header_preproc=yes
25569 else
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25573 ac_header_preproc=no
25575 rm -f conftest.err conftest.$ac_ext
25576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25577 echo "${ECHO_T}$ac_header_preproc" >&6
25579 # So? What about this header?
25580 case $ac_header_compiler:$ac_header_preproc in
25581 yes:no )
25582 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25583 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25584 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25585 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25587 cat <<\_ASBOX
25588 ## ------------------------------------ ##
25589 ## Report this to bug-autoconf@gnu.org. ##
25590 ## ------------------------------------ ##
25591 _ASBOX
25593 sed "s/^/$as_me: WARNING: /" >&2
25595 no:yes )
25596 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25597 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25598 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25599 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25600 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25601 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25603 cat <<\_ASBOX
25604 ## ------------------------------------ ##
25605 ## Report this to bug-autoconf@gnu.org. ##
25606 ## ------------------------------------ ##
25607 _ASBOX
25609 sed "s/^/$as_me: WARNING: /" >&2
25611 esac
25612 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25613 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25614 if test "${ac_cv_header_langinfo_h+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 else
25617 ac_cv_header_langinfo_h=$ac_header_preproc
25619 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25620 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25623 if test $ac_cv_header_langinfo_h = yes; then
25624 ac_has_langinfo_h=yes
25625 else
25626 ac_has_langinfo_h=no
25631 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25632 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25633 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25634 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 else
25637 ac_check_lib_save_LIBS=$LIBS
25638 LIBS="-liconv $LIBS"
25639 if test x$gcc_no_link = xyes; then
25640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25642 { (exit 1); exit 1; }; }
25644 cat >conftest.$ac_ext <<_ACEOF
25645 #line $LINENO "configure"
25646 /* confdefs.h. */
25647 _ACEOF
25648 cat confdefs.h >>conftest.$ac_ext
25649 cat >>conftest.$ac_ext <<_ACEOF
25650 /* end confdefs.h. */
25652 /* Override any gcc2 internal prototype to avoid an error. */
25653 #ifdef __cplusplus
25654 extern "C"
25655 #endif
25656 /* We use char because int might match the return type of a gcc2
25657 builtin and then its argument prototype would still apply. */
25658 char iconv ();
25660 main ()
25662 iconv ();
25664 return 0;
25666 _ACEOF
25667 rm -f conftest.$ac_objext conftest$ac_exeext
25668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25669 (eval $ac_link) 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } &&
25673 { ac_try='test -s conftest$ac_exeext'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25676 ac_status=$?
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; }; then
25679 ac_cv_lib_iconv_iconv=yes
25680 else
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25684 ac_cv_lib_iconv_iconv=no
25686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25687 LIBS=$ac_check_lib_save_LIBS
25689 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25690 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25691 if test $ac_cv_lib_iconv_iconv = yes; then
25692 libiconv="-liconv"
25695 ac_save_LIBS="$LIBS"
25696 LIBS="$LIBS $libiconv"
25702 for ac_func in iconv_open iconv_close iconv nl_langinfo
25704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25705 echo "$as_me:$LINENO: checking for $ac_func" >&5
25706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25707 if eval "test \"\${$as_ac_var+set}\" = set"; then
25708 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 else
25710 if test x$gcc_no_link = xyes; then
25711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25713 { (exit 1); exit 1; }; }
25715 cat >conftest.$ac_ext <<_ACEOF
25716 #line $LINENO "configure"
25717 /* confdefs.h. */
25718 _ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 /* System header to define __stub macros and hopefully few prototypes,
25723 which can conflict with char $ac_func (); below.
25724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25725 <limits.h> exists even on freestanding compilers. */
25726 #ifdef __STDC__
25727 # include <limits.h>
25728 #else
25729 # include <assert.h>
25730 #endif
25731 /* Override any gcc2 internal prototype to avoid an error. */
25732 #ifdef __cplusplus
25733 extern "C"
25735 #endif
25736 /* We use char because int might match the return type of a gcc2
25737 builtin and then its argument prototype would still apply. */
25738 char $ac_func ();
25739 /* The GNU C library defines this for functions which it implements
25740 to always fail with ENOSYS. Some functions are actually named
25741 something starting with __ and the normal name is an alias. */
25742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25743 choke me
25744 #else
25745 char (*f) () = $ac_func;
25746 #endif
25747 #ifdef __cplusplus
25749 #endif
25752 main ()
25754 return f != $ac_func;
25756 return 0;
25758 _ACEOF
25759 rm -f conftest.$ac_objext conftest$ac_exeext
25760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25761 (eval $ac_link) 2>&5
25762 ac_status=$?
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -s conftest$ac_exeext'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25768 ac_status=$?
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; }; then
25771 eval "$as_ac_var=yes"
25772 else
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25776 eval "$as_ac_var=no"
25778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25782 if test `eval echo '${'$as_ac_var'}'` = yes; then
25783 cat >>confdefs.h <<_ACEOF
25784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25785 _ACEOF
25786 ac_XPG2funcs=yes
25787 else
25788 ac_XPG2funcs=no
25790 done
25793 LIBS="$ac_save_LIBS"
25795 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25796 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25797 if test x"$ac_has_iconv_h" = xyes &&
25798 test x"$ac_has_langinfo_h" = xyes &&
25799 test x"$ac_XPG2funcs" = xyes;
25800 then
25801 ac_XPG2_wchar_t=yes
25802 else
25803 ac_XPG2_wchar_t=no
25805 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25806 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25808 # At the moment, only enable wchar_t specializations if all the
25809 # above support is present.
25810 if test x"$ac_isoC99_wchar_t" = xyes &&
25811 test x"$ac_XPG2_wchar_t" = xyes;
25812 then
25813 cat >>confdefs.h <<\_ACEOF
25814 #define _GLIBCXX_USE_WCHAR_T 1
25815 _ACEOF
25817 enable_wchar_t=yes
25820 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25821 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25822 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25823 echo "${ECHO_T}$enable_wchar_t" >&6
25826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25827 ac_save_CXXFLAGS="$CXXFLAGS"
25828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25831 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25832 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25833 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25834 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 else
25840 ac_ext=cc
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25846 cat >conftest.$ac_ext <<_ACEOF
25847 #line $LINENO "configure"
25848 /* confdefs.h. */
25849 _ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853 #include <stdlib.h>
25855 main ()
25857 strtold(0, 0);
25859 return 0;
25861 _ACEOF
25862 rm -f conftest.$ac_objext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25864 (eval $ac_compile) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); } &&
25868 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func_strtold_use=yes
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25879 glibcxx_cv_func_strtold_use=no
25881 rm -f conftest.$ac_objext conftest.$ac_ext
25882 ac_ext=c
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25893 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25894 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25896 for ac_func in strtold
25898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25899 echo "$as_me:$LINENO: checking for $ac_func" >&5
25900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25901 if eval "test \"\${$as_ac_var+set}\" = set"; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 if test x$gcc_no_link = xyes; then
25905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25907 { (exit 1); exit 1; }; }
25909 cat >conftest.$ac_ext <<_ACEOF
25910 #line $LINENO "configure"
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25920 #ifdef __STDC__
25921 # include <limits.h>
25922 #else
25923 # include <assert.h>
25924 #endif
25925 /* Override any gcc2 internal prototype to avoid an error. */
25926 #ifdef __cplusplus
25927 extern "C"
25929 #endif
25930 /* We use char because int might match the return type of a gcc2
25931 builtin and then its argument prototype would still apply. */
25932 char $ac_func ();
25933 /* The GNU C library defines this for functions which it implements
25934 to always fail with ENOSYS. Some functions are actually named
25935 something starting with __ and the normal name is an alias. */
25936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25937 choke me
25938 #else
25939 char (*f) () = $ac_func;
25940 #endif
25941 #ifdef __cplusplus
25943 #endif
25946 main ()
25948 return f != $ac_func;
25950 return 0;
25952 _ACEOF
25953 rm -f conftest.$ac_objext conftest$ac_exeext
25954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25955 (eval $ac_link) 2>&5
25956 ac_status=$?
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try='test -s conftest$ac_exeext'
25960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961 (eval $ac_try) 2>&5
25962 ac_status=$?
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; }; then
25965 eval "$as_ac_var=yes"
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25970 eval "$as_ac_var=no"
25972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25976 if test `eval echo '${'$as_ac_var'}'` = yes; then
25977 cat >>confdefs.h <<_ACEOF
25978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25979 _ACEOF
25982 done
25987 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25988 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25990 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25991 echo $ECHO_N "(cached) $ECHO_C" >&6
25992 else
25996 ac_ext=cc
25997 ac_cpp='$CXXCPP $CPPFLAGS'
25998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26002 cat >conftest.$ac_ext <<_ACEOF
26003 #line $LINENO "configure"
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 #include <stdlib.h>
26011 main ()
26013 strtof(0, 0);
26015 return 0;
26017 _ACEOF
26018 rm -f conftest.$ac_objext
26019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26020 (eval $ac_compile) 2>&5
26021 ac_status=$?
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } &&
26024 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func_strtof_use=yes
26031 else
26032 echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.$ac_ext >&5
26035 glibcxx_cv_func_strtof_use=no
26037 rm -f conftest.$ac_objext conftest.$ac_ext
26038 ac_ext=c
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26049 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26050 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26052 for ac_func in strtof
26054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26055 echo "$as_me:$LINENO: checking for $ac_func" >&5
26056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26057 if eval "test \"\${$as_ac_var+set}\" = set"; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 else
26060 if test x$gcc_no_link = xyes; then
26061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26063 { (exit 1); exit 1; }; }
26065 cat >conftest.$ac_ext <<_ACEOF
26066 #line $LINENO "configure"
26067 /* confdefs.h. */
26068 _ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26072 /* System header to define __stub macros and hopefully few prototypes,
26073 which can conflict with char $ac_func (); below.
26074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26075 <limits.h> exists even on freestanding compilers. */
26076 #ifdef __STDC__
26077 # include <limits.h>
26078 #else
26079 # include <assert.h>
26080 #endif
26081 /* Override any gcc2 internal prototype to avoid an error. */
26082 #ifdef __cplusplus
26083 extern "C"
26085 #endif
26086 /* We use char because int might match the return type of a gcc2
26087 builtin and then its argument prototype would still apply. */
26088 char $ac_func ();
26089 /* The GNU C library defines this for functions which it implements
26090 to always fail with ENOSYS. Some functions are actually named
26091 something starting with __ and the normal name is an alias. */
26092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26093 choke me
26094 #else
26095 char (*f) () = $ac_func;
26096 #endif
26097 #ifdef __cplusplus
26099 #endif
26102 main ()
26104 return f != $ac_func;
26106 return 0;
26108 _ACEOF
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111 (eval $ac_link) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try='test -s conftest$ac_exeext'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26118 ac_status=$?
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; }; then
26121 eval "$as_ac_var=yes"
26122 else
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26126 eval "$as_ac_var=no"
26128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26132 if test `eval echo '${'$as_ac_var'}'` = yes; then
26133 cat >>confdefs.h <<_ACEOF
26134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26135 _ACEOF
26138 done
26143 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
26144 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
26145 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
26146 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
26147 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 else
26152 ac_ext=cc
26153 ac_cpp='$CXXCPP $CPPFLAGS'
26154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26158 cat >conftest.$ac_ext <<_ACEOF
26159 #line $LINENO "configure"
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <stdlib.h>
26167 main ()
26169 lrand48();
26171 return 0;
26173 _ACEOF
26174 rm -f conftest.$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try='test -s conftest.$ac_objext'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26183 ac_status=$?
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; }; then
26186 glibcxx_cv_func_lrand48_use=yes
26187 else
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26191 glibcxx_cv_func_lrand48_use=no
26193 rm -f conftest.$ac_objext conftest.$ac_ext
26194 ac_ext=c
26195 ac_cpp='$CPP $CPPFLAGS'
26196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
26205 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
26206 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
26208 for ac_func in lrand48
26210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26211 echo "$as_me:$LINENO: checking for $ac_func" >&5
26212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26213 if eval "test \"\${$as_ac_var+set}\" = set"; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 if test x$gcc_no_link = xyes; then
26217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26219 { (exit 1); exit 1; }; }
26221 cat >conftest.$ac_ext <<_ACEOF
26222 #line $LINENO "configure"
26223 /* confdefs.h. */
26224 _ACEOF
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228 /* System header to define __stub macros and hopefully few prototypes,
26229 which can conflict with char $ac_func (); below.
26230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26231 <limits.h> exists even on freestanding compilers. */
26232 #ifdef __STDC__
26233 # include <limits.h>
26234 #else
26235 # include <assert.h>
26236 #endif
26237 /* Override any gcc2 internal prototype to avoid an error. */
26238 #ifdef __cplusplus
26239 extern "C"
26241 #endif
26242 /* We use char because int might match the return type of a gcc2
26243 builtin and then its argument prototype would still apply. */
26244 char $ac_func ();
26245 /* The GNU C library defines this for functions which it implements
26246 to always fail with ENOSYS. Some functions are actually named
26247 something starting with __ and the normal name is an alias. */
26248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26249 choke me
26250 #else
26251 char (*f) () = $ac_func;
26252 #endif
26253 #ifdef __cplusplus
26255 #endif
26258 main ()
26260 return f != $ac_func;
26262 return 0;
26264 _ACEOF
26265 rm -f conftest.$ac_objext conftest$ac_exeext
26266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26267 (eval $ac_link) 2>&5
26268 ac_status=$?
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } &&
26271 { ac_try='test -s conftest$ac_exeext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26274 ac_status=$?
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 eval "$as_ac_var=yes"
26278 else
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26282 eval "$as_ac_var=no"
26284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26288 if test `eval echo '${'$as_ac_var'}'` = yes; then
26289 cat >>confdefs.h <<_ACEOF
26290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26291 _ACEOF
26294 done
26299 CXXFLAGS="$ac_save_CXXFLAGS"
26302 # For showmanyc_helper().
26305 for ac_header in sys/ioctl.h sys/filio.h
26307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26309 echo "$as_me:$LINENO: checking for $ac_header" >&5
26310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26316 else
26317 # Is the header compilable?
26318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26320 cat >conftest.$ac_ext <<_ACEOF
26321 #line $LINENO "configure"
26322 /* confdefs.h. */
26323 _ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327 $ac_includes_default
26328 #include <$ac_header>
26329 _ACEOF
26330 rm -f conftest.$ac_objext
26331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26332 (eval $ac_compile) 2>&5
26333 ac_status=$?
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); } &&
26336 { ac_try='test -s conftest.$ac_objext'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26339 ac_status=$?
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; }; then
26342 ac_header_compiler=yes
26343 else
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26347 ac_header_compiler=no
26349 rm -f conftest.$ac_objext conftest.$ac_ext
26350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26351 echo "${ECHO_T}$ac_header_compiler" >&6
26353 # Is the header present?
26354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26356 cat >conftest.$ac_ext <<_ACEOF
26357 #line $LINENO "configure"
26358 /* confdefs.h. */
26359 _ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26363 #include <$ac_header>
26364 _ACEOF
26365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } >/dev/null; then
26373 if test -s conftest.err; then
26374 ac_cpp_err=$ac_c_preproc_warn_flag
26375 else
26376 ac_cpp_err=
26378 else
26379 ac_cpp_err=yes
26381 if test -z "$ac_cpp_err"; then
26382 ac_header_preproc=yes
26383 else
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26387 ac_header_preproc=no
26389 rm -f conftest.err conftest.$ac_ext
26390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26391 echo "${ECHO_T}$ac_header_preproc" >&6
26393 # So? What about this header?
26394 case $ac_header_compiler:$ac_header_preproc in
26395 yes:no )
26396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26401 cat <<\_ASBOX
26402 ## ------------------------------------ ##
26403 ## Report this to bug-autoconf@gnu.org. ##
26404 ## ------------------------------------ ##
26405 _ASBOX
26407 sed "s/^/$as_me: WARNING: /" >&2
26409 no:yes )
26410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26417 cat <<\_ASBOX
26418 ## ------------------------------------ ##
26419 ## Report this to bug-autoconf@gnu.org. ##
26420 ## ------------------------------------ ##
26421 _ASBOX
26423 sed "s/^/$as_me: WARNING: /" >&2
26425 esac
26426 echo "$as_me:$LINENO: checking for $ac_header" >&5
26427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26429 echo $ECHO_N "(cached) $ECHO_C" >&6
26430 else
26431 eval "$as_ac_Header=$ac_header_preproc"
26433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26438 cat >>confdefs.h <<_ACEOF
26439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26440 _ACEOF
26444 done
26447 if test "${glibcxx_cv_POLL+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 else
26451 cat >conftest.$ac_ext <<_ACEOF
26452 #line $LINENO "configure"
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458 #include <poll.h>
26460 main ()
26462 struct pollfd pfd[1];
26463 pfd[0].events = POLLIN;
26464 poll(pfd, 1, 0);
26466 return 0;
26468 _ACEOF
26469 rm -f conftest.$ac_objext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26471 (eval $ac_compile) 2>&5
26472 ac_status=$?
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); } &&
26475 { ac_try='test -s conftest.$ac_objext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 glibcxx_cv_POLL=yes
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26486 glibcxx_cv_POLL=no
26488 rm -f conftest.$ac_objext conftest.$ac_ext
26492 if test $glibcxx_cv_POLL = yes; then
26493 cat >>confdefs.h <<\_ACEOF
26494 #define HAVE_POLL 1
26495 _ACEOF
26500 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 else
26504 if test x$gcc_no_link = xyes; then
26505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26507 { (exit 1); exit 1; }; }
26509 cat >conftest.$ac_ext <<_ACEOF
26510 #line $LINENO "configure"
26511 /* confdefs.h. */
26512 _ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516 #include <sys/stat.h>
26518 main ()
26520 struct stat buffer;
26521 fstat(0, &buffer);
26522 S_ISREG(buffer.st_mode);
26524 return 0;
26526 _ACEOF
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529 (eval $ac_link) 2>&5
26530 ac_status=$?
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } &&
26533 { ac_try='test -s conftest$ac_exeext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26536 ac_status=$?
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 glibcxx_cv_S_ISREG=yes
26540 else
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26544 glibcxx_cv_S_ISREG=no
26546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26550 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 else
26554 if test x$gcc_no_link = xyes; then
26555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26557 { (exit 1); exit 1; }; }
26559 cat >conftest.$ac_ext <<_ACEOF
26560 #line $LINENO "configure"
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 #include <sys/stat.h>
26568 main ()
26570 struct stat buffer;
26571 fstat(0, &buffer);
26572 S_IFREG & buffer.st_mode;
26574 return 0;
26576 _ACEOF
26577 rm -f conftest.$ac_objext conftest$ac_exeext
26578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26579 (eval $ac_link) 2>&5
26580 ac_status=$?
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try='test -s conftest$ac_exeext'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26586 ac_status=$?
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; }; then
26589 glibcxx_cv_S_IFREG=yes
26590 else
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26594 glibcxx_cv_S_IFREG=no
26596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26600 if test $glibcxx_cv_S_ISREG = yes; then
26601 cat >>confdefs.h <<\_ACEOF
26602 #define HAVE_S_ISREG 1
26603 _ACEOF
26605 elif test $glibcxx_cv_S_IFREG = yes; then
26606 cat >>confdefs.h <<\_ACEOF
26607 #define HAVE_S_IFREG 1
26608 _ACEOF
26613 # For xsputn_2().
26615 for ac_header in sys/uio.h
26617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26619 echo "$as_me:$LINENO: checking for $ac_header" >&5
26620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26622 echo $ECHO_N "(cached) $ECHO_C" >&6
26624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26626 else
26627 # Is the header compilable?
26628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26630 cat >conftest.$ac_ext <<_ACEOF
26631 #line $LINENO "configure"
26632 /* confdefs.h. */
26633 _ACEOF
26634 cat confdefs.h >>conftest.$ac_ext
26635 cat >>conftest.$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26637 $ac_includes_default
26638 #include <$ac_header>
26639 _ACEOF
26640 rm -f conftest.$ac_objext
26641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26642 (eval $ac_compile) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 { ac_try='test -s conftest.$ac_objext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 ac_header_compiler=yes
26653 else
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26657 ac_header_compiler=no
26659 rm -f conftest.$ac_objext conftest.$ac_ext
26660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26661 echo "${ECHO_T}$ac_header_compiler" >&6
26663 # Is the header present?
26664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26666 cat >conftest.$ac_ext <<_ACEOF
26667 #line $LINENO "configure"
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 #include <$ac_header>
26674 _ACEOF
26675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26677 ac_status=$?
26678 grep -v '^ *+' conftest.er1 >conftest.err
26679 rm -f conftest.er1
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } >/dev/null; then
26683 if test -s conftest.err; then
26684 ac_cpp_err=$ac_c_preproc_warn_flag
26685 else
26686 ac_cpp_err=
26688 else
26689 ac_cpp_err=yes
26691 if test -z "$ac_cpp_err"; then
26692 ac_header_preproc=yes
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26697 ac_header_preproc=no
26699 rm -f conftest.err conftest.$ac_ext
26700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26701 echo "${ECHO_T}$ac_header_preproc" >&6
26703 # So? What about this header?
26704 case $ac_header_compiler:$ac_header_preproc in
26705 yes:no )
26706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26711 cat <<\_ASBOX
26712 ## ------------------------------------ ##
26713 ## Report this to bug-autoconf@gnu.org. ##
26714 ## ------------------------------------ ##
26715 _ASBOX
26717 sed "s/^/$as_me: WARNING: /" >&2
26719 no:yes )
26720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26727 cat <<\_ASBOX
26728 ## ------------------------------------ ##
26729 ## Report this to bug-autoconf@gnu.org. ##
26730 ## ------------------------------------ ##
26731 _ASBOX
26733 sed "s/^/$as_me: WARNING: /" >&2
26735 esac
26736 echo "$as_me:$LINENO: checking for $ac_header" >&5
26737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26739 echo $ECHO_N "(cached) $ECHO_C" >&6
26740 else
26741 eval "$as_ac_Header=$ac_header_preproc"
26743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26748 cat >>confdefs.h <<_ACEOF
26749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26750 _ACEOF
26754 done
26757 if test "${glibcxx_cv_WRITEV+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 else
26761 cat >conftest.$ac_ext <<_ACEOF
26762 #line $LINENO "configure"
26763 /* confdefs.h. */
26764 _ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768 #include <sys/uio.h>
26770 main ()
26772 struct iovec iov[2];
26773 writev(0, iov, 0);
26775 return 0;
26777 _ACEOF
26778 rm -f conftest.$ac_objext
26779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26780 (eval $ac_compile) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } &&
26784 { ac_try='test -s conftest.$ac_objext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 glibcxx_cv_WRITEV=yes
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26795 glibcxx_cv_WRITEV=no
26797 rm -f conftest.$ac_objext conftest.$ac_ext
26801 if test $glibcxx_cv_WRITEV = yes; then
26802 cat >>confdefs.h <<\_ACEOF
26803 #define HAVE_WRITEV 1
26804 _ACEOF
26810 if test "${ac_cv_header_locale_h+set}" = set; then
26811 echo "$as_me:$LINENO: checking for locale.h" >&5
26812 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26813 if test "${ac_cv_header_locale_h+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26817 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26818 else
26819 # Is the header compilable?
26820 echo "$as_me:$LINENO: checking locale.h usability" >&5
26821 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26822 cat >conftest.$ac_ext <<_ACEOF
26823 #line $LINENO "configure"
26824 /* confdefs.h. */
26825 _ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829 $ac_includes_default
26830 #include <locale.h>
26831 _ACEOF
26832 rm -f conftest.$ac_objext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26834 (eval $ac_compile) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -s conftest.$ac_objext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26841 ac_status=$?
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 ac_header_compiler=yes
26845 else
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26849 ac_header_compiler=no
26851 rm -f conftest.$ac_objext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26853 echo "${ECHO_T}$ac_header_compiler" >&6
26855 # Is the header present?
26856 echo "$as_me:$LINENO: checking locale.h presence" >&5
26857 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26858 cat >conftest.$ac_ext <<_ACEOF
26859 #line $LINENO "configure"
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865 #include <locale.h>
26866 _ACEOF
26867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26869 ac_status=$?
26870 grep -v '^ *+' conftest.er1 >conftest.err
26871 rm -f conftest.er1
26872 cat conftest.err >&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } >/dev/null; then
26875 if test -s conftest.err; then
26876 ac_cpp_err=$ac_c_preproc_warn_flag
26877 else
26878 ac_cpp_err=
26880 else
26881 ac_cpp_err=yes
26883 if test -z "$ac_cpp_err"; then
26884 ac_header_preproc=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26889 ac_header_preproc=no
26891 rm -f conftest.err conftest.$ac_ext
26892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26893 echo "${ECHO_T}$ac_header_preproc" >&6
26895 # So? What about this header?
26896 case $ac_header_compiler:$ac_header_preproc in
26897 yes:no )
26898 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26899 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26900 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26901 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26903 cat <<\_ASBOX
26904 ## ------------------------------------ ##
26905 ## Report this to bug-autoconf@gnu.org. ##
26906 ## ------------------------------------ ##
26907 _ASBOX
26909 sed "s/^/$as_me: WARNING: /" >&2
26911 no:yes )
26912 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26913 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26914 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26915 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26916 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26917 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26919 cat <<\_ASBOX
26920 ## ------------------------------------ ##
26921 ## Report this to bug-autoconf@gnu.org. ##
26922 ## ------------------------------------ ##
26923 _ASBOX
26925 sed "s/^/$as_me: WARNING: /" >&2
26927 esac
26928 echo "$as_me:$LINENO: checking for locale.h" >&5
26929 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26930 if test "${ac_cv_header_locale_h+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 else
26933 ac_cv_header_locale_h=$ac_header_preproc
26935 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26936 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26939 if test $ac_cv_header_locale_h = yes; then
26941 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26942 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26943 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26945 else
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 #line $LINENO "configure"
26953 /* confdefs.h. */
26954 _ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 #include <locale.h>
26960 main ()
26962 return LC_MESSAGES
26964 return 0;
26966 _ACEOF
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>&5
26970 ac_status=$?
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try='test -s conftest$ac_exeext'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26976 ac_status=$?
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; }; then
26979 ac_cv_val_LC_MESSAGES=yes
26980 else
26981 echo "$as_me: failed program was:" >&5
26982 sed 's/^/| /' conftest.$ac_ext >&5
26984 ac_cv_val_LC_MESSAGES=no
26986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26989 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26990 if test $ac_cv_val_LC_MESSAGES = yes; then
26991 cat >>confdefs.h <<\_ACEOF
26992 #define HAVE_LC_MESSAGES 1
26993 _ACEOF
27002 cat >conftest.$ac_ext <<_ACEOF
27003 #line $LINENO "configure"
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <setjmp.h>
27011 main ()
27013 sigjmp_buf env;
27014 while (! sigsetjmp (env, 1))
27015 siglongjmp (env, 1);
27018 return 0;
27020 _ACEOF
27021 rm -f conftest.$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023 (eval $ac_compile) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -s conftest.$ac_objext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27034 cat >>confdefs.h <<\_ACEOF
27035 #define HAVE_SIGSETJMP 1
27036 _ACEOF
27038 else
27039 echo "$as_me: failed program was:" >&5
27040 sed 's/^/| /' conftest.$ac_ext >&5
27043 rm -f conftest.$ac_objext conftest.$ac_ext
27045 if test x$gcc_no_link = xyes; then
27046 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27047 ac_cv_func_mmap_fixed_mapped=no
27050 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27053 for ac_header in stdlib.h unistd.h
27055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27057 echo "$as_me:$LINENO: checking for $ac_header" >&5
27058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27064 else
27065 # Is the header compilable?
27066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27068 cat >conftest.$ac_ext <<_ACEOF
27069 #line $LINENO "configure"
27070 /* confdefs.h. */
27071 _ACEOF
27072 cat confdefs.h >>conftest.$ac_ext
27073 cat >>conftest.$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27075 $ac_includes_default
27076 #include <$ac_header>
27077 _ACEOF
27078 rm -f conftest.$ac_objext
27079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27080 (eval $ac_compile) 2>&5
27081 ac_status=$?
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try='test -s conftest.$ac_objext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27087 ac_status=$?
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_header_compiler=yes
27091 else
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27095 ac_header_compiler=no
27097 rm -f conftest.$ac_objext conftest.$ac_ext
27098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27099 echo "${ECHO_T}$ac_header_compiler" >&6
27101 # Is the header present?
27102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27104 cat >conftest.$ac_ext <<_ACEOF
27105 #line $LINENO "configure"
27106 /* confdefs.h. */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <$ac_header>
27112 _ACEOF
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev/null; then
27121 if test -s conftest.err; then
27122 ac_cpp_err=$ac_c_preproc_warn_flag
27123 else
27124 ac_cpp_err=
27126 else
27127 ac_cpp_err=yes
27129 if test -z "$ac_cpp_err"; then
27130 ac_header_preproc=yes
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 ac_header_preproc=no
27137 rm -f conftest.err conftest.$ac_ext
27138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27139 echo "${ECHO_T}$ac_header_preproc" >&6
27141 # So? What about this header?
27142 case $ac_header_compiler:$ac_header_preproc in
27143 yes:no )
27144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27149 cat <<\_ASBOX
27150 ## ------------------------------------ ##
27151 ## Report this to bug-autoconf@gnu.org. ##
27152 ## ------------------------------------ ##
27153 _ASBOX
27155 sed "s/^/$as_me: WARNING: /" >&2
27157 no:yes )
27158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27165 cat <<\_ASBOX
27166 ## ------------------------------------ ##
27167 ## Report this to bug-autoconf@gnu.org. ##
27168 ## ------------------------------------ ##
27169 _ASBOX
27171 sed "s/^/$as_me: WARNING: /" >&2
27173 esac
27174 echo "$as_me:$LINENO: checking for $ac_header" >&5
27175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 eval "$as_ac_Header=$ac_header_preproc"
27181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27186 cat >>confdefs.h <<_ACEOF
27187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27188 _ACEOF
27192 done
27195 for ac_func in getpagesize
27197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198 echo "$as_me:$LINENO: checking for $ac_func" >&5
27199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 else
27203 if test x$gcc_no_link = xyes; then
27204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27206 { (exit 1); exit 1; }; }
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27210 /* confdefs.h. */
27211 _ACEOF
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27219 #ifdef __STDC__
27220 # include <limits.h>
27221 #else
27222 # include <assert.h>
27223 #endif
27224 /* Override any gcc2 internal prototype to avoid an error. */
27225 #ifdef __cplusplus
27226 extern "C"
27228 #endif
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27231 char $ac_func ();
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27236 choke me
27237 #else
27238 char (*f) () = $ac_func;
27239 #endif
27240 #ifdef __cplusplus
27242 #endif
27245 main ()
27247 return f != $ac_func;
27249 return 0;
27251 _ACEOF
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27255 ac_status=$?
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 eval "$as_ac_var=no"
27271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27278 _ACEOF
27281 done
27283 echo "$as_me:$LINENO: checking for working mmap" >&5
27284 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27285 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27287 else
27288 if test "$cross_compiling" = yes; then
27289 ac_cv_func_mmap_fixed_mapped=no
27290 else
27291 cat >conftest.$ac_ext <<_ACEOF
27292 #line $LINENO "configure"
27293 /* confdefs.h. */
27294 _ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298 $ac_includes_default
27299 /* malloc might have been renamed as rpl_malloc. */
27300 #undef malloc
27302 /* Thanks to Mike Haertel and Jim Avera for this test.
27303 Here is a matrix of mmap possibilities:
27304 mmap private not fixed
27305 mmap private fixed at somewhere currently unmapped
27306 mmap private fixed at somewhere already mapped
27307 mmap shared not fixed
27308 mmap shared fixed at somewhere currently unmapped
27309 mmap shared fixed at somewhere already mapped
27310 For private mappings, we should verify that changes cannot be read()
27311 back from the file, nor mmap's back from the file at a different
27312 address. (There have been systems where private was not correctly
27313 implemented like the infamous i386 svr4.0, and systems where the
27314 VM page cache was not coherent with the file system buffer cache
27315 like early versions of FreeBSD and possibly contemporary NetBSD.)
27316 For shared mappings, we should conversely verify that changes get
27317 propagated back to all the places they're supposed to be.
27319 Grep wants private fixed already mapped.
27320 The main things grep needs to know about mmap are:
27321 * does it exist and is it safe to write into the mmap'd area
27322 * how to use it (BSD variants) */
27324 #include <fcntl.h>
27325 #include <sys/mman.h>
27327 #if !STDC_HEADERS && !HAVE_STDLIB_H
27328 char *malloc ();
27329 #endif
27331 /* This mess was copied from the GNU getpagesize.h. */
27332 #if !HAVE_GETPAGESIZE
27333 /* Assume that all systems that can run configure have sys/param.h. */
27334 # if !HAVE_SYS_PARAM_H
27335 # define HAVE_SYS_PARAM_H 1
27336 # endif
27338 # ifdef _SC_PAGESIZE
27339 # define getpagesize() sysconf(_SC_PAGESIZE)
27340 # else /* no _SC_PAGESIZE */
27341 # if HAVE_SYS_PARAM_H
27342 # include <sys/param.h>
27343 # ifdef EXEC_PAGESIZE
27344 # define getpagesize() EXEC_PAGESIZE
27345 # else /* no EXEC_PAGESIZE */
27346 # ifdef NBPG
27347 # define getpagesize() NBPG * CLSIZE
27348 # ifndef CLSIZE
27349 # define CLSIZE 1
27350 # endif /* no CLSIZE */
27351 # else /* no NBPG */
27352 # ifdef NBPC
27353 # define getpagesize() NBPC
27354 # else /* no NBPC */
27355 # ifdef PAGESIZE
27356 # define getpagesize() PAGESIZE
27357 # endif /* PAGESIZE */
27358 # endif /* no NBPC */
27359 # endif /* no NBPG */
27360 # endif /* no EXEC_PAGESIZE */
27361 # else /* no HAVE_SYS_PARAM_H */
27362 # define getpagesize() 8192 /* punt totally */
27363 # endif /* no HAVE_SYS_PARAM_H */
27364 # endif /* no _SC_PAGESIZE */
27366 #endif /* no HAVE_GETPAGESIZE */
27369 main ()
27371 char *data, *data2, *data3;
27372 int i, pagesize;
27373 int fd;
27375 pagesize = getpagesize ();
27377 /* First, make a file with some known garbage in it. */
27378 data = (char *) malloc (pagesize);
27379 if (!data)
27380 exit (1);
27381 for (i = 0; i < pagesize; ++i)
27382 *(data + i) = rand ();
27383 umask (0);
27384 fd = creat ("conftest.mmap", 0600);
27385 if (fd < 0)
27386 exit (1);
27387 if (write (fd, data, pagesize) != pagesize)
27388 exit (1);
27389 close (fd);
27391 /* Next, try to mmap the file at a fixed address which already has
27392 something else allocated at it. If we can, also make sure that
27393 we see the same garbage. */
27394 fd = open ("conftest.mmap", O_RDWR);
27395 if (fd < 0)
27396 exit (1);
27397 data2 = (char *) malloc (2 * pagesize);
27398 if (!data2)
27399 exit (1);
27400 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27401 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27402 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27403 exit (1);
27404 for (i = 0; i < pagesize; ++i)
27405 if (*(data + i) != *(data2 + i))
27406 exit (1);
27408 /* Finally, make sure that changes to the mapped area do not
27409 percolate back to the file as seen by read(). (This is a bug on
27410 some variants of i386 svr4.0.) */
27411 for (i = 0; i < pagesize; ++i)
27412 *(data2 + i) = *(data2 + i) + 1;
27413 data3 = (char *) malloc (pagesize);
27414 if (!data3)
27415 exit (1);
27416 if (read (fd, data3, pagesize) != pagesize)
27417 exit (1);
27418 for (i = 0; i < pagesize; ++i)
27419 if (*(data + i) != *(data3 + i))
27420 exit (1);
27421 close (fd);
27422 exit (0);
27424 _ACEOF
27425 rm -f conftest$ac_exeext
27426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27427 (eval $ac_link) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 ac_cv_func_mmap_fixed_mapped=yes
27437 else
27438 echo "$as_me: program exited with status $ac_status" >&5
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27442 ( exit $ac_status )
27443 ac_cv_func_mmap_fixed_mapped=no
27445 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27448 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27449 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27450 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27452 cat >>confdefs.h <<\_ACEOF
27453 #define HAVE_MMAP 1
27454 _ACEOF
27457 rm -f conftest.mmap
27461 else
27463 # This lets us hard-code the functionality we know we'll have in the cross
27464 # target environment. "Let" is a sugar-coated word placed on an especially
27465 # dull and tedious hack, actually.
27467 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27468 # that involve linking, can't be used:
27469 # "cannot open sim-crt0.o"
27470 # "cannot open crt0.o"
27471 # etc. All this is because there currently exists no unified, consistent
27472 # way for top level CC information to be passed down to target directories:
27473 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27474 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27475 # crosses can be removed.
27477 # If Canadian cross, then don't pick up tools from the build directory.
27478 # Used only in GLIBCXX_EXPORT_INCLUDES.
27479 if test -n "$with_cross_host" &&
27480 test x"$build_alias" != x"$with_cross_host" &&
27481 test x"$build" != x"$target";
27482 then
27483 CANADIAN=yes
27484 else
27485 CANADIAN=no
27488 # Construct crosses by hand, eliminating bits that need ld...
27489 # GLIBCXX_CHECK_COMPILER_FEATURES
27490 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27491 # GLIBCXX_CHECK_MATH_SUPPORT
27493 # First, test for "known" system libraries. We may be using newlib even
27494 # on a hosted environment.
27495 if test "x${with_newlib}" = "xyes"; then
27496 os_include_dir="os/newlib"
27497 cat >>confdefs.h <<\_ACEOF
27498 #define HAVE_HYPOT 1
27499 _ACEOF
27502 # GLIBCXX_CHECK_STDLIB_SUPPORT
27503 cat >>confdefs.h <<\_ACEOF
27504 #define HAVE_STRTOF 1
27505 _ACEOF
27507 cat >>confdefs.h <<\_ACEOF
27508 #define HAVE_STRTOLD 1
27509 _ACEOF
27511 # AC_FUNC_MMAP
27512 cat >>confdefs.h <<\_ACEOF
27513 #define HAVE_MMAP 1
27514 _ACEOF
27517 cat >>confdefs.h <<\_ACEOF
27518 #define HAVE_ACOSF 1
27519 _ACEOF
27521 cat >>confdefs.h <<\_ACEOF
27522 #define HAVE_ASINF 1
27523 _ACEOF
27525 cat >>confdefs.h <<\_ACEOF
27526 #define HAVE_ATAN2F 1
27527 _ACEOF
27529 cat >>confdefs.h <<\_ACEOF
27530 #define HAVE_ATANF 1
27531 _ACEOF
27533 cat >>confdefs.h <<\_ACEOF
27534 #define HAVE_CEILF 1
27535 _ACEOF
27537 cat >>confdefs.h <<\_ACEOF
27538 #define HAVE_COPYSIGN 1
27539 _ACEOF
27541 cat >>confdefs.h <<\_ACEOF
27542 #define HAVE_COPYSIGNF 1
27543 _ACEOF
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_COSF 1
27547 _ACEOF
27549 cat >>confdefs.h <<\_ACEOF
27550 #define HAVE_COSHF 1
27551 _ACEOF
27553 cat >>confdefs.h <<\_ACEOF
27554 #define HAVE_EXPF 1
27555 _ACEOF
27557 cat >>confdefs.h <<\_ACEOF
27558 #define HAVE_FABSF 1
27559 _ACEOF
27561 cat >>confdefs.h <<\_ACEOF
27562 #define HAVE_FLOORF 1
27563 _ACEOF
27565 cat >>confdefs.h <<\_ACEOF
27566 #define HAVE_FMODF 1
27567 _ACEOF
27569 cat >>confdefs.h <<\_ACEOF
27570 #define HAVE_FREXPF 1
27571 _ACEOF
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_LDEXPF 1
27575 _ACEOF
27577 cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_LOG10F 1
27579 _ACEOF
27581 cat >>confdefs.h <<\_ACEOF
27582 #define HAVE_LOGF 1
27583 _ACEOF
27585 cat >>confdefs.h <<\_ACEOF
27586 #define HAVE_MODFF 1
27587 _ACEOF
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_POWF 1
27591 _ACEOF
27593 cat >>confdefs.h <<\_ACEOF
27594 #define HAVE_SINF 1
27595 _ACEOF
27597 cat >>confdefs.h <<\_ACEOF
27598 #define HAVE_SINHF 1
27599 _ACEOF
27601 cat >>confdefs.h <<\_ACEOF
27602 #define HAVE_SQRTF 1
27603 _ACEOF
27605 cat >>confdefs.h <<\_ACEOF
27606 #define HAVE_TANF 1
27607 _ACEOF
27609 cat >>confdefs.h <<\_ACEOF
27610 #define HAVE_TANHF 1
27611 _ACEOF
27613 else
27615 # Base decisions on target environment.
27616 case "${host}" in
27617 *-darwin*)
27618 # Darwin versions vary, but the linker should work in a cross environment,
27619 # so we just check for all the features here.
27620 # Check for available headers.
27634 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27635 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27636 sys/types.h
27638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27640 echo "$as_me:$LINENO: checking for $ac_header" >&5
27641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27647 else
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27651 cat >conftest.$ac_ext <<_ACEOF
27652 #line $LINENO "configure"
27653 /* confdefs.h. */
27654 _ACEOF
27655 cat confdefs.h >>conftest.$ac_ext
27656 cat >>conftest.$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27658 $ac_includes_default
27659 #include <$ac_header>
27660 _ACEOF
27661 rm -f conftest.$ac_objext
27662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27663 (eval $ac_compile) 2>&5
27664 ac_status=$?
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } &&
27667 { ac_try='test -s conftest.$ac_objext'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27670 ac_status=$?
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; }; then
27673 ac_header_compiler=yes
27674 else
27675 echo "$as_me: failed program was:" >&5
27676 sed 's/^/| /' conftest.$ac_ext >&5
27678 ac_header_compiler=no
27680 rm -f conftest.$ac_objext conftest.$ac_ext
27681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27682 echo "${ECHO_T}$ac_header_compiler" >&6
27684 # Is the header present?
27685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27687 cat >conftest.$ac_ext <<_ACEOF
27688 #line $LINENO "configure"
27689 /* confdefs.h. */
27690 _ACEOF
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694 #include <$ac_header>
27695 _ACEOF
27696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27698 ac_status=$?
27699 grep -v '^ *+' conftest.er1 >conftest.err
27700 rm -f conftest.er1
27701 cat conftest.err >&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } >/dev/null; then
27704 if test -s conftest.err; then
27705 ac_cpp_err=$ac_c_preproc_warn_flag
27706 else
27707 ac_cpp_err=
27709 else
27710 ac_cpp_err=yes
27712 if test -z "$ac_cpp_err"; then
27713 ac_header_preproc=yes
27714 else
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27718 ac_header_preproc=no
27720 rm -f conftest.err conftest.$ac_ext
27721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27722 echo "${ECHO_T}$ac_header_preproc" >&6
27724 # So? What about this header?
27725 case $ac_header_compiler:$ac_header_preproc in
27726 yes:no )
27727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27732 cat <<\_ASBOX
27733 ## ------------------------------------ ##
27734 ## Report this to bug-autoconf@gnu.org. ##
27735 ## ------------------------------------ ##
27736 _ASBOX
27738 sed "s/^/$as_me: WARNING: /" >&2
27740 no:yes )
27741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27748 cat <<\_ASBOX
27749 ## ------------------------------------ ##
27750 ## Report this to bug-autoconf@gnu.org. ##
27751 ## ------------------------------------ ##
27752 _ASBOX
27754 sed "s/^/$as_me: WARNING: /" >&2
27756 esac
27757 echo "$as_me:$LINENO: checking for $ac_header" >&5
27758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 else
27762 eval "$as_ac_Header=$ac_header_preproc"
27764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27769 cat >>confdefs.h <<_ACEOF
27770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27771 _ACEOF
27775 done
27779 # All these tests are for C++; save the language and the compiler flags.
27780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27781 # found in GLIBCXX_CONFIGURE.
27784 ac_ext=cc
27785 ac_cpp='$CXXCPP $CPPFLAGS'
27786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27790 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27791 ac_save_CXXFLAGS="$CXXFLAGS"
27793 # Check for maintainer-mode bits.
27794 if test x"$USE_MAINTAINER_MODE" = xno; then
27795 WERROR=''
27796 else
27797 WERROR='-Werror'
27800 # Check for -ffunction-sections -fdata-sections
27801 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27802 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27803 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27804 cat >conftest.$ac_ext <<_ACEOF
27805 #line $LINENO "configure"
27806 /* confdefs.h. */
27807 _ACEOF
27808 cat confdefs.h >>conftest.$ac_ext
27809 cat >>conftest.$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27813 main ()
27815 int foo;
27817 return 0;
27819 _ACEOF
27820 rm -f conftest.$ac_objext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27822 (eval $ac_compile) 2>&5
27823 ac_status=$?
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); } &&
27826 { ac_try='test -s conftest.$ac_objext'
27827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828 (eval $ac_try) 2>&5
27829 ac_status=$?
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; }; then
27832 ac_fdsections=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27837 ac_fdsections=no
27839 rm -f conftest.$ac_objext conftest.$ac_ext
27840 if test "$ac_test_CXXFLAGS" = set; then
27841 CXXFLAGS="$ac_save_CXXFLAGS"
27842 else
27843 # this is the suspicious part
27844 CXXFLAGS=''
27846 if test x"$ac_fdsections" = x"yes"; then
27847 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27849 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27850 echo "${ECHO_T}$ac_fdsections" >&6
27852 ac_ext=c
27853 ac_cpp='$CPP $CPPFLAGS'
27854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27863 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27864 ac_save_CXXFLAGS="$CXXFLAGS"
27865 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27867 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27868 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27869 if test "${ac_cv_lib_m_sin+set}" = set; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872 ac_check_lib_save_LIBS=$LIBS
27873 LIBS="-lm $LIBS"
27874 if test x$gcc_no_link = xyes; then
27875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27877 { (exit 1); exit 1; }; }
27879 cat >conftest.$ac_ext <<_ACEOF
27880 #line $LINENO "configure"
27881 /* confdefs.h. */
27882 _ACEOF
27883 cat confdefs.h >>conftest.$ac_ext
27884 cat >>conftest.$ac_ext <<_ACEOF
27885 /* end confdefs.h. */
27887 /* Override any gcc2 internal prototype to avoid an error. */
27888 #ifdef __cplusplus
27889 extern "C"
27890 #endif
27891 /* We use char because int might match the return type of a gcc2
27892 builtin and then its argument prototype would still apply. */
27893 char sin ();
27895 main ()
27897 sin ();
27899 return 0;
27901 _ACEOF
27902 rm -f conftest.$ac_objext conftest$ac_exeext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27904 (eval $ac_link) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); } &&
27908 { ac_try='test -s conftest$ac_exeext'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27911 ac_status=$?
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 ac_cv_lib_m_sin=yes
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27919 ac_cv_lib_m_sin=no
27921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27922 LIBS=$ac_check_lib_save_LIBS
27924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27925 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27926 if test $ac_cv_lib_m_sin = yes; then
27927 libm="-lm"
27930 ac_save_LIBS="$LIBS"
27931 LIBS="$LIBS $libm"
27935 echo "$as_me:$LINENO: checking for isinf declaration" >&5
27936 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27937 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27938 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 else
27944 ac_ext=cc
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat >conftest.$ac_ext <<_ACEOF
27951 #line $LINENO "configure"
27952 /* confdefs.h. */
27953 _ACEOF
27954 cat confdefs.h >>conftest.$ac_ext
27955 cat >>conftest.$ac_ext <<_ACEOF
27956 /* end confdefs.h. */
27957 #include <math.h>
27958 #ifdef HAVE_IEEEFP_H
27959 #include <ieeefp.h>
27960 #endif
27963 main ()
27965 isinf(0);
27967 return 0;
27969 _ACEOF
27970 rm -f conftest.$ac_objext
27971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27972 (eval $ac_compile) 2>&5
27973 ac_status=$?
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } &&
27976 { ac_try='test -s conftest.$ac_objext'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; }; then
27982 glibcxx_cv_func_isinf_use=yes
27983 else
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27987 glibcxx_cv_func_isinf_use=no
27989 rm -f conftest.$ac_objext conftest.$ac_ext
27990 ac_ext=c
27991 ac_cpp='$CPP $CPPFLAGS'
27992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
28001 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
28003 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28005 for ac_func in isinf
28007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28008 echo "$as_me:$LINENO: checking for $ac_func" >&5
28009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28010 if eval "test \"\${$as_ac_var+set}\" = set"; then
28011 echo $ECHO_N "(cached) $ECHO_C" >&6
28012 else
28013 if test x$gcc_no_link = xyes; then
28014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28016 { (exit 1); exit 1; }; }
28018 cat >conftest.$ac_ext <<_ACEOF
28019 #line $LINENO "configure"
28020 /* confdefs.h. */
28021 _ACEOF
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025 /* System header to define __stub macros and hopefully few prototypes,
28026 which can conflict with char $ac_func (); below.
28027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28028 <limits.h> exists even on freestanding compilers. */
28029 #ifdef __STDC__
28030 # include <limits.h>
28031 #else
28032 # include <assert.h>
28033 #endif
28034 /* Override any gcc2 internal prototype to avoid an error. */
28035 #ifdef __cplusplus
28036 extern "C"
28038 #endif
28039 /* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28041 char $ac_func ();
28042 /* The GNU C library defines this for functions which it implements
28043 to always fail with ENOSYS. Some functions are actually named
28044 something starting with __ and the normal name is an alias. */
28045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28046 choke me
28047 #else
28048 char (*f) () = $ac_func;
28049 #endif
28050 #ifdef __cplusplus
28052 #endif
28055 main ()
28057 return f != $ac_func;
28059 return 0;
28061 _ACEOF
28062 rm -f conftest.$ac_objext conftest$ac_exeext
28063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28064 (eval $ac_link) 2>&5
28065 ac_status=$?
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); } &&
28068 { ac_try='test -s conftest$ac_exeext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 eval "$as_ac_var=yes"
28075 else
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 eval "$as_ac_var=no"
28081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h <<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28088 _ACEOF
28091 done
28093 else
28095 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28096 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28097 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28098 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28100 else
28104 ac_ext=cc
28105 ac_cpp='$CXXCPP $CPPFLAGS'
28106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28110 cat >conftest.$ac_ext <<_ACEOF
28111 #line $LINENO "configure"
28112 /* confdefs.h. */
28113 _ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28117 #include <math.h>
28118 #ifdef HAVE_IEEEFP_H
28119 #include <ieeefp.h>
28120 #endif
28123 main ()
28125 _isinf(0);
28127 return 0;
28129 _ACEOF
28130 rm -f conftest.$ac_objext
28131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28132 (eval $ac_compile) 2>&5
28133 ac_status=$?
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } &&
28136 { ac_try='test -s conftest.$ac_objext'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; }; then
28142 glibcxx_cv_func__isinf_use=yes
28143 else
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28147 glibcxx_cv_func__isinf_use=no
28149 rm -f conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28161 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28165 for ac_func in _isinf
28167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28168 echo "$as_me:$LINENO: checking for $ac_func" >&5
28169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28170 if eval "test \"\${$as_ac_var+set}\" = set"; then
28171 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 else
28173 if test x$gcc_no_link = xyes; then
28174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28176 { (exit 1); exit 1; }; }
28178 cat >conftest.$ac_ext <<_ACEOF
28179 #line $LINENO "configure"
28180 /* confdefs.h. */
28181 _ACEOF
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28185 /* System header to define __stub macros and hopefully few prototypes,
28186 which can conflict with char $ac_func (); below.
28187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28188 <limits.h> exists even on freestanding compilers. */
28189 #ifdef __STDC__
28190 # include <limits.h>
28191 #else
28192 # include <assert.h>
28193 #endif
28194 /* Override any gcc2 internal prototype to avoid an error. */
28195 #ifdef __cplusplus
28196 extern "C"
28198 #endif
28199 /* We use char because int might match the return type of a gcc2
28200 builtin and then its argument prototype would still apply. */
28201 char $ac_func ();
28202 /* The GNU C library defines this for functions which it implements
28203 to always fail with ENOSYS. Some functions are actually named
28204 something starting with __ and the normal name is an alias. */
28205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28206 choke me
28207 #else
28208 char (*f) () = $ac_func;
28209 #endif
28210 #ifdef __cplusplus
28212 #endif
28215 main ()
28217 return f != $ac_func;
28219 return 0;
28221 _ACEOF
28222 rm -f conftest.$ac_objext conftest$ac_exeext
28223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28224 (eval $ac_link) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try='test -s conftest$ac_exeext'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; }; then
28234 eval "$as_ac_var=yes"
28235 else
28236 echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28239 eval "$as_ac_var=no"
28241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28245 if test `eval echo '${'$as_ac_var'}'` = yes; then
28246 cat >>confdefs.h <<_ACEOF
28247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28248 _ACEOF
28251 done
28258 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28259 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28260 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28261 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28263 else
28267 ac_ext=cc
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat >conftest.$ac_ext <<_ACEOF
28274 #line $LINENO "configure"
28275 /* confdefs.h. */
28276 _ACEOF
28277 cat confdefs.h >>conftest.$ac_ext
28278 cat >>conftest.$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28280 #include <math.h>
28281 #ifdef HAVE_IEEEFP_H
28282 #include <ieeefp.h>
28283 #endif
28286 main ()
28288 isnan(0);
28290 return 0;
28292 _ACEOF
28293 rm -f conftest.$ac_objext
28294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28295 (eval $ac_compile) 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } &&
28299 { ac_try='test -s conftest.$ac_objext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305 glibcxx_cv_func_isnan_use=yes
28306 else
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 glibcxx_cv_func_isnan_use=no
28312 rm -f conftest.$ac_objext conftest.$ac_ext
28313 ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28324 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28326 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28328 for ac_func in isnan
28330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28331 echo "$as_me:$LINENO: checking for $ac_func" >&5
28332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28333 if eval "test \"\${$as_ac_var+set}\" = set"; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28335 else
28336 if test x$gcc_no_link = xyes; then
28337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28339 { (exit 1); exit 1; }; }
28341 cat >conftest.$ac_ext <<_ACEOF
28342 #line $LINENO "configure"
28343 /* confdefs.h. */
28344 _ACEOF
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348 /* System header to define __stub macros and hopefully few prototypes,
28349 which can conflict with char $ac_func (); below.
28350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351 <limits.h> exists even on freestanding compilers. */
28352 #ifdef __STDC__
28353 # include <limits.h>
28354 #else
28355 # include <assert.h>
28356 #endif
28357 /* Override any gcc2 internal prototype to avoid an error. */
28358 #ifdef __cplusplus
28359 extern "C"
28361 #endif
28362 /* We use char because int might match the return type of a gcc2
28363 builtin and then its argument prototype would still apply. */
28364 char $ac_func ();
28365 /* The GNU C library defines this for functions which it implements
28366 to always fail with ENOSYS. Some functions are actually named
28367 something starting with __ and the normal name is an alias. */
28368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28369 choke me
28370 #else
28371 char (*f) () = $ac_func;
28372 #endif
28373 #ifdef __cplusplus
28375 #endif
28378 main ()
28380 return f != $ac_func;
28382 return 0;
28384 _ACEOF
28385 rm -f conftest.$ac_objext conftest$ac_exeext
28386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28387 (eval $ac_link) 2>&5
28388 ac_status=$?
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try='test -s conftest$ac_exeext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28394 ac_status=$?
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28397 eval "$as_ac_var=yes"
28398 else
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.$ac_ext >&5
28402 eval "$as_ac_var=no"
28404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28408 if test `eval echo '${'$as_ac_var'}'` = yes; then
28409 cat >>confdefs.h <<_ACEOF
28410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28411 _ACEOF
28414 done
28416 else
28418 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28419 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28420 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28421 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28422 echo $ECHO_N "(cached) $ECHO_C" >&6
28423 else
28427 ac_ext=cc
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433 cat >conftest.$ac_ext <<_ACEOF
28434 #line $LINENO "configure"
28435 /* confdefs.h. */
28436 _ACEOF
28437 cat confdefs.h >>conftest.$ac_ext
28438 cat >>conftest.$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28440 #include <math.h>
28441 #ifdef HAVE_IEEEFP_H
28442 #include <ieeefp.h>
28443 #endif
28446 main ()
28448 _isnan(0);
28450 return 0;
28452 _ACEOF
28453 rm -f conftest.$ac_objext
28454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28455 (eval $ac_compile) 2>&5
28456 ac_status=$?
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try='test -s conftest.$ac_objext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 glibcxx_cv_func__isnan_use=yes
28466 else
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28470 glibcxx_cv_func__isnan_use=no
28472 rm -f conftest.$ac_objext conftest.$ac_ext
28473 ac_ext=c
28474 ac_cpp='$CPP $CPPFLAGS'
28475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28484 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28486 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28488 for ac_func in _isnan
28490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28491 echo "$as_me:$LINENO: checking for $ac_func" >&5
28492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28493 if eval "test \"\${$as_ac_var+set}\" = set"; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28495 else
28496 if test x$gcc_no_link = xyes; then
28497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28499 { (exit 1); exit 1; }; }
28501 cat >conftest.$ac_ext <<_ACEOF
28502 #line $LINENO "configure"
28503 /* confdefs.h. */
28504 _ACEOF
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508 /* System header to define __stub macros and hopefully few prototypes,
28509 which can conflict with char $ac_func (); below.
28510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28511 <limits.h> exists even on freestanding compilers. */
28512 #ifdef __STDC__
28513 # include <limits.h>
28514 #else
28515 # include <assert.h>
28516 #endif
28517 /* Override any gcc2 internal prototype to avoid an error. */
28518 #ifdef __cplusplus
28519 extern "C"
28521 #endif
28522 /* We use char because int might match the return type of a gcc2
28523 builtin and then its argument prototype would still apply. */
28524 char $ac_func ();
28525 /* The GNU C library defines this for functions which it implements
28526 to always fail with ENOSYS. Some functions are actually named
28527 something starting with __ and the normal name is an alias. */
28528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28529 choke me
28530 #else
28531 char (*f) () = $ac_func;
28532 #endif
28533 #ifdef __cplusplus
28535 #endif
28538 main ()
28540 return f != $ac_func;
28542 return 0;
28544 _ACEOF
28545 rm -f conftest.$ac_objext conftest$ac_exeext
28546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28547 (eval $ac_link) 2>&5
28548 ac_status=$?
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } &&
28551 { ac_try='test -s conftest$ac_exeext'
28552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28553 (eval $ac_try) 2>&5
28554 ac_status=$?
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; }; then
28557 eval "$as_ac_var=yes"
28558 else
28559 echo "$as_me: failed program was:" >&5
28560 sed 's/^/| /' conftest.$ac_ext >&5
28562 eval "$as_ac_var=no"
28564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28568 if test `eval echo '${'$as_ac_var'}'` = yes; then
28569 cat >>confdefs.h <<_ACEOF
28570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28571 _ACEOF
28574 done
28581 echo "$as_me:$LINENO: checking for finite declaration" >&5
28582 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28583 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28584 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 else
28590 ac_ext=cc
28591 ac_cpp='$CXXCPP $CPPFLAGS'
28592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28596 cat >conftest.$ac_ext <<_ACEOF
28597 #line $LINENO "configure"
28598 /* confdefs.h. */
28599 _ACEOF
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603 #include <math.h>
28604 #ifdef HAVE_IEEEFP_H
28605 #include <ieeefp.h>
28606 #endif
28609 main ()
28611 finite(0);
28613 return 0;
28615 _ACEOF
28616 rm -f conftest.$ac_objext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28618 (eval $ac_compile) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try='test -s conftest.$ac_objext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28625 ac_status=$?
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 glibcxx_cv_func_finite_use=yes
28629 else
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.$ac_ext >&5
28633 glibcxx_cv_func_finite_use=no
28635 rm -f conftest.$ac_objext conftest.$ac_ext
28636 ac_ext=c
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28647 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28651 for ac_func in finite
28653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28654 echo "$as_me:$LINENO: checking for $ac_func" >&5
28655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28656 if eval "test \"\${$as_ac_var+set}\" = set"; then
28657 echo $ECHO_N "(cached) $ECHO_C" >&6
28658 else
28659 if test x$gcc_no_link = xyes; then
28660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28662 { (exit 1); exit 1; }; }
28664 cat >conftest.$ac_ext <<_ACEOF
28665 #line $LINENO "configure"
28666 /* confdefs.h. */
28667 _ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671 /* System header to define __stub macros and hopefully few prototypes,
28672 which can conflict with char $ac_func (); below.
28673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28674 <limits.h> exists even on freestanding compilers. */
28675 #ifdef __STDC__
28676 # include <limits.h>
28677 #else
28678 # include <assert.h>
28679 #endif
28680 /* Override any gcc2 internal prototype to avoid an error. */
28681 #ifdef __cplusplus
28682 extern "C"
28684 #endif
28685 /* We use char because int might match the return type of a gcc2
28686 builtin and then its argument prototype would still apply. */
28687 char $ac_func ();
28688 /* The GNU C library defines this for functions which it implements
28689 to always fail with ENOSYS. Some functions are actually named
28690 something starting with __ and the normal name is an alias. */
28691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28692 choke me
28693 #else
28694 char (*f) () = $ac_func;
28695 #endif
28696 #ifdef __cplusplus
28698 #endif
28701 main ()
28703 return f != $ac_func;
28705 return 0;
28707 _ACEOF
28708 rm -f conftest.$ac_objext conftest$ac_exeext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28710 (eval $ac_link) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); } &&
28714 { ac_try='test -s conftest$ac_exeext'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28717 ac_status=$?
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 eval "$as_ac_var=yes"
28721 else
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28725 eval "$as_ac_var=no"
28727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28731 if test `eval echo '${'$as_ac_var'}'` = yes; then
28732 cat >>confdefs.h <<_ACEOF
28733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28734 _ACEOF
28737 done
28739 else
28741 echo "$as_me:$LINENO: checking for _finite declaration" >&5
28742 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28743 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28744 if test "${glibcxx_cv_func__finite_use+set}" = set; then
28745 echo $ECHO_N "(cached) $ECHO_C" >&6
28746 else
28750 ac_ext=cc
28751 ac_cpp='$CXXCPP $CPPFLAGS'
28752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28756 cat >conftest.$ac_ext <<_ACEOF
28757 #line $LINENO "configure"
28758 /* confdefs.h. */
28759 _ACEOF
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763 #include <math.h>
28764 #ifdef HAVE_IEEEFP_H
28765 #include <ieeefp.h>
28766 #endif
28769 main ()
28771 _finite(0);
28773 return 0;
28775 _ACEOF
28776 rm -f conftest.$ac_objext
28777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28778 (eval $ac_compile) 2>&5
28779 ac_status=$?
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try='test -s conftest.$ac_objext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28785 ac_status=$?
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 glibcxx_cv_func__finite_use=yes
28789 else
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.$ac_ext >&5
28793 glibcxx_cv_func__finite_use=no
28795 rm -f conftest.$ac_objext conftest.$ac_ext
28796 ac_ext=c
28797 ac_cpp='$CPP $CPPFLAGS'
28798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28807 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28809 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28811 for ac_func in _finite
28813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28814 echo "$as_me:$LINENO: checking for $ac_func" >&5
28815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28816 if eval "test \"\${$as_ac_var+set}\" = set"; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28819 if test x$gcc_no_link = xyes; then
28820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28822 { (exit 1); exit 1; }; }
28824 cat >conftest.$ac_ext <<_ACEOF
28825 #line $LINENO "configure"
28826 /* confdefs.h. */
28827 _ACEOF
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 /* System header to define __stub macros and hopefully few prototypes,
28832 which can conflict with char $ac_func (); below.
28833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28834 <limits.h> exists even on freestanding compilers. */
28835 #ifdef __STDC__
28836 # include <limits.h>
28837 #else
28838 # include <assert.h>
28839 #endif
28840 /* Override any gcc2 internal prototype to avoid an error. */
28841 #ifdef __cplusplus
28842 extern "C"
28844 #endif
28845 /* We use char because int might match the return type of a gcc2
28846 builtin and then its argument prototype would still apply. */
28847 char $ac_func ();
28848 /* The GNU C library defines this for functions which it implements
28849 to always fail with ENOSYS. Some functions are actually named
28850 something starting with __ and the normal name is an alias. */
28851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28852 choke me
28853 #else
28854 char (*f) () = $ac_func;
28855 #endif
28856 #ifdef __cplusplus
28858 #endif
28861 main ()
28863 return f != $ac_func;
28865 return 0;
28867 _ACEOF
28868 rm -f conftest.$ac_objext conftest$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>&5
28871 ac_status=$?
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } &&
28874 { ac_try='test -s conftest$ac_exeext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 eval "$as_ac_var=yes"
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28885 eval "$as_ac_var=no"
28887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28891 if test `eval echo '${'$as_ac_var'}'` = yes; then
28892 cat >>confdefs.h <<_ACEOF
28893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28894 _ACEOF
28897 done
28904 echo "$as_me:$LINENO: checking for copysign declaration" >&5
28905 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28906 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28907 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28909 else
28913 ac_ext=cc
28914 ac_cpp='$CXXCPP $CPPFLAGS'
28915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28919 cat >conftest.$ac_ext <<_ACEOF
28920 #line $LINENO "configure"
28921 /* confdefs.h. */
28922 _ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28926 #include <math.h>
28928 main ()
28930 copysign(0, 0);
28932 return 0;
28934 _ACEOF
28935 rm -f conftest.$ac_objext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28937 (eval $ac_compile) 2>&5
28938 ac_status=$?
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } &&
28941 { ac_try='test -s conftest.$ac_objext'
28942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28943 (eval $ac_try) 2>&5
28944 ac_status=$?
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; }; then
28947 glibcxx_cv_func_copysign_use=yes
28948 else
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.$ac_ext >&5
28952 glibcxx_cv_func_copysign_use=no
28954 rm -f conftest.$ac_objext conftest.$ac_ext
28955 ac_ext=c
28956 ac_cpp='$CPP $CPPFLAGS'
28957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28966 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28968 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28970 for ac_func in copysign
28972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28973 echo "$as_me:$LINENO: checking for $ac_func" >&5
28974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28975 if eval "test \"\${$as_ac_var+set}\" = set"; then
28976 echo $ECHO_N "(cached) $ECHO_C" >&6
28977 else
28978 if test x$gcc_no_link = xyes; then
28979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28981 { (exit 1); exit 1; }; }
28983 cat >conftest.$ac_ext <<_ACEOF
28984 #line $LINENO "configure"
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* System header to define __stub macros and hopefully few prototypes,
28991 which can conflict with char $ac_func (); below.
28992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28993 <limits.h> exists even on freestanding compilers. */
28994 #ifdef __STDC__
28995 # include <limits.h>
28996 #else
28997 # include <assert.h>
28998 #endif
28999 /* Override any gcc2 internal prototype to avoid an error. */
29000 #ifdef __cplusplus
29001 extern "C"
29003 #endif
29004 /* We use char because int might match the return type of a gcc2
29005 builtin and then its argument prototype would still apply. */
29006 char $ac_func ();
29007 /* The GNU C library defines this for functions which it implements
29008 to always fail with ENOSYS. Some functions are actually named
29009 something starting with __ and the normal name is an alias. */
29010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29011 choke me
29012 #else
29013 char (*f) () = $ac_func;
29014 #endif
29015 #ifdef __cplusplus
29017 #endif
29020 main ()
29022 return f != $ac_func;
29024 return 0;
29026 _ACEOF
29027 rm -f conftest.$ac_objext conftest$ac_exeext
29028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29029 (eval $ac_link) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try='test -s conftest$ac_exeext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29039 eval "$as_ac_var=yes"
29040 else
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.$ac_ext >&5
29044 eval "$as_ac_var=no"
29046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29050 if test `eval echo '${'$as_ac_var'}'` = yes; then
29051 cat >>confdefs.h <<_ACEOF
29052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29053 _ACEOF
29056 done
29058 else
29060 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29061 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29062 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29063 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 else
29069 ac_ext=cc
29070 ac_cpp='$CXXCPP $CPPFLAGS'
29071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29075 cat >conftest.$ac_ext <<_ACEOF
29076 #line $LINENO "configure"
29077 /* confdefs.h. */
29078 _ACEOF
29079 cat confdefs.h >>conftest.$ac_ext
29080 cat >>conftest.$ac_ext <<_ACEOF
29081 /* end confdefs.h. */
29082 #include <math.h>
29084 main ()
29086 _copysign(0, 0);
29088 return 0;
29090 _ACEOF
29091 rm -f conftest.$ac_objext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29093 (eval $ac_compile) 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } &&
29097 { ac_try='test -s conftest.$ac_objext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29100 ac_status=$?
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 glibcxx_cv_func__copysign_use=yes
29104 else
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.$ac_ext >&5
29108 glibcxx_cv_func__copysign_use=no
29110 rm -f conftest.$ac_objext conftest.$ac_ext
29111 ac_ext=c
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29122 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29124 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29126 for ac_func in _copysign
29128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29129 echo "$as_me:$LINENO: checking for $ac_func" >&5
29130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29131 if eval "test \"\${$as_ac_var+set}\" = set"; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29133 else
29134 if test x$gcc_no_link = xyes; then
29135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29137 { (exit 1); exit 1; }; }
29139 cat >conftest.$ac_ext <<_ACEOF
29140 #line $LINENO "configure"
29141 /* confdefs.h. */
29142 _ACEOF
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146 /* System header to define __stub macros and hopefully few prototypes,
29147 which can conflict with char $ac_func (); below.
29148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29149 <limits.h> exists even on freestanding compilers. */
29150 #ifdef __STDC__
29151 # include <limits.h>
29152 #else
29153 # include <assert.h>
29154 #endif
29155 /* Override any gcc2 internal prototype to avoid an error. */
29156 #ifdef __cplusplus
29157 extern "C"
29159 #endif
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29162 char $ac_func ();
29163 /* The GNU C library defines this for functions which it implements
29164 to always fail with ENOSYS. Some functions are actually named
29165 something starting with __ and the normal name is an alias. */
29166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29167 choke me
29168 #else
29169 char (*f) () = $ac_func;
29170 #endif
29171 #ifdef __cplusplus
29173 #endif
29176 main ()
29178 return f != $ac_func;
29180 return 0;
29182 _ACEOF
29183 rm -f conftest.$ac_objext conftest$ac_exeext
29184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29185 (eval $ac_link) 2>&5
29186 ac_status=$?
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); } &&
29189 { ac_try='test -s conftest$ac_exeext'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29192 ac_status=$?
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 eval "$as_ac_var=yes"
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29200 eval "$as_ac_var=no"
29202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29206 if test `eval echo '${'$as_ac_var'}'` = yes; then
29207 cat >>confdefs.h <<_ACEOF
29208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29209 _ACEOF
29212 done
29219 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29220 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29221 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29222 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29223 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 else
29228 ac_ext=cc
29229 ac_cpp='$CXXCPP $CPPFLAGS'
29230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29234 cat >conftest.$ac_ext <<_ACEOF
29235 #line $LINENO "configure"
29236 /* confdefs.h. */
29237 _ACEOF
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29241 #include <math.h>
29243 main ()
29245 sincos(0, 0, 0);
29247 return 0;
29249 _ACEOF
29250 rm -f conftest.$ac_objext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29252 (eval $ac_compile) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try='test -s conftest.$ac_objext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29262 glibcxx_cv_func_sincos_use=yes
29263 else
29264 echo "$as_me: failed program was:" >&5
29265 sed 's/^/| /' conftest.$ac_ext >&5
29267 glibcxx_cv_func_sincos_use=no
29269 rm -f conftest.$ac_objext conftest.$ac_ext
29270 ac_ext=c
29271 ac_cpp='$CPP $CPPFLAGS'
29272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29281 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29283 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29285 for ac_func in sincos
29287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29288 echo "$as_me:$LINENO: checking for $ac_func" >&5
29289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29290 if eval "test \"\${$as_ac_var+set}\" = set"; then
29291 echo $ECHO_N "(cached) $ECHO_C" >&6
29292 else
29293 if test x$gcc_no_link = xyes; then
29294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29296 { (exit 1); exit 1; }; }
29298 cat >conftest.$ac_ext <<_ACEOF
29299 #line $LINENO "configure"
29300 /* confdefs.h. */
29301 _ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 /* System header to define __stub macros and hopefully few prototypes,
29306 which can conflict with char $ac_func (); below.
29307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29308 <limits.h> exists even on freestanding compilers. */
29309 #ifdef __STDC__
29310 # include <limits.h>
29311 #else
29312 # include <assert.h>
29313 #endif
29314 /* Override any gcc2 internal prototype to avoid an error. */
29315 #ifdef __cplusplus
29316 extern "C"
29318 #endif
29319 /* We use char because int might match the return type of a gcc2
29320 builtin and then its argument prototype would still apply. */
29321 char $ac_func ();
29322 /* The GNU C library defines this for functions which it implements
29323 to always fail with ENOSYS. Some functions are actually named
29324 something starting with __ and the normal name is an alias. */
29325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29326 choke me
29327 #else
29328 char (*f) () = $ac_func;
29329 #endif
29330 #ifdef __cplusplus
29332 #endif
29335 main ()
29337 return f != $ac_func;
29339 return 0;
29341 _ACEOF
29342 rm -f conftest.$ac_objext conftest$ac_exeext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29344 (eval $ac_link) 2>&5
29345 ac_status=$?
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try='test -s conftest$ac_exeext'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29351 ac_status=$?
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; }; then
29354 eval "$as_ac_var=yes"
29355 else
29356 echo "$as_me: failed program was:" >&5
29357 sed 's/^/| /' conftest.$ac_ext >&5
29359 eval "$as_ac_var=no"
29361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29365 if test `eval echo '${'$as_ac_var'}'` = yes; then
29366 cat >>confdefs.h <<_ACEOF
29367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29368 _ACEOF
29371 done
29373 else
29375 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29376 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29377 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29378 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29380 else
29384 ac_ext=cc
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat >conftest.$ac_ext <<_ACEOF
29391 #line $LINENO "configure"
29392 /* confdefs.h. */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29397 #include <math.h>
29399 main ()
29401 _sincos(0, 0, 0);
29403 return 0;
29405 _ACEOF
29406 rm -f conftest.$ac_objext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29408 (eval $ac_compile) 2>&5
29409 ac_status=$?
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try='test -s conftest.$ac_objext'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 glibcxx_cv_func__sincos_use=yes
29419 else
29420 echo "$as_me: failed program was:" >&5
29421 sed 's/^/| /' conftest.$ac_ext >&5
29423 glibcxx_cv_func__sincos_use=no
29425 rm -f conftest.$ac_objext conftest.$ac_ext
29426 ac_ext=c
29427 ac_cpp='$CPP $CPPFLAGS'
29428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29437 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29439 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29441 for ac_func in _sincos
29443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29444 echo "$as_me:$LINENO: checking for $ac_func" >&5
29445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29446 if eval "test \"\${$as_ac_var+set}\" = set"; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 else
29449 if test x$gcc_no_link = xyes; then
29450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29452 { (exit 1); exit 1; }; }
29454 cat >conftest.$ac_ext <<_ACEOF
29455 #line $LINENO "configure"
29456 /* confdefs.h. */
29457 _ACEOF
29458 cat confdefs.h >>conftest.$ac_ext
29459 cat >>conftest.$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29461 /* System header to define __stub macros and hopefully few prototypes,
29462 which can conflict with char $ac_func (); below.
29463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29464 <limits.h> exists even on freestanding compilers. */
29465 #ifdef __STDC__
29466 # include <limits.h>
29467 #else
29468 # include <assert.h>
29469 #endif
29470 /* Override any gcc2 internal prototype to avoid an error. */
29471 #ifdef __cplusplus
29472 extern "C"
29474 #endif
29475 /* We use char because int might match the return type of a gcc2
29476 builtin and then its argument prototype would still apply. */
29477 char $ac_func ();
29478 /* The GNU C library defines this for functions which it implements
29479 to always fail with ENOSYS. Some functions are actually named
29480 something starting with __ and the normal name is an alias. */
29481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29482 choke me
29483 #else
29484 char (*f) () = $ac_func;
29485 #endif
29486 #ifdef __cplusplus
29488 #endif
29491 main ()
29493 return f != $ac_func;
29495 return 0;
29497 _ACEOF
29498 rm -f conftest.$ac_objext conftest$ac_exeext
29499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29500 (eval $ac_link) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 eval "$as_ac_var=yes"
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29515 eval "$as_ac_var=no"
29517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29521 if test `eval echo '${'$as_ac_var'}'` = yes; then
29522 cat >>confdefs.h <<_ACEOF
29523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29524 _ACEOF
29527 done
29534 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29535 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29536 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29537 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29543 ac_ext=cc
29544 ac_cpp='$CXXCPP $CPPFLAGS'
29545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29549 cat >conftest.$ac_ext <<_ACEOF
29550 #line $LINENO "configure"
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556 #include <math.h>
29557 #ifdef HAVE_IEEEFP_H
29558 #include <ieeefp.h>
29559 #endif
29562 main ()
29564 fpclass(0);
29566 return 0;
29568 _ACEOF
29569 rm -f conftest.$ac_objext
29570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29571 (eval $ac_compile) 2>&5
29572 ac_status=$?
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); } &&
29575 { ac_try='test -s conftest.$ac_objext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29578 ac_status=$?
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 glibcxx_cv_func_fpclass_use=yes
29582 else
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29586 glibcxx_cv_func_fpclass_use=no
29588 rm -f conftest.$ac_objext conftest.$ac_ext
29589 ac_ext=c
29590 ac_cpp='$CPP $CPPFLAGS'
29591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29600 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29602 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29604 for ac_func in fpclass
29606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29607 echo "$as_me:$LINENO: checking for $ac_func" >&5
29608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29609 if eval "test \"\${$as_ac_var+set}\" = set"; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29611 else
29612 if test x$gcc_no_link = xyes; then
29613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29615 { (exit 1); exit 1; }; }
29617 cat >conftest.$ac_ext <<_ACEOF
29618 #line $LINENO "configure"
29619 /* confdefs.h. */
29620 _ACEOF
29621 cat confdefs.h >>conftest.$ac_ext
29622 cat >>conftest.$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29624 /* System header to define __stub macros and hopefully few prototypes,
29625 which can conflict with char $ac_func (); below.
29626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29627 <limits.h> exists even on freestanding compilers. */
29628 #ifdef __STDC__
29629 # include <limits.h>
29630 #else
29631 # include <assert.h>
29632 #endif
29633 /* Override any gcc2 internal prototype to avoid an error. */
29634 #ifdef __cplusplus
29635 extern "C"
29637 #endif
29638 /* We use char because int might match the return type of a gcc2
29639 builtin and then its argument prototype would still apply. */
29640 char $ac_func ();
29641 /* The GNU C library defines this for functions which it implements
29642 to always fail with ENOSYS. Some functions are actually named
29643 something starting with __ and the normal name is an alias. */
29644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29645 choke me
29646 #else
29647 char (*f) () = $ac_func;
29648 #endif
29649 #ifdef __cplusplus
29651 #endif
29654 main ()
29656 return f != $ac_func;
29658 return 0;
29660 _ACEOF
29661 rm -f conftest.$ac_objext conftest$ac_exeext
29662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29663 (eval $ac_link) 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -s conftest$ac_exeext'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 eval "$as_ac_var=yes"
29674 else
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 eval "$as_ac_var=no"
29680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29684 if test `eval echo '${'$as_ac_var'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29687 _ACEOF
29690 done
29692 else
29694 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29695 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29696 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29697 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29699 else
29703 ac_ext=cc
29704 ac_cpp='$CXXCPP $CPPFLAGS'
29705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29709 cat >conftest.$ac_ext <<_ACEOF
29710 #line $LINENO "configure"
29711 /* confdefs.h. */
29712 _ACEOF
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29716 #include <math.h>
29717 #ifdef HAVE_IEEEFP_H
29718 #include <ieeefp.h>
29719 #endif
29722 main ()
29724 _fpclass(0);
29726 return 0;
29728 _ACEOF
29729 rm -f conftest.$ac_objext
29730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29731 (eval $ac_compile) 2>&5
29732 ac_status=$?
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try='test -s conftest.$ac_objext'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29738 ac_status=$?
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; }; then
29741 glibcxx_cv_func__fpclass_use=yes
29742 else
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.$ac_ext >&5
29746 glibcxx_cv_func__fpclass_use=no
29748 rm -f conftest.$ac_objext conftest.$ac_ext
29749 ac_ext=c
29750 ac_cpp='$CPP $CPPFLAGS'
29751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29759 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29760 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29764 for ac_func in _fpclass
29766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29767 echo "$as_me:$LINENO: checking for $ac_func" >&5
29768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29769 if eval "test \"\${$as_ac_var+set}\" = set"; then
29770 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 else
29772 if test x$gcc_no_link = xyes; then
29773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29775 { (exit 1); exit 1; }; }
29777 cat >conftest.$ac_ext <<_ACEOF
29778 #line $LINENO "configure"
29779 /* confdefs.h. */
29780 _ACEOF
29781 cat confdefs.h >>conftest.$ac_ext
29782 cat >>conftest.$ac_ext <<_ACEOF
29783 /* end confdefs.h. */
29784 /* System header to define __stub macros and hopefully few prototypes,
29785 which can conflict with char $ac_func (); below.
29786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29787 <limits.h> exists even on freestanding compilers. */
29788 #ifdef __STDC__
29789 # include <limits.h>
29790 #else
29791 # include <assert.h>
29792 #endif
29793 /* Override any gcc2 internal prototype to avoid an error. */
29794 #ifdef __cplusplus
29795 extern "C"
29797 #endif
29798 /* We use char because int might match the return type of a gcc2
29799 builtin and then its argument prototype would still apply. */
29800 char $ac_func ();
29801 /* The GNU C library defines this for functions which it implements
29802 to always fail with ENOSYS. Some functions are actually named
29803 something starting with __ and the normal name is an alias. */
29804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29805 choke me
29806 #else
29807 char (*f) () = $ac_func;
29808 #endif
29809 #ifdef __cplusplus
29811 #endif
29814 main ()
29816 return f != $ac_func;
29818 return 0;
29820 _ACEOF
29821 rm -f conftest.$ac_objext conftest$ac_exeext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29823 (eval $ac_link) 2>&5
29824 ac_status=$?
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try='test -s conftest$ac_exeext'
29828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29829 (eval $ac_try) 2>&5
29830 ac_status=$?
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; }; then
29833 eval "$as_ac_var=yes"
29834 else
29835 echo "$as_me: failed program was:" >&5
29836 sed 's/^/| /' conftest.$ac_ext >&5
29838 eval "$as_ac_var=no"
29840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29844 if test `eval echo '${'$as_ac_var'}'` = yes; then
29845 cat >>confdefs.h <<_ACEOF
29846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29847 _ACEOF
29850 done
29857 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29858 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29859 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29860 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29862 else
29866 ac_ext=cc
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872 cat >conftest.$ac_ext <<_ACEOF
29873 #line $LINENO "configure"
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 #include <math.h>
29880 #ifdef HAVE_IEEEFP_H
29881 #include <ieeefp.h>
29882 #endif
29885 main ()
29887 qfpclass(0);
29889 return 0;
29891 _ACEOF
29892 rm -f conftest.$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try='test -s conftest.$ac_objext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 glibcxx_cv_func_qfpclass_use=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 glibcxx_cv_func_qfpclass_use=no
29911 rm -f conftest.$ac_objext conftest.$ac_ext
29912 ac_ext=c
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29923 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29925 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29927 for ac_func in qfpclass
29929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29930 echo "$as_me:$LINENO: checking for $ac_func" >&5
29931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29932 if eval "test \"\${$as_ac_var+set}\" = set"; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 if test x$gcc_no_link = xyes; then
29936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29938 { (exit 1); exit 1; }; }
29940 cat >conftest.$ac_ext <<_ACEOF
29941 #line $LINENO "configure"
29942 /* confdefs.h. */
29943 _ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947 /* System header to define __stub macros and hopefully few prototypes,
29948 which can conflict with char $ac_func (); below.
29949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29950 <limits.h> exists even on freestanding compilers. */
29951 #ifdef __STDC__
29952 # include <limits.h>
29953 #else
29954 # include <assert.h>
29955 #endif
29956 /* Override any gcc2 internal prototype to avoid an error. */
29957 #ifdef __cplusplus
29958 extern "C"
29960 #endif
29961 /* We use char because int might match the return type of a gcc2
29962 builtin and then its argument prototype would still apply. */
29963 char $ac_func ();
29964 /* The GNU C library defines this for functions which it implements
29965 to always fail with ENOSYS. Some functions are actually named
29966 something starting with __ and the normal name is an alias. */
29967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29968 choke me
29969 #else
29970 char (*f) () = $ac_func;
29971 #endif
29972 #ifdef __cplusplus
29974 #endif
29977 main ()
29979 return f != $ac_func;
29981 return 0;
29983 _ACEOF
29984 rm -f conftest.$ac_objext conftest$ac_exeext
29985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29986 (eval $ac_link) 2>&5
29987 ac_status=$?
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); } &&
29990 { ac_try='test -s conftest$ac_exeext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29993 ac_status=$?
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 eval "$as_ac_var=yes"
29997 else
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.$ac_ext >&5
30001 eval "$as_ac_var=no"
30003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30007 if test `eval echo '${'$as_ac_var'}'` = yes; then
30008 cat >>confdefs.h <<_ACEOF
30009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30010 _ACEOF
30013 done
30015 else
30017 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
30018 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
30019 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30020 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
30021 echo $ECHO_N "(cached) $ECHO_C" >&6
30022 else
30026 ac_ext=cc
30027 ac_cpp='$CXXCPP $CPPFLAGS'
30028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032 cat >conftest.$ac_ext <<_ACEOF
30033 #line $LINENO "configure"
30034 /* confdefs.h. */
30035 _ACEOF
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30039 #include <math.h>
30040 #ifdef HAVE_IEEEFP_H
30041 #include <ieeefp.h>
30042 #endif
30045 main ()
30047 _qfpclass(0);
30049 return 0;
30051 _ACEOF
30052 rm -f conftest.$ac_objext
30053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30054 (eval $ac_compile) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } &&
30058 { ac_try='test -s conftest.$ac_objext'
30059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30061 ac_status=$?
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 glibcxx_cv_func__qfpclass_use=yes
30065 else
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30069 glibcxx_cv_func__qfpclass_use=no
30071 rm -f conftest.$ac_objext conftest.$ac_ext
30072 ac_ext=c
30073 ac_cpp='$CPP $CPPFLAGS'
30074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
30083 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
30085 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30087 for ac_func in _qfpclass
30089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 if test x$gcc_no_link = xyes; then
30096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30098 { (exit 1); exit 1; }; }
30100 cat >conftest.$ac_ext <<_ACEOF
30101 #line $LINENO "configure"
30102 /* confdefs.h. */
30103 _ACEOF
30104 cat confdefs.h >>conftest.$ac_ext
30105 cat >>conftest.$ac_ext <<_ACEOF
30106 /* end confdefs.h. */
30107 /* System header to define __stub macros and hopefully few prototypes,
30108 which can conflict with char $ac_func (); below.
30109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30110 <limits.h> exists even on freestanding compilers. */
30111 #ifdef __STDC__
30112 # include <limits.h>
30113 #else
30114 # include <assert.h>
30115 #endif
30116 /* Override any gcc2 internal prototype to avoid an error. */
30117 #ifdef __cplusplus
30118 extern "C"
30120 #endif
30121 /* We use char because int might match the return type of a gcc2
30122 builtin and then its argument prototype would still apply. */
30123 char $ac_func ();
30124 /* The GNU C library defines this for functions which it implements
30125 to always fail with ENOSYS. Some functions are actually named
30126 something starting with __ and the normal name is an alias. */
30127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30128 choke me
30129 #else
30130 char (*f) () = $ac_func;
30131 #endif
30132 #ifdef __cplusplus
30134 #endif
30137 main ()
30139 return f != $ac_func;
30141 return 0;
30143 _ACEOF
30144 rm -f conftest.$ac_objext conftest$ac_exeext
30145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30146 (eval $ac_link) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try='test -s conftest$ac_exeext'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30153 ac_status=$?
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; }; then
30156 eval "$as_ac_var=yes"
30157 else
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30161 eval "$as_ac_var=no"
30163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30167 if test `eval echo '${'$as_ac_var'}'` = yes; then
30168 cat >>confdefs.h <<_ACEOF
30169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30170 _ACEOF
30173 done
30180 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30181 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30182 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30183 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30184 echo $ECHO_N "(cached) $ECHO_C" >&6
30185 else
30189 ac_ext=cc
30190 ac_cpp='$CXXCPP $CPPFLAGS'
30191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30195 cat >conftest.$ac_ext <<_ACEOF
30196 #line $LINENO "configure"
30197 /* confdefs.h. */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 #include <math.h>
30204 main ()
30206 hypot(0, 0);
30208 return 0;
30210 _ACEOF
30211 rm -f conftest.$ac_objext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30213 (eval $ac_compile) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try='test -s conftest.$ac_objext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 glibcxx_cv_func_hypot_use=yes
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30228 glibcxx_cv_func_hypot_use=no
30230 rm -f conftest.$ac_objext conftest.$ac_ext
30231 ac_ext=c
30232 ac_cpp='$CPP $CPPFLAGS'
30233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30242 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30244 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30246 for ac_func in hypot
30248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30249 echo "$as_me:$LINENO: checking for $ac_func" >&5
30250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30251 if eval "test \"\${$as_ac_var+set}\" = set"; then
30252 echo $ECHO_N "(cached) $ECHO_C" >&6
30253 else
30254 if test x$gcc_no_link = xyes; then
30255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30257 { (exit 1); exit 1; }; }
30259 cat >conftest.$ac_ext <<_ACEOF
30260 #line $LINENO "configure"
30261 /* confdefs.h. */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266 /* System header to define __stub macros and hopefully few prototypes,
30267 which can conflict with char $ac_func (); below.
30268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30269 <limits.h> exists even on freestanding compilers. */
30270 #ifdef __STDC__
30271 # include <limits.h>
30272 #else
30273 # include <assert.h>
30274 #endif
30275 /* Override any gcc2 internal prototype to avoid an error. */
30276 #ifdef __cplusplus
30277 extern "C"
30279 #endif
30280 /* We use char because int might match the return type of a gcc2
30281 builtin and then its argument prototype would still apply. */
30282 char $ac_func ();
30283 /* The GNU C library defines this for functions which it implements
30284 to always fail with ENOSYS. Some functions are actually named
30285 something starting with __ and the normal name is an alias. */
30286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 choke me
30288 #else
30289 char (*f) () = $ac_func;
30290 #endif
30291 #ifdef __cplusplus
30293 #endif
30296 main ()
30298 return f != $ac_func;
30300 return 0;
30302 _ACEOF
30303 rm -f conftest.$ac_objext conftest$ac_exeext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30305 (eval $ac_link) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30316 else
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30320 eval "$as_ac_var=no"
30322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30326 if test `eval echo '${'$as_ac_var'}'` = yes; then
30327 cat >>confdefs.h <<_ACEOF
30328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30329 _ACEOF
30332 done
30334 else
30336 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30337 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30338 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30339 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30341 else
30345 ac_ext=cc
30346 ac_cpp='$CXXCPP $CPPFLAGS'
30347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30351 cat >conftest.$ac_ext <<_ACEOF
30352 #line $LINENO "configure"
30353 /* confdefs.h. */
30354 _ACEOF
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358 #include <math.h>
30360 main ()
30362 _hypot(0, 0);
30364 return 0;
30366 _ACEOF
30367 rm -f conftest.$ac_objext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30369 (eval $ac_compile) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -s conftest.$ac_objext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 glibcxx_cv_func__hypot_use=yes
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 glibcxx_cv_func__hypot_use=no
30386 rm -f conftest.$ac_objext conftest.$ac_ext
30387 ac_ext=c
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30398 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30402 for ac_func in _hypot
30404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30405 echo "$as_me:$LINENO: checking for $ac_func" >&5
30406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30407 if eval "test \"\${$as_ac_var+set}\" = set"; then
30408 echo $ECHO_N "(cached) $ECHO_C" >&6
30409 else
30410 if test x$gcc_no_link = xyes; then
30411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30413 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
30423 which can conflict with char $ac_func (); below.
30424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30425 <limits.h> exists even on freestanding compilers. */
30426 #ifdef __STDC__
30427 # include <limits.h>
30428 #else
30429 # include <assert.h>
30430 #endif
30431 /* Override any gcc2 internal prototype to avoid an error. */
30432 #ifdef __cplusplus
30433 extern "C"
30435 #endif
30436 /* We use char because int might match the return type of a gcc2
30437 builtin and then its argument prototype would still apply. */
30438 char $ac_func ();
30439 /* The GNU C library defines this for functions which it implements
30440 to always fail with ENOSYS. Some functions are actually named
30441 something starting with __ and the normal name is an alias. */
30442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30443 choke me
30444 #else
30445 char (*f) () = $ac_func;
30446 #endif
30447 #ifdef __cplusplus
30449 #endif
30452 main ()
30454 return f != $ac_func;
30456 return 0;
30458 _ACEOF
30459 rm -f conftest.$ac_objext conftest$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>&5
30462 ac_status=$?
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } &&
30465 { ac_try='test -s conftest$ac_exeext'
30466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30467 (eval $ac_try) 2>&5
30468 ac_status=$?
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; }; then
30471 eval "$as_ac_var=yes"
30472 else
30473 echo "$as_me: failed program was:" >&5
30474 sed 's/^/| /' conftest.$ac_ext >&5
30476 eval "$as_ac_var=no"
30478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30482 if test `eval echo '${'$as_ac_var'}'` = yes; then
30483 cat >>confdefs.h <<_ACEOF
30484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30485 _ACEOF
30488 done
30495 echo "$as_me:$LINENO: checking for float trig functions" >&5
30496 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30497 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 else
30503 ac_ext=cc
30504 ac_cpp='$CXXCPP $CPPFLAGS'
30505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30509 cat >conftest.$ac_ext <<_ACEOF
30510 #line $LINENO "configure"
30511 /* confdefs.h. */
30512 _ACEOF
30513 cat confdefs.h >>conftest.$ac_ext
30514 cat >>conftest.$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30516 #include <math.h>
30518 main ()
30520 `for x in acosf asinf atanf \
30521 cosf sinf tanf \
30522 coshf sinhf tanhf; do echo "$x (0);"; done`
30524 return 0;
30526 _ACEOF
30527 rm -f conftest.$ac_objext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30529 (eval $ac_compile) 2>&5
30530 ac_status=$?
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); } &&
30533 { ac_try='test -s conftest.$ac_objext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30536 ac_status=$?
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 glibcxx_cv_func_float_trig_use=yes
30540 else
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 glibcxx_cv_func_float_trig_use=no
30546 rm -f conftest.$ac_objext conftest.$ac_ext
30547 ac_ext=c
30548 ac_cpp='$CPP $CPPFLAGS'
30549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30556 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30557 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30567 for ac_func in acosf asinf atanf \
30568 cosf sinf tanf \
30569 coshf sinhf tanhf
30571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30572 echo "$as_me:$LINENO: checking for $ac_func" >&5
30573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30574 if eval "test \"\${$as_ac_var+set}\" = set"; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 else
30577 if test x$gcc_no_link = xyes; then
30578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30580 { (exit 1); exit 1; }; }
30582 cat >conftest.$ac_ext <<_ACEOF
30583 #line $LINENO "configure"
30584 /* confdefs.h. */
30585 _ACEOF
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589 /* System header to define __stub macros and hopefully few prototypes,
30590 which can conflict with char $ac_func (); below.
30591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30592 <limits.h> exists even on freestanding compilers. */
30593 #ifdef __STDC__
30594 # include <limits.h>
30595 #else
30596 # include <assert.h>
30597 #endif
30598 /* Override any gcc2 internal prototype to avoid an error. */
30599 #ifdef __cplusplus
30600 extern "C"
30602 #endif
30603 /* We use char because int might match the return type of a gcc2
30604 builtin and then its argument prototype would still apply. */
30605 char $ac_func ();
30606 /* The GNU C library defines this for functions which it implements
30607 to always fail with ENOSYS. Some functions are actually named
30608 something starting with __ and the normal name is an alias. */
30609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30610 choke me
30611 #else
30612 char (*f) () = $ac_func;
30613 #endif
30614 #ifdef __cplusplus
30616 #endif
30619 main ()
30621 return f != $ac_func;
30623 return 0;
30625 _ACEOF
30626 rm -f conftest.$ac_objext conftest$ac_exeext
30627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30628 (eval $ac_link) 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); } &&
30632 { ac_try='test -s conftest$ac_exeext'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30635 ac_status=$?
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; }; then
30638 eval "$as_ac_var=yes"
30639 else
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30643 eval "$as_ac_var=no"
30645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30649 if test `eval echo '${'$as_ac_var'}'` = yes; then
30650 cat >>confdefs.h <<_ACEOF
30651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30652 _ACEOF
30655 done
30660 echo "$as_me:$LINENO: checking for float round functions" >&5
30661 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30662 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30663 echo $ECHO_N "(cached) $ECHO_C" >&6
30664 else
30668 ac_ext=cc
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674 cat >conftest.$ac_ext <<_ACEOF
30675 #line $LINENO "configure"
30676 /* confdefs.h. */
30677 _ACEOF
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30681 #include <math.h>
30683 main ()
30685 `for x in ceilf floorf; do echo "$x (0);"; done`
30687 return 0;
30689 _ACEOF
30690 rm -f conftest.$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>&5
30693 ac_status=$?
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } &&
30696 { ac_try='test -s conftest.$ac_objext'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30699 ac_status=$?
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; }; then
30702 glibcxx_cv_func_float_round_use=yes
30703 else
30704 echo "$as_me: failed program was:" >&5
30705 sed 's/^/| /' conftest.$ac_ext >&5
30707 glibcxx_cv_func_float_round_use=no
30709 rm -f conftest.$ac_objext conftest.$ac_ext
30710 ac_ext=c
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30719 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30720 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30723 for ac_func in ceilf floorf
30725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 echo "$as_me:$LINENO: checking for $ac_func" >&5
30727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30728 if eval "test \"\${$as_ac_var+set}\" = set"; then
30729 echo $ECHO_N "(cached) $ECHO_C" >&6
30730 else
30731 if test x$gcc_no_link = xyes; then
30732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30734 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
30744 which can conflict with char $ac_func (); below.
30745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30746 <limits.h> exists even on freestanding compilers. */
30747 #ifdef __STDC__
30748 # include <limits.h>
30749 #else
30750 # include <assert.h>
30751 #endif
30752 /* Override any gcc2 internal prototype to avoid an error. */
30753 #ifdef __cplusplus
30754 extern "C"
30756 #endif
30757 /* We use char because int might match the return type of a gcc2
30758 builtin and then its argument prototype would still apply. */
30759 char $ac_func ();
30760 /* The GNU C library defines this for functions which it implements
30761 to always fail with ENOSYS. Some functions are actually named
30762 something starting with __ and the normal name is an alias. */
30763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30764 choke me
30765 #else
30766 char (*f) () = $ac_func;
30767 #endif
30768 #ifdef __cplusplus
30770 #endif
30773 main ()
30775 return f != $ac_func;
30777 return 0;
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>&5
30783 ac_status=$?
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } &&
30786 { ac_try='test -s conftest$ac_exeext'
30787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788 (eval $ac_try) 2>&5
30789 ac_status=$?
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); }; }; then
30792 eval "$as_ac_var=yes"
30793 else
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.$ac_ext >&5
30797 eval "$as_ac_var=no"
30799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30803 if test `eval echo '${'$as_ac_var'}'` = yes; then
30804 cat >>confdefs.h <<_ACEOF
30805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30806 _ACEOF
30809 done
30815 echo "$as_me:$LINENO: checking for expf declaration" >&5
30816 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30817 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30818 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 else
30824 ac_ext=cc
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30830 cat >conftest.$ac_ext <<_ACEOF
30831 #line $LINENO "configure"
30832 /* confdefs.h. */
30833 _ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837 #include <math.h>
30838 #ifdef HAVE_IEEEFP_H
30839 #include <ieeefp.h>
30840 #endif
30843 main ()
30845 expf(0);
30847 return 0;
30849 _ACEOF
30850 rm -f conftest.$ac_objext
30851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30852 (eval $ac_compile) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } &&
30856 { ac_try='test -s conftest.$ac_objext'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; }; then
30862 glibcxx_cv_func_expf_use=yes
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30867 glibcxx_cv_func_expf_use=no
30869 rm -f conftest.$ac_objext conftest.$ac_ext
30870 ac_ext=c
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30881 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30883 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30885 for ac_func in expf
30887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30888 echo "$as_me:$LINENO: checking for $ac_func" >&5
30889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30890 if eval "test \"\${$as_ac_var+set}\" = set"; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 else
30893 if test x$gcc_no_link = xyes; then
30894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30896 { (exit 1); exit 1; }; }
30898 cat >conftest.$ac_ext <<_ACEOF
30899 #line $LINENO "configure"
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 /* System header to define __stub macros and hopefully few prototypes,
30906 which can conflict with char $ac_func (); below.
30907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30908 <limits.h> exists even on freestanding compilers. */
30909 #ifdef __STDC__
30910 # include <limits.h>
30911 #else
30912 # include <assert.h>
30913 #endif
30914 /* Override any gcc2 internal prototype to avoid an error. */
30915 #ifdef __cplusplus
30916 extern "C"
30918 #endif
30919 /* We use char because int might match the return type of a gcc2
30920 builtin and then its argument prototype would still apply. */
30921 char $ac_func ();
30922 /* The GNU C library defines this for functions which it implements
30923 to always fail with ENOSYS. Some functions are actually named
30924 something starting with __ and the normal name is an alias. */
30925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30926 choke me
30927 #else
30928 char (*f) () = $ac_func;
30929 #endif
30930 #ifdef __cplusplus
30932 #endif
30935 main ()
30937 return f != $ac_func;
30939 return 0;
30941 _ACEOF
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30944 (eval $ac_link) 2>&5
30945 ac_status=$?
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); } &&
30948 { ac_try='test -s conftest$ac_exeext'
30949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30950 (eval $ac_try) 2>&5
30951 ac_status=$?
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; }; then
30954 eval "$as_ac_var=yes"
30955 else
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30959 eval "$as_ac_var=no"
30961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30965 if test `eval echo '${'$as_ac_var'}'` = yes; then
30966 cat >>confdefs.h <<_ACEOF
30967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30968 _ACEOF
30971 done
30973 else
30975 echo "$as_me:$LINENO: checking for _expf declaration" >&5
30976 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30977 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30978 if test "${glibcxx_cv_func__expf_use+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 else
30984 ac_ext=cc
30985 ac_cpp='$CXXCPP $CPPFLAGS'
30986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30990 cat >conftest.$ac_ext <<_ACEOF
30991 #line $LINENO "configure"
30992 /* confdefs.h. */
30993 _ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997 #include <math.h>
30998 #ifdef HAVE_IEEEFP_H
30999 #include <ieeefp.h>
31000 #endif
31003 main ()
31005 _expf(0);
31007 return 0;
31009 _ACEOF
31010 rm -f conftest.$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>&5
31013 ac_status=$?
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try='test -s conftest.$ac_objext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31019 ac_status=$?
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 glibcxx_cv_func__expf_use=yes
31023 else
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 glibcxx_cv_func__expf_use=no
31029 rm -f conftest.$ac_objext conftest.$ac_ext
31030 ac_ext=c
31031 ac_cpp='$CPP $CPPFLAGS'
31032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
31041 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
31043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31045 for ac_func in _expf
31047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31048 echo "$as_me:$LINENO: checking for $ac_func" >&5
31049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31050 if eval "test \"\${$as_ac_var+set}\" = set"; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31052 else
31053 if test x$gcc_no_link = xyes; then
31054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31056 { (exit 1); exit 1; }; }
31058 cat >conftest.$ac_ext <<_ACEOF
31059 #line $LINENO "configure"
31060 /* confdefs.h. */
31061 _ACEOF
31062 cat confdefs.h >>conftest.$ac_ext
31063 cat >>conftest.$ac_ext <<_ACEOF
31064 /* end confdefs.h. */
31065 /* System header to define __stub macros and hopefully few prototypes,
31066 which can conflict with char $ac_func (); below.
31067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31068 <limits.h> exists even on freestanding compilers. */
31069 #ifdef __STDC__
31070 # include <limits.h>
31071 #else
31072 # include <assert.h>
31073 #endif
31074 /* Override any gcc2 internal prototype to avoid an error. */
31075 #ifdef __cplusplus
31076 extern "C"
31078 #endif
31079 /* We use char because int might match the return type of a gcc2
31080 builtin and then its argument prototype would still apply. */
31081 char $ac_func ();
31082 /* The GNU C library defines this for functions which it implements
31083 to always fail with ENOSYS. Some functions are actually named
31084 something starting with __ and the normal name is an alias. */
31085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31086 choke me
31087 #else
31088 char (*f) () = $ac_func;
31089 #endif
31090 #ifdef __cplusplus
31092 #endif
31095 main ()
31097 return f != $ac_func;
31099 return 0;
31101 _ACEOF
31102 rm -f conftest.$ac_objext conftest$ac_exeext
31103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31104 (eval $ac_link) 2>&5
31105 ac_status=$?
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } &&
31108 { ac_try='test -s conftest$ac_exeext'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; }; then
31114 eval "$as_ac_var=yes"
31115 else
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.$ac_ext >&5
31119 eval "$as_ac_var=no"
31121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31125 if test `eval echo '${'$as_ac_var'}'` = yes; then
31126 cat >>confdefs.h <<_ACEOF
31127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31128 _ACEOF
31131 done
31138 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31139 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31140 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31141 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31142 echo $ECHO_N "(cached) $ECHO_C" >&6
31143 else
31147 ac_ext=cc
31148 ac_cpp='$CXXCPP $CPPFLAGS'
31149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31153 cat >conftest.$ac_ext <<_ACEOF
31154 #line $LINENO "configure"
31155 /* confdefs.h. */
31156 _ACEOF
31157 cat confdefs.h >>conftest.$ac_ext
31158 cat >>conftest.$ac_ext <<_ACEOF
31159 /* end confdefs.h. */
31160 #include <math.h>
31161 #ifdef HAVE_IEEEFP_H
31162 #include <ieeefp.h>
31163 #endif
31166 main ()
31168 isnanf(0);
31170 return 0;
31172 _ACEOF
31173 rm -f conftest.$ac_objext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31175 (eval $ac_compile) 2>&5
31176 ac_status=$?
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } &&
31179 { ac_try='test -s conftest.$ac_objext'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31182 ac_status=$?
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; }; then
31185 glibcxx_cv_func_isnanf_use=yes
31186 else
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31190 glibcxx_cv_func_isnanf_use=no
31192 rm -f conftest.$ac_objext conftest.$ac_ext
31193 ac_ext=c
31194 ac_cpp='$CPP $CPPFLAGS'
31195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31204 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31206 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31208 for ac_func in isnanf
31210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31211 echo "$as_me:$LINENO: checking for $ac_func" >&5
31212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31213 if eval "test \"\${$as_ac_var+set}\" = set"; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 else
31216 if test x$gcc_no_link = xyes; then
31217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31219 { (exit 1); exit 1; }; }
31221 cat >conftest.$ac_ext <<_ACEOF
31222 #line $LINENO "configure"
31223 /* confdefs.h. */
31224 _ACEOF
31225 cat confdefs.h >>conftest.$ac_ext
31226 cat >>conftest.$ac_ext <<_ACEOF
31227 /* end confdefs.h. */
31228 /* System header to define __stub macros and hopefully few prototypes,
31229 which can conflict with char $ac_func (); below.
31230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31231 <limits.h> exists even on freestanding compilers. */
31232 #ifdef __STDC__
31233 # include <limits.h>
31234 #else
31235 # include <assert.h>
31236 #endif
31237 /* Override any gcc2 internal prototype to avoid an error. */
31238 #ifdef __cplusplus
31239 extern "C"
31241 #endif
31242 /* We use char because int might match the return type of a gcc2
31243 builtin and then its argument prototype would still apply. */
31244 char $ac_func ();
31245 /* The GNU C library defines this for functions which it implements
31246 to always fail with ENOSYS. Some functions are actually named
31247 something starting with __ and the normal name is an alias. */
31248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31249 choke me
31250 #else
31251 char (*f) () = $ac_func;
31252 #endif
31253 #ifdef __cplusplus
31255 #endif
31258 main ()
31260 return f != $ac_func;
31262 return 0;
31264 _ACEOF
31265 rm -f conftest.$ac_objext conftest$ac_exeext
31266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31267 (eval $ac_link) 2>&5
31268 ac_status=$?
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); } &&
31271 { ac_try='test -s conftest$ac_exeext'
31272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31273 (eval $ac_try) 2>&5
31274 ac_status=$?
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); }; }; then
31277 eval "$as_ac_var=yes"
31278 else
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31282 eval "$as_ac_var=no"
31284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31288 if test `eval echo '${'$as_ac_var'}'` = yes; then
31289 cat >>confdefs.h <<_ACEOF
31290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31291 _ACEOF
31294 done
31296 else
31298 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31299 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31300 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31301 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31303 else
31307 ac_ext=cc
31308 ac_cpp='$CXXCPP $CPPFLAGS'
31309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31313 cat >conftest.$ac_ext <<_ACEOF
31314 #line $LINENO "configure"
31315 /* confdefs.h. */
31316 _ACEOF
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31320 #include <math.h>
31321 #ifdef HAVE_IEEEFP_H
31322 #include <ieeefp.h>
31323 #endif
31326 main ()
31328 _isnanf(0);
31330 return 0;
31332 _ACEOF
31333 rm -f conftest.$ac_objext
31334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31335 (eval $ac_compile) 2>&5
31336 ac_status=$?
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } &&
31339 { ac_try='test -s conftest.$ac_objext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31345 glibcxx_cv_func__isnanf_use=yes
31346 else
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.$ac_ext >&5
31350 glibcxx_cv_func__isnanf_use=no
31352 rm -f conftest.$ac_objext conftest.$ac_ext
31353 ac_ext=c
31354 ac_cpp='$CPP $CPPFLAGS'
31355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31364 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31366 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31368 for ac_func in _isnanf
31370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31371 echo "$as_me:$LINENO: checking for $ac_func" >&5
31372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31373 if eval "test \"\${$as_ac_var+set}\" = set"; then
31374 echo $ECHO_N "(cached) $ECHO_C" >&6
31375 else
31376 if test x$gcc_no_link = xyes; then
31377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31379 { (exit 1); exit 1; }; }
31381 cat >conftest.$ac_ext <<_ACEOF
31382 #line $LINENO "configure"
31383 /* confdefs.h. */
31384 _ACEOF
31385 cat confdefs.h >>conftest.$ac_ext
31386 cat >>conftest.$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31388 /* System header to define __stub macros and hopefully few prototypes,
31389 which can conflict with char $ac_func (); below.
31390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31391 <limits.h> exists even on freestanding compilers. */
31392 #ifdef __STDC__
31393 # include <limits.h>
31394 #else
31395 # include <assert.h>
31396 #endif
31397 /* Override any gcc2 internal prototype to avoid an error. */
31398 #ifdef __cplusplus
31399 extern "C"
31401 #endif
31402 /* We use char because int might match the return type of a gcc2
31403 builtin and then its argument prototype would still apply. */
31404 char $ac_func ();
31405 /* The GNU C library defines this for functions which it implements
31406 to always fail with ENOSYS. Some functions are actually named
31407 something starting with __ and the normal name is an alias. */
31408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31409 choke me
31410 #else
31411 char (*f) () = $ac_func;
31412 #endif
31413 #ifdef __cplusplus
31415 #endif
31418 main ()
31420 return f != $ac_func;
31422 return 0;
31424 _ACEOF
31425 rm -f conftest.$ac_objext conftest$ac_exeext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31427 (eval $ac_link) 2>&5
31428 ac_status=$?
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } &&
31431 { ac_try='test -s conftest$ac_exeext'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31434 ac_status=$?
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; }; then
31437 eval "$as_ac_var=yes"
31438 else
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.$ac_ext >&5
31442 eval "$as_ac_var=no"
31444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31448 if test `eval echo '${'$as_ac_var'}'` = yes; then
31449 cat >>confdefs.h <<_ACEOF
31450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31451 _ACEOF
31454 done
31461 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31462 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31463 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31464 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 else
31470 ac_ext=cc
31471 ac_cpp='$CXXCPP $CPPFLAGS'
31472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476 cat >conftest.$ac_ext <<_ACEOF
31477 #line $LINENO "configure"
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31486 #endif
31489 main ()
31491 isinff(0);
31493 return 0;
31495 _ACEOF
31496 rm -f conftest.$ac_objext
31497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31498 (eval $ac_compile) 2>&5
31499 ac_status=$?
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try='test -s conftest.$ac_objext'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; }; then
31508 glibcxx_cv_func_isinff_use=yes
31509 else
31510 echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.$ac_ext >&5
31513 glibcxx_cv_func_isinff_use=no
31515 rm -f conftest.$ac_objext conftest.$ac_ext
31516 ac_ext=c
31517 ac_cpp='$CPP $CPPFLAGS'
31518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31527 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31529 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31531 for ac_func in isinff
31533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31534 echo "$as_me:$LINENO: checking for $ac_func" >&5
31535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31536 if eval "test \"\${$as_ac_var+set}\" = set"; then
31537 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 else
31539 if test x$gcc_no_link = xyes; then
31540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31542 { (exit 1); exit 1; }; }
31544 cat >conftest.$ac_ext <<_ACEOF
31545 #line $LINENO "configure"
31546 /* confdefs.h. */
31547 _ACEOF
31548 cat confdefs.h >>conftest.$ac_ext
31549 cat >>conftest.$ac_ext <<_ACEOF
31550 /* end confdefs.h. */
31551 /* System header to define __stub macros and hopefully few prototypes,
31552 which can conflict with char $ac_func (); below.
31553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31554 <limits.h> exists even on freestanding compilers. */
31555 #ifdef __STDC__
31556 # include <limits.h>
31557 #else
31558 # include <assert.h>
31559 #endif
31560 /* Override any gcc2 internal prototype to avoid an error. */
31561 #ifdef __cplusplus
31562 extern "C"
31564 #endif
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31567 char $ac_func ();
31568 /* The GNU C library defines this for functions which it implements
31569 to always fail with ENOSYS. Some functions are actually named
31570 something starting with __ and the normal name is an alias. */
31571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31572 choke me
31573 #else
31574 char (*f) () = $ac_func;
31575 #endif
31576 #ifdef __cplusplus
31578 #endif
31581 main ()
31583 return f != $ac_func;
31585 return 0;
31587 _ACEOF
31588 rm -f conftest.$ac_objext conftest$ac_exeext
31589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31590 (eval $ac_link) 2>&5
31591 ac_status=$?
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); } &&
31594 { ac_try='test -s conftest$ac_exeext'
31595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31596 (eval $ac_try) 2>&5
31597 ac_status=$?
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; }; then
31600 eval "$as_ac_var=yes"
31601 else
31602 echo "$as_me: failed program was:" >&5
31603 sed 's/^/| /' conftest.$ac_ext >&5
31605 eval "$as_ac_var=no"
31607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31611 if test `eval echo '${'$as_ac_var'}'` = yes; then
31612 cat >>confdefs.h <<_ACEOF
31613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31614 _ACEOF
31617 done
31619 else
31621 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31622 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31623 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31624 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31625 echo $ECHO_N "(cached) $ECHO_C" >&6
31626 else
31630 ac_ext=cc
31631 ac_cpp='$CXXCPP $CPPFLAGS'
31632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636 cat >conftest.$ac_ext <<_ACEOF
31637 #line $LINENO "configure"
31638 /* confdefs.h. */
31639 _ACEOF
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h. */
31643 #include <math.h>
31644 #ifdef HAVE_IEEEFP_H
31645 #include <ieeefp.h>
31646 #endif
31649 main ()
31651 _isinff(0);
31653 return 0;
31655 _ACEOF
31656 rm -f conftest.$ac_objext
31657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31658 (eval $ac_compile) 2>&5
31659 ac_status=$?
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -s conftest.$ac_objext'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31665 ac_status=$?
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; }; then
31668 glibcxx_cv_func__isinff_use=yes
31669 else
31670 echo "$as_me: failed program was:" >&5
31671 sed 's/^/| /' conftest.$ac_ext >&5
31673 glibcxx_cv_func__isinff_use=no
31675 rm -f conftest.$ac_objext conftest.$ac_ext
31676 ac_ext=c
31677 ac_cpp='$CPP $CPPFLAGS'
31678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31687 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31689 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31691 for ac_func in _isinff
31693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31694 echo "$as_me:$LINENO: checking for $ac_func" >&5
31695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31696 if eval "test \"\${$as_ac_var+set}\" = set"; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 else
31699 if test x$gcc_no_link = xyes; then
31700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31702 { (exit 1); exit 1; }; }
31704 cat >conftest.$ac_ext <<_ACEOF
31705 #line $LINENO "configure"
31706 /* confdefs.h. */
31707 _ACEOF
31708 cat confdefs.h >>conftest.$ac_ext
31709 cat >>conftest.$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 /* System header to define __stub macros and hopefully few prototypes,
31712 which can conflict with char $ac_func (); below.
31713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31714 <limits.h> exists even on freestanding compilers. */
31715 #ifdef __STDC__
31716 # include <limits.h>
31717 #else
31718 # include <assert.h>
31719 #endif
31720 /* Override any gcc2 internal prototype to avoid an error. */
31721 #ifdef __cplusplus
31722 extern "C"
31724 #endif
31725 /* We use char because int might match the return type of a gcc2
31726 builtin and then its argument prototype would still apply. */
31727 char $ac_func ();
31728 /* The GNU C library defines this for functions which it implements
31729 to always fail with ENOSYS. Some functions are actually named
31730 something starting with __ and the normal name is an alias. */
31731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31732 choke me
31733 #else
31734 char (*f) () = $ac_func;
31735 #endif
31736 #ifdef __cplusplus
31738 #endif
31741 main ()
31743 return f != $ac_func;
31745 return 0;
31747 _ACEOF
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } &&
31754 { ac_try='test -s conftest$ac_exeext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31757 ac_status=$?
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 eval "$as_ac_var=yes"
31761 else
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31765 eval "$as_ac_var=no"
31767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31771 if test `eval echo '${'$as_ac_var'}'` = yes; then
31772 cat >>confdefs.h <<_ACEOF
31773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31774 _ACEOF
31777 done
31784 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31785 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31786 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31787 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31788 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 else
31793 ac_ext=cc
31794 ac_cpp='$CXXCPP $CPPFLAGS'
31795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31799 cat >conftest.$ac_ext <<_ACEOF
31800 #line $LINENO "configure"
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 #include <math.h>
31808 main ()
31810 atan2f(0, 0);
31812 return 0;
31814 _ACEOF
31815 rm -f conftest.$ac_objext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31817 (eval $ac_compile) 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -s conftest.$ac_objext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31824 ac_status=$?
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 glibcxx_cv_func_atan2f_use=yes
31828 else
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31832 glibcxx_cv_func_atan2f_use=no
31834 rm -f conftest.$ac_objext conftest.$ac_ext
31835 ac_ext=c
31836 ac_cpp='$CPP $CPPFLAGS'
31837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31846 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31848 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31850 for ac_func in atan2f
31852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31853 echo "$as_me:$LINENO: checking for $ac_func" >&5
31854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31855 if eval "test \"\${$as_ac_var+set}\" = set"; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 else
31858 if test x$gcc_no_link = xyes; then
31859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31861 { (exit 1); exit 1; }; }
31863 cat >conftest.$ac_ext <<_ACEOF
31864 #line $LINENO "configure"
31865 /* confdefs.h. */
31866 _ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31870 /* System header to define __stub macros and hopefully few prototypes,
31871 which can conflict with char $ac_func (); below.
31872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31873 <limits.h> exists even on freestanding compilers. */
31874 #ifdef __STDC__
31875 # include <limits.h>
31876 #else
31877 # include <assert.h>
31878 #endif
31879 /* Override any gcc2 internal prototype to avoid an error. */
31880 #ifdef __cplusplus
31881 extern "C"
31883 #endif
31884 /* We use char because int might match the return type of a gcc2
31885 builtin and then its argument prototype would still apply. */
31886 char $ac_func ();
31887 /* The GNU C library defines this for functions which it implements
31888 to always fail with ENOSYS. Some functions are actually named
31889 something starting with __ and the normal name is an alias. */
31890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31891 choke me
31892 #else
31893 char (*f) () = $ac_func;
31894 #endif
31895 #ifdef __cplusplus
31897 #endif
31900 main ()
31902 return f != $ac_func;
31904 return 0;
31906 _ACEOF
31907 rm -f conftest.$ac_objext conftest$ac_exeext
31908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31909 (eval $ac_link) 2>&5
31910 ac_status=$?
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); } &&
31913 { ac_try='test -s conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31916 ac_status=$?
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31919 eval "$as_ac_var=yes"
31920 else
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31924 eval "$as_ac_var=no"
31926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31930 if test `eval echo '${'$as_ac_var'}'` = yes; then
31931 cat >>confdefs.h <<_ACEOF
31932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31933 _ACEOF
31936 done
31938 else
31940 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31941 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31942 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31943 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 else
31949 ac_ext=cc
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat >conftest.$ac_ext <<_ACEOF
31956 #line $LINENO "configure"
31957 /* confdefs.h. */
31958 _ACEOF
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31962 #include <math.h>
31964 main ()
31966 _atan2f(0, 0);
31968 return 0;
31970 _ACEOF
31971 rm -f conftest.$ac_objext
31972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31973 (eval $ac_compile) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } &&
31977 { ac_try='test -s conftest.$ac_objext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 glibcxx_cv_func__atan2f_use=yes
31984 else
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31988 glibcxx_cv_func__atan2f_use=no
31990 rm -f conftest.$ac_objext conftest.$ac_ext
31991 ac_ext=c
31992 ac_cpp='$CPP $CPPFLAGS'
31993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
32002 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
32004 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
32006 for ac_func in _atan2f
32008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32009 echo "$as_me:$LINENO: checking for $ac_func" >&5
32010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32011 if eval "test \"\${$as_ac_var+set}\" = set"; then
32012 echo $ECHO_N "(cached) $ECHO_C" >&6
32013 else
32014 if test x$gcc_no_link = xyes; then
32015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32017 { (exit 1); exit 1; }; }
32019 cat >conftest.$ac_ext <<_ACEOF
32020 #line $LINENO "configure"
32021 /* confdefs.h. */
32022 _ACEOF
32023 cat confdefs.h >>conftest.$ac_ext
32024 cat >>conftest.$ac_ext <<_ACEOF
32025 /* end confdefs.h. */
32026 /* System header to define __stub macros and hopefully few prototypes,
32027 which can conflict with char $ac_func (); below.
32028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32029 <limits.h> exists even on freestanding compilers. */
32030 #ifdef __STDC__
32031 # include <limits.h>
32032 #else
32033 # include <assert.h>
32034 #endif
32035 /* Override any gcc2 internal prototype to avoid an error. */
32036 #ifdef __cplusplus
32037 extern "C"
32039 #endif
32040 /* We use char because int might match the return type of a gcc2
32041 builtin and then its argument prototype would still apply. */
32042 char $ac_func ();
32043 /* The GNU C library defines this for functions which it implements
32044 to always fail with ENOSYS. Some functions are actually named
32045 something starting with __ and the normal name is an alias. */
32046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32047 choke me
32048 #else
32049 char (*f) () = $ac_func;
32050 #endif
32051 #ifdef __cplusplus
32053 #endif
32056 main ()
32058 return f != $ac_func;
32060 return 0;
32062 _ACEOF
32063 rm -f conftest.$ac_objext conftest$ac_exeext
32064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32065 (eval $ac_link) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try='test -s conftest$ac_exeext'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32072 ac_status=$?
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; }; then
32075 eval "$as_ac_var=yes"
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32080 eval "$as_ac_var=no"
32082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32086 if test `eval echo '${'$as_ac_var'}'` = yes; then
32087 cat >>confdefs.h <<_ACEOF
32088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32089 _ACEOF
32092 done
32099 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32100 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32101 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32102 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32103 echo $ECHO_N "(cached) $ECHO_C" >&6
32104 else
32108 ac_ext=cc
32109 ac_cpp='$CXXCPP $CPPFLAGS'
32110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32114 cat >conftest.$ac_ext <<_ACEOF
32115 #line $LINENO "configure"
32116 /* confdefs.h. */
32117 _ACEOF
32118 cat confdefs.h >>conftest.$ac_ext
32119 cat >>conftest.$ac_ext <<_ACEOF
32120 /* end confdefs.h. */
32121 #include <math.h>
32122 #ifdef HAVE_IEEEFP_H
32123 #include <ieeefp.h>
32124 #endif
32127 main ()
32129 fabsf(0);
32131 return 0;
32133 _ACEOF
32134 rm -f conftest.$ac_objext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32136 (eval $ac_compile) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -s conftest.$ac_objext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32146 glibcxx_cv_func_fabsf_use=yes
32147 else
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32151 glibcxx_cv_func_fabsf_use=no
32153 rm -f conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32165 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32169 for ac_func in fabsf
32171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32172 echo "$as_me:$LINENO: checking for $ac_func" >&5
32173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32174 if eval "test \"\${$as_ac_var+set}\" = set"; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32176 else
32177 if test x$gcc_no_link = xyes; then
32178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32180 { (exit 1); exit 1; }; }
32182 cat >conftest.$ac_ext <<_ACEOF
32183 #line $LINENO "configure"
32184 /* confdefs.h. */
32185 _ACEOF
32186 cat confdefs.h >>conftest.$ac_ext
32187 cat >>conftest.$ac_ext <<_ACEOF
32188 /* end confdefs.h. */
32189 /* System header to define __stub macros and hopefully few prototypes,
32190 which can conflict with char $ac_func (); below.
32191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32192 <limits.h> exists even on freestanding compilers. */
32193 #ifdef __STDC__
32194 # include <limits.h>
32195 #else
32196 # include <assert.h>
32197 #endif
32198 /* Override any gcc2 internal prototype to avoid an error. */
32199 #ifdef __cplusplus
32200 extern "C"
32202 #endif
32203 /* We use char because int might match the return type of a gcc2
32204 builtin and then its argument prototype would still apply. */
32205 char $ac_func ();
32206 /* The GNU C library defines this for functions which it implements
32207 to always fail with ENOSYS. Some functions are actually named
32208 something starting with __ and the normal name is an alias. */
32209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32210 choke me
32211 #else
32212 char (*f) () = $ac_func;
32213 #endif
32214 #ifdef __cplusplus
32216 #endif
32219 main ()
32221 return f != $ac_func;
32223 return 0;
32225 _ACEOF
32226 rm -f conftest.$ac_objext conftest$ac_exeext
32227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32228 (eval $ac_link) 2>&5
32229 ac_status=$?
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); } &&
32232 { ac_try='test -s conftest$ac_exeext'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 eval "$as_ac_var=yes"
32239 else
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32243 eval "$as_ac_var=no"
32245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32249 if test `eval echo '${'$as_ac_var'}'` = yes; then
32250 cat >>confdefs.h <<_ACEOF
32251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32252 _ACEOF
32255 done
32257 else
32259 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32260 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32263 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 else
32268 ac_ext=cc
32269 ac_cpp='$CXXCPP $CPPFLAGS'
32270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274 cat >conftest.$ac_ext <<_ACEOF
32275 #line $LINENO "configure"
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281 #include <math.h>
32282 #ifdef HAVE_IEEEFP_H
32283 #include <ieeefp.h>
32284 #endif
32287 main ()
32289 _fabsf(0);
32291 return 0;
32293 _ACEOF
32294 rm -f conftest.$ac_objext
32295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32296 (eval $ac_compile) 2>&5
32297 ac_status=$?
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try='test -s conftest.$ac_objext'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32303 ac_status=$?
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; }; then
32306 glibcxx_cv_func__fabsf_use=yes
32307 else
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.$ac_ext >&5
32311 glibcxx_cv_func__fabsf_use=no
32313 rm -f conftest.$ac_objext conftest.$ac_ext
32314 ac_ext=c
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32325 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32327 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32329 for ac_func in _fabsf
32331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32332 echo "$as_me:$LINENO: checking for $ac_func" >&5
32333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32334 if eval "test \"\${$as_ac_var+set}\" = set"; then
32335 echo $ECHO_N "(cached) $ECHO_C" >&6
32336 else
32337 if test x$gcc_no_link = xyes; then
32338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32340 { (exit 1); exit 1; }; }
32342 cat >conftest.$ac_ext <<_ACEOF
32343 #line $LINENO "configure"
32344 /* confdefs.h. */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 /* System header to define __stub macros and hopefully few prototypes,
32350 which can conflict with char $ac_func (); below.
32351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32352 <limits.h> exists even on freestanding compilers. */
32353 #ifdef __STDC__
32354 # include <limits.h>
32355 #else
32356 # include <assert.h>
32357 #endif
32358 /* Override any gcc2 internal prototype to avoid an error. */
32359 #ifdef __cplusplus
32360 extern "C"
32362 #endif
32363 /* We use char because int might match the return type of a gcc2
32364 builtin and then its argument prototype would still apply. */
32365 char $ac_func ();
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32370 choke me
32371 #else
32372 char (*f) () = $ac_func;
32373 #endif
32374 #ifdef __cplusplus
32376 #endif
32379 main ()
32381 return f != $ac_func;
32383 return 0;
32385 _ACEOF
32386 rm -f conftest.$ac_objext conftest$ac_exeext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32388 (eval $ac_link) 2>&5
32389 ac_status=$?
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -s conftest$ac_exeext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 eval "$as_ac_var=yes"
32399 else
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 eval "$as_ac_var=no"
32405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32409 if test `eval echo '${'$as_ac_var'}'` = yes; then
32410 cat >>confdefs.h <<_ACEOF
32411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32412 _ACEOF
32415 done
32422 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32423 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32424 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32425 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32426 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 else
32431 ac_ext=cc
32432 ac_cpp='$CXXCPP $CPPFLAGS'
32433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32437 cat >conftest.$ac_ext <<_ACEOF
32438 #line $LINENO "configure"
32439 /* confdefs.h. */
32440 _ACEOF
32441 cat confdefs.h >>conftest.$ac_ext
32442 cat >>conftest.$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32444 #include <math.h>
32446 main ()
32448 fmodf(0, 0);
32450 return 0;
32452 _ACEOF
32453 rm -f conftest.$ac_objext
32454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32455 (eval $ac_compile) 2>&5
32456 ac_status=$?
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } &&
32459 { ac_try='test -s conftest.$ac_objext'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; }; then
32465 glibcxx_cv_func_fmodf_use=yes
32466 else
32467 echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.$ac_ext >&5
32470 glibcxx_cv_func_fmodf_use=no
32472 rm -f conftest.$ac_objext conftest.$ac_ext
32473 ac_ext=c
32474 ac_cpp='$CPP $CPPFLAGS'
32475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32484 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32486 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32488 for ac_func in fmodf
32490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32491 echo "$as_me:$LINENO: checking for $ac_func" >&5
32492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32493 if eval "test \"\${$as_ac_var+set}\" = set"; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32495 else
32496 if test x$gcc_no_link = xyes; then
32497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32499 { (exit 1); exit 1; }; }
32501 cat >conftest.$ac_ext <<_ACEOF
32502 #line $LINENO "configure"
32503 /* confdefs.h. */
32504 _ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char $ac_func (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32512 #ifdef __STDC__
32513 # include <limits.h>
32514 #else
32515 # include <assert.h>
32516 #endif
32517 /* Override any gcc2 internal prototype to avoid an error. */
32518 #ifdef __cplusplus
32519 extern "C"
32521 #endif
32522 /* We use char because int might match the return type of a gcc2
32523 builtin and then its argument prototype would still apply. */
32524 char $ac_func ();
32525 /* The GNU C library defines this for functions which it implements
32526 to always fail with ENOSYS. Some functions are actually named
32527 something starting with __ and the normal name is an alias. */
32528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32529 choke me
32530 #else
32531 char (*f) () = $ac_func;
32532 #endif
32533 #ifdef __cplusplus
32535 #endif
32538 main ()
32540 return f != $ac_func;
32542 return 0;
32544 _ACEOF
32545 rm -f conftest.$ac_objext conftest$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>&5
32548 ac_status=$?
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } &&
32551 { ac_try='test -s conftest$ac_exeext'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32554 ac_status=$?
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; }; then
32557 eval "$as_ac_var=yes"
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32562 eval "$as_ac_var=no"
32564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32568 if test `eval echo '${'$as_ac_var'}'` = yes; then
32569 cat >>confdefs.h <<_ACEOF
32570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32571 _ACEOF
32574 done
32576 else
32578 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32579 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32580 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32581 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32583 else
32587 ac_ext=cc
32588 ac_cpp='$CXXCPP $CPPFLAGS'
32589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593 cat >conftest.$ac_ext <<_ACEOF
32594 #line $LINENO "configure"
32595 /* confdefs.h. */
32596 _ACEOF
32597 cat confdefs.h >>conftest.$ac_ext
32598 cat >>conftest.$ac_ext <<_ACEOF
32599 /* end confdefs.h. */
32600 #include <math.h>
32602 main ()
32604 _fmodf(0, 0);
32606 return 0;
32608 _ACEOF
32609 rm -f conftest.$ac_objext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32611 (eval $ac_compile) 2>&5
32612 ac_status=$?
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); } &&
32615 { ac_try='test -s conftest.$ac_objext'
32616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617 (eval $ac_try) 2>&5
32618 ac_status=$?
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; }; then
32621 glibcxx_cv_func__fmodf_use=yes
32622 else
32623 echo "$as_me: failed program was:" >&5
32624 sed 's/^/| /' conftest.$ac_ext >&5
32626 glibcxx_cv_func__fmodf_use=no
32628 rm -f conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32640 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32642 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32644 for ac_func in _fmodf
32646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32647 echo "$as_me:$LINENO: checking for $ac_func" >&5
32648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32649 if eval "test \"\${$as_ac_var+set}\" = set"; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652 if test x$gcc_no_link = xyes; then
32653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32655 { (exit 1); exit 1; }; }
32657 cat >conftest.$ac_ext <<_ACEOF
32658 #line $LINENO "configure"
32659 /* confdefs.h. */
32660 _ACEOF
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32664 /* System header to define __stub macros and hopefully few prototypes,
32665 which can conflict with char $ac_func (); below.
32666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32667 <limits.h> exists even on freestanding compilers. */
32668 #ifdef __STDC__
32669 # include <limits.h>
32670 #else
32671 # include <assert.h>
32672 #endif
32673 /* Override any gcc2 internal prototype to avoid an error. */
32674 #ifdef __cplusplus
32675 extern "C"
32677 #endif
32678 /* We use char because int might match the return type of a gcc2
32679 builtin and then its argument prototype would still apply. */
32680 char $ac_func ();
32681 /* The GNU C library defines this for functions which it implements
32682 to always fail with ENOSYS. Some functions are actually named
32683 something starting with __ and the normal name is an alias. */
32684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32685 choke me
32686 #else
32687 char (*f) () = $ac_func;
32688 #endif
32689 #ifdef __cplusplus
32691 #endif
32694 main ()
32696 return f != $ac_func;
32698 return 0;
32700 _ACEOF
32701 rm -f conftest.$ac_objext conftest$ac_exeext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32703 (eval $ac_link) 2>&5
32704 ac_status=$?
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try='test -s conftest$ac_exeext'
32708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32709 (eval $ac_try) 2>&5
32710 ac_status=$?
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); }; }; then
32713 eval "$as_ac_var=yes"
32714 else
32715 echo "$as_me: failed program was:" >&5
32716 sed 's/^/| /' conftest.$ac_ext >&5
32718 eval "$as_ac_var=no"
32720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32724 if test `eval echo '${'$as_ac_var'}'` = yes; then
32725 cat >>confdefs.h <<_ACEOF
32726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32727 _ACEOF
32730 done
32737 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32738 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32739 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32740 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32746 ac_ext=cc
32747 ac_cpp='$CXXCPP $CPPFLAGS'
32748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32752 cat >conftest.$ac_ext <<_ACEOF
32753 #line $LINENO "configure"
32754 /* confdefs.h. */
32755 _ACEOF
32756 cat confdefs.h >>conftest.$ac_ext
32757 cat >>conftest.$ac_ext <<_ACEOF
32758 /* end confdefs.h. */
32759 #include <math.h>
32761 main ()
32763 frexpf(0, 0);
32765 return 0;
32767 _ACEOF
32768 rm -f conftest.$ac_objext
32769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32770 (eval $ac_compile) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } &&
32774 { ac_try='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32777 ac_status=$?
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 glibcxx_cv_func_frexpf_use=yes
32781 else
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32785 glibcxx_cv_func_frexpf_use=no
32787 rm -f conftest.$ac_objext conftest.$ac_ext
32788 ac_ext=c
32789 ac_cpp='$CPP $CPPFLAGS'
32790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32799 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32801 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32803 for ac_func in frexpf
32805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32806 echo "$as_me:$LINENO: checking for $ac_func" >&5
32807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32808 if eval "test \"\${$as_ac_var+set}\" = set"; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811 if test x$gcc_no_link = xyes; then
32812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32814 { (exit 1); exit 1; }; }
32816 cat >conftest.$ac_ext <<_ACEOF
32817 #line $LINENO "configure"
32818 /* confdefs.h. */
32819 _ACEOF
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32823 /* System header to define __stub macros and hopefully few prototypes,
32824 which can conflict with char $ac_func (); below.
32825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32826 <limits.h> exists even on freestanding compilers. */
32827 #ifdef __STDC__
32828 # include <limits.h>
32829 #else
32830 # include <assert.h>
32831 #endif
32832 /* Override any gcc2 internal prototype to avoid an error. */
32833 #ifdef __cplusplus
32834 extern "C"
32836 #endif
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32839 char $ac_func ();
32840 /* The GNU C library defines this for functions which it implements
32841 to always fail with ENOSYS. Some functions are actually named
32842 something starting with __ and the normal name is an alias. */
32843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32844 choke me
32845 #else
32846 char (*f) () = $ac_func;
32847 #endif
32848 #ifdef __cplusplus
32850 #endif
32853 main ()
32855 return f != $ac_func;
32857 return 0;
32859 _ACEOF
32860 rm -f conftest.$ac_objext conftest$ac_exeext
32861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32862 (eval $ac_link) 2>&5
32863 ac_status=$?
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try='test -s conftest$ac_exeext'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32869 ac_status=$?
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; }; then
32872 eval "$as_ac_var=yes"
32873 else
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32877 eval "$as_ac_var=no"
32879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32886 _ACEOF
32889 done
32891 else
32893 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32894 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32895 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32896 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32897 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 else
32902 ac_ext=cc
32903 ac_cpp='$CXXCPP $CPPFLAGS'
32904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32908 cat >conftest.$ac_ext <<_ACEOF
32909 #line $LINENO "configure"
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 #include <math.h>
32917 main ()
32919 _frexpf(0, 0);
32921 return 0;
32923 _ACEOF
32924 rm -f conftest.$ac_objext
32925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32926 (eval $ac_compile) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } &&
32930 { ac_try='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 glibcxx_cv_func__frexpf_use=yes
32937 else
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32941 glibcxx_cv_func__frexpf_use=no
32943 rm -f conftest.$ac_objext conftest.$ac_ext
32944 ac_ext=c
32945 ac_cpp='$CPP $CPPFLAGS'
32946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32955 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32957 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32959 for ac_func in _frexpf
32961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32962 echo "$as_me:$LINENO: checking for $ac_func" >&5
32963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32964 if eval "test \"\${$as_ac_var+set}\" = set"; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 if test x$gcc_no_link = xyes; then
32968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32970 { (exit 1); exit 1; }; }
32972 cat >conftest.$ac_ext <<_ACEOF
32973 #line $LINENO "configure"
32974 /* confdefs.h. */
32975 _ACEOF
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979 /* System header to define __stub macros and hopefully few prototypes,
32980 which can conflict with char $ac_func (); below.
32981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32982 <limits.h> exists even on freestanding compilers. */
32983 #ifdef __STDC__
32984 # include <limits.h>
32985 #else
32986 # include <assert.h>
32987 #endif
32988 /* Override any gcc2 internal prototype to avoid an error. */
32989 #ifdef __cplusplus
32990 extern "C"
32992 #endif
32993 /* We use char because int might match the return type of a gcc2
32994 builtin and then its argument prototype would still apply. */
32995 char $ac_func ();
32996 /* The GNU C library defines this for functions which it implements
32997 to always fail with ENOSYS. Some functions are actually named
32998 something starting with __ and the normal name is an alias. */
32999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33000 choke me
33001 #else
33002 char (*f) () = $ac_func;
33003 #endif
33004 #ifdef __cplusplus
33006 #endif
33009 main ()
33011 return f != $ac_func;
33013 return 0;
33015 _ACEOF
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33018 (eval $ac_link) 2>&5
33019 ac_status=$?
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } &&
33022 { ac_try='test -s conftest$ac_exeext'
33023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024 (eval $ac_try) 2>&5
33025 ac_status=$?
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); }; }; then
33028 eval "$as_ac_var=yes"
33029 else
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33033 eval "$as_ac_var=no"
33035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33039 if test `eval echo '${'$as_ac_var'}'` = yes; then
33040 cat >>confdefs.h <<_ACEOF
33041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33042 _ACEOF
33045 done
33052 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33053 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33054 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33055 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 else
33061 ac_ext=cc
33062 ac_cpp='$CXXCPP $CPPFLAGS'
33063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33067 cat >conftest.$ac_ext <<_ACEOF
33068 #line $LINENO "configure"
33069 /* confdefs.h. */
33070 _ACEOF
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33074 #include <math.h>
33076 main ()
33078 hypotf(0, 0);
33080 return 0;
33082 _ACEOF
33083 rm -f conftest.$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try='test -s conftest.$ac_objext'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; }; then
33095 glibcxx_cv_func_hypotf_use=yes
33096 else
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 glibcxx_cv_func_hypotf_use=no
33102 rm -f conftest.$ac_objext conftest.$ac_ext
33103 ac_ext=c
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33114 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33116 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33118 for ac_func in hypotf
33120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33121 echo "$as_me:$LINENO: checking for $ac_func" >&5
33122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33123 if eval "test \"\${$as_ac_var+set}\" = set"; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 else
33126 if test x$gcc_no_link = xyes; then
33127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33129 { (exit 1); exit 1; }; }
33131 cat >conftest.$ac_ext <<_ACEOF
33132 #line $LINENO "configure"
33133 /* confdefs.h. */
33134 _ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138 /* System header to define __stub macros and hopefully few prototypes,
33139 which can conflict with char $ac_func (); below.
33140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33141 <limits.h> exists even on freestanding compilers. */
33142 #ifdef __STDC__
33143 # include <limits.h>
33144 #else
33145 # include <assert.h>
33146 #endif
33147 /* Override any gcc2 internal prototype to avoid an error. */
33148 #ifdef __cplusplus
33149 extern "C"
33151 #endif
33152 /* We use char because int might match the return type of a gcc2
33153 builtin and then its argument prototype would still apply. */
33154 char $ac_func ();
33155 /* The GNU C library defines this for functions which it implements
33156 to always fail with ENOSYS. Some functions are actually named
33157 something starting with __ and the normal name is an alias. */
33158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33159 choke me
33160 #else
33161 char (*f) () = $ac_func;
33162 #endif
33163 #ifdef __cplusplus
33165 #endif
33168 main ()
33170 return f != $ac_func;
33172 return 0;
33174 _ACEOF
33175 rm -f conftest.$ac_objext conftest$ac_exeext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33177 (eval $ac_link) 2>&5
33178 ac_status=$?
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); } &&
33181 { ac_try='test -s conftest$ac_exeext'
33182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183 (eval $ac_try) 2>&5
33184 ac_status=$?
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); }; }; then
33187 eval "$as_ac_var=yes"
33188 else
33189 echo "$as_me: failed program was:" >&5
33190 sed 's/^/| /' conftest.$ac_ext >&5
33192 eval "$as_ac_var=no"
33194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33198 if test `eval echo '${'$as_ac_var'}'` = yes; then
33199 cat >>confdefs.h <<_ACEOF
33200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33201 _ACEOF
33204 done
33206 else
33208 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33209 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33210 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33211 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33213 else
33217 ac_ext=cc
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223 cat >conftest.$ac_ext <<_ACEOF
33224 #line $LINENO "configure"
33225 /* confdefs.h. */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 #include <math.h>
33232 main ()
33234 _hypotf(0, 0);
33236 return 0;
33238 _ACEOF
33239 rm -f conftest.$ac_objext
33240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33241 (eval $ac_compile) 2>&5
33242 ac_status=$?
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } &&
33245 { ac_try='test -s conftest.$ac_objext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33248 ac_status=$?
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 glibcxx_cv_func__hypotf_use=yes
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33256 glibcxx_cv_func__hypotf_use=no
33258 rm -f conftest.$ac_objext conftest.$ac_ext
33259 ac_ext=c
33260 ac_cpp='$CPP $CPPFLAGS'
33261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33270 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33272 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33274 for ac_func in _hypotf
33276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33277 echo "$as_me:$LINENO: checking for $ac_func" >&5
33278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33279 if eval "test \"\${$as_ac_var+set}\" = set"; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 else
33282 if test x$gcc_no_link = xyes; then
33283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33285 { (exit 1); exit 1; }; }
33287 cat >conftest.$ac_ext <<_ACEOF
33288 #line $LINENO "configure"
33289 /* confdefs.h. */
33290 _ACEOF
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h. */
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char $ac_func (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33298 #ifdef __STDC__
33299 # include <limits.h>
33300 #else
33301 # include <assert.h>
33302 #endif
33303 /* Override any gcc2 internal prototype to avoid an error. */
33304 #ifdef __cplusplus
33305 extern "C"
33307 #endif
33308 /* We use char because int might match the return type of a gcc2
33309 builtin and then its argument prototype would still apply. */
33310 char $ac_func ();
33311 /* The GNU C library defines this for functions which it implements
33312 to always fail with ENOSYS. Some functions are actually named
33313 something starting with __ and the normal name is an alias. */
33314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33315 choke me
33316 #else
33317 char (*f) () = $ac_func;
33318 #endif
33319 #ifdef __cplusplus
33321 #endif
33324 main ()
33326 return f != $ac_func;
33328 return 0;
33330 _ACEOF
33331 rm -f conftest.$ac_objext conftest$ac_exeext
33332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33333 (eval $ac_link) 2>&5
33334 ac_status=$?
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } &&
33337 { ac_try='test -s conftest$ac_exeext'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33340 ac_status=$?
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; }; then
33343 eval "$as_ac_var=yes"
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33348 eval "$as_ac_var=no"
33350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33357 _ACEOF
33360 done
33367 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33368 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33369 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33370 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33371 echo $ECHO_N "(cached) $ECHO_C" >&6
33372 else
33376 ac_ext=cc
33377 ac_cpp='$CXXCPP $CPPFLAGS'
33378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382 cat >conftest.$ac_ext <<_ACEOF
33383 #line $LINENO "configure"
33384 /* confdefs.h. */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33389 #include <math.h>
33391 main ()
33393 ldexpf(0, 0);
33395 return 0;
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400 (eval $ac_compile) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); } &&
33404 { ac_try='test -s conftest.$ac_objext'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; }; then
33410 glibcxx_cv_func_ldexpf_use=yes
33411 else
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33415 glibcxx_cv_func_ldexpf_use=no
33417 rm -f conftest.$ac_objext conftest.$ac_ext
33418 ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33429 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33431 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33433 for ac_func in ldexpf
33435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33436 echo "$as_me:$LINENO: checking for $ac_func" >&5
33437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33438 if eval "test \"\${$as_ac_var+set}\" = set"; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33440 else
33441 if test x$gcc_no_link = xyes; then
33442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33444 { (exit 1); exit 1; }; }
33446 cat >conftest.$ac_ext <<_ACEOF
33447 #line $LINENO "configure"
33448 /* confdefs.h. */
33449 _ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 /* System header to define __stub macros and hopefully few prototypes,
33454 which can conflict with char $ac_func (); below.
33455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456 <limits.h> exists even on freestanding compilers. */
33457 #ifdef __STDC__
33458 # include <limits.h>
33459 #else
33460 # include <assert.h>
33461 #endif
33462 /* Override any gcc2 internal prototype to avoid an error. */
33463 #ifdef __cplusplus
33464 extern "C"
33466 #endif
33467 /* We use char because int might match the return type of a gcc2
33468 builtin and then its argument prototype would still apply. */
33469 char $ac_func ();
33470 /* The GNU C library defines this for functions which it implements
33471 to always fail with ENOSYS. Some functions are actually named
33472 something starting with __ and the normal name is an alias. */
33473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33474 choke me
33475 #else
33476 char (*f) () = $ac_func;
33477 #endif
33478 #ifdef __cplusplus
33480 #endif
33483 main ()
33485 return f != $ac_func;
33487 return 0;
33489 _ACEOF
33490 rm -f conftest.$ac_objext conftest$ac_exeext
33491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33492 (eval $ac_link) 2>&5
33493 ac_status=$?
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } &&
33496 { ac_try='test -s conftest$ac_exeext'
33497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33498 (eval $ac_try) 2>&5
33499 ac_status=$?
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); }; }; then
33502 eval "$as_ac_var=yes"
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33507 eval "$as_ac_var=no"
33509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33513 if test `eval echo '${'$as_ac_var'}'` = yes; then
33514 cat >>confdefs.h <<_ACEOF
33515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33516 _ACEOF
33519 done
33521 else
33523 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33524 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33525 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33526 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 else
33532 ac_ext=cc
33533 ac_cpp='$CXXCPP $CPPFLAGS'
33534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33538 cat >conftest.$ac_ext <<_ACEOF
33539 #line $LINENO "configure"
33540 /* confdefs.h. */
33541 _ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #include <math.h>
33547 main ()
33549 _ldexpf(0, 0);
33551 return 0;
33553 _ACEOF
33554 rm -f conftest.$ac_objext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33556 (eval $ac_compile) 2>&5
33557 ac_status=$?
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } &&
33560 { ac_try='test -s conftest.$ac_objext'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33563 ac_status=$?
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; }; then
33566 glibcxx_cv_func__ldexpf_use=yes
33567 else
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33571 glibcxx_cv_func__ldexpf_use=no
33573 rm -f conftest.$ac_objext conftest.$ac_ext
33574 ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33585 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33587 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33589 for ac_func in _ldexpf
33591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33592 echo "$as_me:$LINENO: checking for $ac_func" >&5
33593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33594 if eval "test \"\${$as_ac_var+set}\" = set"; then
33595 echo $ECHO_N "(cached) $ECHO_C" >&6
33596 else
33597 if test x$gcc_no_link = xyes; then
33598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33600 { (exit 1); exit 1; }; }
33602 cat >conftest.$ac_ext <<_ACEOF
33603 #line $LINENO "configure"
33604 /* confdefs.h. */
33605 _ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609 /* System header to define __stub macros and hopefully few prototypes,
33610 which can conflict with char $ac_func (); below.
33611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33612 <limits.h> exists even on freestanding compilers. */
33613 #ifdef __STDC__
33614 # include <limits.h>
33615 #else
33616 # include <assert.h>
33617 #endif
33618 /* Override any gcc2 internal prototype to avoid an error. */
33619 #ifdef __cplusplus
33620 extern "C"
33622 #endif
33623 /* We use char because int might match the return type of a gcc2
33624 builtin and then its argument prototype would still apply. */
33625 char $ac_func ();
33626 /* The GNU C library defines this for functions which it implements
33627 to always fail with ENOSYS. Some functions are actually named
33628 something starting with __ and the normal name is an alias. */
33629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33630 choke me
33631 #else
33632 char (*f) () = $ac_func;
33633 #endif
33634 #ifdef __cplusplus
33636 #endif
33639 main ()
33641 return f != $ac_func;
33643 return 0;
33645 _ACEOF
33646 rm -f conftest.$ac_objext conftest$ac_exeext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33648 (eval $ac_link) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 eval "$as_ac_var=yes"
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33663 eval "$as_ac_var=no"
33665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h <<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33672 _ACEOF
33675 done
33682 echo "$as_me:$LINENO: checking for logf declaration" >&5
33683 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33684 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33685 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33686 echo $ECHO_N "(cached) $ECHO_C" >&6
33687 else
33691 ac_ext=cc
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 cat >conftest.$ac_ext <<_ACEOF
33698 #line $LINENO "configure"
33699 /* confdefs.h. */
33700 _ACEOF
33701 cat confdefs.h >>conftest.$ac_ext
33702 cat >>conftest.$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33704 #include <math.h>
33705 #ifdef HAVE_IEEEFP_H
33706 #include <ieeefp.h>
33707 #endif
33710 main ()
33712 logf(0);
33714 return 0;
33716 _ACEOF
33717 rm -f conftest.$ac_objext
33718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33719 (eval $ac_compile) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -s conftest.$ac_objext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 glibcxx_cv_func_logf_use=yes
33730 else
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33734 glibcxx_cv_func_logf_use=no
33736 rm -f conftest.$ac_objext conftest.$ac_ext
33737 ac_ext=c
33738 ac_cpp='$CPP $CPPFLAGS'
33739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33748 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33750 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33752 for ac_func in logf
33754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33755 echo "$as_me:$LINENO: checking for $ac_func" >&5
33756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33757 if eval "test \"\${$as_ac_var+set}\" = set"; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 else
33760 if test x$gcc_no_link = xyes; then
33761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33763 { (exit 1); exit 1; }; }
33765 cat >conftest.$ac_ext <<_ACEOF
33766 #line $LINENO "configure"
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 /* System header to define __stub macros and hopefully few prototypes,
33773 which can conflict with char $ac_func (); below.
33774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33775 <limits.h> exists even on freestanding compilers. */
33776 #ifdef __STDC__
33777 # include <limits.h>
33778 #else
33779 # include <assert.h>
33780 #endif
33781 /* Override any gcc2 internal prototype to avoid an error. */
33782 #ifdef __cplusplus
33783 extern "C"
33785 #endif
33786 /* We use char because int might match the return type of a gcc2
33787 builtin and then its argument prototype would still apply. */
33788 char $ac_func ();
33789 /* The GNU C library defines this for functions which it implements
33790 to always fail with ENOSYS. Some functions are actually named
33791 something starting with __ and the normal name is an alias. */
33792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33793 choke me
33794 #else
33795 char (*f) () = $ac_func;
33796 #endif
33797 #ifdef __cplusplus
33799 #endif
33802 main ()
33804 return f != $ac_func;
33806 return 0;
33808 _ACEOF
33809 rm -f conftest.$ac_objext conftest$ac_exeext
33810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33811 (eval $ac_link) 2>&5
33812 ac_status=$?
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } &&
33815 { ac_try='test -s conftest$ac_exeext'
33816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33817 (eval $ac_try) 2>&5
33818 ac_status=$?
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); }; }; then
33821 eval "$as_ac_var=yes"
33822 else
33823 echo "$as_me: failed program was:" >&5
33824 sed 's/^/| /' conftest.$ac_ext >&5
33826 eval "$as_ac_var=no"
33828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33832 if test `eval echo '${'$as_ac_var'}'` = yes; then
33833 cat >>confdefs.h <<_ACEOF
33834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33835 _ACEOF
33838 done
33840 else
33842 echo "$as_me:$LINENO: checking for _logf declaration" >&5
33843 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33844 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33845 if test "${glibcxx_cv_func__logf_use+set}" = set; then
33846 echo $ECHO_N "(cached) $ECHO_C" >&6
33847 else
33851 ac_ext=cc
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33857 cat >conftest.$ac_ext <<_ACEOF
33858 #line $LINENO "configure"
33859 /* confdefs.h. */
33860 _ACEOF
33861 cat confdefs.h >>conftest.$ac_ext
33862 cat >>conftest.$ac_ext <<_ACEOF
33863 /* end confdefs.h. */
33864 #include <math.h>
33865 #ifdef HAVE_IEEEFP_H
33866 #include <ieeefp.h>
33867 #endif
33870 main ()
33872 _logf(0);
33874 return 0;
33876 _ACEOF
33877 rm -f conftest.$ac_objext
33878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33879 (eval $ac_compile) 2>&5
33880 ac_status=$?
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } &&
33883 { ac_try='test -s conftest.$ac_objext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33886 ac_status=$?
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 glibcxx_cv_func__logf_use=yes
33890 else
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.$ac_ext >&5
33894 glibcxx_cv_func__logf_use=no
33896 rm -f conftest.$ac_objext conftest.$ac_ext
33897 ac_ext=c
33898 ac_cpp='$CPP $CPPFLAGS'
33899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33908 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33910 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33912 for ac_func in _logf
33914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33915 echo "$as_me:$LINENO: checking for $ac_func" >&5
33916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33917 if eval "test \"\${$as_ac_var+set}\" = set"; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 else
33920 if test x$gcc_no_link = xyes; then
33921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33923 { (exit 1); exit 1; }; }
33925 cat >conftest.$ac_ext <<_ACEOF
33926 #line $LINENO "configure"
33927 /* confdefs.h. */
33928 _ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33932 /* System header to define __stub macros and hopefully few prototypes,
33933 which can conflict with char $ac_func (); below.
33934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33935 <limits.h> exists even on freestanding compilers. */
33936 #ifdef __STDC__
33937 # include <limits.h>
33938 #else
33939 # include <assert.h>
33940 #endif
33941 /* Override any gcc2 internal prototype to avoid an error. */
33942 #ifdef __cplusplus
33943 extern "C"
33945 #endif
33946 /* We use char because int might match the return type of a gcc2
33947 builtin and then its argument prototype would still apply. */
33948 char $ac_func ();
33949 /* The GNU C library defines this for functions which it implements
33950 to always fail with ENOSYS. Some functions are actually named
33951 something starting with __ and the normal name is an alias. */
33952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33953 choke me
33954 #else
33955 char (*f) () = $ac_func;
33956 #endif
33957 #ifdef __cplusplus
33959 #endif
33962 main ()
33964 return f != $ac_func;
33966 return 0;
33968 _ACEOF
33969 rm -f conftest.$ac_objext conftest$ac_exeext
33970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33971 (eval $ac_link) 2>&5
33972 ac_status=$?
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } &&
33975 { ac_try='test -s conftest$ac_exeext'
33976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33977 (eval $ac_try) 2>&5
33978 ac_status=$?
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); }; }; then
33981 eval "$as_ac_var=yes"
33982 else
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.$ac_ext >&5
33986 eval "$as_ac_var=no"
33988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33992 if test `eval echo '${'$as_ac_var'}'` = yes; then
33993 cat >>confdefs.h <<_ACEOF
33994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33995 _ACEOF
33998 done
34005 echo "$as_me:$LINENO: checking for log10f declaration" >&5
34006 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
34007 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34008 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 else
34014 ac_ext=cc
34015 ac_cpp='$CXXCPP $CPPFLAGS'
34016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34020 cat >conftest.$ac_ext <<_ACEOF
34021 #line $LINENO "configure"
34022 /* confdefs.h. */
34023 _ACEOF
34024 cat confdefs.h >>conftest.$ac_ext
34025 cat >>conftest.$ac_ext <<_ACEOF
34026 /* end confdefs.h. */
34027 #include <math.h>
34028 #ifdef HAVE_IEEEFP_H
34029 #include <ieeefp.h>
34030 #endif
34033 main ()
34035 log10f(0);
34037 return 0;
34039 _ACEOF
34040 rm -f conftest.$ac_objext
34041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34042 (eval $ac_compile) 2>&5
34043 ac_status=$?
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } &&
34046 { ac_try='test -s conftest.$ac_objext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 glibcxx_cv_func_log10f_use=yes
34053 else
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34057 glibcxx_cv_func_log10f_use=no
34059 rm -f conftest.$ac_objext conftest.$ac_ext
34060 ac_ext=c
34061 ac_cpp='$CPP $CPPFLAGS'
34062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34071 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34073 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34075 for ac_func in log10f
34077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34078 echo "$as_me:$LINENO: checking for $ac_func" >&5
34079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34080 if eval "test \"\${$as_ac_var+set}\" = set"; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 else
34083 if test x$gcc_no_link = xyes; then
34084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34086 { (exit 1); exit 1; }; }
34088 cat >conftest.$ac_ext <<_ACEOF
34089 #line $LINENO "configure"
34090 /* confdefs.h. */
34091 _ACEOF
34092 cat confdefs.h >>conftest.$ac_ext
34093 cat >>conftest.$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34095 /* System header to define __stub macros and hopefully few prototypes,
34096 which can conflict with char $ac_func (); below.
34097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34098 <limits.h> exists even on freestanding compilers. */
34099 #ifdef __STDC__
34100 # include <limits.h>
34101 #else
34102 # include <assert.h>
34103 #endif
34104 /* Override any gcc2 internal prototype to avoid an error. */
34105 #ifdef __cplusplus
34106 extern "C"
34108 #endif
34109 /* We use char because int might match the return type of a gcc2
34110 builtin and then its argument prototype would still apply. */
34111 char $ac_func ();
34112 /* The GNU C library defines this for functions which it implements
34113 to always fail with ENOSYS. Some functions are actually named
34114 something starting with __ and the normal name is an alias. */
34115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34116 choke me
34117 #else
34118 char (*f) () = $ac_func;
34119 #endif
34120 #ifdef __cplusplus
34122 #endif
34125 main ()
34127 return f != $ac_func;
34129 return 0;
34131 _ACEOF
34132 rm -f conftest.$ac_objext conftest$ac_exeext
34133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34134 (eval $ac_link) 2>&5
34135 ac_status=$?
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try='test -s conftest$ac_exeext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34141 ac_status=$?
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 eval "$as_ac_var=yes"
34145 else
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34149 eval "$as_ac_var=no"
34151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156 cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 _ACEOF
34161 done
34163 else
34165 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34166 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34167 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34168 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34169 echo $ECHO_N "(cached) $ECHO_C" >&6
34170 else
34174 ac_ext=cc
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34180 cat >conftest.$ac_ext <<_ACEOF
34181 #line $LINENO "configure"
34182 /* confdefs.h. */
34183 _ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187 #include <math.h>
34188 #ifdef HAVE_IEEEFP_H
34189 #include <ieeefp.h>
34190 #endif
34193 main ()
34195 _log10f(0);
34197 return 0;
34199 _ACEOF
34200 rm -f conftest.$ac_objext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34202 (eval $ac_compile) 2>&5
34203 ac_status=$?
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } &&
34206 { ac_try='test -s conftest.$ac_objext'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; }; then
34212 glibcxx_cv_func__log10f_use=yes
34213 else
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.$ac_ext >&5
34217 glibcxx_cv_func__log10f_use=no
34219 rm -f conftest.$ac_objext conftest.$ac_ext
34220 ac_ext=c
34221 ac_cpp='$CPP $CPPFLAGS'
34222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34231 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34233 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34235 for ac_func in _log10f
34237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34238 echo "$as_me:$LINENO: checking for $ac_func" >&5
34239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34240 if eval "test \"\${$as_ac_var+set}\" = set"; then
34241 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 else
34243 if test x$gcc_no_link = xyes; then
34244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34246 { (exit 1); exit 1; }; }
34248 cat >conftest.$ac_ext <<_ACEOF
34249 #line $LINENO "configure"
34250 /* confdefs.h. */
34251 _ACEOF
34252 cat confdefs.h >>conftest.$ac_ext
34253 cat >>conftest.$ac_ext <<_ACEOF
34254 /* end confdefs.h. */
34255 /* System header to define __stub macros and hopefully few prototypes,
34256 which can conflict with char $ac_func (); below.
34257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34258 <limits.h> exists even on freestanding compilers. */
34259 #ifdef __STDC__
34260 # include <limits.h>
34261 #else
34262 # include <assert.h>
34263 #endif
34264 /* Override any gcc2 internal prototype to avoid an error. */
34265 #ifdef __cplusplus
34266 extern "C"
34268 #endif
34269 /* We use char because int might match the return type of a gcc2
34270 builtin and then its argument prototype would still apply. */
34271 char $ac_func ();
34272 /* The GNU C library defines this for functions which it implements
34273 to always fail with ENOSYS. Some functions are actually named
34274 something starting with __ and the normal name is an alias. */
34275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34276 choke me
34277 #else
34278 char (*f) () = $ac_func;
34279 #endif
34280 #ifdef __cplusplus
34282 #endif
34285 main ()
34287 return f != $ac_func;
34289 return 0;
34291 _ACEOF
34292 rm -f conftest.$ac_objext conftest$ac_exeext
34293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34294 (eval $ac_link) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try='test -s conftest$ac_exeext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 eval "$as_ac_var=yes"
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 eval "$as_ac_var=no"
34311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34315 if test `eval echo '${'$as_ac_var'}'` = yes; then
34316 cat >>confdefs.h <<_ACEOF
34317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34318 _ACEOF
34321 done
34328 echo "$as_me:$LINENO: checking for modff declaration" >&5
34329 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34330 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34331 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 else
34337 ac_ext=cc
34338 ac_cpp='$CXXCPP $CPPFLAGS'
34339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34343 cat >conftest.$ac_ext <<_ACEOF
34344 #line $LINENO "configure"
34345 /* confdefs.h. */
34346 _ACEOF
34347 cat confdefs.h >>conftest.$ac_ext
34348 cat >>conftest.$ac_ext <<_ACEOF
34349 /* end confdefs.h. */
34350 #include <math.h>
34352 main ()
34354 modff(0, 0);
34356 return 0;
34358 _ACEOF
34359 rm -f conftest.$ac_objext
34360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34361 (eval $ac_compile) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); } &&
34365 { ac_try='test -s conftest.$ac_objext'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34368 ac_status=$?
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; }; then
34371 glibcxx_cv_func_modff_use=yes
34372 else
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.$ac_ext >&5
34376 glibcxx_cv_func_modff_use=no
34378 rm -f conftest.$ac_objext conftest.$ac_ext
34379 ac_ext=c
34380 ac_cpp='$CPP $CPPFLAGS'
34381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34390 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34392 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34394 for ac_func in modff
34396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34397 echo "$as_me:$LINENO: checking for $ac_func" >&5
34398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34399 if eval "test \"\${$as_ac_var+set}\" = set"; then
34400 echo $ECHO_N "(cached) $ECHO_C" >&6
34401 else
34402 if test x$gcc_no_link = xyes; then
34403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34405 { (exit 1); exit 1; }; }
34407 cat >conftest.$ac_ext <<_ACEOF
34408 #line $LINENO "configure"
34409 /* confdefs.h. */
34410 _ACEOF
34411 cat confdefs.h >>conftest.$ac_ext
34412 cat >>conftest.$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34414 /* System header to define __stub macros and hopefully few prototypes,
34415 which can conflict with char $ac_func (); below.
34416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34417 <limits.h> exists even on freestanding compilers. */
34418 #ifdef __STDC__
34419 # include <limits.h>
34420 #else
34421 # include <assert.h>
34422 #endif
34423 /* Override any gcc2 internal prototype to avoid an error. */
34424 #ifdef __cplusplus
34425 extern "C"
34427 #endif
34428 /* We use char because int might match the return type of a gcc2
34429 builtin and then its argument prototype would still apply. */
34430 char $ac_func ();
34431 /* The GNU C library defines this for functions which it implements
34432 to always fail with ENOSYS. Some functions are actually named
34433 something starting with __ and the normal name is an alias. */
34434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34435 choke me
34436 #else
34437 char (*f) () = $ac_func;
34438 #endif
34439 #ifdef __cplusplus
34441 #endif
34444 main ()
34446 return f != $ac_func;
34448 return 0;
34450 _ACEOF
34451 rm -f conftest.$ac_objext conftest$ac_exeext
34452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34453 (eval $ac_link) 2>&5
34454 ac_status=$?
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try='test -s conftest$ac_exeext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 eval "$as_ac_var=yes"
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34468 eval "$as_ac_var=no"
34470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34474 if test `eval echo '${'$as_ac_var'}'` = yes; then
34475 cat >>confdefs.h <<_ACEOF
34476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34477 _ACEOF
34480 done
34482 else
34484 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34485 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34486 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34487 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 else
34493 ac_ext=cc
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499 cat >conftest.$ac_ext <<_ACEOF
34500 #line $LINENO "configure"
34501 /* confdefs.h. */
34502 _ACEOF
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34506 #include <math.h>
34508 main ()
34510 _modff(0, 0);
34512 return 0;
34514 _ACEOF
34515 rm -f conftest.$ac_objext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34517 (eval $ac_compile) 2>&5
34518 ac_status=$?
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } &&
34521 { ac_try='test -s conftest.$ac_objext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34524 ac_status=$?
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 glibcxx_cv_func__modff_use=yes
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 glibcxx_cv_func__modff_use=no
34534 rm -f conftest.$ac_objext conftest.$ac_ext
34535 ac_ext=c
34536 ac_cpp='$CPP $CPPFLAGS'
34537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34546 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34548 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34550 for ac_func in _modff
34552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34553 echo "$as_me:$LINENO: checking for $ac_func" >&5
34554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34555 if eval "test \"\${$as_ac_var+set}\" = set"; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558 if test x$gcc_no_link = xyes; then
34559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34561 { (exit 1); exit 1; }; }
34563 cat >conftest.$ac_ext <<_ACEOF
34564 #line $LINENO "configure"
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* System header to define __stub macros and hopefully few prototypes,
34571 which can conflict with char $ac_func (); below.
34572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34573 <limits.h> exists even on freestanding compilers. */
34574 #ifdef __STDC__
34575 # include <limits.h>
34576 #else
34577 # include <assert.h>
34578 #endif
34579 /* Override any gcc2 internal prototype to avoid an error. */
34580 #ifdef __cplusplus
34581 extern "C"
34583 #endif
34584 /* We use char because int might match the return type of a gcc2
34585 builtin and then its argument prototype would still apply. */
34586 char $ac_func ();
34587 /* The GNU C library defines this for functions which it implements
34588 to always fail with ENOSYS. Some functions are actually named
34589 something starting with __ and the normal name is an alias. */
34590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34591 choke me
34592 #else
34593 char (*f) () = $ac_func;
34594 #endif
34595 #ifdef __cplusplus
34597 #endif
34600 main ()
34602 return f != $ac_func;
34604 return 0;
34606 _ACEOF
34607 rm -f conftest.$ac_objext conftest$ac_exeext
34608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34609 (eval $ac_link) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } &&
34613 { ac_try='test -s conftest$ac_exeext'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 eval "$as_ac_var=yes"
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 eval "$as_ac_var=no"
34626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34630 if test `eval echo '${'$as_ac_var'}'` = yes; then
34631 cat >>confdefs.h <<_ACEOF
34632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34633 _ACEOF
34636 done
34643 echo "$as_me:$LINENO: checking for powf declaration" >&5
34644 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34645 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34646 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34652 ac_ext=cc
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658 cat >conftest.$ac_ext <<_ACEOF
34659 #line $LINENO "configure"
34660 /* confdefs.h. */
34661 _ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 #include <math.h>
34667 main ()
34669 powf(0, 0);
34671 return 0;
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34676 (eval $ac_compile) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); } &&
34680 { ac_try='test -s conftest.$ac_objext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34683 ac_status=$?
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 glibcxx_cv_func_powf_use=yes
34687 else
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34691 glibcxx_cv_func_powf_use=no
34693 rm -f conftest.$ac_objext conftest.$ac_ext
34694 ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34705 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34707 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34709 for ac_func in powf
34711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34712 echo "$as_me:$LINENO: checking for $ac_func" >&5
34713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34714 if eval "test \"\${$as_ac_var+set}\" = set"; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717 if test x$gcc_no_link = xyes; then
34718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34720 { (exit 1); exit 1; }; }
34722 cat >conftest.$ac_ext <<_ACEOF
34723 #line $LINENO "configure"
34724 /* confdefs.h. */
34725 _ACEOF
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 /* System header to define __stub macros and hopefully few prototypes,
34730 which can conflict with char $ac_func (); below.
34731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34732 <limits.h> exists even on freestanding compilers. */
34733 #ifdef __STDC__
34734 # include <limits.h>
34735 #else
34736 # include <assert.h>
34737 #endif
34738 /* Override any gcc2 internal prototype to avoid an error. */
34739 #ifdef __cplusplus
34740 extern "C"
34742 #endif
34743 /* We use char because int might match the return type of a gcc2
34744 builtin and then its argument prototype would still apply. */
34745 char $ac_func ();
34746 /* The GNU C library defines this for functions which it implements
34747 to always fail with ENOSYS. Some functions are actually named
34748 something starting with __ and the normal name is an alias. */
34749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34750 choke me
34751 #else
34752 char (*f) () = $ac_func;
34753 #endif
34754 #ifdef __cplusplus
34756 #endif
34759 main ()
34761 return f != $ac_func;
34763 return 0;
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } &&
34772 { ac_try='test -s conftest$ac_exeext'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34775 ac_status=$?
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; }; then
34778 eval "$as_ac_var=yes"
34779 else
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.$ac_ext >&5
34783 eval "$as_ac_var=no"
34785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34789 if test `eval echo '${'$as_ac_var'}'` = yes; then
34790 cat >>confdefs.h <<_ACEOF
34791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34792 _ACEOF
34795 done
34797 else
34799 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34800 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34801 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34802 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34803 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 else
34808 ac_ext=cc
34809 ac_cpp='$CXXCPP $CPPFLAGS'
34810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34814 cat >conftest.$ac_ext <<_ACEOF
34815 #line $LINENO "configure"
34816 /* confdefs.h. */
34817 _ACEOF
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821 #include <math.h>
34823 main ()
34825 _powf(0, 0);
34827 return 0;
34829 _ACEOF
34830 rm -f conftest.$ac_objext
34831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34832 (eval $ac_compile) 2>&5
34833 ac_status=$?
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); } &&
34836 { ac_try='test -s conftest.$ac_objext'
34837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34838 (eval $ac_try) 2>&5
34839 ac_status=$?
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); }; }; then
34842 glibcxx_cv_func__powf_use=yes
34843 else
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34847 glibcxx_cv_func__powf_use=no
34849 rm -f conftest.$ac_objext conftest.$ac_ext
34850 ac_ext=c
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34861 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34863 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34865 for ac_func in _powf
34867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34870 if eval "test \"\${$as_ac_var+set}\" = set"; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 else
34873 if test x$gcc_no_link = xyes; then
34874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34876 { (exit 1); exit 1; }; }
34878 cat >conftest.$ac_ext <<_ACEOF
34879 #line $LINENO "configure"
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 /* System header to define __stub macros and hopefully few prototypes,
34886 which can conflict with char $ac_func (); below.
34887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34888 <limits.h> exists even on freestanding compilers. */
34889 #ifdef __STDC__
34890 # include <limits.h>
34891 #else
34892 # include <assert.h>
34893 #endif
34894 /* Override any gcc2 internal prototype to avoid an error. */
34895 #ifdef __cplusplus
34896 extern "C"
34898 #endif
34899 /* We use char because int might match the return type of a gcc2
34900 builtin and then its argument prototype would still apply. */
34901 char $ac_func ();
34902 /* The GNU C library defines this for functions which it implements
34903 to always fail with ENOSYS. Some functions are actually named
34904 something starting with __ and the normal name is an alias. */
34905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34906 choke me
34907 #else
34908 char (*f) () = $ac_func;
34909 #endif
34910 #ifdef __cplusplus
34912 #endif
34915 main ()
34917 return f != $ac_func;
34919 return 0;
34921 _ACEOF
34922 rm -f conftest.$ac_objext conftest$ac_exeext
34923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34924 (eval $ac_link) 2>&5
34925 ac_status=$?
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } &&
34928 { ac_try='test -s conftest$ac_exeext'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34931 ac_status=$?
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; }; then
34934 eval "$as_ac_var=yes"
34935 else
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.$ac_ext >&5
34939 eval "$as_ac_var=no"
34941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34945 if test `eval echo '${'$as_ac_var'}'` = yes; then
34946 cat >>confdefs.h <<_ACEOF
34947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34948 _ACEOF
34951 done
34958 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34959 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34960 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34961 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34967 ac_ext=cc
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat >conftest.$ac_ext <<_ACEOF
34974 #line $LINENO "configure"
34975 /* confdefs.h. */
34976 _ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 #include <math.h>
34981 #ifdef HAVE_IEEEFP_H
34982 #include <ieeefp.h>
34983 #endif
34986 main ()
34988 sqrtf(0);
34990 return 0;
34992 _ACEOF
34993 rm -f conftest.$ac_objext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34995 (eval $ac_compile) 2>&5
34996 ac_status=$?
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); } &&
34999 { ac_try='test -s conftest.$ac_objext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35002 ac_status=$?
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 glibcxx_cv_func_sqrtf_use=yes
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35010 glibcxx_cv_func_sqrtf_use=no
35012 rm -f conftest.$ac_objext conftest.$ac_ext
35013 ac_ext=c
35014 ac_cpp='$CPP $CPPFLAGS'
35015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35024 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35026 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35028 for ac_func in sqrtf
35030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35031 echo "$as_me:$LINENO: checking for $ac_func" >&5
35032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35033 if eval "test \"\${$as_ac_var+set}\" = set"; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 else
35036 if test x$gcc_no_link = xyes; then
35037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35039 { (exit 1); exit 1; }; }
35041 cat >conftest.$ac_ext <<_ACEOF
35042 #line $LINENO "configure"
35043 /* confdefs.h. */
35044 _ACEOF
35045 cat confdefs.h >>conftest.$ac_ext
35046 cat >>conftest.$ac_ext <<_ACEOF
35047 /* end confdefs.h. */
35048 /* System header to define __stub macros and hopefully few prototypes,
35049 which can conflict with char $ac_func (); below.
35050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35051 <limits.h> exists even on freestanding compilers. */
35052 #ifdef __STDC__
35053 # include <limits.h>
35054 #else
35055 # include <assert.h>
35056 #endif
35057 /* Override any gcc2 internal prototype to avoid an error. */
35058 #ifdef __cplusplus
35059 extern "C"
35061 #endif
35062 /* We use char because int might match the return type of a gcc2
35063 builtin and then its argument prototype would still apply. */
35064 char $ac_func ();
35065 /* The GNU C library defines this for functions which it implements
35066 to always fail with ENOSYS. Some functions are actually named
35067 something starting with __ and the normal name is an alias. */
35068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35069 choke me
35070 #else
35071 char (*f) () = $ac_func;
35072 #endif
35073 #ifdef __cplusplus
35075 #endif
35078 main ()
35080 return f != $ac_func;
35082 return 0;
35084 _ACEOF
35085 rm -f conftest.$ac_objext conftest$ac_exeext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35087 (eval $ac_link) 2>&5
35088 ac_status=$?
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } &&
35091 { ac_try='test -s conftest$ac_exeext'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35094 ac_status=$?
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 eval "$as_ac_var=yes"
35098 else
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.$ac_ext >&5
35102 eval "$as_ac_var=no"
35104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35108 if test `eval echo '${'$as_ac_var'}'` = yes; then
35109 cat >>confdefs.h <<_ACEOF
35110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35111 _ACEOF
35114 done
35116 else
35118 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35119 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35120 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35121 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35127 ac_ext=cc
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133 cat >conftest.$ac_ext <<_ACEOF
35134 #line $LINENO "configure"
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <math.h>
35141 #ifdef HAVE_IEEEFP_H
35142 #include <ieeefp.h>
35143 #endif
35146 main ()
35148 _sqrtf(0);
35150 return 0;
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>&5
35156 ac_status=$?
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } &&
35159 { ac_try='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 glibcxx_cv_func__sqrtf_use=yes
35166 else
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35170 glibcxx_cv_func__sqrtf_use=no
35172 rm -f conftest.$ac_objext conftest.$ac_ext
35173 ac_ext=c
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35184 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35186 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35188 for ac_func in _sqrtf
35190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35191 echo "$as_me:$LINENO: checking for $ac_func" >&5
35192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35193 if eval "test \"\${$as_ac_var+set}\" = set"; then
35194 echo $ECHO_N "(cached) $ECHO_C" >&6
35195 else
35196 if test x$gcc_no_link = xyes; then
35197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35199 { (exit 1); exit 1; }; }
35201 cat >conftest.$ac_ext <<_ACEOF
35202 #line $LINENO "configure"
35203 /* confdefs.h. */
35204 _ACEOF
35205 cat confdefs.h >>conftest.$ac_ext
35206 cat >>conftest.$ac_ext <<_ACEOF
35207 /* end confdefs.h. */
35208 /* System header to define __stub macros and hopefully few prototypes,
35209 which can conflict with char $ac_func (); below.
35210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35211 <limits.h> exists even on freestanding compilers. */
35212 #ifdef __STDC__
35213 # include <limits.h>
35214 #else
35215 # include <assert.h>
35216 #endif
35217 /* Override any gcc2 internal prototype to avoid an error. */
35218 #ifdef __cplusplus
35219 extern "C"
35221 #endif
35222 /* We use char because int might match the return type of a gcc2
35223 builtin and then its argument prototype would still apply. */
35224 char $ac_func ();
35225 /* The GNU C library defines this for functions which it implements
35226 to always fail with ENOSYS. Some functions are actually named
35227 something starting with __ and the normal name is an alias. */
35228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35229 choke me
35230 #else
35231 char (*f) () = $ac_func;
35232 #endif
35233 #ifdef __cplusplus
35235 #endif
35238 main ()
35240 return f != $ac_func;
35242 return 0;
35244 _ACEOF
35245 rm -f conftest.$ac_objext conftest$ac_exeext
35246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35247 (eval $ac_link) 2>&5
35248 ac_status=$?
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try='test -s conftest$ac_exeext'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; }; then
35257 eval "$as_ac_var=yes"
35258 else
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35262 eval "$as_ac_var=no"
35264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35268 if test `eval echo '${'$as_ac_var'}'` = yes; then
35269 cat >>confdefs.h <<_ACEOF
35270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35271 _ACEOF
35274 done
35281 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35282 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35283 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35284 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35290 ac_ext=cc
35291 ac_cpp='$CXXCPP $CPPFLAGS'
35292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296 cat >conftest.$ac_ext <<_ACEOF
35297 #line $LINENO "configure"
35298 /* confdefs.h. */
35299 _ACEOF
35300 cat confdefs.h >>conftest.$ac_ext
35301 cat >>conftest.$ac_ext <<_ACEOF
35302 /* end confdefs.h. */
35303 #include <math.h>
35305 main ()
35307 sincosf(0, 0, 0);
35309 return 0;
35311 _ACEOF
35312 rm -f conftest.$ac_objext
35313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35314 (eval $ac_compile) 2>&5
35315 ac_status=$?
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } &&
35318 { ac_try='test -s conftest.$ac_objext'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35321 ac_status=$?
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; }; then
35324 glibcxx_cv_func_sincosf_use=yes
35325 else
35326 echo "$as_me: failed program was:" >&5
35327 sed 's/^/| /' conftest.$ac_ext >&5
35329 glibcxx_cv_func_sincosf_use=no
35331 rm -f conftest.$ac_objext conftest.$ac_ext
35332 ac_ext=c
35333 ac_cpp='$CPP $CPPFLAGS'
35334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35343 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35345 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35347 for ac_func in sincosf
35349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35350 echo "$as_me:$LINENO: checking for $ac_func" >&5
35351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35352 if eval "test \"\${$as_ac_var+set}\" = set"; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 else
35355 if test x$gcc_no_link = xyes; then
35356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35358 { (exit 1); exit 1; }; }
35360 cat >conftest.$ac_ext <<_ACEOF
35361 #line $LINENO "configure"
35362 /* confdefs.h. */
35363 _ACEOF
35364 cat confdefs.h >>conftest.$ac_ext
35365 cat >>conftest.$ac_ext <<_ACEOF
35366 /* end confdefs.h. */
35367 /* System header to define __stub macros and hopefully few prototypes,
35368 which can conflict with char $ac_func (); below.
35369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35370 <limits.h> exists even on freestanding compilers. */
35371 #ifdef __STDC__
35372 # include <limits.h>
35373 #else
35374 # include <assert.h>
35375 #endif
35376 /* Override any gcc2 internal prototype to avoid an error. */
35377 #ifdef __cplusplus
35378 extern "C"
35380 #endif
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35383 char $ac_func ();
35384 /* The GNU C library defines this for functions which it implements
35385 to always fail with ENOSYS. Some functions are actually named
35386 something starting with __ and the normal name is an alias. */
35387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35388 choke me
35389 #else
35390 char (*f) () = $ac_func;
35391 #endif
35392 #ifdef __cplusplus
35394 #endif
35397 main ()
35399 return f != $ac_func;
35401 return 0;
35403 _ACEOF
35404 rm -f conftest.$ac_objext conftest$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>&5
35407 ac_status=$?
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } &&
35410 { ac_try='test -s conftest$ac_exeext'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35413 ac_status=$?
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; }; then
35416 eval "$as_ac_var=yes"
35417 else
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.$ac_ext >&5
35421 eval "$as_ac_var=no"
35423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35427 if test `eval echo '${'$as_ac_var'}'` = yes; then
35428 cat >>confdefs.h <<_ACEOF
35429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35430 _ACEOF
35433 done
35435 else
35437 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35438 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35440 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 else
35446 ac_ext=cc
35447 ac_cpp='$CXXCPP $CPPFLAGS'
35448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35452 cat >conftest.$ac_ext <<_ACEOF
35453 #line $LINENO "configure"
35454 /* confdefs.h. */
35455 _ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459 #include <math.h>
35461 main ()
35463 _sincosf(0, 0, 0);
35465 return 0;
35467 _ACEOF
35468 rm -f conftest.$ac_objext
35469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35470 (eval $ac_compile) 2>&5
35471 ac_status=$?
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try='test -s conftest.$ac_objext'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35477 ac_status=$?
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; }; then
35480 glibcxx_cv_func__sincosf_use=yes
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35485 glibcxx_cv_func__sincosf_use=no
35487 rm -f conftest.$ac_objext conftest.$ac_ext
35488 ac_ext=c
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35499 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35501 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35503 for ac_func in _sincosf
35505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35506 echo "$as_me:$LINENO: checking for $ac_func" >&5
35507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35508 if eval "test \"\${$as_ac_var+set}\" = set"; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 else
35511 if test x$gcc_no_link = xyes; then
35512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35514 { (exit 1); exit 1; }; }
35516 cat >conftest.$ac_ext <<_ACEOF
35517 #line $LINENO "configure"
35518 /* confdefs.h. */
35519 _ACEOF
35520 cat confdefs.h >>conftest.$ac_ext
35521 cat >>conftest.$ac_ext <<_ACEOF
35522 /* end confdefs.h. */
35523 /* System header to define __stub macros and hopefully few prototypes,
35524 which can conflict with char $ac_func (); below.
35525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35526 <limits.h> exists even on freestanding compilers. */
35527 #ifdef __STDC__
35528 # include <limits.h>
35529 #else
35530 # include <assert.h>
35531 #endif
35532 /* Override any gcc2 internal prototype to avoid an error. */
35533 #ifdef __cplusplus
35534 extern "C"
35536 #endif
35537 /* We use char because int might match the return type of a gcc2
35538 builtin and then its argument prototype would still apply. */
35539 char $ac_func ();
35540 /* The GNU C library defines this for functions which it implements
35541 to always fail with ENOSYS. Some functions are actually named
35542 something starting with __ and the normal name is an alias. */
35543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35544 choke me
35545 #else
35546 char (*f) () = $ac_func;
35547 #endif
35548 #ifdef __cplusplus
35550 #endif
35553 main ()
35555 return f != $ac_func;
35557 return 0;
35559 _ACEOF
35560 rm -f conftest.$ac_objext conftest$ac_exeext
35561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35562 (eval $ac_link) 2>&5
35563 ac_status=$?
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } &&
35566 { ac_try='test -s conftest$ac_exeext'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35569 ac_status=$?
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; }; then
35572 eval "$as_ac_var=yes"
35573 else
35574 echo "$as_me: failed program was:" >&5
35575 sed 's/^/| /' conftest.$ac_ext >&5
35577 eval "$as_ac_var=no"
35579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35583 if test `eval echo '${'$as_ac_var'}'` = yes; then
35584 cat >>confdefs.h <<_ACEOF
35585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35586 _ACEOF
35589 done
35596 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35597 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35598 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35599 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
35605 ac_ext=cc
35606 ac_cpp='$CXXCPP $CPPFLAGS'
35607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35611 cat >conftest.$ac_ext <<_ACEOF
35612 #line $LINENO "configure"
35613 /* confdefs.h. */
35614 _ACEOF
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h. */
35618 #include <math.h>
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35621 #endif
35624 main ()
35626 finitef(0);
35628 return 0;
35630 _ACEOF
35631 rm -f conftest.$ac_objext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35633 (eval $ac_compile) 2>&5
35634 ac_status=$?
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try='test -s conftest.$ac_objext'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643 glibcxx_cv_func_finitef_use=yes
35644 else
35645 echo "$as_me: failed program was:" >&5
35646 sed 's/^/| /' conftest.$ac_ext >&5
35648 glibcxx_cv_func_finitef_use=no
35650 rm -f conftest.$ac_objext conftest.$ac_ext
35651 ac_ext=c
35652 ac_cpp='$CPP $CPPFLAGS'
35653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35662 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35664 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35666 for ac_func in finitef
35668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35669 echo "$as_me:$LINENO: checking for $ac_func" >&5
35670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35671 if eval "test \"\${$as_ac_var+set}\" = set"; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35673 else
35674 if test x$gcc_no_link = xyes; then
35675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35677 { (exit 1); exit 1; }; }
35679 cat >conftest.$ac_ext <<_ACEOF
35680 #line $LINENO "configure"
35681 /* confdefs.h. */
35682 _ACEOF
35683 cat confdefs.h >>conftest.$ac_ext
35684 cat >>conftest.$ac_ext <<_ACEOF
35685 /* end confdefs.h. */
35686 /* System header to define __stub macros and hopefully few prototypes,
35687 which can conflict with char $ac_func (); below.
35688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35689 <limits.h> exists even on freestanding compilers. */
35690 #ifdef __STDC__
35691 # include <limits.h>
35692 #else
35693 # include <assert.h>
35694 #endif
35695 /* Override any gcc2 internal prototype to avoid an error. */
35696 #ifdef __cplusplus
35697 extern "C"
35699 #endif
35700 /* We use char because int might match the return type of a gcc2
35701 builtin and then its argument prototype would still apply. */
35702 char $ac_func ();
35703 /* The GNU C library defines this for functions which it implements
35704 to always fail with ENOSYS. Some functions are actually named
35705 something starting with __ and the normal name is an alias. */
35706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35707 choke me
35708 #else
35709 char (*f) () = $ac_func;
35710 #endif
35711 #ifdef __cplusplus
35713 #endif
35716 main ()
35718 return f != $ac_func;
35720 return 0;
35722 _ACEOF
35723 rm -f conftest.$ac_objext conftest$ac_exeext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35725 (eval $ac_link) 2>&5
35726 ac_status=$?
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } &&
35729 { ac_try='test -s conftest$ac_exeext'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35732 ac_status=$?
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; }; then
35735 eval "$as_ac_var=yes"
35736 else
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.$ac_ext >&5
35740 eval "$as_ac_var=no"
35742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35752 done
35754 else
35756 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35757 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35758 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35759 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35760 echo $ECHO_N "(cached) $ECHO_C" >&6
35761 else
35765 ac_ext=cc
35766 ac_cpp='$CXXCPP $CPPFLAGS'
35767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35771 cat >conftest.$ac_ext <<_ACEOF
35772 #line $LINENO "configure"
35773 /* confdefs.h. */
35774 _ACEOF
35775 cat confdefs.h >>conftest.$ac_ext
35776 cat >>conftest.$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35778 #include <math.h>
35779 #ifdef HAVE_IEEEFP_H
35780 #include <ieeefp.h>
35781 #endif
35784 main ()
35786 _finitef(0);
35788 return 0;
35790 _ACEOF
35791 rm -f conftest.$ac_objext
35792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35793 (eval $ac_compile) 2>&5
35794 ac_status=$?
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } &&
35797 { ac_try='test -s conftest.$ac_objext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35800 ac_status=$?
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 glibcxx_cv_func__finitef_use=yes
35804 else
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35808 glibcxx_cv_func__finitef_use=no
35810 rm -f conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35822 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35824 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35826 for ac_func in _finitef
35828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35829 echo "$as_me:$LINENO: checking for $ac_func" >&5
35830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35831 if eval "test \"\${$as_ac_var+set}\" = set"; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35833 else
35834 if test x$gcc_no_link = xyes; then
35835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35837 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
35847 which can conflict with char $ac_func (); below.
35848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35849 <limits.h> exists even on freestanding compilers. */
35850 #ifdef __STDC__
35851 # include <limits.h>
35852 #else
35853 # include <assert.h>
35854 #endif
35855 /* Override any gcc2 internal prototype to avoid an error. */
35856 #ifdef __cplusplus
35857 extern "C"
35859 #endif
35860 /* We use char because int might match the return type of a gcc2
35861 builtin and then its argument prototype would still apply. */
35862 char $ac_func ();
35863 /* The GNU C library defines this for functions which it implements
35864 to always fail with ENOSYS. Some functions are actually named
35865 something starting with __ and the normal name is an alias. */
35866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35867 choke me
35868 #else
35869 char (*f) () = $ac_func;
35870 #endif
35871 #ifdef __cplusplus
35873 #endif
35876 main ()
35878 return f != $ac_func;
35880 return 0;
35882 _ACEOF
35883 rm -f conftest.$ac_objext conftest$ac_exeext
35884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35885 (eval $ac_link) 2>&5
35886 ac_status=$?
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } &&
35889 { ac_try='test -s conftest$ac_exeext'
35890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35891 (eval $ac_try) 2>&5
35892 ac_status=$?
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); }; }; then
35895 eval "$as_ac_var=yes"
35896 else
35897 echo "$as_me: failed program was:" >&5
35898 sed 's/^/| /' conftest.$ac_ext >&5
35900 eval "$as_ac_var=no"
35902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35906 if test `eval echo '${'$as_ac_var'}'` = yes; then
35907 cat >>confdefs.h <<_ACEOF
35908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35909 _ACEOF
35912 done
35919 echo "$as_me:$LINENO: checking for long double trig functions" >&5
35920 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35921 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 else
35927 ac_ext=cc
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933 cat >conftest.$ac_ext <<_ACEOF
35934 #line $LINENO "configure"
35935 /* confdefs.h. */
35936 _ACEOF
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 `for x in acosl asinl atanl \
35945 cosl sinl tanl \
35946 coshl sinhl tanhl; do echo "$x (0);"; done`
35948 return 0;
35950 _ACEOF
35951 rm -f conftest.$ac_objext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35953 (eval $ac_compile) 2>&5
35954 ac_status=$?
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } &&
35957 { ac_try='test -s conftest.$ac_objext'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35960 ac_status=$?
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; }; then
35963 glibcxx_cv_func_long_double_trig_use=yes
35964 else
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35968 glibcxx_cv_func_long_double_trig_use=no
35970 rm -f conftest.$ac_objext conftest.$ac_ext
35971 ac_ext=c
35972 ac_cpp='$CPP $CPPFLAGS'
35973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35980 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35981 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35991 for ac_func in acosl asinl atanl \
35992 cosl sinl tanl \
35993 coshl sinhl tanhl
35995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36001 if test x$gcc_no_link = xyes; then
36002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36004 { (exit 1); exit 1; }; }
36006 cat >conftest.$ac_ext <<_ACEOF
36007 #line $LINENO "configure"
36008 /* confdefs.h. */
36009 _ACEOF
36010 cat confdefs.h >>conftest.$ac_ext
36011 cat >>conftest.$ac_ext <<_ACEOF
36012 /* end confdefs.h. */
36013 /* System header to define __stub macros and hopefully few prototypes,
36014 which can conflict with char $ac_func (); below.
36015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36016 <limits.h> exists even on freestanding compilers. */
36017 #ifdef __STDC__
36018 # include <limits.h>
36019 #else
36020 # include <assert.h>
36021 #endif
36022 /* Override any gcc2 internal prototype to avoid an error. */
36023 #ifdef __cplusplus
36024 extern "C"
36026 #endif
36027 /* We use char because int might match the return type of a gcc2
36028 builtin and then its argument prototype would still apply. */
36029 char $ac_func ();
36030 /* The GNU C library defines this for functions which it implements
36031 to always fail with ENOSYS. Some functions are actually named
36032 something starting with __ and the normal name is an alias. */
36033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36034 choke me
36035 #else
36036 char (*f) () = $ac_func;
36037 #endif
36038 #ifdef __cplusplus
36040 #endif
36043 main ()
36045 return f != $ac_func;
36047 return 0;
36049 _ACEOF
36050 rm -f conftest.$ac_objext conftest$ac_exeext
36051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36052 (eval $ac_link) 2>&5
36053 ac_status=$?
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } &&
36056 { ac_try='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36063 else
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36067 eval "$as_ac_var=no"
36069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36073 if test `eval echo '${'$as_ac_var'}'` = yes; then
36074 cat >>confdefs.h <<_ACEOF
36075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36076 _ACEOF
36079 done
36084 echo "$as_me:$LINENO: checking for long double round functions" >&5
36085 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36086 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36088 else
36092 ac_ext=cc
36093 ac_cpp='$CXXCPP $CPPFLAGS'
36094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098 cat >conftest.$ac_ext <<_ACEOF
36099 #line $LINENO "configure"
36100 /* confdefs.h. */
36101 _ACEOF
36102 cat confdefs.h >>conftest.$ac_ext
36103 cat >>conftest.$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36105 #include <math.h>
36107 main ()
36109 `for x in ceill floorl; do echo "$x (0);"; done`
36111 return 0;
36113 _ACEOF
36114 rm -f conftest.$ac_objext
36115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36116 (eval $ac_compile) 2>&5
36117 ac_status=$?
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } &&
36120 { ac_try='test -s conftest.$ac_objext'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36123 ac_status=$?
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; }; then
36126 glibcxx_cv_func_long_double_round_use=yes
36127 else
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.$ac_ext >&5
36131 glibcxx_cv_func_long_double_round_use=no
36133 rm -f conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36143 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36144 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36147 for ac_func in ceill floorl
36149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36150 echo "$as_me:$LINENO: checking for $ac_func" >&5
36151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36152 if eval "test \"\${$as_ac_var+set}\" = set"; then
36153 echo $ECHO_N "(cached) $ECHO_C" >&6
36154 else
36155 if test x$gcc_no_link = xyes; then
36156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36158 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
36168 which can conflict with char $ac_func (); below.
36169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36170 <limits.h> exists even on freestanding compilers. */
36171 #ifdef __STDC__
36172 # include <limits.h>
36173 #else
36174 # include <assert.h>
36175 #endif
36176 /* Override any gcc2 internal prototype to avoid an error. */
36177 #ifdef __cplusplus
36178 extern "C"
36180 #endif
36181 /* We use char because int might match the return type of a gcc2
36182 builtin and then its argument prototype would still apply. */
36183 char $ac_func ();
36184 /* The GNU C library defines this for functions which it implements
36185 to always fail with ENOSYS. Some functions are actually named
36186 something starting with __ and the normal name is an alias. */
36187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36188 choke me
36189 #else
36190 char (*f) () = $ac_func;
36191 #endif
36192 #ifdef __cplusplus
36194 #endif
36197 main ()
36199 return f != $ac_func;
36201 return 0;
36203 _ACEOF
36204 rm -f conftest.$ac_objext conftest$ac_exeext
36205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36206 (eval $ac_link) 2>&5
36207 ac_status=$?
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); } &&
36210 { ac_try='test -s conftest$ac_exeext'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; }; then
36216 eval "$as_ac_var=yes"
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 eval "$as_ac_var=no"
36223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36227 if test `eval echo '${'$as_ac_var'}'` = yes; then
36228 cat >>confdefs.h <<_ACEOF
36229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36230 _ACEOF
36233 done
36239 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36240 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36241 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36242 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36243 echo $ECHO_N "(cached) $ECHO_C" >&6
36244 else
36248 ac_ext=cc
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254 cat >conftest.$ac_ext <<_ACEOF
36255 #line $LINENO "configure"
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 #include <math.h>
36262 #ifdef HAVE_IEEEFP_H
36263 #include <ieeefp.h>
36264 #endif
36267 main ()
36269 isnanl(0);
36271 return 0;
36273 _ACEOF
36274 rm -f conftest.$ac_objext
36275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36276 (eval $ac_compile) 2>&5
36277 ac_status=$?
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } &&
36280 { ac_try='test -s conftest.$ac_objext'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; }; then
36286 glibcxx_cv_func_isnanl_use=yes
36287 else
36288 echo "$as_me: failed program was:" >&5
36289 sed 's/^/| /' conftest.$ac_ext >&5
36291 glibcxx_cv_func_isnanl_use=no
36293 rm -f conftest.$ac_objext conftest.$ac_ext
36294 ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36305 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36307 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36309 for ac_func in isnanl
36311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312 echo "$as_me:$LINENO: checking for $ac_func" >&5
36313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_var+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 else
36317 if test x$gcc_no_link = xyes; then
36318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36320 { (exit 1); exit 1; }; }
36322 cat >conftest.$ac_ext <<_ACEOF
36323 #line $LINENO "configure"
36324 /* confdefs.h. */
36325 _ACEOF
36326 cat confdefs.h >>conftest.$ac_ext
36327 cat >>conftest.$ac_ext <<_ACEOF
36328 /* end confdefs.h. */
36329 /* System header to define __stub macros and hopefully few prototypes,
36330 which can conflict with char $ac_func (); below.
36331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36332 <limits.h> exists even on freestanding compilers. */
36333 #ifdef __STDC__
36334 # include <limits.h>
36335 #else
36336 # include <assert.h>
36337 #endif
36338 /* Override any gcc2 internal prototype to avoid an error. */
36339 #ifdef __cplusplus
36340 extern "C"
36342 #endif
36343 /* We use char because int might match the return type of a gcc2
36344 builtin and then its argument prototype would still apply. */
36345 char $ac_func ();
36346 /* The GNU C library defines this for functions which it implements
36347 to always fail with ENOSYS. Some functions are actually named
36348 something starting with __ and the normal name is an alias. */
36349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36350 choke me
36351 #else
36352 char (*f) () = $ac_func;
36353 #endif
36354 #ifdef __cplusplus
36356 #endif
36359 main ()
36361 return f != $ac_func;
36363 return 0;
36365 _ACEOF
36366 rm -f conftest.$ac_objext conftest$ac_exeext
36367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36368 (eval $ac_link) 2>&5
36369 ac_status=$?
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); } &&
36372 { ac_try='test -s conftest$ac_exeext'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36375 ac_status=$?
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; }; then
36378 eval "$as_ac_var=yes"
36379 else
36380 echo "$as_me: failed program was:" >&5
36381 sed 's/^/| /' conftest.$ac_ext >&5
36383 eval "$as_ac_var=no"
36385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36389 if test `eval echo '${'$as_ac_var'}'` = yes; then
36390 cat >>confdefs.h <<_ACEOF
36391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36392 _ACEOF
36395 done
36397 else
36399 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36400 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36401 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36402 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 else
36408 ac_ext=cc
36409 ac_cpp='$CXXCPP $CPPFLAGS'
36410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36414 cat >conftest.$ac_ext <<_ACEOF
36415 #line $LINENO "configure"
36416 /* confdefs.h. */
36417 _ACEOF
36418 cat confdefs.h >>conftest.$ac_ext
36419 cat >>conftest.$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36421 #include <math.h>
36422 #ifdef HAVE_IEEEFP_H
36423 #include <ieeefp.h>
36424 #endif
36427 main ()
36429 _isnanl(0);
36431 return 0;
36433 _ACEOF
36434 rm -f conftest.$ac_objext
36435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36436 (eval $ac_compile) 2>&5
36437 ac_status=$?
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } &&
36440 { ac_try='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36443 ac_status=$?
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 glibcxx_cv_func__isnanl_use=yes
36447 else
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36451 glibcxx_cv_func__isnanl_use=no
36453 rm -f conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36465 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36467 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36469 for ac_func in _isnanl
36471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 echo "$as_me:$LINENO: checking for $ac_func" >&5
36473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36474 if eval "test \"\${$as_ac_var+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 else
36477 if test x$gcc_no_link = xyes; then
36478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36480 { (exit 1); exit 1; }; }
36482 cat >conftest.$ac_ext <<_ACEOF
36483 #line $LINENO "configure"
36484 /* confdefs.h. */
36485 _ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 /* System header to define __stub macros and hopefully few prototypes,
36490 which can conflict with char $ac_func (); below.
36491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36492 <limits.h> exists even on freestanding compilers. */
36493 #ifdef __STDC__
36494 # include <limits.h>
36495 #else
36496 # include <assert.h>
36497 #endif
36498 /* Override any gcc2 internal prototype to avoid an error. */
36499 #ifdef __cplusplus
36500 extern "C"
36502 #endif
36503 /* We use char because int might match the return type of a gcc2
36504 builtin and then its argument prototype would still apply. */
36505 char $ac_func ();
36506 /* The GNU C library defines this for functions which it implements
36507 to always fail with ENOSYS. Some functions are actually named
36508 something starting with __ and the normal name is an alias. */
36509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36510 choke me
36511 #else
36512 char (*f) () = $ac_func;
36513 #endif
36514 #ifdef __cplusplus
36516 #endif
36519 main ()
36521 return f != $ac_func;
36523 return 0;
36525 _ACEOF
36526 rm -f conftest.$ac_objext conftest$ac_exeext
36527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36528 (eval $ac_link) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } &&
36532 { ac_try='test -s conftest$ac_exeext'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36535 ac_status=$?
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; }; then
36538 eval "$as_ac_var=yes"
36539 else
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36543 eval "$as_ac_var=no"
36545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36549 if test `eval echo '${'$as_ac_var'}'` = yes; then
36550 cat >>confdefs.h <<_ACEOF
36551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36552 _ACEOF
36555 done
36562 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36563 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36564 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36565 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36571 ac_ext=cc
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat >conftest.$ac_ext <<_ACEOF
36578 #line $LINENO "configure"
36579 /* confdefs.h. */
36580 _ACEOF
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36584 #include <math.h>
36585 #ifdef HAVE_IEEEFP_H
36586 #include <ieeefp.h>
36587 #endif
36590 main ()
36592 isinfl(0);
36594 return 0;
36596 _ACEOF
36597 rm -f conftest.$ac_objext
36598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599 (eval $ac_compile) 2>&5
36600 ac_status=$?
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -s conftest.$ac_objext'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36606 ac_status=$?
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; }; then
36609 glibcxx_cv_func_isinfl_use=yes
36610 else
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.$ac_ext >&5
36614 glibcxx_cv_func_isinfl_use=no
36616 rm -f conftest.$ac_objext conftest.$ac_ext
36617 ac_ext=c
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36628 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36632 for ac_func in isinfl
36634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36635 echo "$as_me:$LINENO: checking for $ac_func" >&5
36636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36637 if eval "test \"\${$as_ac_var+set}\" = set"; then
36638 echo $ECHO_N "(cached) $ECHO_C" >&6
36639 else
36640 if test x$gcc_no_link = xyes; then
36641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36643 { (exit 1); exit 1; }; }
36645 cat >conftest.$ac_ext <<_ACEOF
36646 #line $LINENO "configure"
36647 /* confdefs.h. */
36648 _ACEOF
36649 cat confdefs.h >>conftest.$ac_ext
36650 cat >>conftest.$ac_ext <<_ACEOF
36651 /* end confdefs.h. */
36652 /* System header to define __stub macros and hopefully few prototypes,
36653 which can conflict with char $ac_func (); below.
36654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36655 <limits.h> exists even on freestanding compilers. */
36656 #ifdef __STDC__
36657 # include <limits.h>
36658 #else
36659 # include <assert.h>
36660 #endif
36661 /* Override any gcc2 internal prototype to avoid an error. */
36662 #ifdef __cplusplus
36663 extern "C"
36665 #endif
36666 /* We use char because int might match the return type of a gcc2
36667 builtin and then its argument prototype would still apply. */
36668 char $ac_func ();
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36673 choke me
36674 #else
36675 char (*f) () = $ac_func;
36676 #endif
36677 #ifdef __cplusplus
36679 #endif
36682 main ()
36684 return f != $ac_func;
36686 return 0;
36688 _ACEOF
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36691 (eval $ac_link) 2>&5
36692 ac_status=$?
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); } &&
36695 { ac_try='test -s conftest$ac_exeext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36698 ac_status=$?
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 eval "$as_ac_var=yes"
36702 else
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36706 eval "$as_ac_var=no"
36708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36715 _ACEOF
36718 done
36720 else
36722 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36723 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36725 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 else
36731 ac_ext=cc
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat >conftest.$ac_ext <<_ACEOF
36738 #line $LINENO "configure"
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744 #include <math.h>
36745 #ifdef HAVE_IEEEFP_H
36746 #include <ieeefp.h>
36747 #endif
36750 main ()
36752 _isinfl(0);
36754 return 0;
36756 _ACEOF
36757 rm -f conftest.$ac_objext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36759 (eval $ac_compile) 2>&5
36760 ac_status=$?
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } &&
36763 { ac_try='test -s conftest.$ac_objext'
36764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36765 (eval $ac_try) 2>&5
36766 ac_status=$?
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); }; }; then
36769 glibcxx_cv_func__isinfl_use=yes
36770 else
36771 echo "$as_me: failed program was:" >&5
36772 sed 's/^/| /' conftest.$ac_ext >&5
36774 glibcxx_cv_func__isinfl_use=no
36776 rm -f conftest.$ac_objext conftest.$ac_ext
36777 ac_ext=c
36778 ac_cpp='$CPP $CPPFLAGS'
36779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36788 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36790 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36792 for ac_func in _isinfl
36794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36795 echo "$as_me:$LINENO: checking for $ac_func" >&5
36796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36797 if eval "test \"\${$as_ac_var+set}\" = set"; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36799 else
36800 if test x$gcc_no_link = xyes; then
36801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36803 { (exit 1); exit 1; }; }
36805 cat >conftest.$ac_ext <<_ACEOF
36806 #line $LINENO "configure"
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* System header to define __stub macros and hopefully few prototypes,
36813 which can conflict with char $ac_func (); below.
36814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36815 <limits.h> exists even on freestanding compilers. */
36816 #ifdef __STDC__
36817 # include <limits.h>
36818 #else
36819 # include <assert.h>
36820 #endif
36821 /* Override any gcc2 internal prototype to avoid an error. */
36822 #ifdef __cplusplus
36823 extern "C"
36825 #endif
36826 /* We use char because int might match the return type of a gcc2
36827 builtin and then its argument prototype would still apply. */
36828 char $ac_func ();
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36833 choke me
36834 #else
36835 char (*f) () = $ac_func;
36836 #endif
36837 #ifdef __cplusplus
36839 #endif
36842 main ()
36844 return f != $ac_func;
36846 return 0;
36848 _ACEOF
36849 rm -f conftest.$ac_objext conftest$ac_exeext
36850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36851 (eval $ac_link) 2>&5
36852 ac_status=$?
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try='test -s conftest$ac_exeext'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36858 ac_status=$?
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; }; then
36861 eval "$as_ac_var=yes"
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36866 eval "$as_ac_var=no"
36868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36872 if test `eval echo '${'$as_ac_var'}'` = yes; then
36873 cat >>confdefs.h <<_ACEOF
36874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36875 _ACEOF
36878 done
36885 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36886 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36887 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36888 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36889 echo $ECHO_N "(cached) $ECHO_C" >&6
36890 else
36894 ac_ext=cc
36895 ac_cpp='$CXXCPP $CPPFLAGS'
36896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36900 cat >conftest.$ac_ext <<_ACEOF
36901 #line $LINENO "configure"
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <math.h>
36909 main ()
36911 copysignl(0, 0);
36913 return 0;
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } &&
36922 { ac_try='test -s conftest.$ac_objext'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; }; then
36928 glibcxx_cv_func_copysignl_use=yes
36929 else
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36933 glibcxx_cv_func_copysignl_use=no
36935 rm -f conftest.$ac_objext conftest.$ac_ext
36936 ac_ext=c
36937 ac_cpp='$CPP $CPPFLAGS'
36938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36947 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36949 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36951 for ac_func in copysignl
36953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36954 echo "$as_me:$LINENO: checking for $ac_func" >&5
36955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36956 if eval "test \"\${$as_ac_var+set}\" = set"; then
36957 echo $ECHO_N "(cached) $ECHO_C" >&6
36958 else
36959 if test x$gcc_no_link = xyes; then
36960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36962 { (exit 1); exit 1; }; }
36964 cat >conftest.$ac_ext <<_ACEOF
36965 #line $LINENO "configure"
36966 /* confdefs.h. */
36967 _ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971 /* System header to define __stub macros and hopefully few prototypes,
36972 which can conflict with char $ac_func (); below.
36973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36974 <limits.h> exists even on freestanding compilers. */
36975 #ifdef __STDC__
36976 # include <limits.h>
36977 #else
36978 # include <assert.h>
36979 #endif
36980 /* Override any gcc2 internal prototype to avoid an error. */
36981 #ifdef __cplusplus
36982 extern "C"
36984 #endif
36985 /* We use char because int might match the return type of a gcc2
36986 builtin and then its argument prototype would still apply. */
36987 char $ac_func ();
36988 /* The GNU C library defines this for functions which it implements
36989 to always fail with ENOSYS. Some functions are actually named
36990 something starting with __ and the normal name is an alias. */
36991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36992 choke me
36993 #else
36994 char (*f) () = $ac_func;
36995 #endif
36996 #ifdef __cplusplus
36998 #endif
37001 main ()
37003 return f != $ac_func;
37005 return 0;
37007 _ACEOF
37008 rm -f conftest.$ac_objext conftest$ac_exeext
37009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37010 (eval $ac_link) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } &&
37014 { ac_try='test -s conftest$ac_exeext'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37017 ac_status=$?
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; }; then
37020 eval "$as_ac_var=yes"
37021 else
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37025 eval "$as_ac_var=no"
37027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37031 if test `eval echo '${'$as_ac_var'}'` = yes; then
37032 cat >>confdefs.h <<_ACEOF
37033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37034 _ACEOF
37037 done
37039 else
37041 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37042 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37043 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37044 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 else
37050 ac_ext=cc
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056 cat >conftest.$ac_ext <<_ACEOF
37057 #line $LINENO "configure"
37058 /* confdefs.h. */
37059 _ACEOF
37060 cat confdefs.h >>conftest.$ac_ext
37061 cat >>conftest.$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37063 #include <math.h>
37065 main ()
37067 _copysignl(0, 0);
37069 return 0;
37071 _ACEOF
37072 rm -f conftest.$ac_objext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37074 (eval $ac_compile) 2>&5
37075 ac_status=$?
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); } &&
37078 { ac_try='test -s conftest.$ac_objext'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37081 ac_status=$?
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; }; then
37084 glibcxx_cv_func__copysignl_use=yes
37085 else
37086 echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.$ac_ext >&5
37089 glibcxx_cv_func__copysignl_use=no
37091 rm -f conftest.$ac_objext conftest.$ac_ext
37092 ac_ext=c
37093 ac_cpp='$CPP $CPPFLAGS'
37094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37103 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37105 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37107 for ac_func in _copysignl
37109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 echo "$as_me:$LINENO: checking for $ac_func" >&5
37111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_var+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115 if test x$gcc_no_link = xyes; then
37116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37118 { (exit 1); exit 1; }; }
37120 cat >conftest.$ac_ext <<_ACEOF
37121 #line $LINENO "configure"
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 /* System header to define __stub macros and hopefully few prototypes,
37128 which can conflict with char $ac_func (); below.
37129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37130 <limits.h> exists even on freestanding compilers. */
37131 #ifdef __STDC__
37132 # include <limits.h>
37133 #else
37134 # include <assert.h>
37135 #endif
37136 /* Override any gcc2 internal prototype to avoid an error. */
37137 #ifdef __cplusplus
37138 extern "C"
37140 #endif
37141 /* We use char because int might match the return type of a gcc2
37142 builtin and then its argument prototype would still apply. */
37143 char $ac_func ();
37144 /* The GNU C library defines this for functions which it implements
37145 to always fail with ENOSYS. Some functions are actually named
37146 something starting with __ and the normal name is an alias. */
37147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37148 choke me
37149 #else
37150 char (*f) () = $ac_func;
37151 #endif
37152 #ifdef __cplusplus
37154 #endif
37157 main ()
37159 return f != $ac_func;
37161 return 0;
37163 _ACEOF
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37166 (eval $ac_link) 2>&5
37167 ac_status=$?
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } &&
37170 { ac_try='test -s conftest$ac_exeext'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37173 ac_status=$?
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; }; then
37176 eval "$as_ac_var=yes"
37177 else
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.$ac_ext >&5
37181 eval "$as_ac_var=no"
37183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37187 if test `eval echo '${'$as_ac_var'}'` = yes; then
37188 cat >>confdefs.h <<_ACEOF
37189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37190 _ACEOF
37193 done
37200 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37201 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37202 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37203 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37205 else
37209 ac_ext=cc
37210 ac_cpp='$CXXCPP $CPPFLAGS'
37211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37215 cat >conftest.$ac_ext <<_ACEOF
37216 #line $LINENO "configure"
37217 /* confdefs.h. */
37218 _ACEOF
37219 cat confdefs.h >>conftest.$ac_ext
37220 cat >>conftest.$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37222 #include <math.h>
37224 main ()
37226 atan2l(0, 0);
37228 return 0;
37230 _ACEOF
37231 rm -f conftest.$ac_objext
37232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37233 (eval $ac_compile) 2>&5
37234 ac_status=$?
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); } &&
37237 { ac_try='test -s conftest.$ac_objext'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37240 ac_status=$?
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; }; then
37243 glibcxx_cv_func_atan2l_use=yes
37244 else
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37248 glibcxx_cv_func_atan2l_use=no
37250 rm -f conftest.$ac_objext conftest.$ac_ext
37251 ac_ext=c
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37262 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37264 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37266 for ac_func in atan2l
37268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37269 echo "$as_me:$LINENO: checking for $ac_func" >&5
37270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37271 if eval "test \"\${$as_ac_var+set}\" = set"; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 else
37274 if test x$gcc_no_link = xyes; then
37275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37277 { (exit 1); exit 1; }; }
37279 cat >conftest.$ac_ext <<_ACEOF
37280 #line $LINENO "configure"
37281 /* confdefs.h. */
37282 _ACEOF
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 /* System header to define __stub macros and hopefully few prototypes,
37287 which can conflict with char $ac_func (); below.
37288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37289 <limits.h> exists even on freestanding compilers. */
37290 #ifdef __STDC__
37291 # include <limits.h>
37292 #else
37293 # include <assert.h>
37294 #endif
37295 /* Override any gcc2 internal prototype to avoid an error. */
37296 #ifdef __cplusplus
37297 extern "C"
37299 #endif
37300 /* We use char because int might match the return type of a gcc2
37301 builtin and then its argument prototype would still apply. */
37302 char $ac_func ();
37303 /* The GNU C library defines this for functions which it implements
37304 to always fail with ENOSYS. Some functions are actually named
37305 something starting with __ and the normal name is an alias. */
37306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37307 choke me
37308 #else
37309 char (*f) () = $ac_func;
37310 #endif
37311 #ifdef __cplusplus
37313 #endif
37316 main ()
37318 return f != $ac_func;
37320 return 0;
37322 _ACEOF
37323 rm -f conftest.$ac_objext conftest$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>&5
37326 ac_status=$?
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } &&
37329 { ac_try='test -s conftest$ac_exeext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37332 ac_status=$?
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 eval "$as_ac_var=yes"
37336 else
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37340 eval "$as_ac_var=no"
37342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37346 if test `eval echo '${'$as_ac_var'}'` = yes; then
37347 cat >>confdefs.h <<_ACEOF
37348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37349 _ACEOF
37352 done
37354 else
37356 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37357 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37358 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37359 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37365 ac_ext=cc
37366 ac_cpp='$CXXCPP $CPPFLAGS'
37367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37371 cat >conftest.$ac_ext <<_ACEOF
37372 #line $LINENO "configure"
37373 /* confdefs.h. */
37374 _ACEOF
37375 cat confdefs.h >>conftest.$ac_ext
37376 cat >>conftest.$ac_ext <<_ACEOF
37377 /* end confdefs.h. */
37378 #include <math.h>
37380 main ()
37382 _atan2l(0, 0);
37384 return 0;
37386 _ACEOF
37387 rm -f conftest.$ac_objext
37388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37389 (eval $ac_compile) 2>&5
37390 ac_status=$?
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } &&
37393 { ac_try='test -s conftest.$ac_objext'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37396 ac_status=$?
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; }; then
37399 glibcxx_cv_func__atan2l_use=yes
37400 else
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37404 glibcxx_cv_func__atan2l_use=no
37406 rm -f conftest.$ac_objext conftest.$ac_ext
37407 ac_ext=c
37408 ac_cpp='$CPP $CPPFLAGS'
37409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37418 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37420 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37422 for ac_func in _atan2l
37424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37427 if eval "test \"\${$as_ac_var+set}\" = set"; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37429 else
37430 if test x$gcc_no_link = xyes; then
37431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37433 { (exit 1); exit 1; }; }
37435 cat >conftest.$ac_ext <<_ACEOF
37436 #line $LINENO "configure"
37437 /* confdefs.h. */
37438 _ACEOF
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442 /* System header to define __stub macros and hopefully few prototypes,
37443 which can conflict with char $ac_func (); below.
37444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37445 <limits.h> exists even on freestanding compilers. */
37446 #ifdef __STDC__
37447 # include <limits.h>
37448 #else
37449 # include <assert.h>
37450 #endif
37451 /* Override any gcc2 internal prototype to avoid an error. */
37452 #ifdef __cplusplus
37453 extern "C"
37455 #endif
37456 /* We use char because int might match the return type of a gcc2
37457 builtin and then its argument prototype would still apply. */
37458 char $ac_func ();
37459 /* The GNU C library defines this for functions which it implements
37460 to always fail with ENOSYS. Some functions are actually named
37461 something starting with __ and the normal name is an alias. */
37462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37463 choke me
37464 #else
37465 char (*f) () = $ac_func;
37466 #endif
37467 #ifdef __cplusplus
37469 #endif
37472 main ()
37474 return f != $ac_func;
37476 return 0;
37478 _ACEOF
37479 rm -f conftest.$ac_objext conftest$ac_exeext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37481 (eval $ac_link) 2>&5
37482 ac_status=$?
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } &&
37485 { ac_try='test -s conftest$ac_exeext'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37488 ac_status=$?
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; }; then
37491 eval "$as_ac_var=yes"
37492 else
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.$ac_ext >&5
37496 eval "$as_ac_var=no"
37498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37502 if test `eval echo '${'$as_ac_var'}'` = yes; then
37503 cat >>confdefs.h <<_ACEOF
37504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37505 _ACEOF
37508 done
37515 echo "$as_me:$LINENO: checking for expl declaration" >&5
37516 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37517 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37518 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37519 echo $ECHO_N "(cached) $ECHO_C" >&6
37520 else
37524 ac_ext=cc
37525 ac_cpp='$CXXCPP $CPPFLAGS'
37526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37530 cat >conftest.$ac_ext <<_ACEOF
37531 #line $LINENO "configure"
37532 /* confdefs.h. */
37533 _ACEOF
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37537 #include <math.h>
37538 #ifdef HAVE_IEEEFP_H
37539 #include <ieeefp.h>
37540 #endif
37543 main ()
37545 expl(0);
37547 return 0;
37549 _ACEOF
37550 rm -f conftest.$ac_objext
37551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37552 (eval $ac_compile) 2>&5
37553 ac_status=$?
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } &&
37556 { ac_try='test -s conftest.$ac_objext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 glibcxx_cv_func_expl_use=yes
37563 else
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37567 glibcxx_cv_func_expl_use=no
37569 rm -f conftest.$ac_objext conftest.$ac_ext
37570 ac_ext=c
37571 ac_cpp='$CPP $CPPFLAGS'
37572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37581 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37583 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37585 for ac_func in expl
37587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37588 echo "$as_me:$LINENO: checking for $ac_func" >&5
37589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37590 if eval "test \"\${$as_ac_var+set}\" = set"; then
37591 echo $ECHO_N "(cached) $ECHO_C" >&6
37592 else
37593 if test x$gcc_no_link = xyes; then
37594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37596 { (exit 1); exit 1; }; }
37598 cat >conftest.$ac_ext <<_ACEOF
37599 #line $LINENO "configure"
37600 /* confdefs.h. */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* System header to define __stub macros and hopefully few prototypes,
37606 which can conflict with char $ac_func (); below.
37607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37608 <limits.h> exists even on freestanding compilers. */
37609 #ifdef __STDC__
37610 # include <limits.h>
37611 #else
37612 # include <assert.h>
37613 #endif
37614 /* Override any gcc2 internal prototype to avoid an error. */
37615 #ifdef __cplusplus
37616 extern "C"
37618 #endif
37619 /* We use char because int might match the return type of a gcc2
37620 builtin and then its argument prototype would still apply. */
37621 char $ac_func ();
37622 /* The GNU C library defines this for functions which it implements
37623 to always fail with ENOSYS. Some functions are actually named
37624 something starting with __ and the normal name is an alias. */
37625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37626 choke me
37627 #else
37628 char (*f) () = $ac_func;
37629 #endif
37630 #ifdef __cplusplus
37632 #endif
37635 main ()
37637 return f != $ac_func;
37639 return 0;
37641 _ACEOF
37642 rm -f conftest.$ac_objext conftest$ac_exeext
37643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37644 (eval $ac_link) 2>&5
37645 ac_status=$?
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try='test -s conftest$ac_exeext'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37651 ac_status=$?
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; }; then
37654 eval "$as_ac_var=yes"
37655 else
37656 echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.$ac_ext >&5
37659 eval "$as_ac_var=no"
37661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37665 if test `eval echo '${'$as_ac_var'}'` = yes; then
37666 cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37668 _ACEOF
37671 done
37673 else
37675 echo "$as_me:$LINENO: checking for _expl declaration" >&5
37676 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37678 if test "${glibcxx_cv_func__expl_use+set}" = set; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37680 else
37684 ac_ext=cc
37685 ac_cpp='$CXXCPP $CPPFLAGS'
37686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37690 cat >conftest.$ac_ext <<_ACEOF
37691 #line $LINENO "configure"
37692 /* confdefs.h. */
37693 _ACEOF
37694 cat confdefs.h >>conftest.$ac_ext
37695 cat >>conftest.$ac_ext <<_ACEOF
37696 /* end confdefs.h. */
37697 #include <math.h>
37698 #ifdef HAVE_IEEEFP_H
37699 #include <ieeefp.h>
37700 #endif
37703 main ()
37705 _expl(0);
37707 return 0;
37709 _ACEOF
37710 rm -f conftest.$ac_objext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37712 (eval $ac_compile) 2>&5
37713 ac_status=$?
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); } &&
37716 { ac_try='test -s conftest.$ac_objext'
37717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37718 (eval $ac_try) 2>&5
37719 ac_status=$?
37720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37721 (exit $ac_status); }; }; then
37722 glibcxx_cv_func__expl_use=yes
37723 else
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.$ac_ext >&5
37727 glibcxx_cv_func__expl_use=no
37729 rm -f conftest.$ac_objext conftest.$ac_ext
37730 ac_ext=c
37731 ac_cpp='$CPP $CPPFLAGS'
37732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37741 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37743 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37745 for ac_func in _expl
37747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37748 echo "$as_me:$LINENO: checking for $ac_func" >&5
37749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37750 if eval "test \"\${$as_ac_var+set}\" = set"; then
37751 echo $ECHO_N "(cached) $ECHO_C" >&6
37752 else
37753 if test x$gcc_no_link = xyes; then
37754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37756 { (exit 1); exit 1; }; }
37758 cat >conftest.$ac_ext <<_ACEOF
37759 #line $LINENO "configure"
37760 /* confdefs.h. */
37761 _ACEOF
37762 cat confdefs.h >>conftest.$ac_ext
37763 cat >>conftest.$ac_ext <<_ACEOF
37764 /* end confdefs.h. */
37765 /* System header to define __stub macros and hopefully few prototypes,
37766 which can conflict with char $ac_func (); below.
37767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37768 <limits.h> exists even on freestanding compilers. */
37769 #ifdef __STDC__
37770 # include <limits.h>
37771 #else
37772 # include <assert.h>
37773 #endif
37774 /* Override any gcc2 internal prototype to avoid an error. */
37775 #ifdef __cplusplus
37776 extern "C"
37778 #endif
37779 /* We use char because int might match the return type of a gcc2
37780 builtin and then its argument prototype would still apply. */
37781 char $ac_func ();
37782 /* The GNU C library defines this for functions which it implements
37783 to always fail with ENOSYS. Some functions are actually named
37784 something starting with __ and the normal name is an alias. */
37785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37786 choke me
37787 #else
37788 char (*f) () = $ac_func;
37789 #endif
37790 #ifdef __cplusplus
37792 #endif
37795 main ()
37797 return f != $ac_func;
37799 return 0;
37801 _ACEOF
37802 rm -f conftest.$ac_objext conftest$ac_exeext
37803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37804 (eval $ac_link) 2>&5
37805 ac_status=$?
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } &&
37808 { ac_try='test -s conftest$ac_exeext'
37809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37810 (eval $ac_try) 2>&5
37811 ac_status=$?
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); }; }; then
37814 eval "$as_ac_var=yes"
37815 else
37816 echo "$as_me: failed program was:" >&5
37817 sed 's/^/| /' conftest.$ac_ext >&5
37819 eval "$as_ac_var=no"
37821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37825 if test `eval echo '${'$as_ac_var'}'` = yes; then
37826 cat >>confdefs.h <<_ACEOF
37827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37828 _ACEOF
37831 done
37838 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37839 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37840 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37841 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37842 echo $ECHO_N "(cached) $ECHO_C" >&6
37843 else
37847 ac_ext=cc
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat >conftest.$ac_ext <<_ACEOF
37854 #line $LINENO "configure"
37855 /* confdefs.h. */
37856 _ACEOF
37857 cat confdefs.h >>conftest.$ac_ext
37858 cat >>conftest.$ac_ext <<_ACEOF
37859 /* end confdefs.h. */
37860 #include <math.h>
37861 #ifdef HAVE_IEEEFP_H
37862 #include <ieeefp.h>
37863 #endif
37866 main ()
37868 fabsl(0);
37870 return 0;
37872 _ACEOF
37873 rm -f conftest.$ac_objext
37874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37875 (eval $ac_compile) 2>&5
37876 ac_status=$?
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } &&
37879 { ac_try='test -s conftest.$ac_objext'
37880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37881 (eval $ac_try) 2>&5
37882 ac_status=$?
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); }; }; then
37885 glibcxx_cv_func_fabsl_use=yes
37886 else
37887 echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.$ac_ext >&5
37890 glibcxx_cv_func_fabsl_use=no
37892 rm -f conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37904 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37906 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37908 for ac_func in fabsl
37910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37913 if eval "test \"\${$as_ac_var+set}\" = set"; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 else
37916 if test x$gcc_no_link = xyes; then
37917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37919 { (exit 1); exit 1; }; }
37921 cat >conftest.$ac_ext <<_ACEOF
37922 #line $LINENO "configure"
37923 /* confdefs.h. */
37924 _ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 /* System header to define __stub macros and hopefully few prototypes,
37929 which can conflict with char $ac_func (); below.
37930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37931 <limits.h> exists even on freestanding compilers. */
37932 #ifdef __STDC__
37933 # include <limits.h>
37934 #else
37935 # include <assert.h>
37936 #endif
37937 /* Override any gcc2 internal prototype to avoid an error. */
37938 #ifdef __cplusplus
37939 extern "C"
37941 #endif
37942 /* We use char because int might match the return type of a gcc2
37943 builtin and then its argument prototype would still apply. */
37944 char $ac_func ();
37945 /* The GNU C library defines this for functions which it implements
37946 to always fail with ENOSYS. Some functions are actually named
37947 something starting with __ and the normal name is an alias. */
37948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37949 choke me
37950 #else
37951 char (*f) () = $ac_func;
37952 #endif
37953 #ifdef __cplusplus
37955 #endif
37958 main ()
37960 return f != $ac_func;
37962 return 0;
37964 _ACEOF
37965 rm -f conftest.$ac_objext conftest$ac_exeext
37966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37967 (eval $ac_link) 2>&5
37968 ac_status=$?
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } &&
37971 { ac_try='test -s conftest$ac_exeext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 eval "$as_ac_var=yes"
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37982 eval "$as_ac_var=no"
37984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37988 if test `eval echo '${'$as_ac_var'}'` = yes; then
37989 cat >>confdefs.h <<_ACEOF
37990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37991 _ACEOF
37994 done
37996 else
37998 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37999 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
38000 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38001 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38003 else
38007 ac_ext=cc
38008 ac_cpp='$CXXCPP $CPPFLAGS'
38009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013 cat >conftest.$ac_ext <<_ACEOF
38014 #line $LINENO "configure"
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 #include <math.h>
38021 #ifdef HAVE_IEEEFP_H
38022 #include <ieeefp.h>
38023 #endif
38026 main ()
38028 _fabsl(0);
38030 return 0;
38032 _ACEOF
38033 rm -f conftest.$ac_objext
38034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38035 (eval $ac_compile) 2>&5
38036 ac_status=$?
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } &&
38039 { ac_try='test -s conftest.$ac_objext'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38042 ac_status=$?
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; }; then
38045 glibcxx_cv_func__fabsl_use=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 glibcxx_cv_func__fabsl_use=no
38052 rm -f conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
38064 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
38066 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38068 for ac_func in _fabsl
38070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076 if test x$gcc_no_link = xyes; then
38077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38079 { (exit 1); exit 1; }; }
38081 cat >conftest.$ac_ext <<_ACEOF
38082 #line $LINENO "configure"
38083 /* confdefs.h. */
38084 _ACEOF
38085 cat confdefs.h >>conftest.$ac_ext
38086 cat >>conftest.$ac_ext <<_ACEOF
38087 /* end confdefs.h. */
38088 /* System header to define __stub macros and hopefully few prototypes,
38089 which can conflict with char $ac_func (); below.
38090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38091 <limits.h> exists even on freestanding compilers. */
38092 #ifdef __STDC__
38093 # include <limits.h>
38094 #else
38095 # include <assert.h>
38096 #endif
38097 /* Override any gcc2 internal prototype to avoid an error. */
38098 #ifdef __cplusplus
38099 extern "C"
38101 #endif
38102 /* We use char because int might match the return type of a gcc2
38103 builtin and then its argument prototype would still apply. */
38104 char $ac_func ();
38105 /* The GNU C library defines this for functions which it implements
38106 to always fail with ENOSYS. Some functions are actually named
38107 something starting with __ and the normal name is an alias. */
38108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38109 choke me
38110 #else
38111 char (*f) () = $ac_func;
38112 #endif
38113 #ifdef __cplusplus
38115 #endif
38118 main ()
38120 return f != $ac_func;
38122 return 0;
38124 _ACEOF
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38127 (eval $ac_link) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } &&
38131 { ac_try='test -s conftest$ac_exeext'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38134 ac_status=$?
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; }; then
38137 eval "$as_ac_var=yes"
38138 else
38139 echo "$as_me: failed program was:" >&5
38140 sed 's/^/| /' conftest.$ac_ext >&5
38142 eval "$as_ac_var=no"
38144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38148 if test `eval echo '${'$as_ac_var'}'` = yes; then
38149 cat >>confdefs.h <<_ACEOF
38150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38151 _ACEOF
38154 done
38161 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38162 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38163 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38164 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38166 else
38170 ac_ext=cc
38171 ac_cpp='$CXXCPP $CPPFLAGS'
38172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38176 cat >conftest.$ac_ext <<_ACEOF
38177 #line $LINENO "configure"
38178 /* confdefs.h. */
38179 _ACEOF
38180 cat confdefs.h >>conftest.$ac_ext
38181 cat >>conftest.$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38183 #include <math.h>
38185 main ()
38187 fmodl(0, 0);
38189 return 0;
38191 _ACEOF
38192 rm -f conftest.$ac_objext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38194 (eval $ac_compile) 2>&5
38195 ac_status=$?
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try='test -s conftest.$ac_objext'
38199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200 (eval $ac_try) 2>&5
38201 ac_status=$?
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); }; }; then
38204 glibcxx_cv_func_fmodl_use=yes
38205 else
38206 echo "$as_me: failed program was:" >&5
38207 sed 's/^/| /' conftest.$ac_ext >&5
38209 glibcxx_cv_func_fmodl_use=no
38211 rm -f conftest.$ac_objext conftest.$ac_ext
38212 ac_ext=c
38213 ac_cpp='$CPP $CPPFLAGS'
38214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38223 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38225 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38227 for ac_func in fmodl
38229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38230 echo "$as_me:$LINENO: checking for $ac_func" >&5
38231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38232 if eval "test \"\${$as_ac_var+set}\" = set"; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38234 else
38235 if test x$gcc_no_link = xyes; then
38236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38238 { (exit 1); exit 1; }; }
38240 cat >conftest.$ac_ext <<_ACEOF
38241 #line $LINENO "configure"
38242 /* confdefs.h. */
38243 _ACEOF
38244 cat confdefs.h >>conftest.$ac_ext
38245 cat >>conftest.$ac_ext <<_ACEOF
38246 /* end confdefs.h. */
38247 /* System header to define __stub macros and hopefully few prototypes,
38248 which can conflict with char $ac_func (); below.
38249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38250 <limits.h> exists even on freestanding compilers. */
38251 #ifdef __STDC__
38252 # include <limits.h>
38253 #else
38254 # include <assert.h>
38255 #endif
38256 /* Override any gcc2 internal prototype to avoid an error. */
38257 #ifdef __cplusplus
38258 extern "C"
38260 #endif
38261 /* We use char because int might match the return type of a gcc2
38262 builtin and then its argument prototype would still apply. */
38263 char $ac_func ();
38264 /* The GNU C library defines this for functions which it implements
38265 to always fail with ENOSYS. Some functions are actually named
38266 something starting with __ and the normal name is an alias. */
38267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38268 choke me
38269 #else
38270 char (*f) () = $ac_func;
38271 #endif
38272 #ifdef __cplusplus
38274 #endif
38277 main ()
38279 return f != $ac_func;
38281 return 0;
38283 _ACEOF
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>&5
38287 ac_status=$?
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try='test -s conftest$ac_exeext'
38291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292 (eval $ac_try) 2>&5
38293 ac_status=$?
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); }; }; then
38296 eval "$as_ac_var=yes"
38297 else
38298 echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38301 eval "$as_ac_var=no"
38303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38307 if test `eval echo '${'$as_ac_var'}'` = yes; then
38308 cat >>confdefs.h <<_ACEOF
38309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38310 _ACEOF
38313 done
38315 else
38317 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38318 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38319 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38320 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38322 else
38326 ac_ext=cc
38327 ac_cpp='$CXXCPP $CPPFLAGS'
38328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38332 cat >conftest.$ac_ext <<_ACEOF
38333 #line $LINENO "configure"
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 #include <math.h>
38341 main ()
38343 _fmodl(0, 0);
38345 return 0;
38347 _ACEOF
38348 rm -f conftest.$ac_objext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38350 (eval $ac_compile) 2>&5
38351 ac_status=$?
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } &&
38354 { ac_try='test -s conftest.$ac_objext'
38355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38356 (eval $ac_try) 2>&5
38357 ac_status=$?
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); }; }; then
38360 glibcxx_cv_func__fmodl_use=yes
38361 else
38362 echo "$as_me: failed program was:" >&5
38363 sed 's/^/| /' conftest.$ac_ext >&5
38365 glibcxx_cv_func__fmodl_use=no
38367 rm -f conftest.$ac_objext conftest.$ac_ext
38368 ac_ext=c
38369 ac_cpp='$CPP $CPPFLAGS'
38370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38379 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38381 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38383 for ac_func in _fmodl
38385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38386 echo "$as_me:$LINENO: checking for $ac_func" >&5
38387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38388 if eval "test \"\${$as_ac_var+set}\" = set"; then
38389 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 else
38391 if test x$gcc_no_link = xyes; then
38392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38394 { (exit 1); exit 1; }; }
38396 cat >conftest.$ac_ext <<_ACEOF
38397 #line $LINENO "configure"
38398 /* confdefs.h. */
38399 _ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407 #ifdef __STDC__
38408 # include <limits.h>
38409 #else
38410 # include <assert.h>
38411 #endif
38412 /* Override any gcc2 internal prototype to avoid an error. */
38413 #ifdef __cplusplus
38414 extern "C"
38416 #endif
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38419 char $ac_func ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38424 choke me
38425 #else
38426 char (*f) () = $ac_func;
38427 #endif
38428 #ifdef __cplusplus
38430 #endif
38433 main ()
38435 return f != $ac_func;
38437 return 0;
38439 _ACEOF
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>&5
38443 ac_status=$?
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); } &&
38446 { ac_try='test -s conftest$ac_exeext'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38449 ac_status=$?
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; }; then
38452 eval "$as_ac_var=yes"
38453 else
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.$ac_ext >&5
38457 eval "$as_ac_var=no"
38459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38463 if test `eval echo '${'$as_ac_var'}'` = yes; then
38464 cat >>confdefs.h <<_ACEOF
38465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38466 _ACEOF
38469 done
38476 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38477 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38478 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38479 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38480 echo $ECHO_N "(cached) $ECHO_C" >&6
38481 else
38485 ac_ext=cc
38486 ac_cpp='$CXXCPP $CPPFLAGS'
38487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38491 cat >conftest.$ac_ext <<_ACEOF
38492 #line $LINENO "configure"
38493 /* confdefs.h. */
38494 _ACEOF
38495 cat confdefs.h >>conftest.$ac_ext
38496 cat >>conftest.$ac_ext <<_ACEOF
38497 /* end confdefs.h. */
38498 #include <math.h>
38500 main ()
38502 frexpl(0, 0);
38504 return 0;
38506 _ACEOF
38507 rm -f conftest.$ac_objext
38508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38509 (eval $ac_compile) 2>&5
38510 ac_status=$?
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try='test -s conftest.$ac_objext'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38516 ac_status=$?
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; }; then
38519 glibcxx_cv_func_frexpl_use=yes
38520 else
38521 echo "$as_me: failed program was:" >&5
38522 sed 's/^/| /' conftest.$ac_ext >&5
38524 glibcxx_cv_func_frexpl_use=no
38526 rm -f conftest.$ac_objext conftest.$ac_ext
38527 ac_ext=c
38528 ac_cpp='$CPP $CPPFLAGS'
38529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38538 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38540 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38542 for ac_func in frexpl
38544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38545 echo "$as_me:$LINENO: checking for $ac_func" >&5
38546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38547 if eval "test \"\${$as_ac_var+set}\" = set"; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38549 else
38550 if test x$gcc_no_link = xyes; then
38551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38553 { (exit 1); exit 1; }; }
38555 cat >conftest.$ac_ext <<_ACEOF
38556 #line $LINENO "configure"
38557 /* confdefs.h. */
38558 _ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562 /* System header to define __stub macros and hopefully few prototypes,
38563 which can conflict with char $ac_func (); below.
38564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38565 <limits.h> exists even on freestanding compilers. */
38566 #ifdef __STDC__
38567 # include <limits.h>
38568 #else
38569 # include <assert.h>
38570 #endif
38571 /* Override any gcc2 internal prototype to avoid an error. */
38572 #ifdef __cplusplus
38573 extern "C"
38575 #endif
38576 /* We use char because int might match the return type of a gcc2
38577 builtin and then its argument prototype would still apply. */
38578 char $ac_func ();
38579 /* The GNU C library defines this for functions which it implements
38580 to always fail with ENOSYS. Some functions are actually named
38581 something starting with __ and the normal name is an alias. */
38582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38583 choke me
38584 #else
38585 char (*f) () = $ac_func;
38586 #endif
38587 #ifdef __cplusplus
38589 #endif
38592 main ()
38594 return f != $ac_func;
38596 return 0;
38598 _ACEOF
38599 rm -f conftest.$ac_objext conftest$ac_exeext
38600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38601 (eval $ac_link) 2>&5
38602 ac_status=$?
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); } &&
38605 { ac_try='test -s conftest$ac_exeext'
38606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38607 (eval $ac_try) 2>&5
38608 ac_status=$?
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); }; }; then
38611 eval "$as_ac_var=yes"
38612 else
38613 echo "$as_me: failed program was:" >&5
38614 sed 's/^/| /' conftest.$ac_ext >&5
38616 eval "$as_ac_var=no"
38618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38622 if test `eval echo '${'$as_ac_var'}'` = yes; then
38623 cat >>confdefs.h <<_ACEOF
38624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38625 _ACEOF
38628 done
38630 else
38632 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38633 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38635 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38637 else
38641 ac_ext=cc
38642 ac_cpp='$CXXCPP $CPPFLAGS'
38643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38647 cat >conftest.$ac_ext <<_ACEOF
38648 #line $LINENO "configure"
38649 /* confdefs.h. */
38650 _ACEOF
38651 cat confdefs.h >>conftest.$ac_ext
38652 cat >>conftest.$ac_ext <<_ACEOF
38653 /* end confdefs.h. */
38654 #include <math.h>
38656 main ()
38658 _frexpl(0, 0);
38660 return 0;
38662 _ACEOF
38663 rm -f conftest.$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } &&
38669 { ac_try='test -s conftest.$ac_objext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 glibcxx_cv_func__frexpl_use=yes
38676 else
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38680 glibcxx_cv_func__frexpl_use=no
38682 rm -f conftest.$ac_objext conftest.$ac_ext
38683 ac_ext=c
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38694 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38698 for ac_func in _frexpl
38700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38701 echo "$as_me:$LINENO: checking for $ac_func" >&5
38702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38703 if eval "test \"\${$as_ac_var+set}\" = set"; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38705 else
38706 if test x$gcc_no_link = xyes; then
38707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38709 { (exit 1); exit 1; }; }
38711 cat >conftest.$ac_ext <<_ACEOF
38712 #line $LINENO "configure"
38713 /* confdefs.h. */
38714 _ACEOF
38715 cat confdefs.h >>conftest.$ac_ext
38716 cat >>conftest.$ac_ext <<_ACEOF
38717 /* end confdefs.h. */
38718 /* System header to define __stub macros and hopefully few prototypes,
38719 which can conflict with char $ac_func (); below.
38720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38721 <limits.h> exists even on freestanding compilers. */
38722 #ifdef __STDC__
38723 # include <limits.h>
38724 #else
38725 # include <assert.h>
38726 #endif
38727 /* Override any gcc2 internal prototype to avoid an error. */
38728 #ifdef __cplusplus
38729 extern "C"
38731 #endif
38732 /* We use char because int might match the return type of a gcc2
38733 builtin and then its argument prototype would still apply. */
38734 char $ac_func ();
38735 /* The GNU C library defines this for functions which it implements
38736 to always fail with ENOSYS. Some functions are actually named
38737 something starting with __ and the normal name is an alias. */
38738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38739 choke me
38740 #else
38741 char (*f) () = $ac_func;
38742 #endif
38743 #ifdef __cplusplus
38745 #endif
38748 main ()
38750 return f != $ac_func;
38752 return 0;
38754 _ACEOF
38755 rm -f conftest.$ac_objext conftest$ac_exeext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38757 (eval $ac_link) 2>&5
38758 ac_status=$?
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try='test -s conftest$ac_exeext'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38764 ac_status=$?
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; }; then
38767 eval "$as_ac_var=yes"
38768 else
38769 echo "$as_me: failed program was:" >&5
38770 sed 's/^/| /' conftest.$ac_ext >&5
38772 eval "$as_ac_var=no"
38774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38778 if test `eval echo '${'$as_ac_var'}'` = yes; then
38779 cat >>confdefs.h <<_ACEOF
38780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38781 _ACEOF
38784 done
38791 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38792 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38793 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38794 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38795 echo $ECHO_N "(cached) $ECHO_C" >&6
38796 else
38800 ac_ext=cc
38801 ac_cpp='$CXXCPP $CPPFLAGS'
38802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38806 cat >conftest.$ac_ext <<_ACEOF
38807 #line $LINENO "configure"
38808 /* confdefs.h. */
38809 _ACEOF
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38813 #include <math.h>
38815 main ()
38817 hypotl(0, 0);
38819 return 0;
38821 _ACEOF
38822 rm -f conftest.$ac_objext
38823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38824 (eval $ac_compile) 2>&5
38825 ac_status=$?
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); } &&
38828 { ac_try='test -s conftest.$ac_objext'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38831 ac_status=$?
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; }; then
38834 glibcxx_cv_func_hypotl_use=yes
38835 else
38836 echo "$as_me: failed program was:" >&5
38837 sed 's/^/| /' conftest.$ac_ext >&5
38839 glibcxx_cv_func_hypotl_use=no
38841 rm -f conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38853 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38855 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38857 for ac_func in hypotl
38859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38860 echo "$as_me:$LINENO: checking for $ac_func" >&5
38861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38862 if eval "test \"\${$as_ac_var+set}\" = set"; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38864 else
38865 if test x$gcc_no_link = xyes; then
38866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38868 { (exit 1); exit 1; }; }
38870 cat >conftest.$ac_ext <<_ACEOF
38871 #line $LINENO "configure"
38872 /* confdefs.h. */
38873 _ACEOF
38874 cat confdefs.h >>conftest.$ac_ext
38875 cat >>conftest.$ac_ext <<_ACEOF
38876 /* end confdefs.h. */
38877 /* System header to define __stub macros and hopefully few prototypes,
38878 which can conflict with char $ac_func (); below.
38879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38880 <limits.h> exists even on freestanding compilers. */
38881 #ifdef __STDC__
38882 # include <limits.h>
38883 #else
38884 # include <assert.h>
38885 #endif
38886 /* Override any gcc2 internal prototype to avoid an error. */
38887 #ifdef __cplusplus
38888 extern "C"
38890 #endif
38891 /* We use char because int might match the return type of a gcc2
38892 builtin and then its argument prototype would still apply. */
38893 char $ac_func ();
38894 /* The GNU C library defines this for functions which it implements
38895 to always fail with ENOSYS. Some functions are actually named
38896 something starting with __ and the normal name is an alias. */
38897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38898 choke me
38899 #else
38900 char (*f) () = $ac_func;
38901 #endif
38902 #ifdef __cplusplus
38904 #endif
38907 main ()
38909 return f != $ac_func;
38911 return 0;
38913 _ACEOF
38914 rm -f conftest.$ac_objext conftest$ac_exeext
38915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38916 (eval $ac_link) 2>&5
38917 ac_status=$?
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } &&
38920 { ac_try='test -s conftest$ac_exeext'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38923 ac_status=$?
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; }; then
38926 eval "$as_ac_var=yes"
38927 else
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.$ac_ext >&5
38931 eval "$as_ac_var=no"
38933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38937 if test `eval echo '${'$as_ac_var'}'` = yes; then
38938 cat >>confdefs.h <<_ACEOF
38939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38940 _ACEOF
38943 done
38945 else
38947 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38948 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38949 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38950 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 else
38956 ac_ext=cc
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat >conftest.$ac_ext <<_ACEOF
38963 #line $LINENO "configure"
38964 /* confdefs.h. */
38965 _ACEOF
38966 cat confdefs.h >>conftest.$ac_ext
38967 cat >>conftest.$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38969 #include <math.h>
38971 main ()
38973 _hypotl(0, 0);
38975 return 0;
38977 _ACEOF
38978 rm -f conftest.$ac_objext
38979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38980 (eval $ac_compile) 2>&5
38981 ac_status=$?
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); } &&
38984 { ac_try='test -s conftest.$ac_objext'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38987 ac_status=$?
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; }; then
38990 glibcxx_cv_func__hypotl_use=yes
38991 else
38992 echo "$as_me: failed program was:" >&5
38993 sed 's/^/| /' conftest.$ac_ext >&5
38995 glibcxx_cv_func__hypotl_use=no
38997 rm -f conftest.$ac_objext conftest.$ac_ext
38998 ac_ext=c
38999 ac_cpp='$CPP $CPPFLAGS'
39000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
39009 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
39011 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39013 for ac_func in _hypotl
39015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39016 echo "$as_me:$LINENO: checking for $ac_func" >&5
39017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39018 if eval "test \"\${$as_ac_var+set}\" = set"; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021 if test x$gcc_no_link = xyes; then
39022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39024 { (exit 1); exit 1; }; }
39026 cat >conftest.$ac_ext <<_ACEOF
39027 #line $LINENO "configure"
39028 /* confdefs.h. */
39029 _ACEOF
39030 cat confdefs.h >>conftest.$ac_ext
39031 cat >>conftest.$ac_ext <<_ACEOF
39032 /* end confdefs.h. */
39033 /* System header to define __stub macros and hopefully few prototypes,
39034 which can conflict with char $ac_func (); below.
39035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39036 <limits.h> exists even on freestanding compilers. */
39037 #ifdef __STDC__
39038 # include <limits.h>
39039 #else
39040 # include <assert.h>
39041 #endif
39042 /* Override any gcc2 internal prototype to avoid an error. */
39043 #ifdef __cplusplus
39044 extern "C"
39046 #endif
39047 /* We use char because int might match the return type of a gcc2
39048 builtin and then its argument prototype would still apply. */
39049 char $ac_func ();
39050 /* The GNU C library defines this for functions which it implements
39051 to always fail with ENOSYS. Some functions are actually named
39052 something starting with __ and the normal name is an alias. */
39053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39054 choke me
39055 #else
39056 char (*f) () = $ac_func;
39057 #endif
39058 #ifdef __cplusplus
39060 #endif
39063 main ()
39065 return f != $ac_func;
39067 return 0;
39069 _ACEOF
39070 rm -f conftest.$ac_objext conftest$ac_exeext
39071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39072 (eval $ac_link) 2>&5
39073 ac_status=$?
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } &&
39076 { ac_try='test -s conftest$ac_exeext'
39077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39078 (eval $ac_try) 2>&5
39079 ac_status=$?
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); }; }; then
39082 eval "$as_ac_var=yes"
39083 else
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.$ac_ext >&5
39087 eval "$as_ac_var=no"
39089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39093 if test `eval echo '${'$as_ac_var'}'` = yes; then
39094 cat >>confdefs.h <<_ACEOF
39095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39096 _ACEOF
39099 done
39106 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39107 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39108 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39109 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39111 else
39115 ac_ext=cc
39116 ac_cpp='$CXXCPP $CPPFLAGS'
39117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39121 cat >conftest.$ac_ext <<_ACEOF
39122 #line $LINENO "configure"
39123 /* confdefs.h. */
39124 _ACEOF
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h. */
39128 #include <math.h>
39130 main ()
39132 ldexpl(0, 0);
39134 return 0;
39136 _ACEOF
39137 rm -f conftest.$ac_objext
39138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39139 (eval $ac_compile) 2>&5
39140 ac_status=$?
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } &&
39143 { ac_try='test -s conftest.$ac_objext'
39144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145 (eval $ac_try) 2>&5
39146 ac_status=$?
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); }; }; then
39149 glibcxx_cv_func_ldexpl_use=yes
39150 else
39151 echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39154 glibcxx_cv_func_ldexpl_use=no
39156 rm -f conftest.$ac_objext conftest.$ac_ext
39157 ac_ext=c
39158 ac_cpp='$CPP $CPPFLAGS'
39159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39168 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39170 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39172 for ac_func in ldexpl
39174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39175 echo "$as_me:$LINENO: checking for $ac_func" >&5
39176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39177 if eval "test \"\${$as_ac_var+set}\" = set"; then
39178 echo $ECHO_N "(cached) $ECHO_C" >&6
39179 else
39180 if test x$gcc_no_link = xyes; then
39181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39183 { (exit 1); exit 1; }; }
39185 cat >conftest.$ac_ext <<_ACEOF
39186 #line $LINENO "configure"
39187 /* confdefs.h. */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39192 /* System header to define __stub macros and hopefully few prototypes,
39193 which can conflict with char $ac_func (); below.
39194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39195 <limits.h> exists even on freestanding compilers. */
39196 #ifdef __STDC__
39197 # include <limits.h>
39198 #else
39199 # include <assert.h>
39200 #endif
39201 /* Override any gcc2 internal prototype to avoid an error. */
39202 #ifdef __cplusplus
39203 extern "C"
39205 #endif
39206 /* We use char because int might match the return type of a gcc2
39207 builtin and then its argument prototype would still apply. */
39208 char $ac_func ();
39209 /* The GNU C library defines this for functions which it implements
39210 to always fail with ENOSYS. Some functions are actually named
39211 something starting with __ and the normal name is an alias. */
39212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39213 choke me
39214 #else
39215 char (*f) () = $ac_func;
39216 #endif
39217 #ifdef __cplusplus
39219 #endif
39222 main ()
39224 return f != $ac_func;
39226 return 0;
39228 _ACEOF
39229 rm -f conftest.$ac_objext conftest$ac_exeext
39230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39231 (eval $ac_link) 2>&5
39232 ac_status=$?
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } &&
39235 { ac_try='test -s conftest$ac_exeext'
39236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39237 (eval $ac_try) 2>&5
39238 ac_status=$?
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); }; }; then
39241 eval "$as_ac_var=yes"
39242 else
39243 echo "$as_me: failed program was:" >&5
39244 sed 's/^/| /' conftest.$ac_ext >&5
39246 eval "$as_ac_var=no"
39248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39252 if test `eval echo '${'$as_ac_var'}'` = yes; then
39253 cat >>confdefs.h <<_ACEOF
39254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39255 _ACEOF
39258 done
39260 else
39262 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39263 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39264 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39265 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39271 ac_ext=cc
39272 ac_cpp='$CXXCPP $CPPFLAGS'
39273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39277 cat >conftest.$ac_ext <<_ACEOF
39278 #line $LINENO "configure"
39279 /* confdefs.h. */
39280 _ACEOF
39281 cat confdefs.h >>conftest.$ac_ext
39282 cat >>conftest.$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39284 #include <math.h>
39286 main ()
39288 _ldexpl(0, 0);
39290 return 0;
39292 _ACEOF
39293 rm -f conftest.$ac_objext
39294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39295 (eval $ac_compile) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } &&
39299 { ac_try='test -s conftest.$ac_objext'
39300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39301 (eval $ac_try) 2>&5
39302 ac_status=$?
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); }; }; then
39305 glibcxx_cv_func__ldexpl_use=yes
39306 else
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.$ac_ext >&5
39310 glibcxx_cv_func__ldexpl_use=no
39312 rm -f conftest.$ac_objext conftest.$ac_ext
39313 ac_ext=c
39314 ac_cpp='$CPP $CPPFLAGS'
39315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39324 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39326 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39328 for ac_func in _ldexpl
39330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39331 echo "$as_me:$LINENO: checking for $ac_func" >&5
39332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39333 if eval "test \"\${$as_ac_var+set}\" = set"; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 if test x$gcc_no_link = xyes; then
39337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39339 { (exit 1); exit 1; }; }
39341 cat >conftest.$ac_ext <<_ACEOF
39342 #line $LINENO "configure"
39343 /* confdefs.h. */
39344 _ACEOF
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* System header to define __stub macros and hopefully few prototypes,
39349 which can conflict with char $ac_func (); below.
39350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39351 <limits.h> exists even on freestanding compilers. */
39352 #ifdef __STDC__
39353 # include <limits.h>
39354 #else
39355 # include <assert.h>
39356 #endif
39357 /* Override any gcc2 internal prototype to avoid an error. */
39358 #ifdef __cplusplus
39359 extern "C"
39361 #endif
39362 /* We use char because int might match the return type of a gcc2
39363 builtin and then its argument prototype would still apply. */
39364 char $ac_func ();
39365 /* The GNU C library defines this for functions which it implements
39366 to always fail with ENOSYS. Some functions are actually named
39367 something starting with __ and the normal name is an alias. */
39368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39369 choke me
39370 #else
39371 char (*f) () = $ac_func;
39372 #endif
39373 #ifdef __cplusplus
39375 #endif
39378 main ()
39380 return f != $ac_func;
39382 return 0;
39384 _ACEOF
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39387 (eval $ac_link) 2>&5
39388 ac_status=$?
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } &&
39391 { ac_try='test -s conftest$ac_exeext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 eval "$as_ac_var=yes"
39398 else
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39402 eval "$as_ac_var=no"
39404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39408 if test `eval echo '${'$as_ac_var'}'` = yes; then
39409 cat >>confdefs.h <<_ACEOF
39410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39411 _ACEOF
39414 done
39421 echo "$as_me:$LINENO: checking for logl declaration" >&5
39422 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39423 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39424 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39426 else
39430 ac_ext=cc
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat >conftest.$ac_ext <<_ACEOF
39437 #line $LINENO "configure"
39438 /* confdefs.h. */
39439 _ACEOF
39440 cat confdefs.h >>conftest.$ac_ext
39441 cat >>conftest.$ac_ext <<_ACEOF
39442 /* end confdefs.h. */
39443 #include <math.h>
39444 #ifdef HAVE_IEEEFP_H
39445 #include <ieeefp.h>
39446 #endif
39449 main ()
39451 logl(0);
39453 return 0;
39455 _ACEOF
39456 rm -f conftest.$ac_objext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39458 (eval $ac_compile) 2>&5
39459 ac_status=$?
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); } &&
39462 { ac_try='test -s conftest.$ac_objext'
39463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39464 (eval $ac_try) 2>&5
39465 ac_status=$?
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); }; }; then
39468 glibcxx_cv_func_logl_use=yes
39469 else
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39473 glibcxx_cv_func_logl_use=no
39475 rm -f conftest.$ac_objext conftest.$ac_ext
39476 ac_ext=c
39477 ac_cpp='$CPP $CPPFLAGS'
39478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39487 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39489 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39491 for ac_func in logl
39493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39494 echo "$as_me:$LINENO: checking for $ac_func" >&5
39495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39496 if eval "test \"\${$as_ac_var+set}\" = set"; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39498 else
39499 if test x$gcc_no_link = xyes; then
39500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39502 { (exit 1); exit 1; }; }
39504 cat >conftest.$ac_ext <<_ACEOF
39505 #line $LINENO "configure"
39506 /* confdefs.h. */
39507 _ACEOF
39508 cat confdefs.h >>conftest.$ac_ext
39509 cat >>conftest.$ac_ext <<_ACEOF
39510 /* end confdefs.h. */
39511 /* System header to define __stub macros and hopefully few prototypes,
39512 which can conflict with char $ac_func (); below.
39513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39514 <limits.h> exists even on freestanding compilers. */
39515 #ifdef __STDC__
39516 # include <limits.h>
39517 #else
39518 # include <assert.h>
39519 #endif
39520 /* Override any gcc2 internal prototype to avoid an error. */
39521 #ifdef __cplusplus
39522 extern "C"
39524 #endif
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39527 char $ac_func ();
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 choke me
39533 #else
39534 char (*f) () = $ac_func;
39535 #endif
39536 #ifdef __cplusplus
39538 #endif
39541 main ()
39543 return f != $ac_func;
39545 return 0;
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>&5
39551 ac_status=$?
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } &&
39554 { ac_try='test -s conftest$ac_exeext'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; }; then
39560 eval "$as_ac_var=yes"
39561 else
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39565 eval "$as_ac_var=no"
39567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39571 if test `eval echo '${'$as_ac_var'}'` = yes; then
39572 cat >>confdefs.h <<_ACEOF
39573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39574 _ACEOF
39577 done
39579 else
39581 echo "$as_me:$LINENO: checking for _logl declaration" >&5
39582 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39583 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39584 if test "${glibcxx_cv_func__logl_use+set}" = set; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39590 ac_ext=cc
39591 ac_cpp='$CXXCPP $CPPFLAGS'
39592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596 cat >conftest.$ac_ext <<_ACEOF
39597 #line $LINENO "configure"
39598 /* confdefs.h. */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39603 #include <math.h>
39604 #ifdef HAVE_IEEEFP_H
39605 #include <ieeefp.h>
39606 #endif
39609 main ()
39611 _logl(0);
39613 return 0;
39615 _ACEOF
39616 rm -f conftest.$ac_objext
39617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39618 (eval $ac_compile) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } &&
39622 { ac_try='test -s conftest.$ac_objext'
39623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39624 (eval $ac_try) 2>&5
39625 ac_status=$?
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); }; }; then
39628 glibcxx_cv_func__logl_use=yes
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39633 glibcxx_cv_func__logl_use=no
39635 rm -f conftest.$ac_objext conftest.$ac_ext
39636 ac_ext=c
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39647 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39649 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39651 for ac_func in _logl
39653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39654 echo "$as_me:$LINENO: checking for $ac_func" >&5
39655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39656 if eval "test \"\${$as_ac_var+set}\" = set"; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39659 if test x$gcc_no_link = xyes; then
39660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39662 { (exit 1); exit 1; }; }
39664 cat >conftest.$ac_ext <<_ACEOF
39665 #line $LINENO "configure"
39666 /* confdefs.h. */
39667 _ACEOF
39668 cat confdefs.h >>conftest.$ac_ext
39669 cat >>conftest.$ac_ext <<_ACEOF
39670 /* end confdefs.h. */
39671 /* System header to define __stub macros and hopefully few prototypes,
39672 which can conflict with char $ac_func (); below.
39673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39674 <limits.h> exists even on freestanding compilers. */
39675 #ifdef __STDC__
39676 # include <limits.h>
39677 #else
39678 # include <assert.h>
39679 #endif
39680 /* Override any gcc2 internal prototype to avoid an error. */
39681 #ifdef __cplusplus
39682 extern "C"
39684 #endif
39685 /* We use char because int might match the return type of a gcc2
39686 builtin and then its argument prototype would still apply. */
39687 char $ac_func ();
39688 /* The GNU C library defines this for functions which it implements
39689 to always fail with ENOSYS. Some functions are actually named
39690 something starting with __ and the normal name is an alias. */
39691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39692 choke me
39693 #else
39694 char (*f) () = $ac_func;
39695 #endif
39696 #ifdef __cplusplus
39698 #endif
39701 main ()
39703 return f != $ac_func;
39705 return 0;
39707 _ACEOF
39708 rm -f conftest.$ac_objext conftest$ac_exeext
39709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39710 (eval $ac_link) 2>&5
39711 ac_status=$?
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } &&
39714 { ac_try='test -s conftest$ac_exeext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39717 ac_status=$?
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39720 eval "$as_ac_var=yes"
39721 else
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39725 eval "$as_ac_var=no"
39727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39731 if test `eval echo '${'$as_ac_var'}'` = yes; then
39732 cat >>confdefs.h <<_ACEOF
39733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39734 _ACEOF
39737 done
39744 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39745 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39746 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39747 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39748 echo $ECHO_N "(cached) $ECHO_C" >&6
39749 else
39753 ac_ext=cc
39754 ac_cpp='$CXXCPP $CPPFLAGS'
39755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39759 cat >conftest.$ac_ext <<_ACEOF
39760 #line $LINENO "configure"
39761 /* confdefs.h. */
39762 _ACEOF
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39766 #include <math.h>
39767 #ifdef HAVE_IEEEFP_H
39768 #include <ieeefp.h>
39769 #endif
39772 main ()
39774 log10l(0);
39776 return 0;
39778 _ACEOF
39779 rm -f conftest.$ac_objext
39780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39781 (eval $ac_compile) 2>&5
39782 ac_status=$?
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } &&
39785 { ac_try='test -s conftest.$ac_objext'
39786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39787 (eval $ac_try) 2>&5
39788 ac_status=$?
39789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790 (exit $ac_status); }; }; then
39791 glibcxx_cv_func_log10l_use=yes
39792 else
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.$ac_ext >&5
39796 glibcxx_cv_func_log10l_use=no
39798 rm -f conftest.$ac_objext conftest.$ac_ext
39799 ac_ext=c
39800 ac_cpp='$CPP $CPPFLAGS'
39801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39810 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39812 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39814 for ac_func in log10l
39816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39817 echo "$as_me:$LINENO: checking for $ac_func" >&5
39818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39819 if eval "test \"\${$as_ac_var+set}\" = set"; then
39820 echo $ECHO_N "(cached) $ECHO_C" >&6
39821 else
39822 if test x$gcc_no_link = xyes; then
39823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39825 { (exit 1); exit 1; }; }
39827 cat >conftest.$ac_ext <<_ACEOF
39828 #line $LINENO "configure"
39829 /* confdefs.h. */
39830 _ACEOF
39831 cat confdefs.h >>conftest.$ac_ext
39832 cat >>conftest.$ac_ext <<_ACEOF
39833 /* end confdefs.h. */
39834 /* System header to define __stub macros and hopefully few prototypes,
39835 which can conflict with char $ac_func (); below.
39836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39837 <limits.h> exists even on freestanding compilers. */
39838 #ifdef __STDC__
39839 # include <limits.h>
39840 #else
39841 # include <assert.h>
39842 #endif
39843 /* Override any gcc2 internal prototype to avoid an error. */
39844 #ifdef __cplusplus
39845 extern "C"
39847 #endif
39848 /* We use char because int might match the return type of a gcc2
39849 builtin and then its argument prototype would still apply. */
39850 char $ac_func ();
39851 /* The GNU C library defines this for functions which it implements
39852 to always fail with ENOSYS. Some functions are actually named
39853 something starting with __ and the normal name is an alias. */
39854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39855 choke me
39856 #else
39857 char (*f) () = $ac_func;
39858 #endif
39859 #ifdef __cplusplus
39861 #endif
39864 main ()
39866 return f != $ac_func;
39868 return 0;
39870 _ACEOF
39871 rm -f conftest.$ac_objext conftest$ac_exeext
39872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39873 (eval $ac_link) 2>&5
39874 ac_status=$?
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -s conftest$ac_exeext'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39880 ac_status=$?
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; }; then
39883 eval "$as_ac_var=yes"
39884 else
39885 echo "$as_me: failed program was:" >&5
39886 sed 's/^/| /' conftest.$ac_ext >&5
39888 eval "$as_ac_var=no"
39890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39894 if test `eval echo '${'$as_ac_var'}'` = yes; then
39895 cat >>confdefs.h <<_ACEOF
39896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39897 _ACEOF
39900 done
39902 else
39904 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39905 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39909 else
39913 ac_ext=cc
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919 cat >conftest.$ac_ext <<_ACEOF
39920 #line $LINENO "configure"
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 #include <math.h>
39927 #ifdef HAVE_IEEEFP_H
39928 #include <ieeefp.h>
39929 #endif
39932 main ()
39934 _log10l(0);
39936 return 0;
39938 _ACEOF
39939 rm -f conftest.$ac_objext
39940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39941 (eval $ac_compile) 2>&5
39942 ac_status=$?
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } &&
39945 { ac_try='test -s conftest.$ac_objext'
39946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39947 (eval $ac_try) 2>&5
39948 ac_status=$?
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); }; }; then
39951 glibcxx_cv_func__log10l_use=yes
39952 else
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.$ac_ext >&5
39956 glibcxx_cv_func__log10l_use=no
39958 rm -f conftest.$ac_objext conftest.$ac_ext
39959 ac_ext=c
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39970 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39972 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39974 for ac_func in _log10l
39976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39977 echo "$as_me:$LINENO: checking for $ac_func" >&5
39978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39979 if eval "test \"\${$as_ac_var+set}\" = set"; then
39980 echo $ECHO_N "(cached) $ECHO_C" >&6
39981 else
39982 if test x$gcc_no_link = xyes; then
39983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39985 { (exit 1); exit 1; }; }
39987 cat >conftest.$ac_ext <<_ACEOF
39988 #line $LINENO "configure"
39989 /* confdefs.h. */
39990 _ACEOF
39991 cat confdefs.h >>conftest.$ac_ext
39992 cat >>conftest.$ac_ext <<_ACEOF
39993 /* end confdefs.h. */
39994 /* System header to define __stub macros and hopefully few prototypes,
39995 which can conflict with char $ac_func (); below.
39996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39997 <limits.h> exists even on freestanding compilers. */
39998 #ifdef __STDC__
39999 # include <limits.h>
40000 #else
40001 # include <assert.h>
40002 #endif
40003 /* Override any gcc2 internal prototype to avoid an error. */
40004 #ifdef __cplusplus
40005 extern "C"
40007 #endif
40008 /* We use char because int might match the return type of a gcc2
40009 builtin and then its argument prototype would still apply. */
40010 char $ac_func ();
40011 /* The GNU C library defines this for functions which it implements
40012 to always fail with ENOSYS. Some functions are actually named
40013 something starting with __ and the normal name is an alias. */
40014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40015 choke me
40016 #else
40017 char (*f) () = $ac_func;
40018 #endif
40019 #ifdef __cplusplus
40021 #endif
40024 main ()
40026 return f != $ac_func;
40028 return 0;
40030 _ACEOF
40031 rm -f conftest.$ac_objext conftest$ac_exeext
40032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40033 (eval $ac_link) 2>&5
40034 ac_status=$?
40035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036 (exit $ac_status); } &&
40037 { ac_try='test -s conftest$ac_exeext'
40038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039 (eval $ac_try) 2>&5
40040 ac_status=$?
40041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042 (exit $ac_status); }; }; then
40043 eval "$as_ac_var=yes"
40044 else
40045 echo "$as_me: failed program was:" >&5
40046 sed 's/^/| /' conftest.$ac_ext >&5
40048 eval "$as_ac_var=no"
40050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40054 if test `eval echo '${'$as_ac_var'}'` = yes; then
40055 cat >>confdefs.h <<_ACEOF
40056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40057 _ACEOF
40060 done
40067 echo "$as_me:$LINENO: checking for modfl declaration" >&5
40068 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40069 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40070 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40076 ac_ext=cc
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat >conftest.$ac_ext <<_ACEOF
40083 #line $LINENO "configure"
40084 /* confdefs.h. */
40085 _ACEOF
40086 cat confdefs.h >>conftest.$ac_ext
40087 cat >>conftest.$ac_ext <<_ACEOF
40088 /* end confdefs.h. */
40089 #include <math.h>
40091 main ()
40093 modfl(0, 0);
40095 return 0;
40097 _ACEOF
40098 rm -f conftest.$ac_objext
40099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40100 (eval $ac_compile) 2>&5
40101 ac_status=$?
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); } &&
40104 { ac_try='test -s conftest.$ac_objext'
40105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40106 (eval $ac_try) 2>&5
40107 ac_status=$?
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); }; }; then
40110 glibcxx_cv_func_modfl_use=yes
40111 else
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40115 glibcxx_cv_func_modfl_use=no
40117 rm -f conftest.$ac_objext conftest.$ac_ext
40118 ac_ext=c
40119 ac_cpp='$CPP $CPPFLAGS'
40120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40129 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40131 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40133 for ac_func in modfl
40135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40136 echo "$as_me:$LINENO: checking for $ac_func" >&5
40137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40138 if eval "test \"\${$as_ac_var+set}\" = set"; then
40139 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 else
40141 if test x$gcc_no_link = xyes; then
40142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40144 { (exit 1); exit 1; }; }
40146 cat >conftest.$ac_ext <<_ACEOF
40147 #line $LINENO "configure"
40148 /* confdefs.h. */
40149 _ACEOF
40150 cat confdefs.h >>conftest.$ac_ext
40151 cat >>conftest.$ac_ext <<_ACEOF
40152 /* end confdefs.h. */
40153 /* System header to define __stub macros and hopefully few prototypes,
40154 which can conflict with char $ac_func (); below.
40155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40156 <limits.h> exists even on freestanding compilers. */
40157 #ifdef __STDC__
40158 # include <limits.h>
40159 #else
40160 # include <assert.h>
40161 #endif
40162 /* Override any gcc2 internal prototype to avoid an error. */
40163 #ifdef __cplusplus
40164 extern "C"
40166 #endif
40167 /* We use char because int might match the return type of a gcc2
40168 builtin and then its argument prototype would still apply. */
40169 char $ac_func ();
40170 /* The GNU C library defines this for functions which it implements
40171 to always fail with ENOSYS. Some functions are actually named
40172 something starting with __ and the normal name is an alias. */
40173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40174 choke me
40175 #else
40176 char (*f) () = $ac_func;
40177 #endif
40178 #ifdef __cplusplus
40180 #endif
40183 main ()
40185 return f != $ac_func;
40187 return 0;
40189 _ACEOF
40190 rm -f conftest.$ac_objext conftest$ac_exeext
40191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40192 (eval $ac_link) 2>&5
40193 ac_status=$?
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); } &&
40196 { ac_try='test -s conftest$ac_exeext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 eval "$as_ac_var=yes"
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40207 eval "$as_ac_var=no"
40209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40213 if test `eval echo '${'$as_ac_var'}'` = yes; then
40214 cat >>confdefs.h <<_ACEOF
40215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40216 _ACEOF
40219 done
40221 else
40223 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40224 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40225 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40226 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 else
40232 ac_ext=cc
40233 ac_cpp='$CXXCPP $CPPFLAGS'
40234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40238 cat >conftest.$ac_ext <<_ACEOF
40239 #line $LINENO "configure"
40240 /* confdefs.h. */
40241 _ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40245 #include <math.h>
40247 main ()
40249 _modfl(0, 0);
40251 return 0;
40253 _ACEOF
40254 rm -f conftest.$ac_objext
40255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40256 (eval $ac_compile) 2>&5
40257 ac_status=$?
40258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40259 (exit $ac_status); } &&
40260 { ac_try='test -s conftest.$ac_objext'
40261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40262 (eval $ac_try) 2>&5
40263 ac_status=$?
40264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40265 (exit $ac_status); }; }; then
40266 glibcxx_cv_func__modfl_use=yes
40267 else
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.$ac_ext >&5
40271 glibcxx_cv_func__modfl_use=no
40273 rm -f conftest.$ac_objext conftest.$ac_ext
40274 ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40285 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40289 for ac_func in _modfl
40291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40292 echo "$as_me:$LINENO: checking for $ac_func" >&5
40293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40294 if eval "test \"\${$as_ac_var+set}\" = set"; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297 if test x$gcc_no_link = xyes; then
40298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40300 { (exit 1); exit 1; }; }
40302 cat >conftest.$ac_ext <<_ACEOF
40303 #line $LINENO "configure"
40304 /* confdefs.h. */
40305 _ACEOF
40306 cat confdefs.h >>conftest.$ac_ext
40307 cat >>conftest.$ac_ext <<_ACEOF
40308 /* end confdefs.h. */
40309 /* System header to define __stub macros and hopefully few prototypes,
40310 which can conflict with char $ac_func (); below.
40311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40312 <limits.h> exists even on freestanding compilers. */
40313 #ifdef __STDC__
40314 # include <limits.h>
40315 #else
40316 # include <assert.h>
40317 #endif
40318 /* Override any gcc2 internal prototype to avoid an error. */
40319 #ifdef __cplusplus
40320 extern "C"
40322 #endif
40323 /* We use char because int might match the return type of a gcc2
40324 builtin and then its argument prototype would still apply. */
40325 char $ac_func ();
40326 /* The GNU C library defines this for functions which it implements
40327 to always fail with ENOSYS. Some functions are actually named
40328 something starting with __ and the normal name is an alias. */
40329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40330 choke me
40331 #else
40332 char (*f) () = $ac_func;
40333 #endif
40334 #ifdef __cplusplus
40336 #endif
40339 main ()
40341 return f != $ac_func;
40343 return 0;
40345 _ACEOF
40346 rm -f conftest.$ac_objext conftest$ac_exeext
40347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40348 (eval $ac_link) 2>&5
40349 ac_status=$?
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); } &&
40352 { ac_try='test -s conftest$ac_exeext'
40353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40354 (eval $ac_try) 2>&5
40355 ac_status=$?
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); }; }; then
40358 eval "$as_ac_var=yes"
40359 else
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.$ac_ext >&5
40363 eval "$as_ac_var=no"
40365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40369 if test `eval echo '${'$as_ac_var'}'` = yes; then
40370 cat >>confdefs.h <<_ACEOF
40371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40372 _ACEOF
40375 done
40382 echo "$as_me:$LINENO: checking for powl declaration" >&5
40383 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40384 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40385 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40386 echo $ECHO_N "(cached) $ECHO_C" >&6
40387 else
40391 ac_ext=cc
40392 ac_cpp='$CXXCPP $CPPFLAGS'
40393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40397 cat >conftest.$ac_ext <<_ACEOF
40398 #line $LINENO "configure"
40399 /* confdefs.h. */
40400 _ACEOF
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40404 #include <math.h>
40406 main ()
40408 powl(0, 0);
40410 return 0;
40412 _ACEOF
40413 rm -f conftest.$ac_objext
40414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40415 (eval $ac_compile) 2>&5
40416 ac_status=$?
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); } &&
40419 { ac_try='test -s conftest.$ac_objext'
40420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40421 (eval $ac_try) 2>&5
40422 ac_status=$?
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); }; }; then
40425 glibcxx_cv_func_powl_use=yes
40426 else
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40430 glibcxx_cv_func_powl_use=no
40432 rm -f conftest.$ac_objext conftest.$ac_ext
40433 ac_ext=c
40434 ac_cpp='$CPP $CPPFLAGS'
40435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40444 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40446 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40448 for ac_func in powl
40450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40451 echo "$as_me:$LINENO: checking for $ac_func" >&5
40452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40453 if eval "test \"\${$as_ac_var+set}\" = set"; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 else
40456 if test x$gcc_no_link = xyes; then
40457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40459 { (exit 1); exit 1; }; }
40461 cat >conftest.$ac_ext <<_ACEOF
40462 #line $LINENO "configure"
40463 /* confdefs.h. */
40464 _ACEOF
40465 cat confdefs.h >>conftest.$ac_ext
40466 cat >>conftest.$ac_ext <<_ACEOF
40467 /* end confdefs.h. */
40468 /* System header to define __stub macros and hopefully few prototypes,
40469 which can conflict with char $ac_func (); below.
40470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40471 <limits.h> exists even on freestanding compilers. */
40472 #ifdef __STDC__
40473 # include <limits.h>
40474 #else
40475 # include <assert.h>
40476 #endif
40477 /* Override any gcc2 internal prototype to avoid an error. */
40478 #ifdef __cplusplus
40479 extern "C"
40481 #endif
40482 /* We use char because int might match the return type of a gcc2
40483 builtin and then its argument prototype would still apply. */
40484 char $ac_func ();
40485 /* The GNU C library defines this for functions which it implements
40486 to always fail with ENOSYS. Some functions are actually named
40487 something starting with __ and the normal name is an alias. */
40488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40489 choke me
40490 #else
40491 char (*f) () = $ac_func;
40492 #endif
40493 #ifdef __cplusplus
40495 #endif
40498 main ()
40500 return f != $ac_func;
40502 return 0;
40504 _ACEOF
40505 rm -f conftest.$ac_objext conftest$ac_exeext
40506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40507 (eval $ac_link) 2>&5
40508 ac_status=$?
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } &&
40511 { ac_try='test -s conftest$ac_exeext'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40514 ac_status=$?
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; }; then
40517 eval "$as_ac_var=yes"
40518 else
40519 echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40522 eval "$as_ac_var=no"
40524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40528 if test `eval echo '${'$as_ac_var'}'` = yes; then
40529 cat >>confdefs.h <<_ACEOF
40530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40531 _ACEOF
40534 done
40536 else
40538 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40539 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40540 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40541 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40543 else
40547 ac_ext=cc
40548 ac_cpp='$CXXCPP $CPPFLAGS'
40549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553 cat >conftest.$ac_ext <<_ACEOF
40554 #line $LINENO "configure"
40555 /* confdefs.h. */
40556 _ACEOF
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h. */
40560 #include <math.h>
40562 main ()
40564 _powl(0, 0);
40566 return 0;
40568 _ACEOF
40569 rm -f conftest.$ac_objext
40570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40571 (eval $ac_compile) 2>&5
40572 ac_status=$?
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } &&
40575 { ac_try='test -s conftest.$ac_objext'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40578 ac_status=$?
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; }; then
40581 glibcxx_cv_func__powl_use=yes
40582 else
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.$ac_ext >&5
40586 glibcxx_cv_func__powl_use=no
40588 rm -f conftest.$ac_objext conftest.$ac_ext
40589 ac_ext=c
40590 ac_cpp='$CPP $CPPFLAGS'
40591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40600 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40602 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40604 for ac_func in _powl
40606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40607 echo "$as_me:$LINENO: checking for $ac_func" >&5
40608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40609 if eval "test \"\${$as_ac_var+set}\" = set"; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40611 else
40612 if test x$gcc_no_link = xyes; then
40613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40615 { (exit 1); exit 1; }; }
40617 cat >conftest.$ac_ext <<_ACEOF
40618 #line $LINENO "configure"
40619 /* confdefs.h. */
40620 _ACEOF
40621 cat confdefs.h >>conftest.$ac_ext
40622 cat >>conftest.$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624 /* System header to define __stub macros and hopefully few prototypes,
40625 which can conflict with char $ac_func (); below.
40626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40627 <limits.h> exists even on freestanding compilers. */
40628 #ifdef __STDC__
40629 # include <limits.h>
40630 #else
40631 # include <assert.h>
40632 #endif
40633 /* Override any gcc2 internal prototype to avoid an error. */
40634 #ifdef __cplusplus
40635 extern "C"
40637 #endif
40638 /* We use char because int might match the return type of a gcc2
40639 builtin and then its argument prototype would still apply. */
40640 char $ac_func ();
40641 /* The GNU C library defines this for functions which it implements
40642 to always fail with ENOSYS. Some functions are actually named
40643 something starting with __ and the normal name is an alias. */
40644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40645 choke me
40646 #else
40647 char (*f) () = $ac_func;
40648 #endif
40649 #ifdef __cplusplus
40651 #endif
40654 main ()
40656 return f != $ac_func;
40658 return 0;
40660 _ACEOF
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40663 (eval $ac_link) 2>&5
40664 ac_status=$?
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try='test -s conftest$ac_exeext'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }; then
40673 eval "$as_ac_var=yes"
40674 else
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40678 eval "$as_ac_var=no"
40680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40684 if test `eval echo '${'$as_ac_var'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40687 _ACEOF
40690 done
40697 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40698 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40699 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40700 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40702 else
40706 ac_ext=cc
40707 ac_cpp='$CXXCPP $CPPFLAGS'
40708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712 cat >conftest.$ac_ext <<_ACEOF
40713 #line $LINENO "configure"
40714 /* confdefs.h. */
40715 _ACEOF
40716 cat confdefs.h >>conftest.$ac_ext
40717 cat >>conftest.$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40719 #include <math.h>
40720 #ifdef HAVE_IEEEFP_H
40721 #include <ieeefp.h>
40722 #endif
40725 main ()
40727 sqrtl(0);
40729 return 0;
40731 _ACEOF
40732 rm -f conftest.$ac_objext
40733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40734 (eval $ac_compile) 2>&5
40735 ac_status=$?
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } &&
40738 { ac_try='test -s conftest.$ac_objext'
40739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40740 (eval $ac_try) 2>&5
40741 ac_status=$?
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); }; }; then
40744 glibcxx_cv_func_sqrtl_use=yes
40745 else
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40749 glibcxx_cv_func_sqrtl_use=no
40751 rm -f conftest.$ac_objext conftest.$ac_ext
40752 ac_ext=c
40753 ac_cpp='$CPP $CPPFLAGS'
40754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40763 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40765 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40767 for ac_func in sqrtl
40769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40770 echo "$as_me:$LINENO: checking for $ac_func" >&5
40771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40772 if eval "test \"\${$as_ac_var+set}\" = set"; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775 if test x$gcc_no_link = xyes; then
40776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40778 { (exit 1); exit 1; }; }
40780 cat >conftest.$ac_ext <<_ACEOF
40781 #line $LINENO "configure"
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 /* System header to define __stub macros and hopefully few prototypes,
40788 which can conflict with char $ac_func (); below.
40789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40790 <limits.h> exists even on freestanding compilers. */
40791 #ifdef __STDC__
40792 # include <limits.h>
40793 #else
40794 # include <assert.h>
40795 #endif
40796 /* Override any gcc2 internal prototype to avoid an error. */
40797 #ifdef __cplusplus
40798 extern "C"
40800 #endif
40801 /* We use char because int might match the return type of a gcc2
40802 builtin and then its argument prototype would still apply. */
40803 char $ac_func ();
40804 /* The GNU C library defines this for functions which it implements
40805 to always fail with ENOSYS. Some functions are actually named
40806 something starting with __ and the normal name is an alias. */
40807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40808 choke me
40809 #else
40810 char (*f) () = $ac_func;
40811 #endif
40812 #ifdef __cplusplus
40814 #endif
40817 main ()
40819 return f != $ac_func;
40821 return 0;
40823 _ACEOF
40824 rm -f conftest.$ac_objext conftest$ac_exeext
40825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40826 (eval $ac_link) 2>&5
40827 ac_status=$?
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } &&
40830 { ac_try='test -s conftest$ac_exeext'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40833 ac_status=$?
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40836 eval "$as_ac_var=yes"
40837 else
40838 echo "$as_me: failed program was:" >&5
40839 sed 's/^/| /' conftest.$ac_ext >&5
40841 eval "$as_ac_var=no"
40843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40847 if test `eval echo '${'$as_ac_var'}'` = yes; then
40848 cat >>confdefs.h <<_ACEOF
40849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40850 _ACEOF
40853 done
40855 else
40857 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40858 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40859 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40860 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40861 echo $ECHO_N "(cached) $ECHO_C" >&6
40862 else
40866 ac_ext=cc
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872 cat >conftest.$ac_ext <<_ACEOF
40873 #line $LINENO "configure"
40874 /* confdefs.h. */
40875 _ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40879 #include <math.h>
40880 #ifdef HAVE_IEEEFP_H
40881 #include <ieeefp.h>
40882 #endif
40885 main ()
40887 _sqrtl(0);
40889 return 0;
40891 _ACEOF
40892 rm -f conftest.$ac_objext
40893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40894 (eval $ac_compile) 2>&5
40895 ac_status=$?
40896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897 (exit $ac_status); } &&
40898 { ac_try='test -s conftest.$ac_objext'
40899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900 (eval $ac_try) 2>&5
40901 ac_status=$?
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); }; }; then
40904 glibcxx_cv_func__sqrtl_use=yes
40905 else
40906 echo "$as_me: failed program was:" >&5
40907 sed 's/^/| /' conftest.$ac_ext >&5
40909 glibcxx_cv_func__sqrtl_use=no
40911 rm -f conftest.$ac_objext conftest.$ac_ext
40912 ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40923 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40927 for ac_func in _sqrtl
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40932 if eval "test \"\${$as_ac_var+set}\" = set"; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935 if test x$gcc_no_link = xyes; then
40936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40938 { (exit 1); exit 1; }; }
40940 cat >conftest.$ac_ext <<_ACEOF
40941 #line $LINENO "configure"
40942 /* confdefs.h. */
40943 _ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40947 /* System header to define __stub macros and hopefully few prototypes,
40948 which can conflict with char $ac_func (); below.
40949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40950 <limits.h> exists even on freestanding compilers. */
40951 #ifdef __STDC__
40952 # include <limits.h>
40953 #else
40954 # include <assert.h>
40955 #endif
40956 /* Override any gcc2 internal prototype to avoid an error. */
40957 #ifdef __cplusplus
40958 extern "C"
40960 #endif
40961 /* We use char because int might match the return type of a gcc2
40962 builtin and then its argument prototype would still apply. */
40963 char $ac_func ();
40964 /* The GNU C library defines this for functions which it implements
40965 to always fail with ENOSYS. Some functions are actually named
40966 something starting with __ and the normal name is an alias. */
40967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40968 choke me
40969 #else
40970 char (*f) () = $ac_func;
40971 #endif
40972 #ifdef __cplusplus
40974 #endif
40977 main ()
40979 return f != $ac_func;
40981 return 0;
40983 _ACEOF
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40986 (eval $ac_link) 2>&5
40987 ac_status=$?
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); } &&
40990 { ac_try='test -s conftest$ac_exeext'
40991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40992 (eval $ac_try) 2>&5
40993 ac_status=$?
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); }; }; then
40996 eval "$as_ac_var=yes"
40997 else
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41001 eval "$as_ac_var=no"
41003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41007 if test `eval echo '${'$as_ac_var'}'` = yes; then
41008 cat >>confdefs.h <<_ACEOF
41009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41010 _ACEOF
41013 done
41020 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41021 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41022 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41023 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41024 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 else
41029 ac_ext=cc
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41035 cat >conftest.$ac_ext <<_ACEOF
41036 #line $LINENO "configure"
41037 /* confdefs.h. */
41038 _ACEOF
41039 cat confdefs.h >>conftest.$ac_ext
41040 cat >>conftest.$ac_ext <<_ACEOF
41041 /* end confdefs.h. */
41042 #include <math.h>
41044 main ()
41046 sincosl(0, 0, 0);
41048 return 0;
41050 _ACEOF
41051 rm -f conftest.$ac_objext
41052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41053 (eval $ac_compile) 2>&5
41054 ac_status=$?
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); } &&
41057 { ac_try='test -s conftest.$ac_objext'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; }; then
41063 glibcxx_cv_func_sincosl_use=yes
41064 else
41065 echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 glibcxx_cv_func_sincosl_use=no
41070 rm -f conftest.$ac_objext conftest.$ac_ext
41071 ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41082 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41084 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41086 for ac_func in sincosl
41088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41089 echo "$as_me:$LINENO: checking for $ac_func" >&5
41090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41091 if eval "test \"\${$as_ac_var+set}\" = set"; then
41092 echo $ECHO_N "(cached) $ECHO_C" >&6
41093 else
41094 if test x$gcc_no_link = xyes; then
41095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41097 { (exit 1); exit 1; }; }
41099 cat >conftest.$ac_ext <<_ACEOF
41100 #line $LINENO "configure"
41101 /* confdefs.h. */
41102 _ACEOF
41103 cat confdefs.h >>conftest.$ac_ext
41104 cat >>conftest.$ac_ext <<_ACEOF
41105 /* end confdefs.h. */
41106 /* System header to define __stub macros and hopefully few prototypes,
41107 which can conflict with char $ac_func (); below.
41108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41109 <limits.h> exists even on freestanding compilers. */
41110 #ifdef __STDC__
41111 # include <limits.h>
41112 #else
41113 # include <assert.h>
41114 #endif
41115 /* Override any gcc2 internal prototype to avoid an error. */
41116 #ifdef __cplusplus
41117 extern "C"
41119 #endif
41120 /* We use char because int might match the return type of a gcc2
41121 builtin and then its argument prototype would still apply. */
41122 char $ac_func ();
41123 /* The GNU C library defines this for functions which it implements
41124 to always fail with ENOSYS. Some functions are actually named
41125 something starting with __ and the normal name is an alias. */
41126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41127 choke me
41128 #else
41129 char (*f) () = $ac_func;
41130 #endif
41131 #ifdef __cplusplus
41133 #endif
41136 main ()
41138 return f != $ac_func;
41140 return 0;
41142 _ACEOF
41143 rm -f conftest.$ac_objext conftest$ac_exeext
41144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41145 (eval $ac_link) 2>&5
41146 ac_status=$?
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); } &&
41149 { ac_try='test -s conftest$ac_exeext'
41150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41151 (eval $ac_try) 2>&5
41152 ac_status=$?
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); }; }; then
41155 eval "$as_ac_var=yes"
41156 else
41157 echo "$as_me: failed program was:" >&5
41158 sed 's/^/| /' conftest.$ac_ext >&5
41160 eval "$as_ac_var=no"
41162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41166 if test `eval echo '${'$as_ac_var'}'` = yes; then
41167 cat >>confdefs.h <<_ACEOF
41168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41169 _ACEOF
41172 done
41174 else
41176 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41177 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41178 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41179 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41180 echo $ECHO_N "(cached) $ECHO_C" >&6
41181 else
41185 ac_ext=cc
41186 ac_cpp='$CXXCPP $CPPFLAGS'
41187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41191 cat >conftest.$ac_ext <<_ACEOF
41192 #line $LINENO "configure"
41193 /* confdefs.h. */
41194 _ACEOF
41195 cat confdefs.h >>conftest.$ac_ext
41196 cat >>conftest.$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41198 #include <math.h>
41200 main ()
41202 _sincosl(0, 0, 0);
41204 return 0;
41206 _ACEOF
41207 rm -f conftest.$ac_objext
41208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41209 (eval $ac_compile) 2>&5
41210 ac_status=$?
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } &&
41213 { ac_try='test -s conftest.$ac_objext'
41214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41215 (eval $ac_try) 2>&5
41216 ac_status=$?
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); }; }; then
41219 glibcxx_cv_func__sincosl_use=yes
41220 else
41221 echo "$as_me: failed program was:" >&5
41222 sed 's/^/| /' conftest.$ac_ext >&5
41224 glibcxx_cv_func__sincosl_use=no
41226 rm -f conftest.$ac_objext conftest.$ac_ext
41227 ac_ext=c
41228 ac_cpp='$CPP $CPPFLAGS'
41229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41238 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41240 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41242 for ac_func in _sincosl
41244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41245 echo "$as_me:$LINENO: checking for $ac_func" >&5
41246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41247 if eval "test \"\${$as_ac_var+set}\" = set"; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 else
41250 if test x$gcc_no_link = xyes; then
41251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41253 { (exit 1); exit 1; }; }
41255 cat >conftest.$ac_ext <<_ACEOF
41256 #line $LINENO "configure"
41257 /* confdefs.h. */
41258 _ACEOF
41259 cat confdefs.h >>conftest.$ac_ext
41260 cat >>conftest.$ac_ext <<_ACEOF
41261 /* end confdefs.h. */
41262 /* System header to define __stub macros and hopefully few prototypes,
41263 which can conflict with char $ac_func (); below.
41264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41265 <limits.h> exists even on freestanding compilers. */
41266 #ifdef __STDC__
41267 # include <limits.h>
41268 #else
41269 # include <assert.h>
41270 #endif
41271 /* Override any gcc2 internal prototype to avoid an error. */
41272 #ifdef __cplusplus
41273 extern "C"
41275 #endif
41276 /* We use char because int might match the return type of a gcc2
41277 builtin and then its argument prototype would still apply. */
41278 char $ac_func ();
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41283 choke me
41284 #else
41285 char (*f) () = $ac_func;
41286 #endif
41287 #ifdef __cplusplus
41289 #endif
41292 main ()
41294 return f != $ac_func;
41296 return 0;
41298 _ACEOF
41299 rm -f conftest.$ac_objext conftest$ac_exeext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41301 (eval $ac_link) 2>&5
41302 ac_status=$?
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); } &&
41305 { ac_try='test -s conftest$ac_exeext'
41306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41307 (eval $ac_try) 2>&5
41308 ac_status=$?
41309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41310 (exit $ac_status); }; }; then
41311 eval "$as_ac_var=yes"
41312 else
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41316 eval "$as_ac_var=no"
41318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41322 if test `eval echo '${'$as_ac_var'}'` = yes; then
41323 cat >>confdefs.h <<_ACEOF
41324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41325 _ACEOF
41328 done
41335 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41336 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41337 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41338 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 else
41344 ac_ext=cc
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41350 cat >conftest.$ac_ext <<_ACEOF
41351 #line $LINENO "configure"
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 #include <math.h>
41358 #ifdef HAVE_IEEEFP_H
41359 #include <ieeefp.h>
41360 #endif
41363 main ()
41365 finitel(0);
41367 return 0;
41369 _ACEOF
41370 rm -f conftest.$ac_objext
41371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41372 (eval $ac_compile) 2>&5
41373 ac_status=$?
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } &&
41376 { ac_try='test -s conftest.$ac_objext'
41377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378 (eval $ac_try) 2>&5
41379 ac_status=$?
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); }; }; then
41382 glibcxx_cv_func_finitel_use=yes
41383 else
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41387 glibcxx_cv_func_finitel_use=no
41389 rm -f conftest.$ac_objext conftest.$ac_ext
41390 ac_ext=c
41391 ac_cpp='$CPP $CPPFLAGS'
41392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41401 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41405 for ac_func in finitel
41407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41408 echo "$as_me:$LINENO: checking for $ac_func" >&5
41409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41410 if eval "test \"\${$as_ac_var+set}\" = set"; then
41411 echo $ECHO_N "(cached) $ECHO_C" >&6
41412 else
41413 if test x$gcc_no_link = xyes; then
41414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41416 { (exit 1); exit 1; }; }
41418 cat >conftest.$ac_ext <<_ACEOF
41419 #line $LINENO "configure"
41420 /* confdefs.h. */
41421 _ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 /* System header to define __stub macros and hopefully few prototypes,
41426 which can conflict with char $ac_func (); below.
41427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41428 <limits.h> exists even on freestanding compilers. */
41429 #ifdef __STDC__
41430 # include <limits.h>
41431 #else
41432 # include <assert.h>
41433 #endif
41434 /* Override any gcc2 internal prototype to avoid an error. */
41435 #ifdef __cplusplus
41436 extern "C"
41438 #endif
41439 /* We use char because int might match the return type of a gcc2
41440 builtin and then its argument prototype would still apply. */
41441 char $ac_func ();
41442 /* The GNU C library defines this for functions which it implements
41443 to always fail with ENOSYS. Some functions are actually named
41444 something starting with __ and the normal name is an alias. */
41445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41446 choke me
41447 #else
41448 char (*f) () = $ac_func;
41449 #endif
41450 #ifdef __cplusplus
41452 #endif
41455 main ()
41457 return f != $ac_func;
41459 return 0;
41461 _ACEOF
41462 rm -f conftest.$ac_objext conftest$ac_exeext
41463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41464 (eval $ac_link) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } &&
41468 { ac_try='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41471 ac_status=$?
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41479 eval "$as_ac_var=no"
41481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41485 if test `eval echo '${'$as_ac_var'}'` = yes; then
41486 cat >>confdefs.h <<_ACEOF
41487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41488 _ACEOF
41491 done
41493 else
41495 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41496 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41497 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41498 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41499 echo $ECHO_N "(cached) $ECHO_C" >&6
41500 else
41504 ac_ext=cc
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510 cat >conftest.$ac_ext <<_ACEOF
41511 #line $LINENO "configure"
41512 /* confdefs.h. */
41513 _ACEOF
41514 cat confdefs.h >>conftest.$ac_ext
41515 cat >>conftest.$ac_ext <<_ACEOF
41516 /* end confdefs.h. */
41517 #include <math.h>
41518 #ifdef HAVE_IEEEFP_H
41519 #include <ieeefp.h>
41520 #endif
41523 main ()
41525 _finitel(0);
41527 return 0;
41529 _ACEOF
41530 rm -f conftest.$ac_objext
41531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41532 (eval $ac_compile) 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 glibcxx_cv_func__finitel_use=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41547 glibcxx_cv_func__finitel_use=no
41549 rm -f conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41561 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41563 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41565 for ac_func in _finitel
41567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41568 echo "$as_me:$LINENO: checking for $ac_func" >&5
41569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41570 if eval "test \"\${$as_ac_var+set}\" = set"; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 else
41573 if test x$gcc_no_link = xyes; then
41574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41576 { (exit 1); exit 1; }; }
41578 cat >conftest.$ac_ext <<_ACEOF
41579 #line $LINENO "configure"
41580 /* confdefs.h. */
41581 _ACEOF
41582 cat confdefs.h >>conftest.$ac_ext
41583 cat >>conftest.$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41585 /* System header to define __stub macros and hopefully few prototypes,
41586 which can conflict with char $ac_func (); below.
41587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41588 <limits.h> exists even on freestanding compilers. */
41589 #ifdef __STDC__
41590 # include <limits.h>
41591 #else
41592 # include <assert.h>
41593 #endif
41594 /* Override any gcc2 internal prototype to avoid an error. */
41595 #ifdef __cplusplus
41596 extern "C"
41598 #endif
41599 /* We use char because int might match the return type of a gcc2
41600 builtin and then its argument prototype would still apply. */
41601 char $ac_func ();
41602 /* The GNU C library defines this for functions which it implements
41603 to always fail with ENOSYS. Some functions are actually named
41604 something starting with __ and the normal name is an alias. */
41605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41606 choke me
41607 #else
41608 char (*f) () = $ac_func;
41609 #endif
41610 #ifdef __cplusplus
41612 #endif
41615 main ()
41617 return f != $ac_func;
41619 return 0;
41621 _ACEOF
41622 rm -f conftest.$ac_objext conftest$ac_exeext
41623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41624 (eval $ac_link) 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); } &&
41628 { ac_try='test -s conftest$ac_exeext'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; }; then
41634 eval "$as_ac_var=yes"
41635 else
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.$ac_ext >&5
41639 eval "$as_ac_var=no"
41641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41645 if test `eval echo '${'$as_ac_var'}'` = yes; then
41646 cat >>confdefs.h <<_ACEOF
41647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41648 _ACEOF
41651 done
41659 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41660 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41661 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41662 echo $ECHO_N "(cached) $ECHO_C" >&6
41663 else
41667 ac_ext=cc
41668 ac_cpp='$CXXCPP $CPPFLAGS'
41669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41673 cat >conftest.$ac_ext <<_ACEOF
41674 #line $LINENO "configure"
41675 /* confdefs.h. */
41676 _ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h. */
41680 #include <math.h>
41682 main ()
41684 `for x in _acosf _asinf _atanf \
41685 _cosf _sinf _tanf \
41686 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41688 return 0;
41690 _ACEOF
41691 rm -f conftest.$ac_objext
41692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41693 (eval $ac_compile) 2>&5
41694 ac_status=$?
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } &&
41697 { ac_try='test -s conftest.$ac_objext'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41700 ac_status=$?
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; }; then
41703 glibcxx_cv_func__float_trig_use=yes
41704 else
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 glibcxx_cv_func__float_trig_use=no
41710 rm -f conftest.$ac_objext conftest.$ac_ext
41711 ac_ext=c
41712 ac_cpp='$CPP $CPPFLAGS'
41713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41720 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41721 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41731 for ac_func in _acosf _asinf _atanf \
41732 _cosf _sinf _tanf \
41733 _coshf _sinhf _tanhf
41735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41736 echo "$as_me:$LINENO: checking for $ac_func" >&5
41737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41738 if eval "test \"\${$as_ac_var+set}\" = set"; then
41739 echo $ECHO_N "(cached) $ECHO_C" >&6
41740 else
41741 if test x$gcc_no_link = xyes; then
41742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41744 { (exit 1); exit 1; }; }
41746 cat >conftest.$ac_ext <<_ACEOF
41747 #line $LINENO "configure"
41748 /* confdefs.h. */
41749 _ACEOF
41750 cat confdefs.h >>conftest.$ac_ext
41751 cat >>conftest.$ac_ext <<_ACEOF
41752 /* end confdefs.h. */
41753 /* System header to define __stub macros and hopefully few prototypes,
41754 which can conflict with char $ac_func (); below.
41755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41756 <limits.h> exists even on freestanding compilers. */
41757 #ifdef __STDC__
41758 # include <limits.h>
41759 #else
41760 # include <assert.h>
41761 #endif
41762 /* Override any gcc2 internal prototype to avoid an error. */
41763 #ifdef __cplusplus
41764 extern "C"
41766 #endif
41767 /* We use char because int might match the return type of a gcc2
41768 builtin and then its argument prototype would still apply. */
41769 char $ac_func ();
41770 /* The GNU C library defines this for functions which it implements
41771 to always fail with ENOSYS. Some functions are actually named
41772 something starting with __ and the normal name is an alias. */
41773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41774 choke me
41775 #else
41776 char (*f) () = $ac_func;
41777 #endif
41778 #ifdef __cplusplus
41780 #endif
41783 main ()
41785 return f != $ac_func;
41787 return 0;
41789 _ACEOF
41790 rm -f conftest.$ac_objext conftest$ac_exeext
41791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41792 (eval $ac_link) 2>&5
41793 ac_status=$?
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } &&
41796 { ac_try='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41799 ac_status=$?
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41803 else
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.$ac_ext >&5
41807 eval "$as_ac_var=no"
41809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41813 if test `eval echo '${'$as_ac_var'}'` = yes; then
41814 cat >>confdefs.h <<_ACEOF
41815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41816 _ACEOF
41819 done
41824 echo "$as_me:$LINENO: checking for _float round functions" >&5
41825 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41826 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41827 echo $ECHO_N "(cached) $ECHO_C" >&6
41828 else
41832 ac_ext=cc
41833 ac_cpp='$CXXCPP $CPPFLAGS'
41834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41838 cat >conftest.$ac_ext <<_ACEOF
41839 #line $LINENO "configure"
41840 /* confdefs.h. */
41841 _ACEOF
41842 cat confdefs.h >>conftest.$ac_ext
41843 cat >>conftest.$ac_ext <<_ACEOF
41844 /* end confdefs.h. */
41845 #include <math.h>
41847 main ()
41849 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41851 return 0;
41853 _ACEOF
41854 rm -f conftest.$ac_objext
41855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41856 (eval $ac_compile) 2>&5
41857 ac_status=$?
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); } &&
41860 { ac_try='test -s conftest.$ac_objext'
41861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41862 (eval $ac_try) 2>&5
41863 ac_status=$?
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); }; }; then
41866 glibcxx_cv_func__float_round_use=yes
41867 else
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 glibcxx_cv_func__float_round_use=no
41873 rm -f conftest.$ac_objext conftest.$ac_ext
41874 ac_ext=c
41875 ac_cpp='$CPP $CPPFLAGS'
41876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41883 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41884 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41887 for ac_func in _ceilf _floorf
41889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41890 echo "$as_me:$LINENO: checking for $ac_func" >&5
41891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41892 if eval "test \"\${$as_ac_var+set}\" = set"; then
41893 echo $ECHO_N "(cached) $ECHO_C" >&6
41894 else
41895 if test x$gcc_no_link = xyes; then
41896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41898 { (exit 1); exit 1; }; }
41900 cat >conftest.$ac_ext <<_ACEOF
41901 #line $LINENO "configure"
41902 /* confdefs.h. */
41903 _ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41907 /* System header to define __stub macros and hopefully few prototypes,
41908 which can conflict with char $ac_func (); below.
41909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41910 <limits.h> exists even on freestanding compilers. */
41911 #ifdef __STDC__
41912 # include <limits.h>
41913 #else
41914 # include <assert.h>
41915 #endif
41916 /* Override any gcc2 internal prototype to avoid an error. */
41917 #ifdef __cplusplus
41918 extern "C"
41920 #endif
41921 /* We use char because int might match the return type of a gcc2
41922 builtin and then its argument prototype would still apply. */
41923 char $ac_func ();
41924 /* The GNU C library defines this for functions which it implements
41925 to always fail with ENOSYS. Some functions are actually named
41926 something starting with __ and the normal name is an alias. */
41927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41928 choke me
41929 #else
41930 char (*f) () = $ac_func;
41931 #endif
41932 #ifdef __cplusplus
41934 #endif
41937 main ()
41939 return f != $ac_func;
41941 return 0;
41943 _ACEOF
41944 rm -f conftest.$ac_objext conftest$ac_exeext
41945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41946 (eval $ac_link) 2>&5
41947 ac_status=$?
41948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949 (exit $ac_status); } &&
41950 { ac_try='test -s conftest$ac_exeext'
41951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41952 (eval $ac_try) 2>&5
41953 ac_status=$?
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); }; }; then
41956 eval "$as_ac_var=yes"
41957 else
41958 echo "$as_me: failed program was:" >&5
41959 sed 's/^/| /' conftest.$ac_ext >&5
41961 eval "$as_ac_var=no"
41963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41967 if test `eval echo '${'$as_ac_var'}'` = yes; then
41968 cat >>confdefs.h <<_ACEOF
41969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41970 _ACEOF
41973 done
41979 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41980 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41982 echo $ECHO_N "(cached) $ECHO_C" >&6
41983 else
41987 ac_ext=cc
41988 ac_cpp='$CXXCPP $CPPFLAGS'
41989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41993 cat >conftest.$ac_ext <<_ACEOF
41994 #line $LINENO "configure"
41995 /* confdefs.h. */
41996 _ACEOF
41997 cat confdefs.h >>conftest.$ac_ext
41998 cat >>conftest.$ac_ext <<_ACEOF
41999 /* end confdefs.h. */
42000 #include <math.h>
42002 main ()
42004 `for x in _acosl _asinl _atanl \
42005 _cosl _sinl _tanl \
42006 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
42008 return 0;
42010 _ACEOF
42011 rm -f conftest.$ac_objext
42012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42013 (eval $ac_compile) 2>&5
42014 ac_status=$?
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); } &&
42017 { ac_try='test -s conftest.$ac_objext'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42020 ac_status=$?
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; }; then
42023 glibcxx_cv_func__long_double_trig_use=yes
42024 else
42025 echo "$as_me: failed program was:" >&5
42026 sed 's/^/| /' conftest.$ac_ext >&5
42028 glibcxx_cv_func__long_double_trig_use=no
42030 rm -f conftest.$ac_objext conftest.$ac_ext
42031 ac_ext=c
42032 ac_cpp='$CPP $CPPFLAGS'
42033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42040 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42041 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42051 for ac_func in _acosl _asinl _atanl \
42052 _cosl _sinl _tanl \
42053 _coshl _sinhl _tanhl
42055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42056 echo "$as_me:$LINENO: checking for $ac_func" >&5
42057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42058 if eval "test \"\${$as_ac_var+set}\" = set"; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42060 else
42061 if test x$gcc_no_link = xyes; then
42062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42064 { (exit 1); exit 1; }; }
42066 cat >conftest.$ac_ext <<_ACEOF
42067 #line $LINENO "configure"
42068 /* confdefs.h. */
42069 _ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* System header to define __stub macros and hopefully few prototypes,
42074 which can conflict with char $ac_func (); below.
42075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42076 <limits.h> exists even on freestanding compilers. */
42077 #ifdef __STDC__
42078 # include <limits.h>
42079 #else
42080 # include <assert.h>
42081 #endif
42082 /* Override any gcc2 internal prototype to avoid an error. */
42083 #ifdef __cplusplus
42084 extern "C"
42086 #endif
42087 /* We use char because int might match the return type of a gcc2
42088 builtin and then its argument prototype would still apply. */
42089 char $ac_func ();
42090 /* The GNU C library defines this for functions which it implements
42091 to always fail with ENOSYS. Some functions are actually named
42092 something starting with __ and the normal name is an alias. */
42093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42094 choke me
42095 #else
42096 char (*f) () = $ac_func;
42097 #endif
42098 #ifdef __cplusplus
42100 #endif
42103 main ()
42105 return f != $ac_func;
42107 return 0;
42109 _ACEOF
42110 rm -f conftest.$ac_objext conftest$ac_exeext
42111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42112 (eval $ac_link) 2>&5
42113 ac_status=$?
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try='test -s conftest$ac_exeext'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42119 ac_status=$?
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; }; then
42122 eval "$as_ac_var=yes"
42123 else
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.$ac_ext >&5
42127 eval "$as_ac_var=no"
42129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42133 if test `eval echo '${'$as_ac_var'}'` = yes; then
42134 cat >>confdefs.h <<_ACEOF
42135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42136 _ACEOF
42139 done
42144 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42145 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42146 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42148 else
42152 ac_ext=cc
42153 ac_cpp='$CXXCPP $CPPFLAGS'
42154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42158 cat >conftest.$ac_ext <<_ACEOF
42159 #line $LINENO "configure"
42160 /* confdefs.h. */
42161 _ACEOF
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42165 #include <math.h>
42167 main ()
42169 `for x in _ceill _floorl; do echo "$x (0);"; done`
42171 return 0;
42173 _ACEOF
42174 rm -f conftest.$ac_objext
42175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42176 (eval $ac_compile) 2>&5
42177 ac_status=$?
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); } &&
42180 { ac_try='test -s conftest.$ac_objext'
42181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42182 (eval $ac_try) 2>&5
42183 ac_status=$?
42184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42185 (exit $ac_status); }; }; then
42186 glibcxx_cv_func__long_double_round_use=yes
42187 else
42188 echo "$as_me: failed program was:" >&5
42189 sed 's/^/| /' conftest.$ac_ext >&5
42191 glibcxx_cv_func__long_double_round_use=no
42193 rm -f conftest.$ac_objext conftest.$ac_ext
42194 ac_ext=c
42195 ac_cpp='$CPP $CPPFLAGS'
42196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42203 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42204 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42207 for ac_func in _ceill _floorl
42209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42210 echo "$as_me:$LINENO: checking for $ac_func" >&5
42211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42212 if eval "test \"\${$as_ac_var+set}\" = set"; then
42213 echo $ECHO_N "(cached) $ECHO_C" >&6
42214 else
42215 if test x$gcc_no_link = xyes; then
42216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42218 { (exit 1); exit 1; }; }
42220 cat >conftest.$ac_ext <<_ACEOF
42221 #line $LINENO "configure"
42222 /* confdefs.h. */
42223 _ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 /* System header to define __stub macros and hopefully few prototypes,
42228 which can conflict with char $ac_func (); below.
42229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42230 <limits.h> exists even on freestanding compilers. */
42231 #ifdef __STDC__
42232 # include <limits.h>
42233 #else
42234 # include <assert.h>
42235 #endif
42236 /* Override any gcc2 internal prototype to avoid an error. */
42237 #ifdef __cplusplus
42238 extern "C"
42240 #endif
42241 /* We use char because int might match the return type of a gcc2
42242 builtin and then its argument prototype would still apply. */
42243 char $ac_func ();
42244 /* The GNU C library defines this for functions which it implements
42245 to always fail with ENOSYS. Some functions are actually named
42246 something starting with __ and the normal name is an alias. */
42247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42248 choke me
42249 #else
42250 char (*f) () = $ac_func;
42251 #endif
42252 #ifdef __cplusplus
42254 #endif
42257 main ()
42259 return f != $ac_func;
42261 return 0;
42263 _ACEOF
42264 rm -f conftest.$ac_objext conftest$ac_exeext
42265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42266 (eval $ac_link) 2>&5
42267 ac_status=$?
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } &&
42270 { ac_try='test -s conftest$ac_exeext'
42271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42272 (eval $ac_try) 2>&5
42273 ac_status=$?
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); }; }; then
42276 eval "$as_ac_var=yes"
42277 else
42278 echo "$as_me: failed program was:" >&5
42279 sed 's/^/| /' conftest.$ac_ext >&5
42281 eval "$as_ac_var=no"
42283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42287 if test `eval echo '${'$as_ac_var'}'` = yes; then
42288 cat >>confdefs.h <<_ACEOF
42289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42290 _ACEOF
42293 done
42298 LIBS="$ac_save_LIBS"
42299 CXXFLAGS="$ac_save_CXXFLAGS"
42303 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42304 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42305 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42306 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42307 echo $ECHO_N "(cached) $ECHO_C" >&6
42308 else
42312 ac_ext=cc
42313 ac_cpp='$CXXCPP $CPPFLAGS'
42314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318 cat >conftest.$ac_ext <<_ACEOF
42319 #line $LINENO "configure"
42320 /* confdefs.h. */
42321 _ACEOF
42322 cat confdefs.h >>conftest.$ac_ext
42323 cat >>conftest.$ac_ext <<_ACEOF
42324 /* end confdefs.h. */
42325 #include <math.h>
42327 main ()
42329 __builtin_abs(0);
42331 return 0;
42333 _ACEOF
42334 rm -f conftest.$ac_objext
42335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42336 (eval $ac_compile) 2>&5
42337 ac_status=$?
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try='test -s conftest.$ac_objext'
42341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42342 (eval $ac_try) 2>&5
42343 ac_status=$?
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); }; }; then
42346 glibcxx_cv_func___builtin_abs_use=yes
42347 else
42348 echo "$as_me: failed program was:" >&5
42349 sed 's/^/| /' conftest.$ac_ext >&5
42351 glibcxx_cv_func___builtin_abs_use=no
42353 rm -f conftest.$ac_objext conftest.$ac_ext
42354 ac_ext=c
42355 ac_cpp='$CPP $CPPFLAGS'
42356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42365 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42366 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42367 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42368 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42369 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42370 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42371 echo $ECHO_N "(cached) $ECHO_C" >&6
42372 else
42374 if test x$gcc_no_link = xyes; then
42375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42377 { (exit 1); exit 1; }; }
42379 cat >conftest.$ac_ext <<_ACEOF
42380 #line $LINENO "configure"
42381 /* confdefs.h. */
42382 _ACEOF
42383 cat confdefs.h >>conftest.$ac_ext
42384 cat >>conftest.$ac_ext <<_ACEOF
42385 /* end confdefs.h. */
42386 #include <math.h>
42388 main ()
42390 __builtin_abs(0);
42392 return 0;
42394 _ACEOF
42395 rm -f conftest.$ac_objext conftest$ac_exeext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42397 (eval $ac_link) 2>&5
42398 ac_status=$?
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); } &&
42401 { ac_try='test -s conftest$ac_exeext'
42402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403 (eval $ac_try) 2>&5
42404 ac_status=$?
42405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406 (exit $ac_status); }; }; then
42407 glibcxx_cv_func___builtin_abs_link=yes
42408 else
42409 echo "$as_me: failed program was:" >&5
42410 sed 's/^/| /' conftest.$ac_ext >&5
42412 glibcxx_cv_func___builtin_abs_link=no
42414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42419 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42420 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42421 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42422 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42423 cat >>confdefs.h <<_ACEOF
42424 #define ${ac_tr_func} 1
42425 _ACEOF
42431 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42432 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42433 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42434 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42435 echo $ECHO_N "(cached) $ECHO_C" >&6
42436 else
42440 ac_ext=cc
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446 cat >conftest.$ac_ext <<_ACEOF
42447 #line $LINENO "configure"
42448 /* confdefs.h. */
42449 _ACEOF
42450 cat confdefs.h >>conftest.$ac_ext
42451 cat >>conftest.$ac_ext <<_ACEOF
42452 /* end confdefs.h. */
42453 #include <math.h>
42455 main ()
42457 __builtin_fabsf(0);
42459 return 0;
42461 _ACEOF
42462 rm -f conftest.$ac_objext
42463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42464 (eval $ac_compile) 2>&5
42465 ac_status=$?
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); } &&
42468 { ac_try='test -s conftest.$ac_objext'
42469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42470 (eval $ac_try) 2>&5
42471 ac_status=$?
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42474 glibcxx_cv_func___builtin_fabsf_use=yes
42475 else
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42479 glibcxx_cv_func___builtin_fabsf_use=no
42481 rm -f conftest.$ac_objext conftest.$ac_ext
42482 ac_ext=c
42483 ac_cpp='$CPP $CPPFLAGS'
42484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42493 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42494 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42495 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42496 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42497 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42498 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42499 echo $ECHO_N "(cached) $ECHO_C" >&6
42500 else
42502 if test x$gcc_no_link = xyes; then
42503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42505 { (exit 1); exit 1; }; }
42507 cat >conftest.$ac_ext <<_ACEOF
42508 #line $LINENO "configure"
42509 /* confdefs.h. */
42510 _ACEOF
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h. */
42514 #include <math.h>
42516 main ()
42518 __builtin_fabsf(0);
42520 return 0;
42522 _ACEOF
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525 (eval $ac_link) 2>&5
42526 ac_status=$?
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try='test -s conftest$ac_exeext'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; }; then
42535 glibcxx_cv_func___builtin_fabsf_link=yes
42536 else
42537 echo "$as_me: failed program was:" >&5
42538 sed 's/^/| /' conftest.$ac_ext >&5
42540 glibcxx_cv_func___builtin_fabsf_link=no
42542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42548 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42549 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42550 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42551 cat >>confdefs.h <<_ACEOF
42552 #define ${ac_tr_func} 1
42553 _ACEOF
42559 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42560 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42561 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42562 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42563 echo $ECHO_N "(cached) $ECHO_C" >&6
42564 else
42568 ac_ext=cc
42569 ac_cpp='$CXXCPP $CPPFLAGS'
42570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42574 cat >conftest.$ac_ext <<_ACEOF
42575 #line $LINENO "configure"
42576 /* confdefs.h. */
42577 _ACEOF
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42581 #include <math.h>
42583 main ()
42585 __builtin_fabs(0);
42587 return 0;
42589 _ACEOF
42590 rm -f conftest.$ac_objext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42592 (eval $ac_compile) 2>&5
42593 ac_status=$?
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); } &&
42596 { ac_try='test -s conftest.$ac_objext'
42597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42598 (eval $ac_try) 2>&5
42599 ac_status=$?
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); }; }; then
42602 glibcxx_cv_func___builtin_fabs_use=yes
42603 else
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42607 glibcxx_cv_func___builtin_fabs_use=no
42609 rm -f conftest.$ac_objext conftest.$ac_ext
42610 ac_ext=c
42611 ac_cpp='$CPP $CPPFLAGS'
42612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42621 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42622 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42623 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42624 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42625 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42626 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42627 echo $ECHO_N "(cached) $ECHO_C" >&6
42628 else
42630 if test x$gcc_no_link = xyes; then
42631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42633 { (exit 1); exit 1; }; }
42635 cat >conftest.$ac_ext <<_ACEOF
42636 #line $LINENO "configure"
42637 /* confdefs.h. */
42638 _ACEOF
42639 cat confdefs.h >>conftest.$ac_ext
42640 cat >>conftest.$ac_ext <<_ACEOF
42641 /* end confdefs.h. */
42642 #include <math.h>
42644 main ()
42646 __builtin_fabs(0);
42648 return 0;
42650 _ACEOF
42651 rm -f conftest.$ac_objext conftest$ac_exeext
42652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42653 (eval $ac_link) 2>&5
42654 ac_status=$?
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } &&
42657 { ac_try='test -s conftest$ac_exeext'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42660 ac_status=$?
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; }; then
42663 glibcxx_cv_func___builtin_fabs_link=yes
42664 else
42665 echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42668 glibcxx_cv_func___builtin_fabs_link=no
42670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42676 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42677 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42678 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42679 cat >>confdefs.h <<_ACEOF
42680 #define ${ac_tr_func} 1
42681 _ACEOF
42687 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42688 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42689 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42690 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42691 echo $ECHO_N "(cached) $ECHO_C" >&6
42692 else
42696 ac_ext=cc
42697 ac_cpp='$CXXCPP $CPPFLAGS'
42698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702 cat >conftest.$ac_ext <<_ACEOF
42703 #line $LINENO "configure"
42704 /* confdefs.h. */
42705 _ACEOF
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42709 #include <math.h>
42711 main ()
42713 __builtin_fabsl(0);
42715 return 0;
42717 _ACEOF
42718 rm -f conftest.$ac_objext
42719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42720 (eval $ac_compile) 2>&5
42721 ac_status=$?
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } &&
42724 { ac_try='test -s conftest.$ac_objext'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; }; then
42730 glibcxx_cv_func___builtin_fabsl_use=yes
42731 else
42732 echo "$as_me: failed program was:" >&5
42733 sed 's/^/| /' conftest.$ac_ext >&5
42735 glibcxx_cv_func___builtin_fabsl_use=no
42737 rm -f conftest.$ac_objext conftest.$ac_ext
42738 ac_ext=c
42739 ac_cpp='$CPP $CPPFLAGS'
42740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42749 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42750 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42751 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42752 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42753 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42754 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42756 else
42758 if test x$gcc_no_link = xyes; then
42759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42761 { (exit 1); exit 1; }; }
42763 cat >conftest.$ac_ext <<_ACEOF
42764 #line $LINENO "configure"
42765 /* confdefs.h. */
42766 _ACEOF
42767 cat confdefs.h >>conftest.$ac_ext
42768 cat >>conftest.$ac_ext <<_ACEOF
42769 /* end confdefs.h. */
42770 #include <math.h>
42772 main ()
42774 __builtin_fabsl(0);
42776 return 0;
42778 _ACEOF
42779 rm -f conftest.$ac_objext conftest$ac_exeext
42780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42781 (eval $ac_link) 2>&5
42782 ac_status=$?
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } &&
42785 { ac_try='test -s conftest$ac_exeext'
42786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787 (eval $ac_try) 2>&5
42788 ac_status=$?
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; }; then
42791 glibcxx_cv_func___builtin_fabsl_link=yes
42792 else
42793 echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.$ac_ext >&5
42796 glibcxx_cv_func___builtin_fabsl_link=no
42798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42804 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42805 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42806 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42807 cat >>confdefs.h <<_ACEOF
42808 #define ${ac_tr_func} 1
42809 _ACEOF
42815 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42816 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42817 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42818 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42819 echo $ECHO_N "(cached) $ECHO_C" >&6
42820 else
42824 ac_ext=cc
42825 ac_cpp='$CXXCPP $CPPFLAGS'
42826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42830 cat >conftest.$ac_ext <<_ACEOF
42831 #line $LINENO "configure"
42832 /* confdefs.h. */
42833 _ACEOF
42834 cat confdefs.h >>conftest.$ac_ext
42835 cat >>conftest.$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42837 #include <math.h>
42839 main ()
42841 __builtin_labs(0);
42843 return 0;
42845 _ACEOF
42846 rm -f conftest.$ac_objext
42847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42848 (eval $ac_compile) 2>&5
42849 ac_status=$?
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } &&
42852 { ac_try='test -s conftest.$ac_objext'
42853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42854 (eval $ac_try) 2>&5
42855 ac_status=$?
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); }; }; then
42858 glibcxx_cv_func___builtin_labs_use=yes
42859 else
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.$ac_ext >&5
42863 glibcxx_cv_func___builtin_labs_use=no
42865 rm -f conftest.$ac_objext conftest.$ac_ext
42866 ac_ext=c
42867 ac_cpp='$CPP $CPPFLAGS'
42868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42877 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42878 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42879 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42880 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42881 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42882 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42884 else
42886 if test x$gcc_no_link = xyes; then
42887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42889 { (exit 1); exit 1; }; }
42891 cat >conftest.$ac_ext <<_ACEOF
42892 #line $LINENO "configure"
42893 /* confdefs.h. */
42894 _ACEOF
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42898 #include <math.h>
42900 main ()
42902 __builtin_labs(0);
42904 return 0;
42906 _ACEOF
42907 rm -f conftest.$ac_objext conftest$ac_exeext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42909 (eval $ac_link) 2>&5
42910 ac_status=$?
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } &&
42913 { ac_try='test -s conftest$ac_exeext'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; }; then
42919 glibcxx_cv_func___builtin_labs_link=yes
42920 else
42921 echo "$as_me: failed program was:" >&5
42922 sed 's/^/| /' conftest.$ac_ext >&5
42924 glibcxx_cv_func___builtin_labs_link=no
42926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42932 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42933 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42934 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42935 cat >>confdefs.h <<_ACEOF
42936 #define ${ac_tr_func} 1
42937 _ACEOF
42944 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42945 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42946 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42947 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42948 echo $ECHO_N "(cached) $ECHO_C" >&6
42949 else
42953 ac_ext=cc
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959 cat >conftest.$ac_ext <<_ACEOF
42960 #line $LINENO "configure"
42961 /* confdefs.h. */
42962 _ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966 #include <math.h>
42968 main ()
42970 __builtin_sqrtf(0);
42972 return 0;
42974 _ACEOF
42975 rm -f conftest.$ac_objext
42976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42977 (eval $ac_compile) 2>&5
42978 ac_status=$?
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } &&
42981 { ac_try='test -s conftest.$ac_objext'
42982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42983 (eval $ac_try) 2>&5
42984 ac_status=$?
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); }; }; then
42987 glibcxx_cv_func___builtin_sqrtf_use=yes
42988 else
42989 echo "$as_me: failed program was:" >&5
42990 sed 's/^/| /' conftest.$ac_ext >&5
42992 glibcxx_cv_func___builtin_sqrtf_use=no
42994 rm -f conftest.$ac_objext conftest.$ac_ext
42995 ac_ext=c
42996 ac_cpp='$CPP $CPPFLAGS'
42997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
43006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
43007 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
43008 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
43009 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
43010 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
43011 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 else
43015 if test x$gcc_no_link = xyes; then
43016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43018 { (exit 1); exit 1; }; }
43020 cat >conftest.$ac_ext <<_ACEOF
43021 #line $LINENO "configure"
43022 /* confdefs.h. */
43023 _ACEOF
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43027 #include <math.h>
43029 main ()
43031 __builtin_sqrtf(0);
43033 return 0;
43035 _ACEOF
43036 rm -f conftest.$ac_objext conftest$ac_exeext
43037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43038 (eval $ac_link) 2>&5
43039 ac_status=$?
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); } &&
43042 { ac_try='test -s conftest$ac_exeext'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43045 ac_status=$?
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; }; then
43048 glibcxx_cv_func___builtin_sqrtf_link=yes
43049 else
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.$ac_ext >&5
43053 glibcxx_cv_func___builtin_sqrtf_link=no
43055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43062 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43063 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43064 cat >>confdefs.h <<_ACEOF
43065 #define ${ac_tr_func} 1
43066 _ACEOF
43072 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43073 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43074 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43075 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43076 echo $ECHO_N "(cached) $ECHO_C" >&6
43077 else
43081 ac_ext=cc
43082 ac_cpp='$CXXCPP $CPPFLAGS'
43083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43087 cat >conftest.$ac_ext <<_ACEOF
43088 #line $LINENO "configure"
43089 /* confdefs.h. */
43090 _ACEOF
43091 cat confdefs.h >>conftest.$ac_ext
43092 cat >>conftest.$ac_ext <<_ACEOF
43093 /* end confdefs.h. */
43094 #include <math.h>
43096 main ()
43098 __builtin_sqrt(0);
43100 return 0;
43102 _ACEOF
43103 rm -f conftest.$ac_objext
43104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43105 (eval $ac_compile) 2>&5
43106 ac_status=$?
43107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43108 (exit $ac_status); } &&
43109 { ac_try='test -s conftest.$ac_objext'
43110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43111 (eval $ac_try) 2>&5
43112 ac_status=$?
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; }; then
43115 glibcxx_cv_func___builtin_sqrt_use=yes
43116 else
43117 echo "$as_me: failed program was:" >&5
43118 sed 's/^/| /' conftest.$ac_ext >&5
43120 glibcxx_cv_func___builtin_sqrt_use=no
43122 rm -f conftest.$ac_objext conftest.$ac_ext
43123 ac_ext=c
43124 ac_cpp='$CPP $CPPFLAGS'
43125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43134 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43135 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43136 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43137 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43138 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43139 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43141 else
43143 if test x$gcc_no_link = xyes; then
43144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43146 { (exit 1); exit 1; }; }
43148 cat >conftest.$ac_ext <<_ACEOF
43149 #line $LINENO "configure"
43150 /* confdefs.h. */
43151 _ACEOF
43152 cat confdefs.h >>conftest.$ac_ext
43153 cat >>conftest.$ac_ext <<_ACEOF
43154 /* end confdefs.h. */
43155 #include <math.h>
43157 main ()
43159 __builtin_sqrt(0);
43161 return 0;
43163 _ACEOF
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43166 (eval $ac_link) 2>&5
43167 ac_status=$?
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); } &&
43170 { ac_try='test -s conftest$ac_exeext'
43171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172 (eval $ac_try) 2>&5
43173 ac_status=$?
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; }; then
43176 glibcxx_cv_func___builtin_sqrt_link=yes
43177 else
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43181 glibcxx_cv_func___builtin_sqrt_link=no
43183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43188 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43189 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43190 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43191 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43192 cat >>confdefs.h <<_ACEOF
43193 #define ${ac_tr_func} 1
43194 _ACEOF
43200 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43201 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43202 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43203 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43204 echo $ECHO_N "(cached) $ECHO_C" >&6
43205 else
43209 ac_ext=cc
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43215 cat >conftest.$ac_ext <<_ACEOF
43216 #line $LINENO "configure"
43217 /* confdefs.h. */
43218 _ACEOF
43219 cat confdefs.h >>conftest.$ac_ext
43220 cat >>conftest.$ac_ext <<_ACEOF
43221 /* end confdefs.h. */
43222 #include <math.h>
43224 main ()
43226 __builtin_sqrtl(0);
43228 return 0;
43230 _ACEOF
43231 rm -f conftest.$ac_objext
43232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43233 (eval $ac_compile) 2>&5
43234 ac_status=$?
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); } &&
43237 { ac_try='test -s conftest.$ac_objext'
43238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239 (eval $ac_try) 2>&5
43240 ac_status=$?
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); }; }; then
43243 glibcxx_cv_func___builtin_sqrtl_use=yes
43244 else
43245 echo "$as_me: failed program was:" >&5
43246 sed 's/^/| /' conftest.$ac_ext >&5
43248 glibcxx_cv_func___builtin_sqrtl_use=no
43250 rm -f conftest.$ac_objext conftest.$ac_ext
43251 ac_ext=c
43252 ac_cpp='$CPP $CPPFLAGS'
43253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43261 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43262 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43263 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43264 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43265 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43266 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43267 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43268 echo $ECHO_N "(cached) $ECHO_C" >&6
43269 else
43271 if test x$gcc_no_link = xyes; then
43272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43274 { (exit 1); exit 1; }; }
43276 cat >conftest.$ac_ext <<_ACEOF
43277 #line $LINENO "configure"
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283 #include <math.h>
43285 main ()
43287 __builtin_sqrtl(0);
43289 return 0;
43291 _ACEOF
43292 rm -f conftest.$ac_objext conftest$ac_exeext
43293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43294 (eval $ac_link) 2>&5
43295 ac_status=$?
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } &&
43298 { ac_try='test -s conftest$ac_exeext'
43299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43300 (eval $ac_try) 2>&5
43301 ac_status=$?
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); }; }; then
43304 glibcxx_cv_func___builtin_sqrtl_link=yes
43305 else
43306 echo "$as_me: failed program was:" >&5
43307 sed 's/^/| /' conftest.$ac_ext >&5
43309 glibcxx_cv_func___builtin_sqrtl_link=no
43311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43316 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43317 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43318 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43319 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43320 cat >>confdefs.h <<_ACEOF
43321 #define ${ac_tr_func} 1
43322 _ACEOF
43329 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43330 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43331 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43332 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43334 else
43338 ac_ext=cc
43339 ac_cpp='$CXXCPP $CPPFLAGS'
43340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344 cat >conftest.$ac_ext <<_ACEOF
43345 #line $LINENO "configure"
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 #include <math.h>
43353 main ()
43355 __builtin_sinf(0);
43357 return 0;
43359 _ACEOF
43360 rm -f conftest.$ac_objext
43361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43362 (eval $ac_compile) 2>&5
43363 ac_status=$?
43364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43365 (exit $ac_status); } &&
43366 { ac_try='test -s conftest.$ac_objext'
43367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43368 (eval $ac_try) 2>&5
43369 ac_status=$?
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); }; }; then
43372 glibcxx_cv_func___builtin_sinf_use=yes
43373 else
43374 echo "$as_me: failed program was:" >&5
43375 sed 's/^/| /' conftest.$ac_ext >&5
43377 glibcxx_cv_func___builtin_sinf_use=no
43379 rm -f conftest.$ac_objext conftest.$ac_ext
43380 ac_ext=c
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43391 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43392 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43393 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43394 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43395 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43396 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43397 echo $ECHO_N "(cached) $ECHO_C" >&6
43398 else
43400 if test x$gcc_no_link = xyes; then
43401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43403 { (exit 1); exit 1; }; }
43405 cat >conftest.$ac_ext <<_ACEOF
43406 #line $LINENO "configure"
43407 /* confdefs.h. */
43408 _ACEOF
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43412 #include <math.h>
43414 main ()
43416 __builtin_sinf(0);
43418 return 0;
43420 _ACEOF
43421 rm -f conftest.$ac_objext conftest$ac_exeext
43422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43423 (eval $ac_link) 2>&5
43424 ac_status=$?
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } &&
43427 { ac_try='test -s conftest$ac_exeext'
43428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43429 (eval $ac_try) 2>&5
43430 ac_status=$?
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); }; }; then
43433 glibcxx_cv_func___builtin_sinf_link=yes
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43438 glibcxx_cv_func___builtin_sinf_link=no
43440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43446 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43447 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43448 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43449 cat >>confdefs.h <<_ACEOF
43450 #define ${ac_tr_func} 1
43451 _ACEOF
43457 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43458 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43459 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43460 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43461 echo $ECHO_N "(cached) $ECHO_C" >&6
43462 else
43466 ac_ext=cc
43467 ac_cpp='$CXXCPP $CPPFLAGS'
43468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43472 cat >conftest.$ac_ext <<_ACEOF
43473 #line $LINENO "configure"
43474 /* confdefs.h. */
43475 _ACEOF
43476 cat confdefs.h >>conftest.$ac_ext
43477 cat >>conftest.$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 #include <math.h>
43481 main ()
43483 __builtin_sin(0);
43485 return 0;
43487 _ACEOF
43488 rm -f conftest.$ac_objext
43489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43490 (eval $ac_compile) 2>&5
43491 ac_status=$?
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } &&
43494 { ac_try='test -s conftest.$ac_objext'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43497 ac_status=$?
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; }; then
43500 glibcxx_cv_func___builtin_sin_use=yes
43501 else
43502 echo "$as_me: failed program was:" >&5
43503 sed 's/^/| /' conftest.$ac_ext >&5
43505 glibcxx_cv_func___builtin_sin_use=no
43507 rm -f conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43519 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43520 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43521 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43522 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43523 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43524 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 else
43528 if test x$gcc_no_link = xyes; then
43529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43531 { (exit 1); exit 1; }; }
43533 cat >conftest.$ac_ext <<_ACEOF
43534 #line $LINENO "configure"
43535 /* confdefs.h. */
43536 _ACEOF
43537 cat confdefs.h >>conftest.$ac_ext
43538 cat >>conftest.$ac_ext <<_ACEOF
43539 /* end confdefs.h. */
43540 #include <math.h>
43542 main ()
43544 __builtin_sin(0);
43546 return 0;
43548 _ACEOF
43549 rm -f conftest.$ac_objext conftest$ac_exeext
43550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43551 (eval $ac_link) 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); } &&
43555 { ac_try='test -s conftest$ac_exeext'
43556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43557 (eval $ac_try) 2>&5
43558 ac_status=$?
43559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43560 (exit $ac_status); }; }; then
43561 glibcxx_cv_func___builtin_sin_link=yes
43562 else
43563 echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.$ac_ext >&5
43566 glibcxx_cv_func___builtin_sin_link=no
43568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43575 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43576 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43577 cat >>confdefs.h <<_ACEOF
43578 #define ${ac_tr_func} 1
43579 _ACEOF
43585 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43586 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43587 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43588 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43589 echo $ECHO_N "(cached) $ECHO_C" >&6
43590 else
43594 ac_ext=cc
43595 ac_cpp='$CXXCPP $CPPFLAGS'
43596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43600 cat >conftest.$ac_ext <<_ACEOF
43601 #line $LINENO "configure"
43602 /* confdefs.h. */
43603 _ACEOF
43604 cat confdefs.h >>conftest.$ac_ext
43605 cat >>conftest.$ac_ext <<_ACEOF
43606 /* end confdefs.h. */
43607 #include <math.h>
43609 main ()
43611 __builtin_sinl(0);
43613 return 0;
43615 _ACEOF
43616 rm -f conftest.$ac_objext
43617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43618 (eval $ac_compile) 2>&5
43619 ac_status=$?
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); } &&
43622 { ac_try='test -s conftest.$ac_objext'
43623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43624 (eval $ac_try) 2>&5
43625 ac_status=$?
43626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43627 (exit $ac_status); }; }; then
43628 glibcxx_cv_func___builtin_sinl_use=yes
43629 else
43630 echo "$as_me: failed program was:" >&5
43631 sed 's/^/| /' conftest.$ac_ext >&5
43633 glibcxx_cv_func___builtin_sinl_use=no
43635 rm -f conftest.$ac_objext conftest.$ac_ext
43636 ac_ext=c
43637 ac_cpp='$CPP $CPPFLAGS'
43638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43648 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43649 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43650 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43651 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43652 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43653 echo $ECHO_N "(cached) $ECHO_C" >&6
43654 else
43656 if test x$gcc_no_link = xyes; then
43657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43659 { (exit 1); exit 1; }; }
43661 cat >conftest.$ac_ext <<_ACEOF
43662 #line $LINENO "configure"
43663 /* confdefs.h. */
43664 _ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43668 #include <math.h>
43670 main ()
43672 __builtin_sinl(0);
43674 return 0;
43676 _ACEOF
43677 rm -f conftest.$ac_objext conftest$ac_exeext
43678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43679 (eval $ac_link) 2>&5
43680 ac_status=$?
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); } &&
43683 { ac_try='test -s conftest$ac_exeext'
43684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685 (eval $ac_try) 2>&5
43686 ac_status=$?
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); }; }; then
43689 glibcxx_cv_func___builtin_sinl_link=yes
43690 else
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43694 glibcxx_cv_func___builtin_sinl_link=no
43696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43703 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43704 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43705 cat >>confdefs.h <<_ACEOF
43706 #define ${ac_tr_func} 1
43707 _ACEOF
43714 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43715 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43716 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43717 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43718 echo $ECHO_N "(cached) $ECHO_C" >&6
43719 else
43723 ac_ext=cc
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729 cat >conftest.$ac_ext <<_ACEOF
43730 #line $LINENO "configure"
43731 /* confdefs.h. */
43732 _ACEOF
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43736 #include <math.h>
43738 main ()
43740 __builtin_cosf(0);
43742 return 0;
43744 _ACEOF
43745 rm -f conftest.$ac_objext
43746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43747 (eval $ac_compile) 2>&5
43748 ac_status=$?
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try='test -s conftest.$ac_objext'
43752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43753 (eval $ac_try) 2>&5
43754 ac_status=$?
43755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756 (exit $ac_status); }; }; then
43757 glibcxx_cv_func___builtin_cosf_use=yes
43758 else
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43762 glibcxx_cv_func___builtin_cosf_use=no
43764 rm -f conftest.$ac_objext conftest.$ac_ext
43765 ac_ext=c
43766 ac_cpp='$CPP $CPPFLAGS'
43767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43776 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43777 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43778 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43779 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43780 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43781 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43782 echo $ECHO_N "(cached) $ECHO_C" >&6
43783 else
43785 if test x$gcc_no_link = xyes; then
43786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43788 { (exit 1); exit 1; }; }
43790 cat >conftest.$ac_ext <<_ACEOF
43791 #line $LINENO "configure"
43792 /* confdefs.h. */
43793 _ACEOF
43794 cat confdefs.h >>conftest.$ac_ext
43795 cat >>conftest.$ac_ext <<_ACEOF
43796 /* end confdefs.h. */
43797 #include <math.h>
43799 main ()
43801 __builtin_cosf(0);
43803 return 0;
43805 _ACEOF
43806 rm -f conftest.$ac_objext conftest$ac_exeext
43807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43808 (eval $ac_link) 2>&5
43809 ac_status=$?
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); } &&
43812 { ac_try='test -s conftest$ac_exeext'
43813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43814 (eval $ac_try) 2>&5
43815 ac_status=$?
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); }; }; then
43818 glibcxx_cv_func___builtin_cosf_link=yes
43819 else
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.$ac_ext >&5
43823 glibcxx_cv_func___builtin_cosf_link=no
43825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43831 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43832 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43833 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43834 cat >>confdefs.h <<_ACEOF
43835 #define ${ac_tr_func} 1
43836 _ACEOF
43842 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43843 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43844 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43845 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43846 echo $ECHO_N "(cached) $ECHO_C" >&6
43847 else
43851 ac_ext=cc
43852 ac_cpp='$CXXCPP $CPPFLAGS'
43853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857 cat >conftest.$ac_ext <<_ACEOF
43858 #line $LINENO "configure"
43859 /* confdefs.h. */
43860 _ACEOF
43861 cat confdefs.h >>conftest.$ac_ext
43862 cat >>conftest.$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43864 #include <math.h>
43866 main ()
43868 __builtin_cos(0);
43870 return 0;
43872 _ACEOF
43873 rm -f conftest.$ac_objext
43874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43875 (eval $ac_compile) 2>&5
43876 ac_status=$?
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } &&
43879 { ac_try='test -s conftest.$ac_objext'
43880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43881 (eval $ac_try) 2>&5
43882 ac_status=$?
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); }; }; then
43885 glibcxx_cv_func___builtin_cos_use=yes
43886 else
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.$ac_ext >&5
43890 glibcxx_cv_func___builtin_cos_use=no
43892 rm -f conftest.$ac_objext conftest.$ac_ext
43893 ac_ext=c
43894 ac_cpp='$CPP $CPPFLAGS'
43895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43904 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43905 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43906 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43907 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43908 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43909 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43910 echo $ECHO_N "(cached) $ECHO_C" >&6
43911 else
43913 if test x$gcc_no_link = xyes; then
43914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43916 { (exit 1); exit 1; }; }
43918 cat >conftest.$ac_ext <<_ACEOF
43919 #line $LINENO "configure"
43920 /* confdefs.h. */
43921 _ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43925 #include <math.h>
43927 main ()
43929 __builtin_cos(0);
43931 return 0;
43933 _ACEOF
43934 rm -f conftest.$ac_objext conftest$ac_exeext
43935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43936 (eval $ac_link) 2>&5
43937 ac_status=$?
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } &&
43940 { ac_try='test -s conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43946 glibcxx_cv_func___builtin_cos_link=yes
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 glibcxx_cv_func___builtin_cos_link=no
43953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43959 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43960 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43961 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43962 cat >>confdefs.h <<_ACEOF
43963 #define ${ac_tr_func} 1
43964 _ACEOF
43970 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43971 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43972 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43973 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43979 ac_ext=cc
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985 cat >conftest.$ac_ext <<_ACEOF
43986 #line $LINENO "configure"
43987 /* confdefs.h. */
43988 _ACEOF
43989 cat confdefs.h >>conftest.$ac_ext
43990 cat >>conftest.$ac_ext <<_ACEOF
43991 /* end confdefs.h. */
43992 #include <math.h>
43994 main ()
43996 __builtin_cosl(0);
43998 return 0;
44000 _ACEOF
44001 rm -f conftest.$ac_objext
44002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44003 (eval $ac_compile) 2>&5
44004 ac_status=$?
44005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44006 (exit $ac_status); } &&
44007 { ac_try='test -s conftest.$ac_objext'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44010 ac_status=$?
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; }; then
44013 glibcxx_cv_func___builtin_cosl_use=yes
44014 else
44015 echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44018 glibcxx_cv_func___builtin_cosl_use=no
44020 rm -f conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44032 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44033 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44034 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44035 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44036 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44037 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44039 else
44041 if test x$gcc_no_link = xyes; then
44042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44044 { (exit 1); exit 1; }; }
44046 cat >conftest.$ac_ext <<_ACEOF
44047 #line $LINENO "configure"
44048 /* confdefs.h. */
44049 _ACEOF
44050 cat confdefs.h >>conftest.$ac_ext
44051 cat >>conftest.$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44053 #include <math.h>
44055 main ()
44057 __builtin_cosl(0);
44059 return 0;
44061 _ACEOF
44062 rm -f conftest.$ac_objext conftest$ac_exeext
44063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44064 (eval $ac_link) 2>&5
44065 ac_status=$?
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); } &&
44068 { ac_try='test -s conftest$ac_exeext'
44069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44070 (eval $ac_try) 2>&5
44071 ac_status=$?
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); }; }; then
44074 glibcxx_cv_func___builtin_cosl_link=yes
44075 else
44076 echo "$as_me: failed program was:" >&5
44077 sed 's/^/| /' conftest.$ac_ext >&5
44079 glibcxx_cv_func___builtin_cosl_link=no
44081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44087 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44088 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44089 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44090 cat >>confdefs.h <<_ACEOF
44091 #define ${ac_tr_func} 1
44092 _ACEOF
44098 dummyvar=no
44099 if test x$dummyvar = x"yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define HAVE___BUILTIN_ABS 1
44102 _ACEOF
44104 cat >>confdefs.h <<\_ACEOF
44105 #define HAVE___BUILTIN_LABS 1
44106 _ACEOF
44108 cat >>confdefs.h <<\_ACEOF
44109 #define HAVE___BUILTIN_COS 1
44110 _ACEOF
44112 cat >>confdefs.h <<\_ACEOF
44113 #define HAVE___BUILTIN_COSF 1
44114 _ACEOF
44116 cat >>confdefs.h <<\_ACEOF
44117 #define HAVE___BUILTIN_COSL 1
44118 _ACEOF
44120 cat >>confdefs.h <<\_ACEOF
44121 #define HAVE___BUILTIN_FABS 1
44122 _ACEOF
44124 cat >>confdefs.h <<\_ACEOF
44125 #define HAVE___BUILTIN_FABSF 1
44126 _ACEOF
44128 cat >>confdefs.h <<\_ACEOF
44129 #define HAVE___BUILTIN_FABSL 1
44130 _ACEOF
44132 cat >>confdefs.h <<\_ACEOF
44133 #define HAVE___BUILTIN_SIN 1
44134 _ACEOF
44136 cat >>confdefs.h <<\_ACEOF
44137 #define HAVE___BUILTIN_SINF 1
44138 _ACEOF
44140 cat >>confdefs.h <<\_ACEOF
44141 #define HAVE___BUILTIN_SINL 1
44142 _ACEOF
44144 cat >>confdefs.h <<\_ACEOF
44145 #define HAVE___BUILTIN_SQRT 1
44146 _ACEOF
44148 cat >>confdefs.h <<\_ACEOF
44149 #define HAVE___BUILTIN_SQRTF 1
44150 _ACEOF
44152 cat >>confdefs.h <<\_ACEOF
44153 #define HAVE___BUILTIN_SQRTL 1
44154 _ACEOF
44160 echo "$as_me:$LINENO: checking for main in -lm" >&5
44161 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44162 if test "${ac_cv_lib_m_main+set}" = set; then
44163 echo $ECHO_N "(cached) $ECHO_C" >&6
44164 else
44165 ac_check_lib_save_LIBS=$LIBS
44166 LIBS="-lm $LIBS"
44167 if test x$gcc_no_link = xyes; then
44168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44170 { (exit 1); exit 1; }; }
44172 cat >conftest.$ac_ext <<_ACEOF
44173 #line $LINENO "configure"
44174 /* confdefs.h. */
44175 _ACEOF
44176 cat confdefs.h >>conftest.$ac_ext
44177 cat >>conftest.$ac_ext <<_ACEOF
44178 /* end confdefs.h. */
44182 main ()
44184 main ();
44186 return 0;
44188 _ACEOF
44189 rm -f conftest.$ac_objext conftest$ac_exeext
44190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44191 (eval $ac_link) 2>&5
44192 ac_status=$?
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); } &&
44195 { ac_try='test -s conftest$ac_exeext'
44196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44197 (eval $ac_try) 2>&5
44198 ac_status=$?
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); }; }; then
44201 ac_cv_lib_m_main=yes
44202 else
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.$ac_ext >&5
44206 ac_cv_lib_m_main=no
44208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44209 LIBS=$ac_check_lib_save_LIBS
44211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44212 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44213 if test $ac_cv_lib_m_main = yes; then
44214 cat >>confdefs.h <<_ACEOF
44215 #define HAVE_LIBM 1
44216 _ACEOF
44218 LIBS="-lm $LIBS"
44224 for ac_func in nan copysignf
44226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44227 echo "$as_me:$LINENO: checking for $ac_func" >&5
44228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44229 if eval "test \"\${$as_ac_var+set}\" = set"; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 else
44232 if test x$gcc_no_link = xyes; then
44233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44235 { (exit 1); exit 1; }; }
44237 cat >conftest.$ac_ext <<_ACEOF
44238 #line $LINENO "configure"
44239 /* confdefs.h. */
44240 _ACEOF
44241 cat confdefs.h >>conftest.$ac_ext
44242 cat >>conftest.$ac_ext <<_ACEOF
44243 /* end confdefs.h. */
44244 /* System header to define __stub macros and hopefully few prototypes,
44245 which can conflict with char $ac_func (); below.
44246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44247 <limits.h> exists even on freestanding compilers. */
44248 #ifdef __STDC__
44249 # include <limits.h>
44250 #else
44251 # include <assert.h>
44252 #endif
44253 /* Override any gcc2 internal prototype to avoid an error. */
44254 #ifdef __cplusplus
44255 extern "C"
44257 #endif
44258 /* We use char because int might match the return type of a gcc2
44259 builtin and then its argument prototype would still apply. */
44260 char $ac_func ();
44261 /* The GNU C library defines this for functions which it implements
44262 to always fail with ENOSYS. Some functions are actually named
44263 something starting with __ and the normal name is an alias. */
44264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44265 choke me
44266 #else
44267 char (*f) () = $ac_func;
44268 #endif
44269 #ifdef __cplusplus
44271 #endif
44274 main ()
44276 return f != $ac_func;
44278 return 0;
44280 _ACEOF
44281 rm -f conftest.$ac_objext conftest$ac_exeext
44282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44283 (eval $ac_link) 2>&5
44284 ac_status=$?
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); } &&
44287 { ac_try='test -s conftest$ac_exeext'
44288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44289 (eval $ac_try) 2>&5
44290 ac_status=$?
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; }; then
44293 eval "$as_ac_var=yes"
44294 else
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44298 eval "$as_ac_var=no"
44300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44304 if test `eval echo '${'$as_ac_var'}'` = yes; then
44305 cat >>confdefs.h <<_ACEOF
44306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44307 _ACEOF
44309 else
44310 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44312 done
44316 for ac_func in __signbit
44318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44319 echo "$as_me:$LINENO: checking for $ac_func" >&5
44320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44321 if eval "test \"\${$as_ac_var+set}\" = set"; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 else
44324 if test x$gcc_no_link = xyes; then
44325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44327 { (exit 1); exit 1; }; }
44329 cat >conftest.$ac_ext <<_ACEOF
44330 #line $LINENO "configure"
44331 /* confdefs.h. */
44332 _ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 /* System header to define __stub macros and hopefully few prototypes,
44337 which can conflict with char $ac_func (); below.
44338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44339 <limits.h> exists even on freestanding compilers. */
44340 #ifdef __STDC__
44341 # include <limits.h>
44342 #else
44343 # include <assert.h>
44344 #endif
44345 /* Override any gcc2 internal prototype to avoid an error. */
44346 #ifdef __cplusplus
44347 extern "C"
44349 #endif
44350 /* We use char because int might match the return type of a gcc2
44351 builtin and then its argument prototype would still apply. */
44352 char $ac_func ();
44353 /* The GNU C library defines this for functions which it implements
44354 to always fail with ENOSYS. Some functions are actually named
44355 something starting with __ and the normal name is an alias. */
44356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44357 choke me
44358 #else
44359 char (*f) () = $ac_func;
44360 #endif
44361 #ifdef __cplusplus
44363 #endif
44366 main ()
44368 return f != $ac_func;
44370 return 0;
44372 _ACEOF
44373 rm -f conftest.$ac_objext conftest$ac_exeext
44374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44375 (eval $ac_link) 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); } &&
44379 { ac_try='test -s conftest$ac_exeext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44382 ac_status=$?
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 eval "$as_ac_var=yes"
44386 else
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44390 eval "$as_ac_var=no"
44392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44396 if test `eval echo '${'$as_ac_var'}'` = yes; then
44397 cat >>confdefs.h <<_ACEOF
44398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44399 _ACEOF
44401 else
44402 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44404 done
44407 for ac_func in __signbitf
44409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44410 echo "$as_me:$LINENO: checking for $ac_func" >&5
44411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44412 if eval "test \"\${$as_ac_var+set}\" = set"; then
44413 echo $ECHO_N "(cached) $ECHO_C" >&6
44414 else
44415 if test x$gcc_no_link = xyes; then
44416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44418 { (exit 1); exit 1; }; }
44420 cat >conftest.$ac_ext <<_ACEOF
44421 #line $LINENO "configure"
44422 /* confdefs.h. */
44423 _ACEOF
44424 cat confdefs.h >>conftest.$ac_ext
44425 cat >>conftest.$ac_ext <<_ACEOF
44426 /* end confdefs.h. */
44427 /* System header to define __stub macros and hopefully few prototypes,
44428 which can conflict with char $ac_func (); below.
44429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44430 <limits.h> exists even on freestanding compilers. */
44431 #ifdef __STDC__
44432 # include <limits.h>
44433 #else
44434 # include <assert.h>
44435 #endif
44436 /* Override any gcc2 internal prototype to avoid an error. */
44437 #ifdef __cplusplus
44438 extern "C"
44440 #endif
44441 /* We use char because int might match the return type of a gcc2
44442 builtin and then its argument prototype would still apply. */
44443 char $ac_func ();
44444 /* The GNU C library defines this for functions which it implements
44445 to always fail with ENOSYS. Some functions are actually named
44446 something starting with __ and the normal name is an alias. */
44447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44448 choke me
44449 #else
44450 char (*f) () = $ac_func;
44451 #endif
44452 #ifdef __cplusplus
44454 #endif
44457 main ()
44459 return f != $ac_func;
44461 return 0;
44463 _ACEOF
44464 rm -f conftest.$ac_objext conftest$ac_exeext
44465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44466 (eval $ac_link) 2>&5
44467 ac_status=$?
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } &&
44470 { ac_try='test -s conftest$ac_exeext'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44473 ac_status=$?
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; }; then
44476 eval "$as_ac_var=yes"
44477 else
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44481 eval "$as_ac_var=no"
44483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44487 if test `eval echo '${'$as_ac_var'}'` = yes; then
44488 cat >>confdefs.h <<_ACEOF
44489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44490 _ACEOF
44492 else
44493 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44495 done
44498 if test x$ac_cv_func_copysignl = x"yes"; then
44500 for ac_func in __signbitl
44502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44503 echo "$as_me:$LINENO: checking for $ac_func" >&5
44504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44505 if eval "test \"\${$as_ac_var+set}\" = set"; then
44506 echo $ECHO_N "(cached) $ECHO_C" >&6
44507 else
44508 if test x$gcc_no_link = xyes; then
44509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44511 { (exit 1); exit 1; }; }
44513 cat >conftest.$ac_ext <<_ACEOF
44514 #line $LINENO "configure"
44515 /* confdefs.h. */
44516 _ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44520 /* System header to define __stub macros and hopefully few prototypes,
44521 which can conflict with char $ac_func (); below.
44522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44523 <limits.h> exists even on freestanding compilers. */
44524 #ifdef __STDC__
44525 # include <limits.h>
44526 #else
44527 # include <assert.h>
44528 #endif
44529 /* Override any gcc2 internal prototype to avoid an error. */
44530 #ifdef __cplusplus
44531 extern "C"
44533 #endif
44534 /* We use char because int might match the return type of a gcc2
44535 builtin and then its argument prototype would still apply. */
44536 char $ac_func ();
44537 /* The GNU C library defines this for functions which it implements
44538 to always fail with ENOSYS. Some functions are actually named
44539 something starting with __ and the normal name is an alias. */
44540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44541 choke me
44542 #else
44543 char (*f) () = $ac_func;
44544 #endif
44545 #ifdef __cplusplus
44547 #endif
44550 main ()
44552 return f != $ac_func;
44554 return 0;
44556 _ACEOF
44557 rm -f conftest.$ac_objext conftest$ac_exeext
44558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44559 (eval $ac_link) 2>&5
44560 ac_status=$?
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); } &&
44563 { ac_try='test -s conftest$ac_exeext'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; }; then
44569 eval "$as_ac_var=yes"
44570 else
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.$ac_ext >&5
44574 eval "$as_ac_var=no"
44576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44580 if test `eval echo '${'$as_ac_var'}'` = yes; then
44581 cat >>confdefs.h <<_ACEOF
44582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44583 _ACEOF
44585 else
44586 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44588 done
44592 # XXX Review this. Nothing uses it.
44593 if test -n "$LIBMATHOBJS"; then
44594 need_libmath=yes
44599 # Test wchar.h for mbstate_t, which is needed for char_traits and
44600 # others even if wchar_t support is not on.
44601 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44602 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44603 cat >conftest.$ac_ext <<_ACEOF
44604 #line $LINENO "configure"
44605 /* confdefs.h. */
44606 _ACEOF
44607 cat confdefs.h >>conftest.$ac_ext
44608 cat >>conftest.$ac_ext <<_ACEOF
44609 /* end confdefs.h. */
44610 #include <wchar.h>
44612 main ()
44614 mbstate_t teststate;
44616 return 0;
44618 _ACEOF
44619 rm -f conftest.$ac_objext
44620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44621 (eval $ac_compile) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } &&
44625 { ac_try='test -s conftest.$ac_objext'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44628 ac_status=$?
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; }; then
44631 have_mbstate_t=yes
44632 else
44633 echo "$as_me: failed program was:" >&5
44634 sed 's/^/| /' conftest.$ac_ext >&5
44636 have_mbstate_t=no
44638 rm -f conftest.$ac_objext conftest.$ac_ext
44639 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44640 echo "${ECHO_T}$have_mbstate_t" >&6
44641 if test x"$have_mbstate_t" = xyes; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define HAVE_MBSTATE_T 1
44644 _ACEOF
44648 # Sanity check for existence of ISO C99 headers for extended encoding.
44650 for ac_header in wchar.h
44652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44654 echo "$as_me:$LINENO: checking for $ac_header" >&5
44655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44661 else
44662 # Is the header compilable?
44663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44665 cat >conftest.$ac_ext <<_ACEOF
44666 #line $LINENO "configure"
44667 /* confdefs.h. */
44668 _ACEOF
44669 cat confdefs.h >>conftest.$ac_ext
44670 cat >>conftest.$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44672 $ac_includes_default
44673 #include <$ac_header>
44674 _ACEOF
44675 rm -f conftest.$ac_objext
44676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44677 (eval $ac_compile) 2>&5
44678 ac_status=$?
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); } &&
44681 { ac_try='test -s conftest.$ac_objext'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44684 ac_status=$?
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; }; then
44687 ac_header_compiler=yes
44688 else
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44692 ac_header_compiler=no
44694 rm -f conftest.$ac_objext conftest.$ac_ext
44695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44696 echo "${ECHO_T}$ac_header_compiler" >&6
44698 # Is the header present?
44699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44701 cat >conftest.$ac_ext <<_ACEOF
44702 #line $LINENO "configure"
44703 /* confdefs.h. */
44704 _ACEOF
44705 cat confdefs.h >>conftest.$ac_ext
44706 cat >>conftest.$ac_ext <<_ACEOF
44707 /* end confdefs.h. */
44708 #include <$ac_header>
44709 _ACEOF
44710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44712 ac_status=$?
44713 grep -v '^ *+' conftest.er1 >conftest.err
44714 rm -f conftest.er1
44715 cat conftest.err >&5
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); } >/dev/null; then
44718 if test -s conftest.err; then
44719 ac_cpp_err=$ac_c_preproc_warn_flag
44720 else
44721 ac_cpp_err=
44723 else
44724 ac_cpp_err=yes
44726 if test -z "$ac_cpp_err"; then
44727 ac_header_preproc=yes
44728 else
44729 echo "$as_me: failed program was:" >&5
44730 sed 's/^/| /' conftest.$ac_ext >&5
44732 ac_header_preproc=no
44734 rm -f conftest.err conftest.$ac_ext
44735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44736 echo "${ECHO_T}$ac_header_preproc" >&6
44738 # So? What about this header?
44739 case $ac_header_compiler:$ac_header_preproc in
44740 yes:no )
44741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44746 cat <<\_ASBOX
44747 ## ------------------------------------ ##
44748 ## Report this to bug-autoconf@gnu.org. ##
44749 ## ------------------------------------ ##
44750 _ASBOX
44752 sed "s/^/$as_me: WARNING: /" >&2
44754 no:yes )
44755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44762 cat <<\_ASBOX
44763 ## ------------------------------------ ##
44764 ## Report this to bug-autoconf@gnu.org. ##
44765 ## ------------------------------------ ##
44766 _ASBOX
44768 sed "s/^/$as_me: WARNING: /" >&2
44770 esac
44771 echo "$as_me:$LINENO: checking for $ac_header" >&5
44772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44774 echo $ECHO_N "(cached) $ECHO_C" >&6
44775 else
44776 eval "$as_ac_Header=$ac_header_preproc"
44778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44783 cat >>confdefs.h <<_ACEOF
44784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44785 _ACEOF
44786 ac_has_wchar_h=yes
44787 else
44788 ac_has_wchar_h=no
44791 done
44794 for ac_header in wctype.h
44796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44798 echo "$as_me:$LINENO: checking for $ac_header" >&5
44799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44801 echo $ECHO_N "(cached) $ECHO_C" >&6
44803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44805 else
44806 # Is the header compilable?
44807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44809 cat >conftest.$ac_ext <<_ACEOF
44810 #line $LINENO "configure"
44811 /* confdefs.h. */
44812 _ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816 $ac_includes_default
44817 #include <$ac_header>
44818 _ACEOF
44819 rm -f conftest.$ac_objext
44820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44821 (eval $ac_compile) 2>&5
44822 ac_status=$?
44823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44824 (exit $ac_status); } &&
44825 { ac_try='test -s conftest.$ac_objext'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44828 ac_status=$?
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; }; then
44831 ac_header_compiler=yes
44832 else
44833 echo "$as_me: failed program was:" >&5
44834 sed 's/^/| /' conftest.$ac_ext >&5
44836 ac_header_compiler=no
44838 rm -f conftest.$ac_objext conftest.$ac_ext
44839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44840 echo "${ECHO_T}$ac_header_compiler" >&6
44842 # Is the header present?
44843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44845 cat >conftest.$ac_ext <<_ACEOF
44846 #line $LINENO "configure"
44847 /* confdefs.h. */
44848 _ACEOF
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h. */
44852 #include <$ac_header>
44853 _ACEOF
44854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44856 ac_status=$?
44857 grep -v '^ *+' conftest.er1 >conftest.err
44858 rm -f conftest.er1
44859 cat conftest.err >&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); } >/dev/null; then
44862 if test -s conftest.err; then
44863 ac_cpp_err=$ac_c_preproc_warn_flag
44864 else
44865 ac_cpp_err=
44867 else
44868 ac_cpp_err=yes
44870 if test -z "$ac_cpp_err"; then
44871 ac_header_preproc=yes
44872 else
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44876 ac_header_preproc=no
44878 rm -f conftest.err conftest.$ac_ext
44879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44880 echo "${ECHO_T}$ac_header_preproc" >&6
44882 # So? What about this header?
44883 case $ac_header_compiler:$ac_header_preproc in
44884 yes:no )
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44890 cat <<\_ASBOX
44891 ## ------------------------------------ ##
44892 ## Report this to bug-autoconf@gnu.org. ##
44893 ## ------------------------------------ ##
44894 _ASBOX
44896 sed "s/^/$as_me: WARNING: /" >&2
44898 no:yes )
44899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44906 cat <<\_ASBOX
44907 ## ------------------------------------ ##
44908 ## Report this to bug-autoconf@gnu.org. ##
44909 ## ------------------------------------ ##
44910 _ASBOX
44912 sed "s/^/$as_me: WARNING: /" >&2
44914 esac
44915 echo "$as_me:$LINENO: checking for $ac_header" >&5
44916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44918 echo $ECHO_N "(cached) $ECHO_C" >&6
44919 else
44920 eval "$as_ac_Header=$ac_header_preproc"
44922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44927 cat >>confdefs.h <<_ACEOF
44928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44929 _ACEOF
44930 ac_has_wctype_h=yes
44931 else
44932 ac_has_wctype_h=no
44935 done
44938 # Only continue checking if the ISO C99 headers exist and support is on.
44939 if test x"$ac_has_wchar_h" = xyes &&
44940 test x"$ac_has_wctype_h" = xyes &&
44941 test x"$enable_c_mbchar" != xno; then
44943 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44944 # numeric_limits can instantiate type_traits<wchar_t>
44945 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44946 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44947 cat >conftest.$ac_ext <<_ACEOF
44948 #line $LINENO "configure"
44949 /* confdefs.h. */
44950 _ACEOF
44951 cat confdefs.h >>conftest.$ac_ext
44952 cat >>conftest.$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44954 #include <wchar.h>
44956 main ()
44958 int i = WCHAR_MIN; int j = WCHAR_MAX;
44960 return 0;
44962 _ACEOF
44963 rm -f conftest.$ac_objext
44964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44965 (eval $ac_compile) 2>&5
44966 ac_status=$?
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); } &&
44969 { ac_try='test -s conftest.$ac_objext'
44970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44971 (eval $ac_try) 2>&5
44972 ac_status=$?
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); }; }; then
44975 has_wchar_minmax=yes
44976 else
44977 echo "$as_me: failed program was:" >&5
44978 sed 's/^/| /' conftest.$ac_ext >&5
44980 has_wchar_minmax=no
44982 rm -f conftest.$ac_objext conftest.$ac_ext
44983 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44984 echo "${ECHO_T}$has_wchar_minmax" >&6
44986 # Test wchar.h for WEOF, which is what we use to determine whether
44987 # to specialize for char_traits<wchar_t> or not.
44988 echo "$as_me:$LINENO: checking for WEOF" >&5
44989 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44990 cat >conftest.$ac_ext <<_ACEOF
44991 #line $LINENO "configure"
44992 /* confdefs.h. */
44993 _ACEOF
44994 cat confdefs.h >>conftest.$ac_ext
44995 cat >>conftest.$ac_ext <<_ACEOF
44996 /* end confdefs.h. */
44998 #include <wchar.h>
44999 #include <stddef.h>
45001 main ()
45003 wint_t i = WEOF;
45005 return 0;
45007 _ACEOF
45008 rm -f conftest.$ac_objext
45009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45010 (eval $ac_compile) 2>&5
45011 ac_status=$?
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } &&
45014 { ac_try='test -s conftest.$ac_objext'
45015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016 (eval $ac_try) 2>&5
45017 ac_status=$?
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); }; }; then
45020 has_weof=yes
45021 else
45022 echo "$as_me: failed program was:" >&5
45023 sed 's/^/| /' conftest.$ac_ext >&5
45025 has_weof=no
45027 rm -f conftest.$ac_objext conftest.$ac_ext
45028 echo "$as_me:$LINENO: result: $has_weof" >&5
45029 echo "${ECHO_T}$has_weof" >&6
45031 # Tests for wide character functions used in char_traits<wchar_t>.
45032 ac_wfuncs=yes
45039 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45042 echo "$as_me:$LINENO: checking for $ac_func" >&5
45043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45044 if eval "test \"\${$as_ac_var+set}\" = set"; then
45045 echo $ECHO_N "(cached) $ECHO_C" >&6
45046 else
45047 if test x$gcc_no_link = xyes; then
45048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45050 { (exit 1); exit 1; }; }
45052 cat >conftest.$ac_ext <<_ACEOF
45053 #line $LINENO "configure"
45054 /* confdefs.h. */
45055 _ACEOF
45056 cat confdefs.h >>conftest.$ac_ext
45057 cat >>conftest.$ac_ext <<_ACEOF
45058 /* end confdefs.h. */
45059 /* System header to define __stub macros and hopefully few prototypes,
45060 which can conflict with char $ac_func (); below.
45061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45062 <limits.h> exists even on freestanding compilers. */
45063 #ifdef __STDC__
45064 # include <limits.h>
45065 #else
45066 # include <assert.h>
45067 #endif
45068 /* Override any gcc2 internal prototype to avoid an error. */
45069 #ifdef __cplusplus
45070 extern "C"
45072 #endif
45073 /* We use char because int might match the return type of a gcc2
45074 builtin and then its argument prototype would still apply. */
45075 char $ac_func ();
45076 /* The GNU C library defines this for functions which it implements
45077 to always fail with ENOSYS. Some functions are actually named
45078 something starting with __ and the normal name is an alias. */
45079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45080 choke me
45081 #else
45082 char (*f) () = $ac_func;
45083 #endif
45084 #ifdef __cplusplus
45086 #endif
45089 main ()
45091 return f != $ac_func;
45093 return 0;
45095 _ACEOF
45096 rm -f conftest.$ac_objext conftest$ac_exeext
45097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45098 (eval $ac_link) 2>&5
45099 ac_status=$?
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); } &&
45102 { ac_try='test -s conftest$ac_exeext'
45103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45104 (eval $ac_try) 2>&5
45105 ac_status=$?
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; }; then
45108 eval "$as_ac_var=yes"
45109 else
45110 echo "$as_me: failed program was:" >&5
45111 sed 's/^/| /' conftest.$ac_ext >&5
45113 eval "$as_ac_var=no"
45115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45122 _ACEOF
45124 else
45125 ac_wfuncs=no
45127 done
45130 # Checks for names injected into std:: by the c_std headers.
45177 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45178 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45179 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45180 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45181 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45182 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45185 echo "$as_me:$LINENO: checking for $ac_func" >&5
45186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45187 if eval "test \"\${$as_ac_var+set}\" = set"; then
45188 echo $ECHO_N "(cached) $ECHO_C" >&6
45189 else
45190 if test x$gcc_no_link = xyes; then
45191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45193 { (exit 1); exit 1; }; }
45195 cat >conftest.$ac_ext <<_ACEOF
45196 #line $LINENO "configure"
45197 /* confdefs.h. */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* System header to define __stub macros and hopefully few prototypes,
45203 which can conflict with char $ac_func (); below.
45204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45205 <limits.h> exists even on freestanding compilers. */
45206 #ifdef __STDC__
45207 # include <limits.h>
45208 #else
45209 # include <assert.h>
45210 #endif
45211 /* Override any gcc2 internal prototype to avoid an error. */
45212 #ifdef __cplusplus
45213 extern "C"
45215 #endif
45216 /* We use char because int might match the return type of a gcc2
45217 builtin and then its argument prototype would still apply. */
45218 char $ac_func ();
45219 /* The GNU C library defines this for functions which it implements
45220 to always fail with ENOSYS. Some functions are actually named
45221 something starting with __ and the normal name is an alias. */
45222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45223 choke me
45224 #else
45225 char (*f) () = $ac_func;
45226 #endif
45227 #ifdef __cplusplus
45229 #endif
45232 main ()
45234 return f != $ac_func;
45236 return 0;
45238 _ACEOF
45239 rm -f conftest.$ac_objext conftest$ac_exeext
45240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45241 (eval $ac_link) 2>&5
45242 ac_status=$?
45243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244 (exit $ac_status); } &&
45245 { ac_try='test -s conftest$ac_exeext'
45246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45247 (eval $ac_try) 2>&5
45248 ac_status=$?
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45251 eval "$as_ac_var=yes"
45252 else
45253 echo "$as_me: failed program was:" >&5
45254 sed 's/^/| /' conftest.$ac_ext >&5
45256 eval "$as_ac_var=no"
45258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45262 if test `eval echo '${'$as_ac_var'}'` = yes; then
45263 cat >>confdefs.h <<_ACEOF
45264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45265 _ACEOF
45267 else
45268 ac_wfuncs=no
45270 done
45273 # Checks for wide character functions that are not required
45274 # for basic wchar_t support. Don't disable support if they are missing.
45275 # Injection of these is wrapped with guard macros.
45281 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45284 echo "$as_me:$LINENO: checking for $ac_func" >&5
45285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45286 if eval "test \"\${$as_ac_var+set}\" = set"; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45288 else
45289 if test x$gcc_no_link = xyes; then
45290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45292 { (exit 1); exit 1; }; }
45294 cat >conftest.$ac_ext <<_ACEOF
45295 #line $LINENO "configure"
45296 /* confdefs.h. */
45297 _ACEOF
45298 cat confdefs.h >>conftest.$ac_ext
45299 cat >>conftest.$ac_ext <<_ACEOF
45300 /* end confdefs.h. */
45301 /* System header to define __stub macros and hopefully few prototypes,
45302 which can conflict with char $ac_func (); below.
45303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45304 <limits.h> exists even on freestanding compilers. */
45305 #ifdef __STDC__
45306 # include <limits.h>
45307 #else
45308 # include <assert.h>
45309 #endif
45310 /* Override any gcc2 internal prototype to avoid an error. */
45311 #ifdef __cplusplus
45312 extern "C"
45314 #endif
45315 /* We use char because int might match the return type of a gcc2
45316 builtin and then its argument prototype would still apply. */
45317 char $ac_func ();
45318 /* The GNU C library defines this for functions which it implements
45319 to always fail with ENOSYS. Some functions are actually named
45320 something starting with __ and the normal name is an alias. */
45321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45322 choke me
45323 #else
45324 char (*f) () = $ac_func;
45325 #endif
45326 #ifdef __cplusplus
45328 #endif
45331 main ()
45333 return f != $ac_func;
45335 return 0;
45337 _ACEOF
45338 rm -f conftest.$ac_objext conftest$ac_exeext
45339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45340 (eval $ac_link) 2>&5
45341 ac_status=$?
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); } &&
45344 { ac_try='test -s conftest$ac_exeext'
45345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45346 (eval $ac_try) 2>&5
45347 ac_status=$?
45348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349 (exit $ac_status); }; }; then
45350 eval "$as_ac_var=yes"
45351 else
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45355 eval "$as_ac_var=no"
45357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45361 if test `eval echo '${'$as_ac_var'}'` = yes; then
45362 cat >>confdefs.h <<_ACEOF
45363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45364 _ACEOF
45367 done
45370 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45371 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45372 if test x"$has_weof" = xyes &&
45373 test x"$has_wchar_minmax" = xyes &&
45374 test x"$ac_wfuncs" = xyes;
45375 then
45376 ac_isoC99_wchar_t=yes
45377 else
45378 ac_isoC99_wchar_t=no
45380 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45381 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45383 # Use iconv for wchar_t to char conversions. As such, check for
45384 # X/Open Portability Guide, version 2 features (XPG2).
45385 if test "${ac_cv_header_iconv_h+set}" = set; then
45386 echo "$as_me:$LINENO: checking for iconv.h" >&5
45387 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45388 if test "${ac_cv_header_iconv_h+set}" = set; then
45389 echo $ECHO_N "(cached) $ECHO_C" >&6
45391 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45392 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45393 else
45394 # Is the header compilable?
45395 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45396 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45397 cat >conftest.$ac_ext <<_ACEOF
45398 #line $LINENO "configure"
45399 /* confdefs.h. */
45400 _ACEOF
45401 cat confdefs.h >>conftest.$ac_ext
45402 cat >>conftest.$ac_ext <<_ACEOF
45403 /* end confdefs.h. */
45404 $ac_includes_default
45405 #include <iconv.h>
45406 _ACEOF
45407 rm -f conftest.$ac_objext
45408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45409 (eval $ac_compile) 2>&5
45410 ac_status=$?
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); } &&
45413 { ac_try='test -s conftest.$ac_objext'
45414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45415 (eval $ac_try) 2>&5
45416 ac_status=$?
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); }; }; then
45419 ac_header_compiler=yes
45420 else
45421 echo "$as_me: failed program was:" >&5
45422 sed 's/^/| /' conftest.$ac_ext >&5
45424 ac_header_compiler=no
45426 rm -f conftest.$ac_objext conftest.$ac_ext
45427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45428 echo "${ECHO_T}$ac_header_compiler" >&6
45430 # Is the header present?
45431 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45432 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45433 cat >conftest.$ac_ext <<_ACEOF
45434 #line $LINENO "configure"
45435 /* confdefs.h. */
45436 _ACEOF
45437 cat confdefs.h >>conftest.$ac_ext
45438 cat >>conftest.$ac_ext <<_ACEOF
45439 /* end confdefs.h. */
45440 #include <iconv.h>
45441 _ACEOF
45442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45444 ac_status=$?
45445 grep -v '^ *+' conftest.er1 >conftest.err
45446 rm -f conftest.er1
45447 cat conftest.err >&5
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); } >/dev/null; then
45450 if test -s conftest.err; then
45451 ac_cpp_err=$ac_c_preproc_warn_flag
45452 else
45453 ac_cpp_err=
45455 else
45456 ac_cpp_err=yes
45458 if test -z "$ac_cpp_err"; then
45459 ac_header_preproc=yes
45460 else
45461 echo "$as_me: failed program was:" >&5
45462 sed 's/^/| /' conftest.$ac_ext >&5
45464 ac_header_preproc=no
45466 rm -f conftest.err conftest.$ac_ext
45467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45468 echo "${ECHO_T}$ac_header_preproc" >&6
45470 # So? What about this header?
45471 case $ac_header_compiler:$ac_header_preproc in
45472 yes:no )
45473 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45474 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45475 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45476 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45478 cat <<\_ASBOX
45479 ## ------------------------------------ ##
45480 ## Report this to bug-autoconf@gnu.org. ##
45481 ## ------------------------------------ ##
45482 _ASBOX
45484 sed "s/^/$as_me: WARNING: /" >&2
45486 no:yes )
45487 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45488 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45489 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45490 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45491 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45492 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45494 cat <<\_ASBOX
45495 ## ------------------------------------ ##
45496 ## Report this to bug-autoconf@gnu.org. ##
45497 ## ------------------------------------ ##
45498 _ASBOX
45500 sed "s/^/$as_me: WARNING: /" >&2
45502 esac
45503 echo "$as_me:$LINENO: checking for iconv.h" >&5
45504 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45505 if test "${ac_cv_header_iconv_h+set}" = set; then
45506 echo $ECHO_N "(cached) $ECHO_C" >&6
45507 else
45508 ac_cv_header_iconv_h=$ac_header_preproc
45510 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45511 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45514 if test $ac_cv_header_iconv_h = yes; then
45515 ac_has_iconv_h=yes
45516 else
45517 ac_has_iconv_h=no
45521 if test "${ac_cv_header_langinfo_h+set}" = set; then
45522 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45523 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45524 if test "${ac_cv_header_langinfo_h+set}" = set; then
45525 echo $ECHO_N "(cached) $ECHO_C" >&6
45527 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45528 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45529 else
45530 # Is the header compilable?
45531 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45532 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45533 cat >conftest.$ac_ext <<_ACEOF
45534 #line $LINENO "configure"
45535 /* confdefs.h. */
45536 _ACEOF
45537 cat confdefs.h >>conftest.$ac_ext
45538 cat >>conftest.$ac_ext <<_ACEOF
45539 /* end confdefs.h. */
45540 $ac_includes_default
45541 #include <langinfo.h>
45542 _ACEOF
45543 rm -f conftest.$ac_objext
45544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45545 (eval $ac_compile) 2>&5
45546 ac_status=$?
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } &&
45549 { ac_try='test -s conftest.$ac_objext'
45550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45551 (eval $ac_try) 2>&5
45552 ac_status=$?
45553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45554 (exit $ac_status); }; }; then
45555 ac_header_compiler=yes
45556 else
45557 echo "$as_me: failed program was:" >&5
45558 sed 's/^/| /' conftest.$ac_ext >&5
45560 ac_header_compiler=no
45562 rm -f conftest.$ac_objext conftest.$ac_ext
45563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45564 echo "${ECHO_T}$ac_header_compiler" >&6
45566 # Is the header present?
45567 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45568 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45569 cat >conftest.$ac_ext <<_ACEOF
45570 #line $LINENO "configure"
45571 /* confdefs.h. */
45572 _ACEOF
45573 cat confdefs.h >>conftest.$ac_ext
45574 cat >>conftest.$ac_ext <<_ACEOF
45575 /* end confdefs.h. */
45576 #include <langinfo.h>
45577 _ACEOF
45578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45580 ac_status=$?
45581 grep -v '^ *+' conftest.er1 >conftest.err
45582 rm -f conftest.er1
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } >/dev/null; then
45586 if test -s conftest.err; then
45587 ac_cpp_err=$ac_c_preproc_warn_flag
45588 else
45589 ac_cpp_err=
45591 else
45592 ac_cpp_err=yes
45594 if test -z "$ac_cpp_err"; then
45595 ac_header_preproc=yes
45596 else
45597 echo "$as_me: failed program was:" >&5
45598 sed 's/^/| /' conftest.$ac_ext >&5
45600 ac_header_preproc=no
45602 rm -f conftest.err conftest.$ac_ext
45603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45604 echo "${ECHO_T}$ac_header_preproc" >&6
45606 # So? What about this header?
45607 case $ac_header_compiler:$ac_header_preproc in
45608 yes:no )
45609 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45610 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45611 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45612 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45614 cat <<\_ASBOX
45615 ## ------------------------------------ ##
45616 ## Report this to bug-autoconf@gnu.org. ##
45617 ## ------------------------------------ ##
45618 _ASBOX
45620 sed "s/^/$as_me: WARNING: /" >&2
45622 no:yes )
45623 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45624 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45625 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45626 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45627 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45628 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45630 cat <<\_ASBOX
45631 ## ------------------------------------ ##
45632 ## Report this to bug-autoconf@gnu.org. ##
45633 ## ------------------------------------ ##
45634 _ASBOX
45636 sed "s/^/$as_me: WARNING: /" >&2
45638 esac
45639 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45640 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45641 if test "${ac_cv_header_langinfo_h+set}" = set; then
45642 echo $ECHO_N "(cached) $ECHO_C" >&6
45643 else
45644 ac_cv_header_langinfo_h=$ac_header_preproc
45646 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45647 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45650 if test $ac_cv_header_langinfo_h = yes; then
45651 ac_has_langinfo_h=yes
45652 else
45653 ac_has_langinfo_h=no
45658 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45659 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45660 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45661 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45662 echo $ECHO_N "(cached) $ECHO_C" >&6
45663 else
45664 ac_check_lib_save_LIBS=$LIBS
45665 LIBS="-liconv $LIBS"
45666 if test x$gcc_no_link = xyes; then
45667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45669 { (exit 1); exit 1; }; }
45671 cat >conftest.$ac_ext <<_ACEOF
45672 #line $LINENO "configure"
45673 /* confdefs.h. */
45674 _ACEOF
45675 cat confdefs.h >>conftest.$ac_ext
45676 cat >>conftest.$ac_ext <<_ACEOF
45677 /* end confdefs.h. */
45679 /* Override any gcc2 internal prototype to avoid an error. */
45680 #ifdef __cplusplus
45681 extern "C"
45682 #endif
45683 /* We use char because int might match the return type of a gcc2
45684 builtin and then its argument prototype would still apply. */
45685 char iconv ();
45687 main ()
45689 iconv ();
45691 return 0;
45693 _ACEOF
45694 rm -f conftest.$ac_objext conftest$ac_exeext
45695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45696 (eval $ac_link) 2>&5
45697 ac_status=$?
45698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45699 (exit $ac_status); } &&
45700 { ac_try='test -s conftest$ac_exeext'
45701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45702 (eval $ac_try) 2>&5
45703 ac_status=$?
45704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705 (exit $ac_status); }; }; then
45706 ac_cv_lib_iconv_iconv=yes
45707 else
45708 echo "$as_me: failed program was:" >&5
45709 sed 's/^/| /' conftest.$ac_ext >&5
45711 ac_cv_lib_iconv_iconv=no
45713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45714 LIBS=$ac_check_lib_save_LIBS
45716 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45717 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45718 if test $ac_cv_lib_iconv_iconv = yes; then
45719 libiconv="-liconv"
45722 ac_save_LIBS="$LIBS"
45723 LIBS="$LIBS $libiconv"
45729 for ac_func in iconv_open iconv_close iconv nl_langinfo
45731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45732 echo "$as_me:$LINENO: checking for $ac_func" >&5
45733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45734 if eval "test \"\${$as_ac_var+set}\" = set"; then
45735 echo $ECHO_N "(cached) $ECHO_C" >&6
45736 else
45737 if test x$gcc_no_link = xyes; then
45738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45740 { (exit 1); exit 1; }; }
45742 cat >conftest.$ac_ext <<_ACEOF
45743 #line $LINENO "configure"
45744 /* confdefs.h. */
45745 _ACEOF
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h. */
45749 /* System header to define __stub macros and hopefully few prototypes,
45750 which can conflict with char $ac_func (); below.
45751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45752 <limits.h> exists even on freestanding compilers. */
45753 #ifdef __STDC__
45754 # include <limits.h>
45755 #else
45756 # include <assert.h>
45757 #endif
45758 /* Override any gcc2 internal prototype to avoid an error. */
45759 #ifdef __cplusplus
45760 extern "C"
45762 #endif
45763 /* We use char because int might match the return type of a gcc2
45764 builtin and then its argument prototype would still apply. */
45765 char $ac_func ();
45766 /* The GNU C library defines this for functions which it implements
45767 to always fail with ENOSYS. Some functions are actually named
45768 something starting with __ and the normal name is an alias. */
45769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45770 choke me
45771 #else
45772 char (*f) () = $ac_func;
45773 #endif
45774 #ifdef __cplusplus
45776 #endif
45779 main ()
45781 return f != $ac_func;
45783 return 0;
45785 _ACEOF
45786 rm -f conftest.$ac_objext conftest$ac_exeext
45787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45788 (eval $ac_link) 2>&5
45789 ac_status=$?
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } &&
45792 { ac_try='test -s conftest$ac_exeext'
45793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45794 (eval $ac_try) 2>&5
45795 ac_status=$?
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); }; }; then
45798 eval "$as_ac_var=yes"
45799 else
45800 echo "$as_me: failed program was:" >&5
45801 sed 's/^/| /' conftest.$ac_ext >&5
45803 eval "$as_ac_var=no"
45805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45809 if test `eval echo '${'$as_ac_var'}'` = yes; then
45810 cat >>confdefs.h <<_ACEOF
45811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45812 _ACEOF
45813 ac_XPG2funcs=yes
45814 else
45815 ac_XPG2funcs=no
45817 done
45820 LIBS="$ac_save_LIBS"
45822 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45823 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45824 if test x"$ac_has_iconv_h" = xyes &&
45825 test x"$ac_has_langinfo_h" = xyes &&
45826 test x"$ac_XPG2funcs" = xyes;
45827 then
45828 ac_XPG2_wchar_t=yes
45829 else
45830 ac_XPG2_wchar_t=no
45832 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45833 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45835 # At the moment, only enable wchar_t specializations if all the
45836 # above support is present.
45837 if test x"$ac_isoC99_wchar_t" = xyes &&
45838 test x"$ac_XPG2_wchar_t" = xyes;
45839 then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define _GLIBCXX_USE_WCHAR_T 1
45842 _ACEOF
45844 enable_wchar_t=yes
45847 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45848 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45849 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45850 echo "${ECHO_T}$enable_wchar_t" >&6
45853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45854 ac_save_CXXFLAGS="$CXXFLAGS"
45855 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45858 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45859 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45860 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45861 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45862 echo $ECHO_N "(cached) $ECHO_C" >&6
45863 else
45867 ac_ext=cc
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45873 cat >conftest.$ac_ext <<_ACEOF
45874 #line $LINENO "configure"
45875 /* confdefs.h. */
45876 _ACEOF
45877 cat confdefs.h >>conftest.$ac_ext
45878 cat >>conftest.$ac_ext <<_ACEOF
45879 /* end confdefs.h. */
45880 #include <stdlib.h>
45882 main ()
45884 strtold(0, 0);
45886 return 0;
45888 _ACEOF
45889 rm -f conftest.$ac_objext
45890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45891 (eval $ac_compile) 2>&5
45892 ac_status=$?
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); } &&
45895 { ac_try='test -s conftest.$ac_objext'
45896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45897 (eval $ac_try) 2>&5
45898 ac_status=$?
45899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900 (exit $ac_status); }; }; then
45901 glibcxx_cv_func_strtold_use=yes
45902 else
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.$ac_ext >&5
45906 glibcxx_cv_func_strtold_use=no
45908 rm -f conftest.$ac_objext conftest.$ac_ext
45909 ac_ext=c
45910 ac_cpp='$CPP $CPPFLAGS'
45911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45920 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45921 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45923 for ac_func in strtold
45925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45926 echo "$as_me:$LINENO: checking for $ac_func" >&5
45927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45928 if eval "test \"\${$as_ac_var+set}\" = set"; then
45929 echo $ECHO_N "(cached) $ECHO_C" >&6
45930 else
45931 if test x$gcc_no_link = xyes; then
45932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45934 { (exit 1); exit 1; }; }
45936 cat >conftest.$ac_ext <<_ACEOF
45937 #line $LINENO "configure"
45938 /* confdefs.h. */
45939 _ACEOF
45940 cat confdefs.h >>conftest.$ac_ext
45941 cat >>conftest.$ac_ext <<_ACEOF
45942 /* end confdefs.h. */
45943 /* System header to define __stub macros and hopefully few prototypes,
45944 which can conflict with char $ac_func (); below.
45945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45946 <limits.h> exists even on freestanding compilers. */
45947 #ifdef __STDC__
45948 # include <limits.h>
45949 #else
45950 # include <assert.h>
45951 #endif
45952 /* Override any gcc2 internal prototype to avoid an error. */
45953 #ifdef __cplusplus
45954 extern "C"
45956 #endif
45957 /* We use char because int might match the return type of a gcc2
45958 builtin and then its argument prototype would still apply. */
45959 char $ac_func ();
45960 /* The GNU C library defines this for functions which it implements
45961 to always fail with ENOSYS. Some functions are actually named
45962 something starting with __ and the normal name is an alias. */
45963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45964 choke me
45965 #else
45966 char (*f) () = $ac_func;
45967 #endif
45968 #ifdef __cplusplus
45970 #endif
45973 main ()
45975 return f != $ac_func;
45977 return 0;
45979 _ACEOF
45980 rm -f conftest.$ac_objext conftest$ac_exeext
45981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45982 (eval $ac_link) 2>&5
45983 ac_status=$?
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); } &&
45986 { ac_try='test -s conftest$ac_exeext'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45989 ac_status=$?
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; }; then
45992 eval "$as_ac_var=yes"
45993 else
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45997 eval "$as_ac_var=no"
45999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46003 if test `eval echo '${'$as_ac_var'}'` = yes; then
46004 cat >>confdefs.h <<_ACEOF
46005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46006 _ACEOF
46009 done
46014 echo "$as_me:$LINENO: checking for strtof declaration" >&5
46015 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
46016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
46018 echo $ECHO_N "(cached) $ECHO_C" >&6
46019 else
46023 ac_ext=cc
46024 ac_cpp='$CXXCPP $CPPFLAGS'
46025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46029 cat >conftest.$ac_ext <<_ACEOF
46030 #line $LINENO "configure"
46031 /* confdefs.h. */
46032 _ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 #include <stdlib.h>
46038 main ()
46040 strtof(0, 0);
46042 return 0;
46044 _ACEOF
46045 rm -f conftest.$ac_objext
46046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46047 (eval $ac_compile) 2>&5
46048 ac_status=$?
46049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46050 (exit $ac_status); } &&
46051 { ac_try='test -s conftest.$ac_objext'
46052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46053 (eval $ac_try) 2>&5
46054 ac_status=$?
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); }; }; then
46057 glibcxx_cv_func_strtof_use=yes
46058 else
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.$ac_ext >&5
46062 glibcxx_cv_func_strtof_use=no
46064 rm -f conftest.$ac_objext conftest.$ac_ext
46065 ac_ext=c
46066 ac_cpp='$CPP $CPPFLAGS'
46067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46076 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46077 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46079 for ac_func in strtof
46081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46082 echo "$as_me:$LINENO: checking for $ac_func" >&5
46083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46084 if eval "test \"\${$as_ac_var+set}\" = set"; then
46085 echo $ECHO_N "(cached) $ECHO_C" >&6
46086 else
46087 if test x$gcc_no_link = xyes; then
46088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46090 { (exit 1); exit 1; }; }
46092 cat >conftest.$ac_ext <<_ACEOF
46093 #line $LINENO "configure"
46094 /* confdefs.h. */
46095 _ACEOF
46096 cat confdefs.h >>conftest.$ac_ext
46097 cat >>conftest.$ac_ext <<_ACEOF
46098 /* end confdefs.h. */
46099 /* System header to define __stub macros and hopefully few prototypes,
46100 which can conflict with char $ac_func (); below.
46101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46102 <limits.h> exists even on freestanding compilers. */
46103 #ifdef __STDC__
46104 # include <limits.h>
46105 #else
46106 # include <assert.h>
46107 #endif
46108 /* Override any gcc2 internal prototype to avoid an error. */
46109 #ifdef __cplusplus
46110 extern "C"
46112 #endif
46113 /* We use char because int might match the return type of a gcc2
46114 builtin and then its argument prototype would still apply. */
46115 char $ac_func ();
46116 /* The GNU C library defines this for functions which it implements
46117 to always fail with ENOSYS. Some functions are actually named
46118 something starting with __ and the normal name is an alias. */
46119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46120 choke me
46121 #else
46122 char (*f) () = $ac_func;
46123 #endif
46124 #ifdef __cplusplus
46126 #endif
46129 main ()
46131 return f != $ac_func;
46133 return 0;
46135 _ACEOF
46136 rm -f conftest.$ac_objext conftest$ac_exeext
46137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46138 (eval $ac_link) 2>&5
46139 ac_status=$?
46140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141 (exit $ac_status); } &&
46142 { ac_try='test -s conftest$ac_exeext'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46145 ac_status=$?
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; }; then
46148 eval "$as_ac_var=yes"
46149 else
46150 echo "$as_me: failed program was:" >&5
46151 sed 's/^/| /' conftest.$ac_ext >&5
46153 eval "$as_ac_var=no"
46155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46159 if test `eval echo '${'$as_ac_var'}'` = yes; then
46160 cat >>confdefs.h <<_ACEOF
46161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46162 _ACEOF
46165 done
46170 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
46171 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
46172 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
46173 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
46174 echo $ECHO_N "(cached) $ECHO_C" >&6
46175 else
46179 ac_ext=cc
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46185 cat >conftest.$ac_ext <<_ACEOF
46186 #line $LINENO "configure"
46187 /* confdefs.h. */
46188 _ACEOF
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192 #include <stdlib.h>
46194 main ()
46196 lrand48();
46198 return 0;
46200 _ACEOF
46201 rm -f conftest.$ac_objext
46202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46203 (eval $ac_compile) 2>&5
46204 ac_status=$?
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); } &&
46207 { ac_try='test -s conftest.$ac_objext'
46208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46209 (eval $ac_try) 2>&5
46210 ac_status=$?
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); }; }; then
46213 glibcxx_cv_func_lrand48_use=yes
46214 else
46215 echo "$as_me: failed program was:" >&5
46216 sed 's/^/| /' conftest.$ac_ext >&5
46218 glibcxx_cv_func_lrand48_use=no
46220 rm -f conftest.$ac_objext conftest.$ac_ext
46221 ac_ext=c
46222 ac_cpp='$CPP $CPPFLAGS'
46223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
46232 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
46233 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
46235 for ac_func in lrand48
46237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46238 echo "$as_me:$LINENO: checking for $ac_func" >&5
46239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46240 if eval "test \"\${$as_ac_var+set}\" = set"; then
46241 echo $ECHO_N "(cached) $ECHO_C" >&6
46242 else
46243 if test x$gcc_no_link = xyes; then
46244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46246 { (exit 1); exit 1; }; }
46248 cat >conftest.$ac_ext <<_ACEOF
46249 #line $LINENO "configure"
46250 /* confdefs.h. */
46251 _ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46255 /* System header to define __stub macros and hopefully few prototypes,
46256 which can conflict with char $ac_func (); below.
46257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46258 <limits.h> exists even on freestanding compilers. */
46259 #ifdef __STDC__
46260 # include <limits.h>
46261 #else
46262 # include <assert.h>
46263 #endif
46264 /* Override any gcc2 internal prototype to avoid an error. */
46265 #ifdef __cplusplus
46266 extern "C"
46268 #endif
46269 /* We use char because int might match the return type of a gcc2
46270 builtin and then its argument prototype would still apply. */
46271 char $ac_func ();
46272 /* The GNU C library defines this for functions which it implements
46273 to always fail with ENOSYS. Some functions are actually named
46274 something starting with __ and the normal name is an alias. */
46275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46276 choke me
46277 #else
46278 char (*f) () = $ac_func;
46279 #endif
46280 #ifdef __cplusplus
46282 #endif
46285 main ()
46287 return f != $ac_func;
46289 return 0;
46291 _ACEOF
46292 rm -f conftest.$ac_objext conftest$ac_exeext
46293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46294 (eval $ac_link) 2>&5
46295 ac_status=$?
46296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46297 (exit $ac_status); } &&
46298 { ac_try='test -s conftest$ac_exeext'
46299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46300 (eval $ac_try) 2>&5
46301 ac_status=$?
46302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303 (exit $ac_status); }; }; then
46304 eval "$as_ac_var=yes"
46305 else
46306 echo "$as_me: failed program was:" >&5
46307 sed 's/^/| /' conftest.$ac_ext >&5
46309 eval "$as_ac_var=no"
46311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46315 if test `eval echo '${'$as_ac_var'}'` = yes; then
46316 cat >>confdefs.h <<_ACEOF
46317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46318 _ACEOF
46321 done
46326 CXXFLAGS="$ac_save_CXXFLAGS"
46329 # For showmanyc_helper().
46332 for ac_header in sys/ioctl.h sys/filio.h
46334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46336 echo "$as_me:$LINENO: checking for $ac_header" >&5
46337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46343 else
46344 # Is the header compilable?
46345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46347 cat >conftest.$ac_ext <<_ACEOF
46348 #line $LINENO "configure"
46349 /* confdefs.h. */
46350 _ACEOF
46351 cat confdefs.h >>conftest.$ac_ext
46352 cat >>conftest.$ac_ext <<_ACEOF
46353 /* end confdefs.h. */
46354 $ac_includes_default
46355 #include <$ac_header>
46356 _ACEOF
46357 rm -f conftest.$ac_objext
46358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46359 (eval $ac_compile) 2>&5
46360 ac_status=$?
46361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362 (exit $ac_status); } &&
46363 { ac_try='test -s conftest.$ac_objext'
46364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46365 (eval $ac_try) 2>&5
46366 ac_status=$?
46367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46368 (exit $ac_status); }; }; then
46369 ac_header_compiler=yes
46370 else
46371 echo "$as_me: failed program was:" >&5
46372 sed 's/^/| /' conftest.$ac_ext >&5
46374 ac_header_compiler=no
46376 rm -f conftest.$ac_objext conftest.$ac_ext
46377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46378 echo "${ECHO_T}$ac_header_compiler" >&6
46380 # Is the header present?
46381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46383 cat >conftest.$ac_ext <<_ACEOF
46384 #line $LINENO "configure"
46385 /* confdefs.h. */
46386 _ACEOF
46387 cat confdefs.h >>conftest.$ac_ext
46388 cat >>conftest.$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <$ac_header>
46391 _ACEOF
46392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46394 ac_status=$?
46395 grep -v '^ *+' conftest.er1 >conftest.err
46396 rm -f conftest.er1
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } >/dev/null; then
46400 if test -s conftest.err; then
46401 ac_cpp_err=$ac_c_preproc_warn_flag
46402 else
46403 ac_cpp_err=
46405 else
46406 ac_cpp_err=yes
46408 if test -z "$ac_cpp_err"; then
46409 ac_header_preproc=yes
46410 else
46411 echo "$as_me: failed program was:" >&5
46412 sed 's/^/| /' conftest.$ac_ext >&5
46414 ac_header_preproc=no
46416 rm -f conftest.err conftest.$ac_ext
46417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46418 echo "${ECHO_T}$ac_header_preproc" >&6
46420 # So? What about this header?
46421 case $ac_header_compiler:$ac_header_preproc in
46422 yes:no )
46423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46428 cat <<\_ASBOX
46429 ## ------------------------------------ ##
46430 ## Report this to bug-autoconf@gnu.org. ##
46431 ## ------------------------------------ ##
46432 _ASBOX
46434 sed "s/^/$as_me: WARNING: /" >&2
46436 no:yes )
46437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46444 cat <<\_ASBOX
46445 ## ------------------------------------ ##
46446 ## Report this to bug-autoconf@gnu.org. ##
46447 ## ------------------------------------ ##
46448 _ASBOX
46450 sed "s/^/$as_me: WARNING: /" >&2
46452 esac
46453 echo "$as_me:$LINENO: checking for $ac_header" >&5
46454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46456 echo $ECHO_N "(cached) $ECHO_C" >&6
46457 else
46458 eval "$as_ac_Header=$ac_header_preproc"
46460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46465 cat >>confdefs.h <<_ACEOF
46466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46467 _ACEOF
46471 done
46474 if test "${glibcxx_cv_POLL+set}" = set; then
46475 echo $ECHO_N "(cached) $ECHO_C" >&6
46476 else
46478 cat >conftest.$ac_ext <<_ACEOF
46479 #line $LINENO "configure"
46480 /* confdefs.h. */
46481 _ACEOF
46482 cat confdefs.h >>conftest.$ac_ext
46483 cat >>conftest.$ac_ext <<_ACEOF
46484 /* end confdefs.h. */
46485 #include <poll.h>
46487 main ()
46489 struct pollfd pfd[1];
46490 pfd[0].events = POLLIN;
46491 poll(pfd, 1, 0);
46493 return 0;
46495 _ACEOF
46496 rm -f conftest.$ac_objext
46497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46498 (eval $ac_compile) 2>&5
46499 ac_status=$?
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); } &&
46502 { ac_try='test -s conftest.$ac_objext'
46503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46504 (eval $ac_try) 2>&5
46505 ac_status=$?
46506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46507 (exit $ac_status); }; }; then
46508 glibcxx_cv_POLL=yes
46509 else
46510 echo "$as_me: failed program was:" >&5
46511 sed 's/^/| /' conftest.$ac_ext >&5
46513 glibcxx_cv_POLL=no
46515 rm -f conftest.$ac_objext conftest.$ac_ext
46519 if test $glibcxx_cv_POLL = yes; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define HAVE_POLL 1
46522 _ACEOF
46527 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46529 else
46531 if test x$gcc_no_link = xyes; then
46532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46534 { (exit 1); exit 1; }; }
46536 cat >conftest.$ac_ext <<_ACEOF
46537 #line $LINENO "configure"
46538 /* confdefs.h. */
46539 _ACEOF
46540 cat confdefs.h >>conftest.$ac_ext
46541 cat >>conftest.$ac_ext <<_ACEOF
46542 /* end confdefs.h. */
46543 #include <sys/stat.h>
46545 main ()
46547 struct stat buffer;
46548 fstat(0, &buffer);
46549 S_ISREG(buffer.st_mode);
46551 return 0;
46553 _ACEOF
46554 rm -f conftest.$ac_objext conftest$ac_exeext
46555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46556 (eval $ac_link) 2>&5
46557 ac_status=$?
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } &&
46560 { ac_try='test -s conftest$ac_exeext'
46561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46562 (eval $ac_try) 2>&5
46563 ac_status=$?
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; }; then
46566 glibcxx_cv_S_ISREG=yes
46567 else
46568 echo "$as_me: failed program was:" >&5
46569 sed 's/^/| /' conftest.$ac_ext >&5
46571 glibcxx_cv_S_ISREG=no
46573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46577 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46578 echo $ECHO_N "(cached) $ECHO_C" >&6
46579 else
46581 if test x$gcc_no_link = xyes; then
46582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46584 { (exit 1); exit 1; }; }
46586 cat >conftest.$ac_ext <<_ACEOF
46587 #line $LINENO "configure"
46588 /* confdefs.h. */
46589 _ACEOF
46590 cat confdefs.h >>conftest.$ac_ext
46591 cat >>conftest.$ac_ext <<_ACEOF
46592 /* end confdefs.h. */
46593 #include <sys/stat.h>
46595 main ()
46597 struct stat buffer;
46598 fstat(0, &buffer);
46599 S_IFREG & buffer.st_mode;
46601 return 0;
46603 _ACEOF
46604 rm -f conftest.$ac_objext conftest$ac_exeext
46605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46606 (eval $ac_link) 2>&5
46607 ac_status=$?
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } &&
46610 { ac_try='test -s conftest$ac_exeext'
46611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46612 (eval $ac_try) 2>&5
46613 ac_status=$?
46614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46615 (exit $ac_status); }; }; then
46616 glibcxx_cv_S_IFREG=yes
46617 else
46618 echo "$as_me: failed program was:" >&5
46619 sed 's/^/| /' conftest.$ac_ext >&5
46621 glibcxx_cv_S_IFREG=no
46623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46627 if test $glibcxx_cv_S_ISREG = yes; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define HAVE_S_ISREG 1
46630 _ACEOF
46632 elif test $glibcxx_cv_S_IFREG = yes; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define HAVE_S_IFREG 1
46635 _ACEOF
46640 # For xsputn_2().
46642 for ac_header in sys/uio.h
46644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46646 echo "$as_me:$LINENO: checking for $ac_header" >&5
46647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46649 echo $ECHO_N "(cached) $ECHO_C" >&6
46651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46653 else
46654 # Is the header compilable?
46655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46657 cat >conftest.$ac_ext <<_ACEOF
46658 #line $LINENO "configure"
46659 /* confdefs.h. */
46660 _ACEOF
46661 cat confdefs.h >>conftest.$ac_ext
46662 cat >>conftest.$ac_ext <<_ACEOF
46663 /* end confdefs.h. */
46664 $ac_includes_default
46665 #include <$ac_header>
46666 _ACEOF
46667 rm -f conftest.$ac_objext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46669 (eval $ac_compile) 2>&5
46670 ac_status=$?
46671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46672 (exit $ac_status); } &&
46673 { ac_try='test -s conftest.$ac_objext'
46674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46675 (eval $ac_try) 2>&5
46676 ac_status=$?
46677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46678 (exit $ac_status); }; }; then
46679 ac_header_compiler=yes
46680 else
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.$ac_ext >&5
46684 ac_header_compiler=no
46686 rm -f conftest.$ac_objext conftest.$ac_ext
46687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46688 echo "${ECHO_T}$ac_header_compiler" >&6
46690 # Is the header present?
46691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46693 cat >conftest.$ac_ext <<_ACEOF
46694 #line $LINENO "configure"
46695 /* confdefs.h. */
46696 _ACEOF
46697 cat confdefs.h >>conftest.$ac_ext
46698 cat >>conftest.$ac_ext <<_ACEOF
46699 /* end confdefs.h. */
46700 #include <$ac_header>
46701 _ACEOF
46702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46704 ac_status=$?
46705 grep -v '^ *+' conftest.er1 >conftest.err
46706 rm -f conftest.er1
46707 cat conftest.err >&5
46708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46709 (exit $ac_status); } >/dev/null; then
46710 if test -s conftest.err; then
46711 ac_cpp_err=$ac_c_preproc_warn_flag
46712 else
46713 ac_cpp_err=
46715 else
46716 ac_cpp_err=yes
46718 if test -z "$ac_cpp_err"; then
46719 ac_header_preproc=yes
46720 else
46721 echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.$ac_ext >&5
46724 ac_header_preproc=no
46726 rm -f conftest.err conftest.$ac_ext
46727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46728 echo "${ECHO_T}$ac_header_preproc" >&6
46730 # So? What about this header?
46731 case $ac_header_compiler:$ac_header_preproc in
46732 yes:no )
46733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46738 cat <<\_ASBOX
46739 ## ------------------------------------ ##
46740 ## Report this to bug-autoconf@gnu.org. ##
46741 ## ------------------------------------ ##
46742 _ASBOX
46744 sed "s/^/$as_me: WARNING: /" >&2
46746 no:yes )
46747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46754 cat <<\_ASBOX
46755 ## ------------------------------------ ##
46756 ## Report this to bug-autoconf@gnu.org. ##
46757 ## ------------------------------------ ##
46758 _ASBOX
46760 sed "s/^/$as_me: WARNING: /" >&2
46762 esac
46763 echo "$as_me:$LINENO: checking for $ac_header" >&5
46764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 else
46768 eval "$as_ac_Header=$ac_header_preproc"
46770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46775 cat >>confdefs.h <<_ACEOF
46776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46777 _ACEOF
46781 done
46784 if test "${glibcxx_cv_WRITEV+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 else
46788 cat >conftest.$ac_ext <<_ACEOF
46789 #line $LINENO "configure"
46790 /* confdefs.h. */
46791 _ACEOF
46792 cat confdefs.h >>conftest.$ac_ext
46793 cat >>conftest.$ac_ext <<_ACEOF
46794 /* end confdefs.h. */
46795 #include <sys/uio.h>
46797 main ()
46799 struct iovec iov[2];
46800 writev(0, iov, 0);
46802 return 0;
46804 _ACEOF
46805 rm -f conftest.$ac_objext
46806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46807 (eval $ac_compile) 2>&5
46808 ac_status=$?
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); } &&
46811 { ac_try='test -s conftest.$ac_objext'
46812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46813 (eval $ac_try) 2>&5
46814 ac_status=$?
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); }; }; then
46817 glibcxx_cv_WRITEV=yes
46818 else
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46822 glibcxx_cv_WRITEV=no
46824 rm -f conftest.$ac_objext conftest.$ac_ext
46828 if test $glibcxx_cv_WRITEV = yes; then
46829 cat >>confdefs.h <<\_ACEOF
46830 #define HAVE_WRITEV 1
46831 _ACEOF
46836 cat >>confdefs.h <<\_ACEOF
46837 #define HAVE_LC_MESSAGES 1
46838 _ACEOF
46841 cat >conftest.$ac_ext <<_ACEOF
46842 #line $LINENO "configure"
46843 /* confdefs.h. */
46844 _ACEOF
46845 cat confdefs.h >>conftest.$ac_ext
46846 cat >>conftest.$ac_ext <<_ACEOF
46847 /* end confdefs.h. */
46848 #include <setjmp.h>
46850 main ()
46852 sigjmp_buf env;
46853 while (! sigsetjmp (env, 1))
46854 siglongjmp (env, 1);
46857 return 0;
46859 _ACEOF
46860 rm -f conftest.$ac_objext
46861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46862 (eval $ac_compile) 2>&5
46863 ac_status=$?
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); } &&
46866 { ac_try='test -s conftest.$ac_objext'
46867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46868 (eval $ac_try) 2>&5
46869 ac_status=$?
46870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871 (exit $ac_status); }; }; then
46873 cat >>confdefs.h <<\_ACEOF
46874 #define HAVE_SIGSETJMP 1
46875 _ACEOF
46877 else
46878 echo "$as_me: failed program was:" >&5
46879 sed 's/^/| /' conftest.$ac_ext >&5
46882 rm -f conftest.$ac_objext conftest.$ac_ext
46884 cat >>confdefs.h <<\_ACEOF
46885 #define HAVE_MMAP 1
46886 _ACEOF
46890 *-freebsd*)
46891 #os_include_dir="os/bsd/freebsd"
46908 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
46909 machine/endian.h machine/param.h sys/machine.h sys/types.h \
46910 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
46911 sys/time.h unistd.h
46913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46915 echo "$as_me:$LINENO: checking for $ac_header" >&5
46916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46918 echo $ECHO_N "(cached) $ECHO_C" >&6
46920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46922 else
46923 # Is the header compilable?
46924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46926 cat >conftest.$ac_ext <<_ACEOF
46927 #line $LINENO "configure"
46928 /* confdefs.h. */
46929 _ACEOF
46930 cat confdefs.h >>conftest.$ac_ext
46931 cat >>conftest.$ac_ext <<_ACEOF
46932 /* end confdefs.h. */
46933 $ac_includes_default
46934 #include <$ac_header>
46935 _ACEOF
46936 rm -f conftest.$ac_objext
46937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46938 (eval $ac_compile) 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); } &&
46942 { ac_try='test -s conftest.$ac_objext'
46943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944 (eval $ac_try) 2>&5
46945 ac_status=$?
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; }; then
46948 ac_header_compiler=yes
46949 else
46950 echo "$as_me: failed program was:" >&5
46951 sed 's/^/| /' conftest.$ac_ext >&5
46953 ac_header_compiler=no
46955 rm -f conftest.$ac_objext conftest.$ac_ext
46956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46957 echo "${ECHO_T}$ac_header_compiler" >&6
46959 # Is the header present?
46960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46962 cat >conftest.$ac_ext <<_ACEOF
46963 #line $LINENO "configure"
46964 /* confdefs.h. */
46965 _ACEOF
46966 cat confdefs.h >>conftest.$ac_ext
46967 cat >>conftest.$ac_ext <<_ACEOF
46968 /* end confdefs.h. */
46969 #include <$ac_header>
46970 _ACEOF
46971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46973 ac_status=$?
46974 grep -v '^ *+' conftest.er1 >conftest.err
46975 rm -f conftest.er1
46976 cat conftest.err >&5
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); } >/dev/null; then
46979 if test -s conftest.err; then
46980 ac_cpp_err=$ac_c_preproc_warn_flag
46981 else
46982 ac_cpp_err=
46984 else
46985 ac_cpp_err=yes
46987 if test -z "$ac_cpp_err"; then
46988 ac_header_preproc=yes
46989 else
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.$ac_ext >&5
46993 ac_header_preproc=no
46995 rm -f conftest.err conftest.$ac_ext
46996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46997 echo "${ECHO_T}$ac_header_preproc" >&6
46999 # So? What about this header?
47000 case $ac_header_compiler:$ac_header_preproc in
47001 yes:no )
47002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47007 cat <<\_ASBOX
47008 ## ------------------------------------ ##
47009 ## Report this to bug-autoconf@gnu.org. ##
47010 ## ------------------------------------ ##
47011 _ASBOX
47013 sed "s/^/$as_me: WARNING: /" >&2
47015 no:yes )
47016 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47017 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47018 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47019 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47023 cat <<\_ASBOX
47024 ## ------------------------------------ ##
47025 ## Report this to bug-autoconf@gnu.org. ##
47026 ## ------------------------------------ ##
47027 _ASBOX
47029 sed "s/^/$as_me: WARNING: /" >&2
47031 esac
47032 echo "$as_me:$LINENO: checking for $ac_header" >&5
47033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47035 echo $ECHO_N "(cached) $ECHO_C" >&6
47036 else
47037 eval "$as_ac_Header=$ac_header_preproc"
47039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47044 cat >>confdefs.h <<_ACEOF
47045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47046 _ACEOF
47050 done
47052 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47055 # If we're not using GNU ld, then there's no point in even trying these
47056 # tests. Check for that first. We should have already tested for gld
47057 # by now (in libtool), but require it now just to be safe...
47058 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47059 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47063 # The name set by libtool depends on the version of libtool. Shame on us
47064 # for depending on an impl detail, but c'est la vie. Older versions used
47065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47068 # set (hence we're using an older libtool), then set it.
47069 if test x${with_gnu_ld+set} != xset; then
47070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47072 with_gnu_ld=no
47073 else
47074 with_gnu_ld=$ac_cv_prog_gnu_ld
47078 # Start by getting the version number. I think the libtool test already
47079 # does some of this, but throws away the result.
47081 ldver=`$LD --version 2>/dev/null | head -1 | \
47082 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47084 glibcxx_gnu_ld_version=`echo $ldver | \
47085 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47087 # Set --gc-sections.
47088 if test "$with_gnu_ld" = "notbroken"; then
47089 # GNU ld it is! Joy and bunny rabbits!
47091 # All these tests are for C++; save the language and the compiler flags.
47092 # Need to do this so that g++ won't try to link in libstdc++
47093 ac_test_CFLAGS="${CFLAGS+set}"
47094 ac_save_CFLAGS="$CFLAGS"
47095 CFLAGS='-x c++ -Wl,--gc-sections'
47097 # Check for -Wl,--gc-sections
47098 # XXX This test is broken at the moment, as symbols required for linking
47099 # are now in libsupc++ (not built yet). In addition, this test has
47100 # cored on solaris in the past. In addition, --gc-sections doesn't
47101 # really work at the moment (keeps on discarding used sections, first
47102 # .eh_frame and now some of the glibc sections for iconv).
47103 # Bzzzzt. Thanks for playing, maybe next time.
47104 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47105 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47106 if test "$cross_compiling" = yes; then
47107 ac_sectionLDflags=yes
47108 else
47109 cat >conftest.$ac_ext <<_ACEOF
47110 #line $LINENO "configure"
47111 /* confdefs.h. */
47112 _ACEOF
47113 cat confdefs.h >>conftest.$ac_ext
47114 cat >>conftest.$ac_ext <<_ACEOF
47115 /* end confdefs.h. */
47117 int main(void)
47119 try { throw 1; }
47120 catch (...) { };
47121 return 0;
47124 _ACEOF
47125 rm -f conftest$ac_exeext
47126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47127 (eval $ac_link) 2>&5
47128 ac_status=$?
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; }; then
47136 ac_sectionLDflags=yes
47137 else
47138 echo "$as_me: program exited with status $ac_status" >&5
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47142 ( exit $ac_status )
47143 ac_sectionLDflags=no
47145 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47147 if test "$ac_test_CFLAGS" = set; then
47148 CFLAGS="$ac_save_CFLAGS"
47149 else
47150 # this is the suspicious part
47151 CFLAGS=''
47153 if test "$ac_sectionLDflags" = "yes"; then
47154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47156 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47157 echo "${ECHO_T}$ac_sectionLDflags" >&6
47160 # Set linker optimization flags.
47161 if test x"$with_gnu_ld" = x"yes"; then
47162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47170 echo "$as_me:$LINENO: checking for main in -lm" >&5
47171 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47172 if test "${ac_cv_lib_m_main+set}" = set; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47174 else
47175 ac_check_lib_save_LIBS=$LIBS
47176 LIBS="-lm $LIBS"
47177 if test x$gcc_no_link = xyes; then
47178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47180 { (exit 1); exit 1; }; }
47182 cat >conftest.$ac_ext <<_ACEOF
47183 #line $LINENO "configure"
47184 /* confdefs.h. */
47185 _ACEOF
47186 cat confdefs.h >>conftest.$ac_ext
47187 cat >>conftest.$ac_ext <<_ACEOF
47188 /* end confdefs.h. */
47192 main ()
47194 main ();
47196 return 0;
47198 _ACEOF
47199 rm -f conftest.$ac_objext conftest$ac_exeext
47200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47201 (eval $ac_link) 2>&5
47202 ac_status=$?
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } &&
47205 { ac_try='test -s conftest$ac_exeext'
47206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47207 (eval $ac_try) 2>&5
47208 ac_status=$?
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); }; }; then
47211 ac_cv_lib_m_main=yes
47212 else
47213 echo "$as_me: failed program was:" >&5
47214 sed 's/^/| /' conftest.$ac_ext >&5
47216 ac_cv_lib_m_main=no
47218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47219 LIBS=$ac_check_lib_save_LIBS
47221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47222 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47223 if test $ac_cv_lib_m_main = yes; then
47224 cat >>confdefs.h <<_ACEOF
47225 #define HAVE_LIBM 1
47226 _ACEOF
47228 LIBS="-lm $LIBS"
47234 for ac_func in nan copysignf
47236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47237 echo "$as_me:$LINENO: checking for $ac_func" >&5
47238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47239 if eval "test \"\${$as_ac_var+set}\" = set"; then
47240 echo $ECHO_N "(cached) $ECHO_C" >&6
47241 else
47242 if test x$gcc_no_link = xyes; then
47243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47245 { (exit 1); exit 1; }; }
47247 cat >conftest.$ac_ext <<_ACEOF
47248 #line $LINENO "configure"
47249 /* confdefs.h. */
47250 _ACEOF
47251 cat confdefs.h >>conftest.$ac_ext
47252 cat >>conftest.$ac_ext <<_ACEOF
47253 /* end confdefs.h. */
47254 /* System header to define __stub macros and hopefully few prototypes,
47255 which can conflict with char $ac_func (); below.
47256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47257 <limits.h> exists even on freestanding compilers. */
47258 #ifdef __STDC__
47259 # include <limits.h>
47260 #else
47261 # include <assert.h>
47262 #endif
47263 /* Override any gcc2 internal prototype to avoid an error. */
47264 #ifdef __cplusplus
47265 extern "C"
47267 #endif
47268 /* We use char because int might match the return type of a gcc2
47269 builtin and then its argument prototype would still apply. */
47270 char $ac_func ();
47271 /* The GNU C library defines this for functions which it implements
47272 to always fail with ENOSYS. Some functions are actually named
47273 something starting with __ and the normal name is an alias. */
47274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47275 choke me
47276 #else
47277 char (*f) () = $ac_func;
47278 #endif
47279 #ifdef __cplusplus
47281 #endif
47284 main ()
47286 return f != $ac_func;
47288 return 0;
47290 _ACEOF
47291 rm -f conftest.$ac_objext conftest$ac_exeext
47292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47293 (eval $ac_link) 2>&5
47294 ac_status=$?
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } &&
47297 { ac_try='test -s conftest$ac_exeext'
47298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47299 (eval $ac_try) 2>&5
47300 ac_status=$?
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); }; }; then
47303 eval "$as_ac_var=yes"
47304 else
47305 echo "$as_me: failed program was:" >&5
47306 sed 's/^/| /' conftest.$ac_ext >&5
47308 eval "$as_ac_var=no"
47310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47314 if test `eval echo '${'$as_ac_var'}'` = yes; then
47315 cat >>confdefs.h <<_ACEOF
47316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47317 _ACEOF
47319 else
47320 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47322 done
47326 for ac_func in __signbit
47328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47329 echo "$as_me:$LINENO: checking for $ac_func" >&5
47330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47331 if eval "test \"\${$as_ac_var+set}\" = set"; then
47332 echo $ECHO_N "(cached) $ECHO_C" >&6
47333 else
47334 if test x$gcc_no_link = xyes; then
47335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47337 { (exit 1); exit 1; }; }
47339 cat >conftest.$ac_ext <<_ACEOF
47340 #line $LINENO "configure"
47341 /* confdefs.h. */
47342 _ACEOF
47343 cat confdefs.h >>conftest.$ac_ext
47344 cat >>conftest.$ac_ext <<_ACEOF
47345 /* end confdefs.h. */
47346 /* System header to define __stub macros and hopefully few prototypes,
47347 which can conflict with char $ac_func (); below.
47348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47349 <limits.h> exists even on freestanding compilers. */
47350 #ifdef __STDC__
47351 # include <limits.h>
47352 #else
47353 # include <assert.h>
47354 #endif
47355 /* Override any gcc2 internal prototype to avoid an error. */
47356 #ifdef __cplusplus
47357 extern "C"
47359 #endif
47360 /* We use char because int might match the return type of a gcc2
47361 builtin and then its argument prototype would still apply. */
47362 char $ac_func ();
47363 /* The GNU C library defines this for functions which it implements
47364 to always fail with ENOSYS. Some functions are actually named
47365 something starting with __ and the normal name is an alias. */
47366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47367 choke me
47368 #else
47369 char (*f) () = $ac_func;
47370 #endif
47371 #ifdef __cplusplus
47373 #endif
47376 main ()
47378 return f != $ac_func;
47380 return 0;
47382 _ACEOF
47383 rm -f conftest.$ac_objext conftest$ac_exeext
47384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47385 (eval $ac_link) 2>&5
47386 ac_status=$?
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try='test -s conftest$ac_exeext'
47390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391 (eval $ac_try) 2>&5
47392 ac_status=$?
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); }; }; then
47395 eval "$as_ac_var=yes"
47396 else
47397 echo "$as_me: failed program was:" >&5
47398 sed 's/^/| /' conftest.$ac_ext >&5
47400 eval "$as_ac_var=no"
47402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47406 if test `eval echo '${'$as_ac_var'}'` = yes; then
47407 cat >>confdefs.h <<_ACEOF
47408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47409 _ACEOF
47411 else
47412 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47414 done
47417 for ac_func in __signbitf
47419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47420 echo "$as_me:$LINENO: checking for $ac_func" >&5
47421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47422 if eval "test \"\${$as_ac_var+set}\" = set"; then
47423 echo $ECHO_N "(cached) $ECHO_C" >&6
47424 else
47425 if test x$gcc_no_link = xyes; then
47426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47428 { (exit 1); exit 1; }; }
47430 cat >conftest.$ac_ext <<_ACEOF
47431 #line $LINENO "configure"
47432 /* confdefs.h. */
47433 _ACEOF
47434 cat confdefs.h >>conftest.$ac_ext
47435 cat >>conftest.$ac_ext <<_ACEOF
47436 /* end confdefs.h. */
47437 /* System header to define __stub macros and hopefully few prototypes,
47438 which can conflict with char $ac_func (); below.
47439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47440 <limits.h> exists even on freestanding compilers. */
47441 #ifdef __STDC__
47442 # include <limits.h>
47443 #else
47444 # include <assert.h>
47445 #endif
47446 /* Override any gcc2 internal prototype to avoid an error. */
47447 #ifdef __cplusplus
47448 extern "C"
47450 #endif
47451 /* We use char because int might match the return type of a gcc2
47452 builtin and then its argument prototype would still apply. */
47453 char $ac_func ();
47454 /* The GNU C library defines this for functions which it implements
47455 to always fail with ENOSYS. Some functions are actually named
47456 something starting with __ and the normal name is an alias. */
47457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47458 choke me
47459 #else
47460 char (*f) () = $ac_func;
47461 #endif
47462 #ifdef __cplusplus
47464 #endif
47467 main ()
47469 return f != $ac_func;
47471 return 0;
47473 _ACEOF
47474 rm -f conftest.$ac_objext conftest$ac_exeext
47475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47476 (eval $ac_link) 2>&5
47477 ac_status=$?
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); } &&
47480 { ac_try='test -s conftest$ac_exeext'
47481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47482 (eval $ac_try) 2>&5
47483 ac_status=$?
47484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485 (exit $ac_status); }; }; then
47486 eval "$as_ac_var=yes"
47487 else
47488 echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.$ac_ext >&5
47491 eval "$as_ac_var=no"
47493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47497 if test `eval echo '${'$as_ac_var'}'` = yes; then
47498 cat >>confdefs.h <<_ACEOF
47499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47500 _ACEOF
47502 else
47503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47505 done
47508 if test x$ac_cv_func_copysignl = x"yes"; then
47510 for ac_func in __signbitl
47512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47513 echo "$as_me:$LINENO: checking for $ac_func" >&5
47514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47515 if eval "test \"\${$as_ac_var+set}\" = set"; then
47516 echo $ECHO_N "(cached) $ECHO_C" >&6
47517 else
47518 if test x$gcc_no_link = xyes; then
47519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47521 { (exit 1); exit 1; }; }
47523 cat >conftest.$ac_ext <<_ACEOF
47524 #line $LINENO "configure"
47525 /* confdefs.h. */
47526 _ACEOF
47527 cat confdefs.h >>conftest.$ac_ext
47528 cat >>conftest.$ac_ext <<_ACEOF
47529 /* end confdefs.h. */
47530 /* System header to define __stub macros and hopefully few prototypes,
47531 which can conflict with char $ac_func (); below.
47532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47533 <limits.h> exists even on freestanding compilers. */
47534 #ifdef __STDC__
47535 # include <limits.h>
47536 #else
47537 # include <assert.h>
47538 #endif
47539 /* Override any gcc2 internal prototype to avoid an error. */
47540 #ifdef __cplusplus
47541 extern "C"
47543 #endif
47544 /* We use char because int might match the return type of a gcc2
47545 builtin and then its argument prototype would still apply. */
47546 char $ac_func ();
47547 /* The GNU C library defines this for functions which it implements
47548 to always fail with ENOSYS. Some functions are actually named
47549 something starting with __ and the normal name is an alias. */
47550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47551 choke me
47552 #else
47553 char (*f) () = $ac_func;
47554 #endif
47555 #ifdef __cplusplus
47557 #endif
47560 main ()
47562 return f != $ac_func;
47564 return 0;
47566 _ACEOF
47567 rm -f conftest.$ac_objext conftest$ac_exeext
47568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47569 (eval $ac_link) 2>&5
47570 ac_status=$?
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try='test -s conftest$ac_exeext'
47574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575 (eval $ac_try) 2>&5
47576 ac_status=$?
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); }; }; then
47579 eval "$as_ac_var=yes"
47580 else
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.$ac_ext >&5
47584 eval "$as_ac_var=no"
47586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47590 if test `eval echo '${'$as_ac_var'}'` = yes; then
47591 cat >>confdefs.h <<_ACEOF
47592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47593 _ACEOF
47595 else
47596 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47598 done
47602 # XXX Review this. Nothing uses it.
47603 if test -n "$LIBMATHOBJS"; then
47604 need_libmath=yes
47609 # Test wchar.h for mbstate_t, which is needed for char_traits and
47610 # others even if wchar_t support is not on.
47611 echo "$as_me:$LINENO: checking for mbstate_t" >&5
47612 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47613 cat >conftest.$ac_ext <<_ACEOF
47614 #line $LINENO "configure"
47615 /* confdefs.h. */
47616 _ACEOF
47617 cat confdefs.h >>conftest.$ac_ext
47618 cat >>conftest.$ac_ext <<_ACEOF
47619 /* end confdefs.h. */
47620 #include <wchar.h>
47622 main ()
47624 mbstate_t teststate;
47626 return 0;
47628 _ACEOF
47629 rm -f conftest.$ac_objext
47630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47631 (eval $ac_compile) 2>&5
47632 ac_status=$?
47633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634 (exit $ac_status); } &&
47635 { ac_try='test -s conftest.$ac_objext'
47636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47637 (eval $ac_try) 2>&5
47638 ac_status=$?
47639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640 (exit $ac_status); }; }; then
47641 have_mbstate_t=yes
47642 else
47643 echo "$as_me: failed program was:" >&5
47644 sed 's/^/| /' conftest.$ac_ext >&5
47646 have_mbstate_t=no
47648 rm -f conftest.$ac_objext conftest.$ac_ext
47649 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47650 echo "${ECHO_T}$have_mbstate_t" >&6
47651 if test x"$have_mbstate_t" = xyes; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define HAVE_MBSTATE_T 1
47654 _ACEOF
47658 # Sanity check for existence of ISO C99 headers for extended encoding.
47660 for ac_header in wchar.h
47662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47664 echo "$as_me:$LINENO: checking for $ac_header" >&5
47665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47667 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47671 else
47672 # Is the header compilable?
47673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47675 cat >conftest.$ac_ext <<_ACEOF
47676 #line $LINENO "configure"
47677 /* confdefs.h. */
47678 _ACEOF
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682 $ac_includes_default
47683 #include <$ac_header>
47684 _ACEOF
47685 rm -f conftest.$ac_objext
47686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47687 (eval $ac_compile) 2>&5
47688 ac_status=$?
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); } &&
47691 { ac_try='test -s conftest.$ac_objext'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47694 ac_status=$?
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; }; then
47697 ac_header_compiler=yes
47698 else
47699 echo "$as_me: failed program was:" >&5
47700 sed 's/^/| /' conftest.$ac_ext >&5
47702 ac_header_compiler=no
47704 rm -f conftest.$ac_objext conftest.$ac_ext
47705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47706 echo "${ECHO_T}$ac_header_compiler" >&6
47708 # Is the header present?
47709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47711 cat >conftest.$ac_ext <<_ACEOF
47712 #line $LINENO "configure"
47713 /* confdefs.h. */
47714 _ACEOF
47715 cat confdefs.h >>conftest.$ac_ext
47716 cat >>conftest.$ac_ext <<_ACEOF
47717 /* end confdefs.h. */
47718 #include <$ac_header>
47719 _ACEOF
47720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47722 ac_status=$?
47723 grep -v '^ *+' conftest.er1 >conftest.err
47724 rm -f conftest.er1
47725 cat conftest.err >&5
47726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47727 (exit $ac_status); } >/dev/null; then
47728 if test -s conftest.err; then
47729 ac_cpp_err=$ac_c_preproc_warn_flag
47730 else
47731 ac_cpp_err=
47733 else
47734 ac_cpp_err=yes
47736 if test -z "$ac_cpp_err"; then
47737 ac_header_preproc=yes
47738 else
47739 echo "$as_me: failed program was:" >&5
47740 sed 's/^/| /' conftest.$ac_ext >&5
47742 ac_header_preproc=no
47744 rm -f conftest.err conftest.$ac_ext
47745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47746 echo "${ECHO_T}$ac_header_preproc" >&6
47748 # So? What about this header?
47749 case $ac_header_compiler:$ac_header_preproc in
47750 yes:no )
47751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47756 cat <<\_ASBOX
47757 ## ------------------------------------ ##
47758 ## Report this to bug-autoconf@gnu.org. ##
47759 ## ------------------------------------ ##
47760 _ASBOX
47762 sed "s/^/$as_me: WARNING: /" >&2
47764 no:yes )
47765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47772 cat <<\_ASBOX
47773 ## ------------------------------------ ##
47774 ## Report this to bug-autoconf@gnu.org. ##
47775 ## ------------------------------------ ##
47776 _ASBOX
47778 sed "s/^/$as_me: WARNING: /" >&2
47780 esac
47781 echo "$as_me:$LINENO: checking for $ac_header" >&5
47782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47784 echo $ECHO_N "(cached) $ECHO_C" >&6
47785 else
47786 eval "$as_ac_Header=$ac_header_preproc"
47788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47793 cat >>confdefs.h <<_ACEOF
47794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47795 _ACEOF
47796 ac_has_wchar_h=yes
47797 else
47798 ac_has_wchar_h=no
47801 done
47804 for ac_header in wctype.h
47806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47808 echo "$as_me:$LINENO: checking for $ac_header" >&5
47809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47811 echo $ECHO_N "(cached) $ECHO_C" >&6
47813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47815 else
47816 # Is the header compilable?
47817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47819 cat >conftest.$ac_ext <<_ACEOF
47820 #line $LINENO "configure"
47821 /* confdefs.h. */
47822 _ACEOF
47823 cat confdefs.h >>conftest.$ac_ext
47824 cat >>conftest.$ac_ext <<_ACEOF
47825 /* end confdefs.h. */
47826 $ac_includes_default
47827 #include <$ac_header>
47828 _ACEOF
47829 rm -f conftest.$ac_objext
47830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47831 (eval $ac_compile) 2>&5
47832 ac_status=$?
47833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47834 (exit $ac_status); } &&
47835 { ac_try='test -s conftest.$ac_objext'
47836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47837 (eval $ac_try) 2>&5
47838 ac_status=$?
47839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47840 (exit $ac_status); }; }; then
47841 ac_header_compiler=yes
47842 else
47843 echo "$as_me: failed program was:" >&5
47844 sed 's/^/| /' conftest.$ac_ext >&5
47846 ac_header_compiler=no
47848 rm -f conftest.$ac_objext conftest.$ac_ext
47849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47850 echo "${ECHO_T}$ac_header_compiler" >&6
47852 # Is the header present?
47853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47855 cat >conftest.$ac_ext <<_ACEOF
47856 #line $LINENO "configure"
47857 /* confdefs.h. */
47858 _ACEOF
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h. */
47862 #include <$ac_header>
47863 _ACEOF
47864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47866 ac_status=$?
47867 grep -v '^ *+' conftest.er1 >conftest.err
47868 rm -f conftest.er1
47869 cat conftest.err >&5
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); } >/dev/null; then
47872 if test -s conftest.err; then
47873 ac_cpp_err=$ac_c_preproc_warn_flag
47874 else
47875 ac_cpp_err=
47877 else
47878 ac_cpp_err=yes
47880 if test -z "$ac_cpp_err"; then
47881 ac_header_preproc=yes
47882 else
47883 echo "$as_me: failed program was:" >&5
47884 sed 's/^/| /' conftest.$ac_ext >&5
47886 ac_header_preproc=no
47888 rm -f conftest.err conftest.$ac_ext
47889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47890 echo "${ECHO_T}$ac_header_preproc" >&6
47892 # So? What about this header?
47893 case $ac_header_compiler:$ac_header_preproc in
47894 yes:no )
47895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47900 cat <<\_ASBOX
47901 ## ------------------------------------ ##
47902 ## Report this to bug-autoconf@gnu.org. ##
47903 ## ------------------------------------ ##
47904 _ASBOX
47906 sed "s/^/$as_me: WARNING: /" >&2
47908 no:yes )
47909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47916 cat <<\_ASBOX
47917 ## ------------------------------------ ##
47918 ## Report this to bug-autoconf@gnu.org. ##
47919 ## ------------------------------------ ##
47920 _ASBOX
47922 sed "s/^/$as_me: WARNING: /" >&2
47924 esac
47925 echo "$as_me:$LINENO: checking for $ac_header" >&5
47926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47928 echo $ECHO_N "(cached) $ECHO_C" >&6
47929 else
47930 eval "$as_ac_Header=$ac_header_preproc"
47932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47937 cat >>confdefs.h <<_ACEOF
47938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47939 _ACEOF
47940 ac_has_wctype_h=yes
47941 else
47942 ac_has_wctype_h=no
47945 done
47948 # Only continue checking if the ISO C99 headers exist and support is on.
47949 if test x"$ac_has_wchar_h" = xyes &&
47950 test x"$ac_has_wctype_h" = xyes &&
47951 test x"$enable_c_mbchar" != xno; then
47953 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
47954 # numeric_limits can instantiate type_traits<wchar_t>
47955 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
47956 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
47957 cat >conftest.$ac_ext <<_ACEOF
47958 #line $LINENO "configure"
47959 /* confdefs.h. */
47960 _ACEOF
47961 cat confdefs.h >>conftest.$ac_ext
47962 cat >>conftest.$ac_ext <<_ACEOF
47963 /* end confdefs.h. */
47964 #include <wchar.h>
47966 main ()
47968 int i = WCHAR_MIN; int j = WCHAR_MAX;
47970 return 0;
47972 _ACEOF
47973 rm -f conftest.$ac_objext
47974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47975 (eval $ac_compile) 2>&5
47976 ac_status=$?
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); } &&
47979 { ac_try='test -s conftest.$ac_objext'
47980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47981 (eval $ac_try) 2>&5
47982 ac_status=$?
47983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47984 (exit $ac_status); }; }; then
47985 has_wchar_minmax=yes
47986 else
47987 echo "$as_me: failed program was:" >&5
47988 sed 's/^/| /' conftest.$ac_ext >&5
47990 has_wchar_minmax=no
47992 rm -f conftest.$ac_objext conftest.$ac_ext
47993 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
47994 echo "${ECHO_T}$has_wchar_minmax" >&6
47996 # Test wchar.h for WEOF, which is what we use to determine whether
47997 # to specialize for char_traits<wchar_t> or not.
47998 echo "$as_me:$LINENO: checking for WEOF" >&5
47999 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48000 cat >conftest.$ac_ext <<_ACEOF
48001 #line $LINENO "configure"
48002 /* confdefs.h. */
48003 _ACEOF
48004 cat confdefs.h >>conftest.$ac_ext
48005 cat >>conftest.$ac_ext <<_ACEOF
48006 /* end confdefs.h. */
48008 #include <wchar.h>
48009 #include <stddef.h>
48011 main ()
48013 wint_t i = WEOF;
48015 return 0;
48017 _ACEOF
48018 rm -f conftest.$ac_objext
48019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48020 (eval $ac_compile) 2>&5
48021 ac_status=$?
48022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48023 (exit $ac_status); } &&
48024 { ac_try='test -s conftest.$ac_objext'
48025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48026 (eval $ac_try) 2>&5
48027 ac_status=$?
48028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48029 (exit $ac_status); }; }; then
48030 has_weof=yes
48031 else
48032 echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48035 has_weof=no
48037 rm -f conftest.$ac_objext conftest.$ac_ext
48038 echo "$as_me:$LINENO: result: $has_weof" >&5
48039 echo "${ECHO_T}$has_weof" >&6
48041 # Tests for wide character functions used in char_traits<wchar_t>.
48042 ac_wfuncs=yes
48049 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48052 echo "$as_me:$LINENO: checking for $ac_func" >&5
48053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48054 if eval "test \"\${$as_ac_var+set}\" = set"; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48056 else
48057 if test x$gcc_no_link = xyes; then
48058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48060 { (exit 1); exit 1; }; }
48062 cat >conftest.$ac_ext <<_ACEOF
48063 #line $LINENO "configure"
48064 /* confdefs.h. */
48065 _ACEOF
48066 cat confdefs.h >>conftest.$ac_ext
48067 cat >>conftest.$ac_ext <<_ACEOF
48068 /* end confdefs.h. */
48069 /* System header to define __stub macros and hopefully few prototypes,
48070 which can conflict with char $ac_func (); below.
48071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48072 <limits.h> exists even on freestanding compilers. */
48073 #ifdef __STDC__
48074 # include <limits.h>
48075 #else
48076 # include <assert.h>
48077 #endif
48078 /* Override any gcc2 internal prototype to avoid an error. */
48079 #ifdef __cplusplus
48080 extern "C"
48082 #endif
48083 /* We use char because int might match the return type of a gcc2
48084 builtin and then its argument prototype would still apply. */
48085 char $ac_func ();
48086 /* The GNU C library defines this for functions which it implements
48087 to always fail with ENOSYS. Some functions are actually named
48088 something starting with __ and the normal name is an alias. */
48089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48090 choke me
48091 #else
48092 char (*f) () = $ac_func;
48093 #endif
48094 #ifdef __cplusplus
48096 #endif
48099 main ()
48101 return f != $ac_func;
48103 return 0;
48105 _ACEOF
48106 rm -f conftest.$ac_objext conftest$ac_exeext
48107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48108 (eval $ac_link) 2>&5
48109 ac_status=$?
48110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48111 (exit $ac_status); } &&
48112 { ac_try='test -s conftest$ac_exeext'
48113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48114 (eval $ac_try) 2>&5
48115 ac_status=$?
48116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48117 (exit $ac_status); }; }; then
48118 eval "$as_ac_var=yes"
48119 else
48120 echo "$as_me: failed program was:" >&5
48121 sed 's/^/| /' conftest.$ac_ext >&5
48123 eval "$as_ac_var=no"
48125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48129 if test `eval echo '${'$as_ac_var'}'` = yes; then
48130 cat >>confdefs.h <<_ACEOF
48131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48132 _ACEOF
48134 else
48135 ac_wfuncs=no
48137 done
48140 # Checks for names injected into std:: by the c_std headers.
48187 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48188 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48189 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48190 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48191 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48192 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48195 echo "$as_me:$LINENO: checking for $ac_func" >&5
48196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48197 if eval "test \"\${$as_ac_var+set}\" = set"; then
48198 echo $ECHO_N "(cached) $ECHO_C" >&6
48199 else
48200 if test x$gcc_no_link = xyes; then
48201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48203 { (exit 1); exit 1; }; }
48205 cat >conftest.$ac_ext <<_ACEOF
48206 #line $LINENO "configure"
48207 /* confdefs.h. */
48208 _ACEOF
48209 cat confdefs.h >>conftest.$ac_ext
48210 cat >>conftest.$ac_ext <<_ACEOF
48211 /* end confdefs.h. */
48212 /* System header to define __stub macros and hopefully few prototypes,
48213 which can conflict with char $ac_func (); below.
48214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48215 <limits.h> exists even on freestanding compilers. */
48216 #ifdef __STDC__
48217 # include <limits.h>
48218 #else
48219 # include <assert.h>
48220 #endif
48221 /* Override any gcc2 internal prototype to avoid an error. */
48222 #ifdef __cplusplus
48223 extern "C"
48225 #endif
48226 /* We use char because int might match the return type of a gcc2
48227 builtin and then its argument prototype would still apply. */
48228 char $ac_func ();
48229 /* The GNU C library defines this for functions which it implements
48230 to always fail with ENOSYS. Some functions are actually named
48231 something starting with __ and the normal name is an alias. */
48232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48233 choke me
48234 #else
48235 char (*f) () = $ac_func;
48236 #endif
48237 #ifdef __cplusplus
48239 #endif
48242 main ()
48244 return f != $ac_func;
48246 return 0;
48248 _ACEOF
48249 rm -f conftest.$ac_objext conftest$ac_exeext
48250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48251 (eval $ac_link) 2>&5
48252 ac_status=$?
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); } &&
48255 { ac_try='test -s conftest$ac_exeext'
48256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48257 (eval $ac_try) 2>&5
48258 ac_status=$?
48259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260 (exit $ac_status); }; }; then
48261 eval "$as_ac_var=yes"
48262 else
48263 echo "$as_me: failed program was:" >&5
48264 sed 's/^/| /' conftest.$ac_ext >&5
48266 eval "$as_ac_var=no"
48268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48272 if test `eval echo '${'$as_ac_var'}'` = yes; then
48273 cat >>confdefs.h <<_ACEOF
48274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48275 _ACEOF
48277 else
48278 ac_wfuncs=no
48280 done
48283 # Checks for wide character functions that are not required
48284 # for basic wchar_t support. Don't disable support if they are missing.
48285 # Injection of these is wrapped with guard macros.
48291 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48294 echo "$as_me:$LINENO: checking for $ac_func" >&5
48295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48296 if eval "test \"\${$as_ac_var+set}\" = set"; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48298 else
48299 if test x$gcc_no_link = xyes; then
48300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48302 { (exit 1); exit 1; }; }
48304 cat >conftest.$ac_ext <<_ACEOF
48305 #line $LINENO "configure"
48306 /* confdefs.h. */
48307 _ACEOF
48308 cat confdefs.h >>conftest.$ac_ext
48309 cat >>conftest.$ac_ext <<_ACEOF
48310 /* end confdefs.h. */
48311 /* System header to define __stub macros and hopefully few prototypes,
48312 which can conflict with char $ac_func (); below.
48313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48314 <limits.h> exists even on freestanding compilers. */
48315 #ifdef __STDC__
48316 # include <limits.h>
48317 #else
48318 # include <assert.h>
48319 #endif
48320 /* Override any gcc2 internal prototype to avoid an error. */
48321 #ifdef __cplusplus
48322 extern "C"
48324 #endif
48325 /* We use char because int might match the return type of a gcc2
48326 builtin and then its argument prototype would still apply. */
48327 char $ac_func ();
48328 /* The GNU C library defines this for functions which it implements
48329 to always fail with ENOSYS. Some functions are actually named
48330 something starting with __ and the normal name is an alias. */
48331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48332 choke me
48333 #else
48334 char (*f) () = $ac_func;
48335 #endif
48336 #ifdef __cplusplus
48338 #endif
48341 main ()
48343 return f != $ac_func;
48345 return 0;
48347 _ACEOF
48348 rm -f conftest.$ac_objext conftest$ac_exeext
48349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48350 (eval $ac_link) 2>&5
48351 ac_status=$?
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); } &&
48354 { ac_try='test -s conftest$ac_exeext'
48355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48356 (eval $ac_try) 2>&5
48357 ac_status=$?
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); }; }; then
48360 eval "$as_ac_var=yes"
48361 else
48362 echo "$as_me: failed program was:" >&5
48363 sed 's/^/| /' conftest.$ac_ext >&5
48365 eval "$as_ac_var=no"
48367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48371 if test `eval echo '${'$as_ac_var'}'` = yes; then
48372 cat >>confdefs.h <<_ACEOF
48373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48374 _ACEOF
48377 done
48380 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48381 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48382 if test x"$has_weof" = xyes &&
48383 test x"$has_wchar_minmax" = xyes &&
48384 test x"$ac_wfuncs" = xyes;
48385 then
48386 ac_isoC99_wchar_t=yes
48387 else
48388 ac_isoC99_wchar_t=no
48390 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48391 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48393 # Use iconv for wchar_t to char conversions. As such, check for
48394 # X/Open Portability Guide, version 2 features (XPG2).
48395 if test "${ac_cv_header_iconv_h+set}" = set; then
48396 echo "$as_me:$LINENO: checking for iconv.h" >&5
48397 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48398 if test "${ac_cv_header_iconv_h+set}" = set; then
48399 echo $ECHO_N "(cached) $ECHO_C" >&6
48401 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48402 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48403 else
48404 # Is the header compilable?
48405 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48406 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48407 cat >conftest.$ac_ext <<_ACEOF
48408 #line $LINENO "configure"
48409 /* confdefs.h. */
48410 _ACEOF
48411 cat confdefs.h >>conftest.$ac_ext
48412 cat >>conftest.$ac_ext <<_ACEOF
48413 /* end confdefs.h. */
48414 $ac_includes_default
48415 #include <iconv.h>
48416 _ACEOF
48417 rm -f conftest.$ac_objext
48418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48419 (eval $ac_compile) 2>&5
48420 ac_status=$?
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); } &&
48423 { ac_try='test -s conftest.$ac_objext'
48424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48425 (eval $ac_try) 2>&5
48426 ac_status=$?
48427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48428 (exit $ac_status); }; }; then
48429 ac_header_compiler=yes
48430 else
48431 echo "$as_me: failed program was:" >&5
48432 sed 's/^/| /' conftest.$ac_ext >&5
48434 ac_header_compiler=no
48436 rm -f conftest.$ac_objext conftest.$ac_ext
48437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48438 echo "${ECHO_T}$ac_header_compiler" >&6
48440 # Is the header present?
48441 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48442 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48443 cat >conftest.$ac_ext <<_ACEOF
48444 #line $LINENO "configure"
48445 /* confdefs.h. */
48446 _ACEOF
48447 cat confdefs.h >>conftest.$ac_ext
48448 cat >>conftest.$ac_ext <<_ACEOF
48449 /* end confdefs.h. */
48450 #include <iconv.h>
48451 _ACEOF
48452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48454 ac_status=$?
48455 grep -v '^ *+' conftest.er1 >conftest.err
48456 rm -f conftest.er1
48457 cat conftest.err >&5
48458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459 (exit $ac_status); } >/dev/null; then
48460 if test -s conftest.err; then
48461 ac_cpp_err=$ac_c_preproc_warn_flag
48462 else
48463 ac_cpp_err=
48465 else
48466 ac_cpp_err=yes
48468 if test -z "$ac_cpp_err"; then
48469 ac_header_preproc=yes
48470 else
48471 echo "$as_me: failed program was:" >&5
48472 sed 's/^/| /' conftest.$ac_ext >&5
48474 ac_header_preproc=no
48476 rm -f conftest.err conftest.$ac_ext
48477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48478 echo "${ECHO_T}$ac_header_preproc" >&6
48480 # So? What about this header?
48481 case $ac_header_compiler:$ac_header_preproc in
48482 yes:no )
48483 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48484 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48485 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48486 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48488 cat <<\_ASBOX
48489 ## ------------------------------------ ##
48490 ## Report this to bug-autoconf@gnu.org. ##
48491 ## ------------------------------------ ##
48492 _ASBOX
48494 sed "s/^/$as_me: WARNING: /" >&2
48496 no:yes )
48497 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48498 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48499 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48500 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48501 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48502 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48504 cat <<\_ASBOX
48505 ## ------------------------------------ ##
48506 ## Report this to bug-autoconf@gnu.org. ##
48507 ## ------------------------------------ ##
48508 _ASBOX
48510 sed "s/^/$as_me: WARNING: /" >&2
48512 esac
48513 echo "$as_me:$LINENO: checking for iconv.h" >&5
48514 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48515 if test "${ac_cv_header_iconv_h+set}" = set; then
48516 echo $ECHO_N "(cached) $ECHO_C" >&6
48517 else
48518 ac_cv_header_iconv_h=$ac_header_preproc
48520 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48521 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48524 if test $ac_cv_header_iconv_h = yes; then
48525 ac_has_iconv_h=yes
48526 else
48527 ac_has_iconv_h=no
48531 if test "${ac_cv_header_langinfo_h+set}" = set; then
48532 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48533 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48534 if test "${ac_cv_header_langinfo_h+set}" = set; then
48535 echo $ECHO_N "(cached) $ECHO_C" >&6
48537 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48538 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48539 else
48540 # Is the header compilable?
48541 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48542 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48543 cat >conftest.$ac_ext <<_ACEOF
48544 #line $LINENO "configure"
48545 /* confdefs.h. */
48546 _ACEOF
48547 cat confdefs.h >>conftest.$ac_ext
48548 cat >>conftest.$ac_ext <<_ACEOF
48549 /* end confdefs.h. */
48550 $ac_includes_default
48551 #include <langinfo.h>
48552 _ACEOF
48553 rm -f conftest.$ac_objext
48554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48555 (eval $ac_compile) 2>&5
48556 ac_status=$?
48557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48558 (exit $ac_status); } &&
48559 { ac_try='test -s conftest.$ac_objext'
48560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48561 (eval $ac_try) 2>&5
48562 ac_status=$?
48563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48564 (exit $ac_status); }; }; then
48565 ac_header_compiler=yes
48566 else
48567 echo "$as_me: failed program was:" >&5
48568 sed 's/^/| /' conftest.$ac_ext >&5
48570 ac_header_compiler=no
48572 rm -f conftest.$ac_objext conftest.$ac_ext
48573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48574 echo "${ECHO_T}$ac_header_compiler" >&6
48576 # Is the header present?
48577 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48578 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48579 cat >conftest.$ac_ext <<_ACEOF
48580 #line $LINENO "configure"
48581 /* confdefs.h. */
48582 _ACEOF
48583 cat confdefs.h >>conftest.$ac_ext
48584 cat >>conftest.$ac_ext <<_ACEOF
48585 /* end confdefs.h. */
48586 #include <langinfo.h>
48587 _ACEOF
48588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48590 ac_status=$?
48591 grep -v '^ *+' conftest.er1 >conftest.err
48592 rm -f conftest.er1
48593 cat conftest.err >&5
48594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595 (exit $ac_status); } >/dev/null; then
48596 if test -s conftest.err; then
48597 ac_cpp_err=$ac_c_preproc_warn_flag
48598 else
48599 ac_cpp_err=
48601 else
48602 ac_cpp_err=yes
48604 if test -z "$ac_cpp_err"; then
48605 ac_header_preproc=yes
48606 else
48607 echo "$as_me: failed program was:" >&5
48608 sed 's/^/| /' conftest.$ac_ext >&5
48610 ac_header_preproc=no
48612 rm -f conftest.err conftest.$ac_ext
48613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48614 echo "${ECHO_T}$ac_header_preproc" >&6
48616 # So? What about this header?
48617 case $ac_header_compiler:$ac_header_preproc in
48618 yes:no )
48619 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48620 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48621 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48622 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48624 cat <<\_ASBOX
48625 ## ------------------------------------ ##
48626 ## Report this to bug-autoconf@gnu.org. ##
48627 ## ------------------------------------ ##
48628 _ASBOX
48630 sed "s/^/$as_me: WARNING: /" >&2
48632 no:yes )
48633 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48634 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48635 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48636 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48637 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48638 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48640 cat <<\_ASBOX
48641 ## ------------------------------------ ##
48642 ## Report this to bug-autoconf@gnu.org. ##
48643 ## ------------------------------------ ##
48644 _ASBOX
48646 sed "s/^/$as_me: WARNING: /" >&2
48648 esac
48649 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48650 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48651 if test "${ac_cv_header_langinfo_h+set}" = set; then
48652 echo $ECHO_N "(cached) $ECHO_C" >&6
48653 else
48654 ac_cv_header_langinfo_h=$ac_header_preproc
48656 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48657 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48660 if test $ac_cv_header_langinfo_h = yes; then
48661 ac_has_langinfo_h=yes
48662 else
48663 ac_has_langinfo_h=no
48668 # Check for existence of libiconv.a providing XPG2 wchar_t support.
48669 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48670 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48671 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48672 echo $ECHO_N "(cached) $ECHO_C" >&6
48673 else
48674 ac_check_lib_save_LIBS=$LIBS
48675 LIBS="-liconv $LIBS"
48676 if test x$gcc_no_link = xyes; then
48677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48679 { (exit 1); exit 1; }; }
48681 cat >conftest.$ac_ext <<_ACEOF
48682 #line $LINENO "configure"
48683 /* confdefs.h. */
48684 _ACEOF
48685 cat confdefs.h >>conftest.$ac_ext
48686 cat >>conftest.$ac_ext <<_ACEOF
48687 /* end confdefs.h. */
48689 /* Override any gcc2 internal prototype to avoid an error. */
48690 #ifdef __cplusplus
48691 extern "C"
48692 #endif
48693 /* We use char because int might match the return type of a gcc2
48694 builtin and then its argument prototype would still apply. */
48695 char iconv ();
48697 main ()
48699 iconv ();
48701 return 0;
48703 _ACEOF
48704 rm -f conftest.$ac_objext conftest$ac_exeext
48705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48706 (eval $ac_link) 2>&5
48707 ac_status=$?
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); } &&
48710 { ac_try='test -s conftest$ac_exeext'
48711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712 (eval $ac_try) 2>&5
48713 ac_status=$?
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; }; then
48716 ac_cv_lib_iconv_iconv=yes
48717 else
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48721 ac_cv_lib_iconv_iconv=no
48723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48724 LIBS=$ac_check_lib_save_LIBS
48726 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48727 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48728 if test $ac_cv_lib_iconv_iconv = yes; then
48729 libiconv="-liconv"
48732 ac_save_LIBS="$LIBS"
48733 LIBS="$LIBS $libiconv"
48739 for ac_func in iconv_open iconv_close iconv nl_langinfo
48741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48742 echo "$as_me:$LINENO: checking for $ac_func" >&5
48743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48744 if eval "test \"\${$as_ac_var+set}\" = set"; then
48745 echo $ECHO_N "(cached) $ECHO_C" >&6
48746 else
48747 if test x$gcc_no_link = xyes; then
48748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48750 { (exit 1); exit 1; }; }
48752 cat >conftest.$ac_ext <<_ACEOF
48753 #line $LINENO "configure"
48754 /* confdefs.h. */
48755 _ACEOF
48756 cat confdefs.h >>conftest.$ac_ext
48757 cat >>conftest.$ac_ext <<_ACEOF
48758 /* end confdefs.h. */
48759 /* System header to define __stub macros and hopefully few prototypes,
48760 which can conflict with char $ac_func (); below.
48761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48762 <limits.h> exists even on freestanding compilers. */
48763 #ifdef __STDC__
48764 # include <limits.h>
48765 #else
48766 # include <assert.h>
48767 #endif
48768 /* Override any gcc2 internal prototype to avoid an error. */
48769 #ifdef __cplusplus
48770 extern "C"
48772 #endif
48773 /* We use char because int might match the return type of a gcc2
48774 builtin and then its argument prototype would still apply. */
48775 char $ac_func ();
48776 /* The GNU C library defines this for functions which it implements
48777 to always fail with ENOSYS. Some functions are actually named
48778 something starting with __ and the normal name is an alias. */
48779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48780 choke me
48781 #else
48782 char (*f) () = $ac_func;
48783 #endif
48784 #ifdef __cplusplus
48786 #endif
48789 main ()
48791 return f != $ac_func;
48793 return 0;
48795 _ACEOF
48796 rm -f conftest.$ac_objext conftest$ac_exeext
48797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48798 (eval $ac_link) 2>&5
48799 ac_status=$?
48800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48801 (exit $ac_status); } &&
48802 { ac_try='test -s conftest$ac_exeext'
48803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48804 (eval $ac_try) 2>&5
48805 ac_status=$?
48806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48807 (exit $ac_status); }; }; then
48808 eval "$as_ac_var=yes"
48809 else
48810 echo "$as_me: failed program was:" >&5
48811 sed 's/^/| /' conftest.$ac_ext >&5
48813 eval "$as_ac_var=no"
48815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48819 if test `eval echo '${'$as_ac_var'}'` = yes; then
48820 cat >>confdefs.h <<_ACEOF
48821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48822 _ACEOF
48823 ac_XPG2funcs=yes
48824 else
48825 ac_XPG2funcs=no
48827 done
48830 LIBS="$ac_save_LIBS"
48832 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48833 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48834 if test x"$ac_has_iconv_h" = xyes &&
48835 test x"$ac_has_langinfo_h" = xyes &&
48836 test x"$ac_XPG2funcs" = xyes;
48837 then
48838 ac_XPG2_wchar_t=yes
48839 else
48840 ac_XPG2_wchar_t=no
48842 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48843 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48845 # At the moment, only enable wchar_t specializations if all the
48846 # above support is present.
48847 if test x"$ac_isoC99_wchar_t" = xyes &&
48848 test x"$ac_XPG2_wchar_t" = xyes;
48849 then
48850 cat >>confdefs.h <<\_ACEOF
48851 #define _GLIBCXX_USE_WCHAR_T 1
48852 _ACEOF
48854 enable_wchar_t=yes
48857 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
48858 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
48859 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
48860 echo "${ECHO_T}$enable_wchar_t" >&6
48862 cat >>confdefs.h <<\_ACEOF
48863 #define HAVE_LC_MESSAGES 1
48864 _ACEOF
48866 cat >>confdefs.h <<\_ACEOF
48867 #define HAVE_LRAND48 1
48868 _ACEOF
48870 cat >>confdefs.h <<\_ACEOF
48871 #define HAVE_GETPAGESIZE 1
48872 _ACEOF
48874 cat >>confdefs.h <<\_ACEOF
48875 #define HAVE_SETENV 1
48876 _ACEOF
48878 cat >>confdefs.h <<\_ACEOF
48879 #define HAVE_SIGSETJMP 1
48880 _ACEOF
48882 cat >>confdefs.h <<\_ACEOF
48883 #define HAVE_COPYSIGN 1
48884 _ACEOF
48886 cat >>confdefs.h <<\_ACEOF
48887 #define HAVE_COPYSIGNF 1
48888 _ACEOF
48890 cat >>confdefs.h <<\_ACEOF
48891 #define HAVE_FINITEF 1
48892 _ACEOF
48894 cat >>confdefs.h <<\_ACEOF
48895 #define HAVE_FINITE 1
48896 _ACEOF
48898 cat >>confdefs.h <<\_ACEOF
48899 #define HAVE_FREXPF 1
48900 _ACEOF
48902 cat >>confdefs.h <<\_ACEOF
48903 #define HAVE_HYPOT 1
48904 _ACEOF
48906 cat >>confdefs.h <<\_ACEOF
48907 #define HAVE_HYPOTF 1
48908 _ACEOF
48910 cat >>confdefs.h <<\_ACEOF
48911 #define HAVE_ISINF 1
48912 _ACEOF
48914 cat >>confdefs.h <<\_ACEOF
48915 #define HAVE_ISNAN 1
48916 _ACEOF
48918 cat >>confdefs.h <<\_ACEOF
48919 #define HAVE_ISNANF 1
48920 _ACEOF
48923 cat >>confdefs.h <<\_ACEOF
48924 #define HAVE_MMAP 1
48925 _ACEOF
48927 cat >>confdefs.h <<\_ACEOF
48928 #define HAVE_ACOSF 1
48929 _ACEOF
48931 cat >>confdefs.h <<\_ACEOF
48932 #define HAVE_ASINF 1
48933 _ACEOF
48935 cat >>confdefs.h <<\_ACEOF
48936 #define HAVE_ATAN2F 1
48937 _ACEOF
48939 cat >>confdefs.h <<\_ACEOF
48940 #define HAVE_ATANF 1
48941 _ACEOF
48943 cat >>confdefs.h <<\_ACEOF
48944 #define HAVE_CEILF 1
48945 _ACEOF
48947 cat >>confdefs.h <<\_ACEOF
48948 #define HAVE_COPYSIGN 1
48949 _ACEOF
48951 cat >>confdefs.h <<\_ACEOF
48952 #define HAVE_COPYSIGNF 1
48953 _ACEOF
48955 cat >>confdefs.h <<\_ACEOF
48956 #define HAVE_COSF 1
48957 _ACEOF
48959 cat >>confdefs.h <<\_ACEOF
48960 #define HAVE_COSHF 1
48961 _ACEOF
48963 cat >>confdefs.h <<\_ACEOF
48964 #define HAVE_EXPF 1
48965 _ACEOF
48967 cat >>confdefs.h <<\_ACEOF
48968 #define HAVE_FABSF 1
48969 _ACEOF
48971 cat >>confdefs.h <<\_ACEOF
48972 #define HAVE_FLOORF 1
48973 _ACEOF
48975 cat >>confdefs.h <<\_ACEOF
48976 #define HAVE_FMODF 1
48977 _ACEOF
48979 cat >>confdefs.h <<\_ACEOF
48980 #define HAVE_FREXPF 1
48981 _ACEOF
48983 cat >>confdefs.h <<\_ACEOF
48984 #define HAVE_LDEXPF 1
48985 _ACEOF
48987 cat >>confdefs.h <<\_ACEOF
48988 #define HAVE_LOG10F 1
48989 _ACEOF
48991 cat >>confdefs.h <<\_ACEOF
48992 #define HAVE_LOGF 1
48993 _ACEOF
48995 cat >>confdefs.h <<\_ACEOF
48996 #define HAVE_MODFF 1
48997 _ACEOF
48999 cat >>confdefs.h <<\_ACEOF
49000 #define HAVE_POWF 1
49001 _ACEOF
49003 cat >>confdefs.h <<\_ACEOF
49004 #define HAVE_SINF 1
49005 _ACEOF
49007 cat >>confdefs.h <<\_ACEOF
49008 #define HAVE_SINHF 1
49009 _ACEOF
49011 cat >>confdefs.h <<\_ACEOF
49012 #define HAVE_SQRTF 1
49013 _ACEOF
49015 cat >>confdefs.h <<\_ACEOF
49016 #define HAVE_TANF 1
49017 _ACEOF
49019 cat >>confdefs.h <<\_ACEOF
49020 #define HAVE_TANHF 1
49021 _ACEOF
49023 if test x"long_double_math_on_this_cpu" = x"yes"; then
49024 cat >>confdefs.h <<\_ACEOF
49025 #define HAVE_FINITEL 1
49026 _ACEOF
49028 cat >>confdefs.h <<\_ACEOF
49029 #define HAVE_ISINFL 1
49030 _ACEOF
49032 cat >>confdefs.h <<\_ACEOF
49033 #define HAVE_ISNANL 1
49034 _ACEOF
49038 *-hpux*)
49039 #os_include_dir="os/hpux"
49052 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49053 machine/endian.h machine/param.h sys/machine.h sys/types.h \
49054 fp.h locale.h float.h inttypes.h
49056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49058 echo "$as_me:$LINENO: checking for $ac_header" >&5
49059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49061 echo $ECHO_N "(cached) $ECHO_C" >&6
49063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49065 else
49066 # Is the header compilable?
49067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49069 cat >conftest.$ac_ext <<_ACEOF
49070 #line $LINENO "configure"
49071 /* confdefs.h. */
49072 _ACEOF
49073 cat confdefs.h >>conftest.$ac_ext
49074 cat >>conftest.$ac_ext <<_ACEOF
49075 /* end confdefs.h. */
49076 $ac_includes_default
49077 #include <$ac_header>
49078 _ACEOF
49079 rm -f conftest.$ac_objext
49080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49081 (eval $ac_compile) 2>&5
49082 ac_status=$?
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); } &&
49085 { ac_try='test -s conftest.$ac_objext'
49086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49087 (eval $ac_try) 2>&5
49088 ac_status=$?
49089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49090 (exit $ac_status); }; }; then
49091 ac_header_compiler=yes
49092 else
49093 echo "$as_me: failed program was:" >&5
49094 sed 's/^/| /' conftest.$ac_ext >&5
49096 ac_header_compiler=no
49098 rm -f conftest.$ac_objext conftest.$ac_ext
49099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49100 echo "${ECHO_T}$ac_header_compiler" >&6
49102 # Is the header present?
49103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49105 cat >conftest.$ac_ext <<_ACEOF
49106 #line $LINENO "configure"
49107 /* confdefs.h. */
49108 _ACEOF
49109 cat confdefs.h >>conftest.$ac_ext
49110 cat >>conftest.$ac_ext <<_ACEOF
49111 /* end confdefs.h. */
49112 #include <$ac_header>
49113 _ACEOF
49114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49116 ac_status=$?
49117 grep -v '^ *+' conftest.er1 >conftest.err
49118 rm -f conftest.er1
49119 cat conftest.err >&5
49120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49121 (exit $ac_status); } >/dev/null; then
49122 if test -s conftest.err; then
49123 ac_cpp_err=$ac_c_preproc_warn_flag
49124 else
49125 ac_cpp_err=
49127 else
49128 ac_cpp_err=yes
49130 if test -z "$ac_cpp_err"; then
49131 ac_header_preproc=yes
49132 else
49133 echo "$as_me: failed program was:" >&5
49134 sed 's/^/| /' conftest.$ac_ext >&5
49136 ac_header_preproc=no
49138 rm -f conftest.err conftest.$ac_ext
49139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49140 echo "${ECHO_T}$ac_header_preproc" >&6
49142 # So? What about this header?
49143 case $ac_header_compiler:$ac_header_preproc in
49144 yes:no )
49145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49150 cat <<\_ASBOX
49151 ## ------------------------------------ ##
49152 ## Report this to bug-autoconf@gnu.org. ##
49153 ## ------------------------------------ ##
49154 _ASBOX
49156 sed "s/^/$as_me: WARNING: /" >&2
49158 no:yes )
49159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49166 cat <<\_ASBOX
49167 ## ------------------------------------ ##
49168 ## Report this to bug-autoconf@gnu.org. ##
49169 ## ------------------------------------ ##
49170 _ASBOX
49172 sed "s/^/$as_me: WARNING: /" >&2
49174 esac
49175 echo "$as_me:$LINENO: checking for $ac_header" >&5
49176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49178 echo $ECHO_N "(cached) $ECHO_C" >&6
49179 else
49180 eval "$as_ac_Header=$ac_header_preproc"
49182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49187 cat >>confdefs.h <<_ACEOF
49188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49189 _ACEOF
49193 done
49195 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49198 # If we're not using GNU ld, then there's no point in even trying these
49199 # tests. Check for that first. We should have already tested for gld
49200 # by now (in libtool), but require it now just to be safe...
49201 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49202 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49206 # The name set by libtool depends on the version of libtool. Shame on us
49207 # for depending on an impl detail, but c'est la vie. Older versions used
49208 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49209 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49210 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49211 # set (hence we're using an older libtool), then set it.
49212 if test x${with_gnu_ld+set} != xset; then
49213 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49214 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49215 with_gnu_ld=no
49216 else
49217 with_gnu_ld=$ac_cv_prog_gnu_ld
49221 # Start by getting the version number. I think the libtool test already
49222 # does some of this, but throws away the result.
49224 ldver=`$LD --version 2>/dev/null | head -1 | \
49225 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49227 glibcxx_gnu_ld_version=`echo $ldver | \
49228 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49230 # Set --gc-sections.
49231 if test "$with_gnu_ld" = "notbroken"; then
49232 # GNU ld it is! Joy and bunny rabbits!
49234 # All these tests are for C++; save the language and the compiler flags.
49235 # Need to do this so that g++ won't try to link in libstdc++
49236 ac_test_CFLAGS="${CFLAGS+set}"
49237 ac_save_CFLAGS="$CFLAGS"
49238 CFLAGS='-x c++ -Wl,--gc-sections'
49240 # Check for -Wl,--gc-sections
49241 # XXX This test is broken at the moment, as symbols required for linking
49242 # are now in libsupc++ (not built yet). In addition, this test has
49243 # cored on solaris in the past. In addition, --gc-sections doesn't
49244 # really work at the moment (keeps on discarding used sections, first
49245 # .eh_frame and now some of the glibc sections for iconv).
49246 # Bzzzzt. Thanks for playing, maybe next time.
49247 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49248 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49249 if test "$cross_compiling" = yes; then
49250 ac_sectionLDflags=yes
49251 else
49252 cat >conftest.$ac_ext <<_ACEOF
49253 #line $LINENO "configure"
49254 /* confdefs.h. */
49255 _ACEOF
49256 cat confdefs.h >>conftest.$ac_ext
49257 cat >>conftest.$ac_ext <<_ACEOF
49258 /* end confdefs.h. */
49260 int main(void)
49262 try { throw 1; }
49263 catch (...) { };
49264 return 0;
49267 _ACEOF
49268 rm -f conftest$ac_exeext
49269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49270 (eval $ac_link) 2>&5
49271 ac_status=$?
49272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275 (eval $ac_try) 2>&5
49276 ac_status=$?
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; }; then
49279 ac_sectionLDflags=yes
49280 else
49281 echo "$as_me: program exited with status $ac_status" >&5
49282 echo "$as_me: failed program was:" >&5
49283 sed 's/^/| /' conftest.$ac_ext >&5
49285 ( exit $ac_status )
49286 ac_sectionLDflags=no
49288 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49290 if test "$ac_test_CFLAGS" = set; then
49291 CFLAGS="$ac_save_CFLAGS"
49292 else
49293 # this is the suspicious part
49294 CFLAGS=''
49296 if test "$ac_sectionLDflags" = "yes"; then
49297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49299 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49300 echo "${ECHO_T}$ac_sectionLDflags" >&6
49303 # Set linker optimization flags.
49304 if test x"$with_gnu_ld" = x"yes"; then
49305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49313 echo "$as_me:$LINENO: checking for main in -lm" >&5
49314 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49315 if test "${ac_cv_lib_m_main+set}" = set; then
49316 echo $ECHO_N "(cached) $ECHO_C" >&6
49317 else
49318 ac_check_lib_save_LIBS=$LIBS
49319 LIBS="-lm $LIBS"
49320 if test x$gcc_no_link = xyes; then
49321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49323 { (exit 1); exit 1; }; }
49325 cat >conftest.$ac_ext <<_ACEOF
49326 #line $LINENO "configure"
49327 /* confdefs.h. */
49328 _ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49335 main ()
49337 main ();
49339 return 0;
49341 _ACEOF
49342 rm -f conftest.$ac_objext conftest$ac_exeext
49343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49344 (eval $ac_link) 2>&5
49345 ac_status=$?
49346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347 (exit $ac_status); } &&
49348 { ac_try='test -s conftest$ac_exeext'
49349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49350 (eval $ac_try) 2>&5
49351 ac_status=$?
49352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49353 (exit $ac_status); }; }; then
49354 ac_cv_lib_m_main=yes
49355 else
49356 echo "$as_me: failed program was:" >&5
49357 sed 's/^/| /' conftest.$ac_ext >&5
49359 ac_cv_lib_m_main=no
49361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49362 LIBS=$ac_check_lib_save_LIBS
49364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49365 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49366 if test $ac_cv_lib_m_main = yes; then
49367 cat >>confdefs.h <<_ACEOF
49368 #define HAVE_LIBM 1
49369 _ACEOF
49371 LIBS="-lm $LIBS"
49377 for ac_func in nan copysignf
49379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49380 echo "$as_me:$LINENO: checking for $ac_func" >&5
49381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49382 if eval "test \"\${$as_ac_var+set}\" = set"; then
49383 echo $ECHO_N "(cached) $ECHO_C" >&6
49384 else
49385 if test x$gcc_no_link = xyes; then
49386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49388 { (exit 1); exit 1; }; }
49390 cat >conftest.$ac_ext <<_ACEOF
49391 #line $LINENO "configure"
49392 /* confdefs.h. */
49393 _ACEOF
49394 cat confdefs.h >>conftest.$ac_ext
49395 cat >>conftest.$ac_ext <<_ACEOF
49396 /* end confdefs.h. */
49397 /* System header to define __stub macros and hopefully few prototypes,
49398 which can conflict with char $ac_func (); below.
49399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49400 <limits.h> exists even on freestanding compilers. */
49401 #ifdef __STDC__
49402 # include <limits.h>
49403 #else
49404 # include <assert.h>
49405 #endif
49406 /* Override any gcc2 internal prototype to avoid an error. */
49407 #ifdef __cplusplus
49408 extern "C"
49410 #endif
49411 /* We use char because int might match the return type of a gcc2
49412 builtin and then its argument prototype would still apply. */
49413 char $ac_func ();
49414 /* The GNU C library defines this for functions which it implements
49415 to always fail with ENOSYS. Some functions are actually named
49416 something starting with __ and the normal name is an alias. */
49417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49418 choke me
49419 #else
49420 char (*f) () = $ac_func;
49421 #endif
49422 #ifdef __cplusplus
49424 #endif
49427 main ()
49429 return f != $ac_func;
49431 return 0;
49433 _ACEOF
49434 rm -f conftest.$ac_objext conftest$ac_exeext
49435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49436 (eval $ac_link) 2>&5
49437 ac_status=$?
49438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49439 (exit $ac_status); } &&
49440 { ac_try='test -s conftest$ac_exeext'
49441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49442 (eval $ac_try) 2>&5
49443 ac_status=$?
49444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49445 (exit $ac_status); }; }; then
49446 eval "$as_ac_var=yes"
49447 else
49448 echo "$as_me: failed program was:" >&5
49449 sed 's/^/| /' conftest.$ac_ext >&5
49451 eval "$as_ac_var=no"
49453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49457 if test `eval echo '${'$as_ac_var'}'` = yes; then
49458 cat >>confdefs.h <<_ACEOF
49459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49460 _ACEOF
49462 else
49463 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49465 done
49469 for ac_func in __signbit
49471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49472 echo "$as_me:$LINENO: checking for $ac_func" >&5
49473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49474 if eval "test \"\${$as_ac_var+set}\" = set"; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49476 else
49477 if test x$gcc_no_link = xyes; then
49478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49480 { (exit 1); exit 1; }; }
49482 cat >conftest.$ac_ext <<_ACEOF
49483 #line $LINENO "configure"
49484 /* confdefs.h. */
49485 _ACEOF
49486 cat confdefs.h >>conftest.$ac_ext
49487 cat >>conftest.$ac_ext <<_ACEOF
49488 /* end confdefs.h. */
49489 /* System header to define __stub macros and hopefully few prototypes,
49490 which can conflict with char $ac_func (); below.
49491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49492 <limits.h> exists even on freestanding compilers. */
49493 #ifdef __STDC__
49494 # include <limits.h>
49495 #else
49496 # include <assert.h>
49497 #endif
49498 /* Override any gcc2 internal prototype to avoid an error. */
49499 #ifdef __cplusplus
49500 extern "C"
49502 #endif
49503 /* We use char because int might match the return type of a gcc2
49504 builtin and then its argument prototype would still apply. */
49505 char $ac_func ();
49506 /* The GNU C library defines this for functions which it implements
49507 to always fail with ENOSYS. Some functions are actually named
49508 something starting with __ and the normal name is an alias. */
49509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49510 choke me
49511 #else
49512 char (*f) () = $ac_func;
49513 #endif
49514 #ifdef __cplusplus
49516 #endif
49519 main ()
49521 return f != $ac_func;
49523 return 0;
49525 _ACEOF
49526 rm -f conftest.$ac_objext conftest$ac_exeext
49527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49528 (eval $ac_link) 2>&5
49529 ac_status=$?
49530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49531 (exit $ac_status); } &&
49532 { ac_try='test -s conftest$ac_exeext'
49533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49534 (eval $ac_try) 2>&5
49535 ac_status=$?
49536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537 (exit $ac_status); }; }; then
49538 eval "$as_ac_var=yes"
49539 else
49540 echo "$as_me: failed program was:" >&5
49541 sed 's/^/| /' conftest.$ac_ext >&5
49543 eval "$as_ac_var=no"
49545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49549 if test `eval echo '${'$as_ac_var'}'` = yes; then
49550 cat >>confdefs.h <<_ACEOF
49551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49552 _ACEOF
49554 else
49555 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49557 done
49560 for ac_func in __signbitf
49562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49563 echo "$as_me:$LINENO: checking for $ac_func" >&5
49564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49565 if eval "test \"\${$as_ac_var+set}\" = set"; then
49566 echo $ECHO_N "(cached) $ECHO_C" >&6
49567 else
49568 if test x$gcc_no_link = xyes; then
49569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49571 { (exit 1); exit 1; }; }
49573 cat >conftest.$ac_ext <<_ACEOF
49574 #line $LINENO "configure"
49575 /* confdefs.h. */
49576 _ACEOF
49577 cat confdefs.h >>conftest.$ac_ext
49578 cat >>conftest.$ac_ext <<_ACEOF
49579 /* end confdefs.h. */
49580 /* System header to define __stub macros and hopefully few prototypes,
49581 which can conflict with char $ac_func (); below.
49582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49583 <limits.h> exists even on freestanding compilers. */
49584 #ifdef __STDC__
49585 # include <limits.h>
49586 #else
49587 # include <assert.h>
49588 #endif
49589 /* Override any gcc2 internal prototype to avoid an error. */
49590 #ifdef __cplusplus
49591 extern "C"
49593 #endif
49594 /* We use char because int might match the return type of a gcc2
49595 builtin and then its argument prototype would still apply. */
49596 char $ac_func ();
49597 /* The GNU C library defines this for functions which it implements
49598 to always fail with ENOSYS. Some functions are actually named
49599 something starting with __ and the normal name is an alias. */
49600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49601 choke me
49602 #else
49603 char (*f) () = $ac_func;
49604 #endif
49605 #ifdef __cplusplus
49607 #endif
49610 main ()
49612 return f != $ac_func;
49614 return 0;
49616 _ACEOF
49617 rm -f conftest.$ac_objext conftest$ac_exeext
49618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49619 (eval $ac_link) 2>&5
49620 ac_status=$?
49621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49622 (exit $ac_status); } &&
49623 { ac_try='test -s conftest$ac_exeext'
49624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49625 (eval $ac_try) 2>&5
49626 ac_status=$?
49627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49628 (exit $ac_status); }; }; then
49629 eval "$as_ac_var=yes"
49630 else
49631 echo "$as_me: failed program was:" >&5
49632 sed 's/^/| /' conftest.$ac_ext >&5
49634 eval "$as_ac_var=no"
49636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49640 if test `eval echo '${'$as_ac_var'}'` = yes; then
49641 cat >>confdefs.h <<_ACEOF
49642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49643 _ACEOF
49645 else
49646 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49648 done
49651 if test x$ac_cv_func_copysignl = x"yes"; then
49653 for ac_func in __signbitl
49655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49656 echo "$as_me:$LINENO: checking for $ac_func" >&5
49657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49658 if eval "test \"\${$as_ac_var+set}\" = set"; then
49659 echo $ECHO_N "(cached) $ECHO_C" >&6
49660 else
49661 if test x$gcc_no_link = xyes; then
49662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49664 { (exit 1); exit 1; }; }
49666 cat >conftest.$ac_ext <<_ACEOF
49667 #line $LINENO "configure"
49668 /* confdefs.h. */
49669 _ACEOF
49670 cat confdefs.h >>conftest.$ac_ext
49671 cat >>conftest.$ac_ext <<_ACEOF
49672 /* end confdefs.h. */
49673 /* System header to define __stub macros and hopefully few prototypes,
49674 which can conflict with char $ac_func (); below.
49675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49676 <limits.h> exists even on freestanding compilers. */
49677 #ifdef __STDC__
49678 # include <limits.h>
49679 #else
49680 # include <assert.h>
49681 #endif
49682 /* Override any gcc2 internal prototype to avoid an error. */
49683 #ifdef __cplusplus
49684 extern "C"
49686 #endif
49687 /* We use char because int might match the return type of a gcc2
49688 builtin and then its argument prototype would still apply. */
49689 char $ac_func ();
49690 /* The GNU C library defines this for functions which it implements
49691 to always fail with ENOSYS. Some functions are actually named
49692 something starting with __ and the normal name is an alias. */
49693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49694 choke me
49695 #else
49696 char (*f) () = $ac_func;
49697 #endif
49698 #ifdef __cplusplus
49700 #endif
49703 main ()
49705 return f != $ac_func;
49707 return 0;
49709 _ACEOF
49710 rm -f conftest.$ac_objext conftest$ac_exeext
49711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49712 (eval $ac_link) 2>&5
49713 ac_status=$?
49714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715 (exit $ac_status); } &&
49716 { ac_try='test -s conftest$ac_exeext'
49717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49718 (eval $ac_try) 2>&5
49719 ac_status=$?
49720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721 (exit $ac_status); }; }; then
49722 eval "$as_ac_var=yes"
49723 else
49724 echo "$as_me: failed program was:" >&5
49725 sed 's/^/| /' conftest.$ac_ext >&5
49727 eval "$as_ac_var=no"
49729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49733 if test `eval echo '${'$as_ac_var'}'` = yes; then
49734 cat >>confdefs.h <<_ACEOF
49735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49738 else
49739 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49741 done
49745 # XXX Review this. Nothing uses it.
49746 if test -n "$LIBMATHOBJS"; then
49747 need_libmath=yes
49752 # Test wchar.h for mbstate_t, which is needed for char_traits and
49753 # others even if wchar_t support is not on.
49754 echo "$as_me:$LINENO: checking for mbstate_t" >&5
49755 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49756 cat >conftest.$ac_ext <<_ACEOF
49757 #line $LINENO "configure"
49758 /* confdefs.h. */
49759 _ACEOF
49760 cat confdefs.h >>conftest.$ac_ext
49761 cat >>conftest.$ac_ext <<_ACEOF
49762 /* end confdefs.h. */
49763 #include <wchar.h>
49765 main ()
49767 mbstate_t teststate;
49769 return 0;
49771 _ACEOF
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774 (eval $ac_compile) 2>&5
49775 ac_status=$?
49776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49777 (exit $ac_status); } &&
49778 { ac_try='test -s conftest.$ac_objext'
49779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49780 (eval $ac_try) 2>&5
49781 ac_status=$?
49782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49783 (exit $ac_status); }; }; then
49784 have_mbstate_t=yes
49785 else
49786 echo "$as_me: failed program was:" >&5
49787 sed 's/^/| /' conftest.$ac_ext >&5
49789 have_mbstate_t=no
49791 rm -f conftest.$ac_objext conftest.$ac_ext
49792 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49793 echo "${ECHO_T}$have_mbstate_t" >&6
49794 if test x"$have_mbstate_t" = xyes; then
49795 cat >>confdefs.h <<\_ACEOF
49796 #define HAVE_MBSTATE_T 1
49797 _ACEOF
49801 # Sanity check for existence of ISO C99 headers for extended encoding.
49803 for ac_header in wchar.h
49805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49807 echo "$as_me:$LINENO: checking for $ac_header" >&5
49808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49814 else
49815 # Is the header compilable?
49816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49818 cat >conftest.$ac_ext <<_ACEOF
49819 #line $LINENO "configure"
49820 /* confdefs.h. */
49821 _ACEOF
49822 cat confdefs.h >>conftest.$ac_ext
49823 cat >>conftest.$ac_ext <<_ACEOF
49824 /* end confdefs.h. */
49825 $ac_includes_default
49826 #include <$ac_header>
49827 _ACEOF
49828 rm -f conftest.$ac_objext
49829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49830 (eval $ac_compile) 2>&5
49831 ac_status=$?
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); } &&
49834 { ac_try='test -s conftest.$ac_objext'
49835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49836 (eval $ac_try) 2>&5
49837 ac_status=$?
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); }; }; then
49840 ac_header_compiler=yes
49841 else
49842 echo "$as_me: failed program was:" >&5
49843 sed 's/^/| /' conftest.$ac_ext >&5
49845 ac_header_compiler=no
49847 rm -f conftest.$ac_objext conftest.$ac_ext
49848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49849 echo "${ECHO_T}$ac_header_compiler" >&6
49851 # Is the header present?
49852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49854 cat >conftest.$ac_ext <<_ACEOF
49855 #line $LINENO "configure"
49856 /* confdefs.h. */
49857 _ACEOF
49858 cat confdefs.h >>conftest.$ac_ext
49859 cat >>conftest.$ac_ext <<_ACEOF
49860 /* end confdefs.h. */
49861 #include <$ac_header>
49862 _ACEOF
49863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49865 ac_status=$?
49866 grep -v '^ *+' conftest.er1 >conftest.err
49867 rm -f conftest.er1
49868 cat conftest.err >&5
49869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49870 (exit $ac_status); } >/dev/null; then
49871 if test -s conftest.err; then
49872 ac_cpp_err=$ac_c_preproc_warn_flag
49873 else
49874 ac_cpp_err=
49876 else
49877 ac_cpp_err=yes
49879 if test -z "$ac_cpp_err"; then
49880 ac_header_preproc=yes
49881 else
49882 echo "$as_me: failed program was:" >&5
49883 sed 's/^/| /' conftest.$ac_ext >&5
49885 ac_header_preproc=no
49887 rm -f conftest.err conftest.$ac_ext
49888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49889 echo "${ECHO_T}$ac_header_preproc" >&6
49891 # So? What about this header?
49892 case $ac_header_compiler:$ac_header_preproc in
49893 yes:no )
49894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49899 cat <<\_ASBOX
49900 ## ------------------------------------ ##
49901 ## Report this to bug-autoconf@gnu.org. ##
49902 ## ------------------------------------ ##
49903 _ASBOX
49905 sed "s/^/$as_me: WARNING: /" >&2
49907 no:yes )
49908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49915 cat <<\_ASBOX
49916 ## ------------------------------------ ##
49917 ## Report this to bug-autoconf@gnu.org. ##
49918 ## ------------------------------------ ##
49919 _ASBOX
49921 sed "s/^/$as_me: WARNING: /" >&2
49923 esac
49924 echo "$as_me:$LINENO: checking for $ac_header" >&5
49925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 else
49929 eval "$as_ac_Header=$ac_header_preproc"
49931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49936 cat >>confdefs.h <<_ACEOF
49937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49938 _ACEOF
49939 ac_has_wchar_h=yes
49940 else
49941 ac_has_wchar_h=no
49944 done
49947 for ac_header in wctype.h
49949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49951 echo "$as_me:$LINENO: checking for $ac_header" >&5
49952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49954 echo $ECHO_N "(cached) $ECHO_C" >&6
49956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49958 else
49959 # Is the header compilable?
49960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49962 cat >conftest.$ac_ext <<_ACEOF
49963 #line $LINENO "configure"
49964 /* confdefs.h. */
49965 _ACEOF
49966 cat confdefs.h >>conftest.$ac_ext
49967 cat >>conftest.$ac_ext <<_ACEOF
49968 /* end confdefs.h. */
49969 $ac_includes_default
49970 #include <$ac_header>
49971 _ACEOF
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974 (eval $ac_compile) 2>&5
49975 ac_status=$?
49976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49977 (exit $ac_status); } &&
49978 { ac_try='test -s conftest.$ac_objext'
49979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49980 (eval $ac_try) 2>&5
49981 ac_status=$?
49982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49983 (exit $ac_status); }; }; then
49984 ac_header_compiler=yes
49985 else
49986 echo "$as_me: failed program was:" >&5
49987 sed 's/^/| /' conftest.$ac_ext >&5
49989 ac_header_compiler=no
49991 rm -f conftest.$ac_objext conftest.$ac_ext
49992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49993 echo "${ECHO_T}$ac_header_compiler" >&6
49995 # Is the header present?
49996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49998 cat >conftest.$ac_ext <<_ACEOF
49999 #line $LINENO "configure"
50000 /* confdefs.h. */
50001 _ACEOF
50002 cat confdefs.h >>conftest.$ac_ext
50003 cat >>conftest.$ac_ext <<_ACEOF
50004 /* end confdefs.h. */
50005 #include <$ac_header>
50006 _ACEOF
50007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50009 ac_status=$?
50010 grep -v '^ *+' conftest.er1 >conftest.err
50011 rm -f conftest.er1
50012 cat conftest.err >&5
50013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014 (exit $ac_status); } >/dev/null; then
50015 if test -s conftest.err; then
50016 ac_cpp_err=$ac_c_preproc_warn_flag
50017 else
50018 ac_cpp_err=
50020 else
50021 ac_cpp_err=yes
50023 if test -z "$ac_cpp_err"; then
50024 ac_header_preproc=yes
50025 else
50026 echo "$as_me: failed program was:" >&5
50027 sed 's/^/| /' conftest.$ac_ext >&5
50029 ac_header_preproc=no
50031 rm -f conftest.err conftest.$ac_ext
50032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50033 echo "${ECHO_T}$ac_header_preproc" >&6
50035 # So? What about this header?
50036 case $ac_header_compiler:$ac_header_preproc in
50037 yes:no )
50038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50043 cat <<\_ASBOX
50044 ## ------------------------------------ ##
50045 ## Report this to bug-autoconf@gnu.org. ##
50046 ## ------------------------------------ ##
50047 _ASBOX
50049 sed "s/^/$as_me: WARNING: /" >&2
50051 no:yes )
50052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50059 cat <<\_ASBOX
50060 ## ------------------------------------ ##
50061 ## Report this to bug-autoconf@gnu.org. ##
50062 ## ------------------------------------ ##
50063 _ASBOX
50065 sed "s/^/$as_me: WARNING: /" >&2
50067 esac
50068 echo "$as_me:$LINENO: checking for $ac_header" >&5
50069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50071 echo $ECHO_N "(cached) $ECHO_C" >&6
50072 else
50073 eval "$as_ac_Header=$ac_header_preproc"
50075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50080 cat >>confdefs.h <<_ACEOF
50081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50082 _ACEOF
50083 ac_has_wctype_h=yes
50084 else
50085 ac_has_wctype_h=no
50088 done
50091 # Only continue checking if the ISO C99 headers exist and support is on.
50092 if test x"$ac_has_wchar_h" = xyes &&
50093 test x"$ac_has_wctype_h" = xyes &&
50094 test x"$enable_c_mbchar" != xno; then
50096 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50097 # numeric_limits can instantiate type_traits<wchar_t>
50098 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50099 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50100 cat >conftest.$ac_ext <<_ACEOF
50101 #line $LINENO "configure"
50102 /* confdefs.h. */
50103 _ACEOF
50104 cat confdefs.h >>conftest.$ac_ext
50105 cat >>conftest.$ac_ext <<_ACEOF
50106 /* end confdefs.h. */
50107 #include <wchar.h>
50109 main ()
50111 int i = WCHAR_MIN; int j = WCHAR_MAX;
50113 return 0;
50115 _ACEOF
50116 rm -f conftest.$ac_objext
50117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50118 (eval $ac_compile) 2>&5
50119 ac_status=$?
50120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50121 (exit $ac_status); } &&
50122 { ac_try='test -s conftest.$ac_objext'
50123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50124 (eval $ac_try) 2>&5
50125 ac_status=$?
50126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50127 (exit $ac_status); }; }; then
50128 has_wchar_minmax=yes
50129 else
50130 echo "$as_me: failed program was:" >&5
50131 sed 's/^/| /' conftest.$ac_ext >&5
50133 has_wchar_minmax=no
50135 rm -f conftest.$ac_objext conftest.$ac_ext
50136 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50137 echo "${ECHO_T}$has_wchar_minmax" >&6
50139 # Test wchar.h for WEOF, which is what we use to determine whether
50140 # to specialize for char_traits<wchar_t> or not.
50141 echo "$as_me:$LINENO: checking for WEOF" >&5
50142 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50143 cat >conftest.$ac_ext <<_ACEOF
50144 #line $LINENO "configure"
50145 /* confdefs.h. */
50146 _ACEOF
50147 cat confdefs.h >>conftest.$ac_ext
50148 cat >>conftest.$ac_ext <<_ACEOF
50149 /* end confdefs.h. */
50151 #include <wchar.h>
50152 #include <stddef.h>
50154 main ()
50156 wint_t i = WEOF;
50158 return 0;
50160 _ACEOF
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163 (eval $ac_compile) 2>&5
50164 ac_status=$?
50165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50166 (exit $ac_status); } &&
50167 { ac_try='test -s conftest.$ac_objext'
50168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50169 (eval $ac_try) 2>&5
50170 ac_status=$?
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50173 has_weof=yes
50174 else
50175 echo "$as_me: failed program was:" >&5
50176 sed 's/^/| /' conftest.$ac_ext >&5
50178 has_weof=no
50180 rm -f conftest.$ac_objext conftest.$ac_ext
50181 echo "$as_me:$LINENO: result: $has_weof" >&5
50182 echo "${ECHO_T}$has_weof" >&6
50184 # Tests for wide character functions used in char_traits<wchar_t>.
50185 ac_wfuncs=yes
50192 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50195 echo "$as_me:$LINENO: checking for $ac_func" >&5
50196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50197 if eval "test \"\${$as_ac_var+set}\" = set"; then
50198 echo $ECHO_N "(cached) $ECHO_C" >&6
50199 else
50200 if test x$gcc_no_link = xyes; then
50201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50203 { (exit 1); exit 1; }; }
50205 cat >conftest.$ac_ext <<_ACEOF
50206 #line $LINENO "configure"
50207 /* confdefs.h. */
50208 _ACEOF
50209 cat confdefs.h >>conftest.$ac_ext
50210 cat >>conftest.$ac_ext <<_ACEOF
50211 /* end confdefs.h. */
50212 /* System header to define __stub macros and hopefully few prototypes,
50213 which can conflict with char $ac_func (); below.
50214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50215 <limits.h> exists even on freestanding compilers. */
50216 #ifdef __STDC__
50217 # include <limits.h>
50218 #else
50219 # include <assert.h>
50220 #endif
50221 /* Override any gcc2 internal prototype to avoid an error. */
50222 #ifdef __cplusplus
50223 extern "C"
50225 #endif
50226 /* We use char because int might match the return type of a gcc2
50227 builtin and then its argument prototype would still apply. */
50228 char $ac_func ();
50229 /* The GNU C library defines this for functions which it implements
50230 to always fail with ENOSYS. Some functions are actually named
50231 something starting with __ and the normal name is an alias. */
50232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50233 choke me
50234 #else
50235 char (*f) () = $ac_func;
50236 #endif
50237 #ifdef __cplusplus
50239 #endif
50242 main ()
50244 return f != $ac_func;
50246 return 0;
50248 _ACEOF
50249 rm -f conftest.$ac_objext conftest$ac_exeext
50250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50251 (eval $ac_link) 2>&5
50252 ac_status=$?
50253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50254 (exit $ac_status); } &&
50255 { ac_try='test -s conftest$ac_exeext'
50256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50257 (eval $ac_try) 2>&5
50258 ac_status=$?
50259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50260 (exit $ac_status); }; }; then
50261 eval "$as_ac_var=yes"
50262 else
50263 echo "$as_me: failed program was:" >&5
50264 sed 's/^/| /' conftest.$ac_ext >&5
50266 eval "$as_ac_var=no"
50268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50272 if test `eval echo '${'$as_ac_var'}'` = yes; then
50273 cat >>confdefs.h <<_ACEOF
50274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50275 _ACEOF
50277 else
50278 ac_wfuncs=no
50280 done
50283 # Checks for names injected into std:: by the c_std headers.
50330 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50331 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50332 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50333 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50334 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50335 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50338 echo "$as_me:$LINENO: checking for $ac_func" >&5
50339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50340 if eval "test \"\${$as_ac_var+set}\" = set"; then
50341 echo $ECHO_N "(cached) $ECHO_C" >&6
50342 else
50343 if test x$gcc_no_link = xyes; then
50344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50346 { (exit 1); exit 1; }; }
50348 cat >conftest.$ac_ext <<_ACEOF
50349 #line $LINENO "configure"
50350 /* confdefs.h. */
50351 _ACEOF
50352 cat confdefs.h >>conftest.$ac_ext
50353 cat >>conftest.$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50355 /* System header to define __stub macros and hopefully few prototypes,
50356 which can conflict with char $ac_func (); below.
50357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50358 <limits.h> exists even on freestanding compilers. */
50359 #ifdef __STDC__
50360 # include <limits.h>
50361 #else
50362 # include <assert.h>
50363 #endif
50364 /* Override any gcc2 internal prototype to avoid an error. */
50365 #ifdef __cplusplus
50366 extern "C"
50368 #endif
50369 /* We use char because int might match the return type of a gcc2
50370 builtin and then its argument prototype would still apply. */
50371 char $ac_func ();
50372 /* The GNU C library defines this for functions which it implements
50373 to always fail with ENOSYS. Some functions are actually named
50374 something starting with __ and the normal name is an alias. */
50375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50376 choke me
50377 #else
50378 char (*f) () = $ac_func;
50379 #endif
50380 #ifdef __cplusplus
50382 #endif
50385 main ()
50387 return f != $ac_func;
50389 return 0;
50391 _ACEOF
50392 rm -f conftest.$ac_objext conftest$ac_exeext
50393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50394 (eval $ac_link) 2>&5
50395 ac_status=$?
50396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50397 (exit $ac_status); } &&
50398 { ac_try='test -s conftest$ac_exeext'
50399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50400 (eval $ac_try) 2>&5
50401 ac_status=$?
50402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50403 (exit $ac_status); }; }; then
50404 eval "$as_ac_var=yes"
50405 else
50406 echo "$as_me: failed program was:" >&5
50407 sed 's/^/| /' conftest.$ac_ext >&5
50409 eval "$as_ac_var=no"
50411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50415 if test `eval echo '${'$as_ac_var'}'` = yes; then
50416 cat >>confdefs.h <<_ACEOF
50417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50418 _ACEOF
50420 else
50421 ac_wfuncs=no
50423 done
50426 # Checks for wide character functions that are not required
50427 # for basic wchar_t support. Don't disable support if they are missing.
50428 # Injection of these is wrapped with guard macros.
50434 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50437 echo "$as_me:$LINENO: checking for $ac_func" >&5
50438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50439 if eval "test \"\${$as_ac_var+set}\" = set"; then
50440 echo $ECHO_N "(cached) $ECHO_C" >&6
50441 else
50442 if test x$gcc_no_link = xyes; then
50443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50445 { (exit 1); exit 1; }; }
50447 cat >conftest.$ac_ext <<_ACEOF
50448 #line $LINENO "configure"
50449 /* confdefs.h. */
50450 _ACEOF
50451 cat confdefs.h >>conftest.$ac_ext
50452 cat >>conftest.$ac_ext <<_ACEOF
50453 /* end confdefs.h. */
50454 /* System header to define __stub macros and hopefully few prototypes,
50455 which can conflict with char $ac_func (); below.
50456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50457 <limits.h> exists even on freestanding compilers. */
50458 #ifdef __STDC__
50459 # include <limits.h>
50460 #else
50461 # include <assert.h>
50462 #endif
50463 /* Override any gcc2 internal prototype to avoid an error. */
50464 #ifdef __cplusplus
50465 extern "C"
50467 #endif
50468 /* We use char because int might match the return type of a gcc2
50469 builtin and then its argument prototype would still apply. */
50470 char $ac_func ();
50471 /* The GNU C library defines this for functions which it implements
50472 to always fail with ENOSYS. Some functions are actually named
50473 something starting with __ and the normal name is an alias. */
50474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50475 choke me
50476 #else
50477 char (*f) () = $ac_func;
50478 #endif
50479 #ifdef __cplusplus
50481 #endif
50484 main ()
50486 return f != $ac_func;
50488 return 0;
50490 _ACEOF
50491 rm -f conftest.$ac_objext conftest$ac_exeext
50492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50493 (eval $ac_link) 2>&5
50494 ac_status=$?
50495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50496 (exit $ac_status); } &&
50497 { ac_try='test -s conftest$ac_exeext'
50498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50499 (eval $ac_try) 2>&5
50500 ac_status=$?
50501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502 (exit $ac_status); }; }; then
50503 eval "$as_ac_var=yes"
50504 else
50505 echo "$as_me: failed program was:" >&5
50506 sed 's/^/| /' conftest.$ac_ext >&5
50508 eval "$as_ac_var=no"
50510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50514 if test `eval echo '${'$as_ac_var'}'` = yes; then
50515 cat >>confdefs.h <<_ACEOF
50516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50517 _ACEOF
50520 done
50523 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50524 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50525 if test x"$has_weof" = xyes &&
50526 test x"$has_wchar_minmax" = xyes &&
50527 test x"$ac_wfuncs" = xyes;
50528 then
50529 ac_isoC99_wchar_t=yes
50530 else
50531 ac_isoC99_wchar_t=no
50533 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50534 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50536 # Use iconv for wchar_t to char conversions. As such, check for
50537 # X/Open Portability Guide, version 2 features (XPG2).
50538 if test "${ac_cv_header_iconv_h+set}" = set; then
50539 echo "$as_me:$LINENO: checking for iconv.h" >&5
50540 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50541 if test "${ac_cv_header_iconv_h+set}" = set; then
50542 echo $ECHO_N "(cached) $ECHO_C" >&6
50544 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50545 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50546 else
50547 # Is the header compilable?
50548 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50549 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50550 cat >conftest.$ac_ext <<_ACEOF
50551 #line $LINENO "configure"
50552 /* confdefs.h. */
50553 _ACEOF
50554 cat confdefs.h >>conftest.$ac_ext
50555 cat >>conftest.$ac_ext <<_ACEOF
50556 /* end confdefs.h. */
50557 $ac_includes_default
50558 #include <iconv.h>
50559 _ACEOF
50560 rm -f conftest.$ac_objext
50561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50562 (eval $ac_compile) 2>&5
50563 ac_status=$?
50564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50565 (exit $ac_status); } &&
50566 { ac_try='test -s conftest.$ac_objext'
50567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50568 (eval $ac_try) 2>&5
50569 ac_status=$?
50570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50571 (exit $ac_status); }; }; then
50572 ac_header_compiler=yes
50573 else
50574 echo "$as_me: failed program was:" >&5
50575 sed 's/^/| /' conftest.$ac_ext >&5
50577 ac_header_compiler=no
50579 rm -f conftest.$ac_objext conftest.$ac_ext
50580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50581 echo "${ECHO_T}$ac_header_compiler" >&6
50583 # Is the header present?
50584 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50585 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50586 cat >conftest.$ac_ext <<_ACEOF
50587 #line $LINENO "configure"
50588 /* confdefs.h. */
50589 _ACEOF
50590 cat confdefs.h >>conftest.$ac_ext
50591 cat >>conftest.$ac_ext <<_ACEOF
50592 /* end confdefs.h. */
50593 #include <iconv.h>
50594 _ACEOF
50595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50597 ac_status=$?
50598 grep -v '^ *+' conftest.er1 >conftest.err
50599 rm -f conftest.er1
50600 cat conftest.err >&5
50601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50602 (exit $ac_status); } >/dev/null; then
50603 if test -s conftest.err; then
50604 ac_cpp_err=$ac_c_preproc_warn_flag
50605 else
50606 ac_cpp_err=
50608 else
50609 ac_cpp_err=yes
50611 if test -z "$ac_cpp_err"; then
50612 ac_header_preproc=yes
50613 else
50614 echo "$as_me: failed program was:" >&5
50615 sed 's/^/| /' conftest.$ac_ext >&5
50617 ac_header_preproc=no
50619 rm -f conftest.err conftest.$ac_ext
50620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50621 echo "${ECHO_T}$ac_header_preproc" >&6
50623 # So? What about this header?
50624 case $ac_header_compiler:$ac_header_preproc in
50625 yes:no )
50626 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50627 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50628 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50629 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50631 cat <<\_ASBOX
50632 ## ------------------------------------ ##
50633 ## Report this to bug-autoconf@gnu.org. ##
50634 ## ------------------------------------ ##
50635 _ASBOX
50637 sed "s/^/$as_me: WARNING: /" >&2
50639 no:yes )
50640 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50641 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50642 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50643 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50644 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50645 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50647 cat <<\_ASBOX
50648 ## ------------------------------------ ##
50649 ## Report this to bug-autoconf@gnu.org. ##
50650 ## ------------------------------------ ##
50651 _ASBOX
50653 sed "s/^/$as_me: WARNING: /" >&2
50655 esac
50656 echo "$as_me:$LINENO: checking for iconv.h" >&5
50657 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50658 if test "${ac_cv_header_iconv_h+set}" = set; then
50659 echo $ECHO_N "(cached) $ECHO_C" >&6
50660 else
50661 ac_cv_header_iconv_h=$ac_header_preproc
50663 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50664 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50667 if test $ac_cv_header_iconv_h = yes; then
50668 ac_has_iconv_h=yes
50669 else
50670 ac_has_iconv_h=no
50674 if test "${ac_cv_header_langinfo_h+set}" = set; then
50675 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50676 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50677 if test "${ac_cv_header_langinfo_h+set}" = set; then
50678 echo $ECHO_N "(cached) $ECHO_C" >&6
50680 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50681 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50682 else
50683 # Is the header compilable?
50684 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50685 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50686 cat >conftest.$ac_ext <<_ACEOF
50687 #line $LINENO "configure"
50688 /* confdefs.h. */
50689 _ACEOF
50690 cat confdefs.h >>conftest.$ac_ext
50691 cat >>conftest.$ac_ext <<_ACEOF
50692 /* end confdefs.h. */
50693 $ac_includes_default
50694 #include <langinfo.h>
50695 _ACEOF
50696 rm -f conftest.$ac_objext
50697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50698 (eval $ac_compile) 2>&5
50699 ac_status=$?
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); } &&
50702 { ac_try='test -s conftest.$ac_objext'
50703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704 (eval $ac_try) 2>&5
50705 ac_status=$?
50706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707 (exit $ac_status); }; }; then
50708 ac_header_compiler=yes
50709 else
50710 echo "$as_me: failed program was:" >&5
50711 sed 's/^/| /' conftest.$ac_ext >&5
50713 ac_header_compiler=no
50715 rm -f conftest.$ac_objext conftest.$ac_ext
50716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50717 echo "${ECHO_T}$ac_header_compiler" >&6
50719 # Is the header present?
50720 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50721 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50722 cat >conftest.$ac_ext <<_ACEOF
50723 #line $LINENO "configure"
50724 /* confdefs.h. */
50725 _ACEOF
50726 cat confdefs.h >>conftest.$ac_ext
50727 cat >>conftest.$ac_ext <<_ACEOF
50728 /* end confdefs.h. */
50729 #include <langinfo.h>
50730 _ACEOF
50731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50733 ac_status=$?
50734 grep -v '^ *+' conftest.er1 >conftest.err
50735 rm -f conftest.er1
50736 cat conftest.err >&5
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); } >/dev/null; then
50739 if test -s conftest.err; then
50740 ac_cpp_err=$ac_c_preproc_warn_flag
50741 else
50742 ac_cpp_err=
50744 else
50745 ac_cpp_err=yes
50747 if test -z "$ac_cpp_err"; then
50748 ac_header_preproc=yes
50749 else
50750 echo "$as_me: failed program was:" >&5
50751 sed 's/^/| /' conftest.$ac_ext >&5
50753 ac_header_preproc=no
50755 rm -f conftest.err conftest.$ac_ext
50756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50757 echo "${ECHO_T}$ac_header_preproc" >&6
50759 # So? What about this header?
50760 case $ac_header_compiler:$ac_header_preproc in
50761 yes:no )
50762 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50763 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50764 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50765 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50767 cat <<\_ASBOX
50768 ## ------------------------------------ ##
50769 ## Report this to bug-autoconf@gnu.org. ##
50770 ## ------------------------------------ ##
50771 _ASBOX
50773 sed "s/^/$as_me: WARNING: /" >&2
50775 no:yes )
50776 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50777 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50778 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50779 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50780 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50781 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50783 cat <<\_ASBOX
50784 ## ------------------------------------ ##
50785 ## Report this to bug-autoconf@gnu.org. ##
50786 ## ------------------------------------ ##
50787 _ASBOX
50789 sed "s/^/$as_me: WARNING: /" >&2
50791 esac
50792 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50793 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50794 if test "${ac_cv_header_langinfo_h+set}" = set; then
50795 echo $ECHO_N "(cached) $ECHO_C" >&6
50796 else
50797 ac_cv_header_langinfo_h=$ac_header_preproc
50799 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50800 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50803 if test $ac_cv_header_langinfo_h = yes; then
50804 ac_has_langinfo_h=yes
50805 else
50806 ac_has_langinfo_h=no
50811 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50812 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50813 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50814 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50815 echo $ECHO_N "(cached) $ECHO_C" >&6
50816 else
50817 ac_check_lib_save_LIBS=$LIBS
50818 LIBS="-liconv $LIBS"
50819 if test x$gcc_no_link = xyes; then
50820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50822 { (exit 1); exit 1; }; }
50824 cat >conftest.$ac_ext <<_ACEOF
50825 #line $LINENO "configure"
50826 /* confdefs.h. */
50827 _ACEOF
50828 cat confdefs.h >>conftest.$ac_ext
50829 cat >>conftest.$ac_ext <<_ACEOF
50830 /* end confdefs.h. */
50832 /* Override any gcc2 internal prototype to avoid an error. */
50833 #ifdef __cplusplus
50834 extern "C"
50835 #endif
50836 /* We use char because int might match the return type of a gcc2
50837 builtin and then its argument prototype would still apply. */
50838 char iconv ();
50840 main ()
50842 iconv ();
50844 return 0;
50846 _ACEOF
50847 rm -f conftest.$ac_objext conftest$ac_exeext
50848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50849 (eval $ac_link) 2>&5
50850 ac_status=$?
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); } &&
50853 { ac_try='test -s conftest$ac_exeext'
50854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50855 (eval $ac_try) 2>&5
50856 ac_status=$?
50857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50858 (exit $ac_status); }; }; then
50859 ac_cv_lib_iconv_iconv=yes
50860 else
50861 echo "$as_me: failed program was:" >&5
50862 sed 's/^/| /' conftest.$ac_ext >&5
50864 ac_cv_lib_iconv_iconv=no
50866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50867 LIBS=$ac_check_lib_save_LIBS
50869 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50870 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50871 if test $ac_cv_lib_iconv_iconv = yes; then
50872 libiconv="-liconv"
50875 ac_save_LIBS="$LIBS"
50876 LIBS="$LIBS $libiconv"
50882 for ac_func in iconv_open iconv_close iconv nl_langinfo
50884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50885 echo "$as_me:$LINENO: checking for $ac_func" >&5
50886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50887 if eval "test \"\${$as_ac_var+set}\" = set"; then
50888 echo $ECHO_N "(cached) $ECHO_C" >&6
50889 else
50890 if test x$gcc_no_link = xyes; then
50891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50893 { (exit 1); exit 1; }; }
50895 cat >conftest.$ac_ext <<_ACEOF
50896 #line $LINENO "configure"
50897 /* confdefs.h. */
50898 _ACEOF
50899 cat confdefs.h >>conftest.$ac_ext
50900 cat >>conftest.$ac_ext <<_ACEOF
50901 /* end confdefs.h. */
50902 /* System header to define __stub macros and hopefully few prototypes,
50903 which can conflict with char $ac_func (); below.
50904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50905 <limits.h> exists even on freestanding compilers. */
50906 #ifdef __STDC__
50907 # include <limits.h>
50908 #else
50909 # include <assert.h>
50910 #endif
50911 /* Override any gcc2 internal prototype to avoid an error. */
50912 #ifdef __cplusplus
50913 extern "C"
50915 #endif
50916 /* We use char because int might match the return type of a gcc2
50917 builtin and then its argument prototype would still apply. */
50918 char $ac_func ();
50919 /* The GNU C library defines this for functions which it implements
50920 to always fail with ENOSYS. Some functions are actually named
50921 something starting with __ and the normal name is an alias. */
50922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50923 choke me
50924 #else
50925 char (*f) () = $ac_func;
50926 #endif
50927 #ifdef __cplusplus
50929 #endif
50932 main ()
50934 return f != $ac_func;
50936 return 0;
50938 _ACEOF
50939 rm -f conftest.$ac_objext conftest$ac_exeext
50940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50941 (eval $ac_link) 2>&5
50942 ac_status=$?
50943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944 (exit $ac_status); } &&
50945 { ac_try='test -s conftest$ac_exeext'
50946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947 (eval $ac_try) 2>&5
50948 ac_status=$?
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); }; }; then
50951 eval "$as_ac_var=yes"
50952 else
50953 echo "$as_me: failed program was:" >&5
50954 sed 's/^/| /' conftest.$ac_ext >&5
50956 eval "$as_ac_var=no"
50958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50962 if test `eval echo '${'$as_ac_var'}'` = yes; then
50963 cat >>confdefs.h <<_ACEOF
50964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50965 _ACEOF
50966 ac_XPG2funcs=yes
50967 else
50968 ac_XPG2funcs=no
50970 done
50973 LIBS="$ac_save_LIBS"
50975 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
50976 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
50977 if test x"$ac_has_iconv_h" = xyes &&
50978 test x"$ac_has_langinfo_h" = xyes &&
50979 test x"$ac_XPG2funcs" = xyes;
50980 then
50981 ac_XPG2_wchar_t=yes
50982 else
50983 ac_XPG2_wchar_t=no
50985 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
50986 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
50988 # At the moment, only enable wchar_t specializations if all the
50989 # above support is present.
50990 if test x"$ac_isoC99_wchar_t" = xyes &&
50991 test x"$ac_XPG2_wchar_t" = xyes;
50992 then
50993 cat >>confdefs.h <<\_ACEOF
50994 #define _GLIBCXX_USE_WCHAR_T 1
50995 _ACEOF
50997 enable_wchar_t=yes
51000 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51001 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51002 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51003 echo "${ECHO_T}$enable_wchar_t" >&6
51005 cat >>confdefs.h <<\_ACEOF
51006 #define HAVE_COPYSIGN 1
51007 _ACEOF
51009 cat >>confdefs.h <<\_ACEOF
51010 #define HAVE_COPYSIGNF 1
51011 _ACEOF
51013 cat >>confdefs.h <<\_ACEOF
51014 #define HAVE_FREXPF 1
51015 _ACEOF
51017 cat >>confdefs.h <<\_ACEOF
51018 #define HAVE_HYPOT 1
51019 _ACEOF
51021 case "$target" in
51022 *-hpux10*)
51023 cat >>confdefs.h <<\_ACEOF
51024 #define HAVE_FINITE 1
51025 _ACEOF
51027 cat >>confdefs.h <<\_ACEOF
51028 #define HAVE_FINITEF 1
51029 _ACEOF
51031 cat >>confdefs.h <<\_ACEOF
51032 #define HAVE_ISINF 1
51033 _ACEOF
51035 cat >>confdefs.h <<\_ACEOF
51036 #define HAVE_ISINFF 1
51037 _ACEOF
51039 cat >>confdefs.h <<\_ACEOF
51040 #define HAVE_ISNAN 1
51041 _ACEOF
51043 cat >>confdefs.h <<\_ACEOF
51044 #define HAVE_ISNANF 1
51045 _ACEOF
51048 esac
51050 *-linux*)
51051 #os_include_dir="os/gnu-linux"
51064 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
51065 machine/endian.h machine/param.h sys/machine.h sys/types.h \
51066 fp.h locale.h float.h inttypes.h
51068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51070 echo "$as_me:$LINENO: checking for $ac_header" >&5
51071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51077 else
51078 # Is the header compilable?
51079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51081 cat >conftest.$ac_ext <<_ACEOF
51082 #line $LINENO "configure"
51083 /* confdefs.h. */
51084 _ACEOF
51085 cat confdefs.h >>conftest.$ac_ext
51086 cat >>conftest.$ac_ext <<_ACEOF
51087 /* end confdefs.h. */
51088 $ac_includes_default
51089 #include <$ac_header>
51090 _ACEOF
51091 rm -f conftest.$ac_objext
51092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51093 (eval $ac_compile) 2>&5
51094 ac_status=$?
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); } &&
51097 { ac_try='test -s conftest.$ac_objext'
51098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099 (eval $ac_try) 2>&5
51100 ac_status=$?
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); }; }; then
51103 ac_header_compiler=yes
51104 else
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51108 ac_header_compiler=no
51110 rm -f conftest.$ac_objext conftest.$ac_ext
51111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51112 echo "${ECHO_T}$ac_header_compiler" >&6
51114 # Is the header present?
51115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51117 cat >conftest.$ac_ext <<_ACEOF
51118 #line $LINENO "configure"
51119 /* confdefs.h. */
51120 _ACEOF
51121 cat confdefs.h >>conftest.$ac_ext
51122 cat >>conftest.$ac_ext <<_ACEOF
51123 /* end confdefs.h. */
51124 #include <$ac_header>
51125 _ACEOF
51126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51128 ac_status=$?
51129 grep -v '^ *+' conftest.er1 >conftest.err
51130 rm -f conftest.er1
51131 cat conftest.err >&5
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); } >/dev/null; then
51134 if test -s conftest.err; then
51135 ac_cpp_err=$ac_c_preproc_warn_flag
51136 else
51137 ac_cpp_err=
51139 else
51140 ac_cpp_err=yes
51142 if test -z "$ac_cpp_err"; then
51143 ac_header_preproc=yes
51144 else
51145 echo "$as_me: failed program was:" >&5
51146 sed 's/^/| /' conftest.$ac_ext >&5
51148 ac_header_preproc=no
51150 rm -f conftest.err conftest.$ac_ext
51151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51152 echo "${ECHO_T}$ac_header_preproc" >&6
51154 # So? What about this header?
51155 case $ac_header_compiler:$ac_header_preproc in
51156 yes:no )
51157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51162 cat <<\_ASBOX
51163 ## ------------------------------------ ##
51164 ## Report this to bug-autoconf@gnu.org. ##
51165 ## ------------------------------------ ##
51166 _ASBOX
51168 sed "s/^/$as_me: WARNING: /" >&2
51170 no:yes )
51171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51178 cat <<\_ASBOX
51179 ## ------------------------------------ ##
51180 ## Report this to bug-autoconf@gnu.org. ##
51181 ## ------------------------------------ ##
51182 _ASBOX
51184 sed "s/^/$as_me: WARNING: /" >&2
51186 esac
51187 echo "$as_me:$LINENO: checking for $ac_header" >&5
51188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51190 echo $ECHO_N "(cached) $ECHO_C" >&6
51191 else
51192 eval "$as_ac_Header=$ac_header_preproc"
51194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51199 cat >>confdefs.h <<_ACEOF
51200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51201 _ACEOF
51205 done
51207 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51210 # If we're not using GNU ld, then there's no point in even trying these
51211 # tests. Check for that first. We should have already tested for gld
51212 # by now (in libtool), but require it now just to be safe...
51213 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51214 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51218 # The name set by libtool depends on the version of libtool. Shame on us
51219 # for depending on an impl detail, but c'est la vie. Older versions used
51220 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51221 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51222 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51223 # set (hence we're using an older libtool), then set it.
51224 if test x${with_gnu_ld+set} != xset; then
51225 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51226 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51227 with_gnu_ld=no
51228 else
51229 with_gnu_ld=$ac_cv_prog_gnu_ld
51233 # Start by getting the version number. I think the libtool test already
51234 # does some of this, but throws away the result.
51236 ldver=`$LD --version 2>/dev/null | head -1 | \
51237 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51239 glibcxx_gnu_ld_version=`echo $ldver | \
51240 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51242 # Set --gc-sections.
51243 if test "$with_gnu_ld" = "notbroken"; then
51244 # GNU ld it is! Joy and bunny rabbits!
51246 # All these tests are for C++; save the language and the compiler flags.
51247 # Need to do this so that g++ won't try to link in libstdc++
51248 ac_test_CFLAGS="${CFLAGS+set}"
51249 ac_save_CFLAGS="$CFLAGS"
51250 CFLAGS='-x c++ -Wl,--gc-sections'
51252 # Check for -Wl,--gc-sections
51253 # XXX This test is broken at the moment, as symbols required for linking
51254 # are now in libsupc++ (not built yet). In addition, this test has
51255 # cored on solaris in the past. In addition, --gc-sections doesn't
51256 # really work at the moment (keeps on discarding used sections, first
51257 # .eh_frame and now some of the glibc sections for iconv).
51258 # Bzzzzt. Thanks for playing, maybe next time.
51259 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51260 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51261 if test "$cross_compiling" = yes; then
51262 ac_sectionLDflags=yes
51263 else
51264 cat >conftest.$ac_ext <<_ACEOF
51265 #line $LINENO "configure"
51266 /* confdefs.h. */
51267 _ACEOF
51268 cat confdefs.h >>conftest.$ac_ext
51269 cat >>conftest.$ac_ext <<_ACEOF
51270 /* end confdefs.h. */
51272 int main(void)
51274 try { throw 1; }
51275 catch (...) { };
51276 return 0;
51279 _ACEOF
51280 rm -f conftest$ac_exeext
51281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51282 (eval $ac_link) 2>&5
51283 ac_status=$?
51284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51287 (eval $ac_try) 2>&5
51288 ac_status=$?
51289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51290 (exit $ac_status); }; }; then
51291 ac_sectionLDflags=yes
51292 else
51293 echo "$as_me: program exited with status $ac_status" >&5
51294 echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51297 ( exit $ac_status )
51298 ac_sectionLDflags=no
51300 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51302 if test "$ac_test_CFLAGS" = set; then
51303 CFLAGS="$ac_save_CFLAGS"
51304 else
51305 # this is the suspicious part
51306 CFLAGS=''
51308 if test "$ac_sectionLDflags" = "yes"; then
51309 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51311 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51312 echo "${ECHO_T}$ac_sectionLDflags" >&6
51315 # Set linker optimization flags.
51316 if test x"$with_gnu_ld" = x"yes"; then
51317 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51325 echo "$as_me:$LINENO: checking for main in -lm" >&5
51326 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51327 if test "${ac_cv_lib_m_main+set}" = set; then
51328 echo $ECHO_N "(cached) $ECHO_C" >&6
51329 else
51330 ac_check_lib_save_LIBS=$LIBS
51331 LIBS="-lm $LIBS"
51332 if test x$gcc_no_link = xyes; then
51333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51335 { (exit 1); exit 1; }; }
51337 cat >conftest.$ac_ext <<_ACEOF
51338 #line $LINENO "configure"
51339 /* confdefs.h. */
51340 _ACEOF
51341 cat confdefs.h >>conftest.$ac_ext
51342 cat >>conftest.$ac_ext <<_ACEOF
51343 /* end confdefs.h. */
51347 main ()
51349 main ();
51351 return 0;
51353 _ACEOF
51354 rm -f conftest.$ac_objext conftest$ac_exeext
51355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51356 (eval $ac_link) 2>&5
51357 ac_status=$?
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try='test -s conftest$ac_exeext'
51361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51362 (eval $ac_try) 2>&5
51363 ac_status=$?
51364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51365 (exit $ac_status); }; }; then
51366 ac_cv_lib_m_main=yes
51367 else
51368 echo "$as_me: failed program was:" >&5
51369 sed 's/^/| /' conftest.$ac_ext >&5
51371 ac_cv_lib_m_main=no
51373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51374 LIBS=$ac_check_lib_save_LIBS
51376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51377 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51378 if test $ac_cv_lib_m_main = yes; then
51379 cat >>confdefs.h <<_ACEOF
51380 #define HAVE_LIBM 1
51381 _ACEOF
51383 LIBS="-lm $LIBS"
51389 for ac_func in nan copysignf
51391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51392 echo "$as_me:$LINENO: checking for $ac_func" >&5
51393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51394 if eval "test \"\${$as_ac_var+set}\" = set"; then
51395 echo $ECHO_N "(cached) $ECHO_C" >&6
51396 else
51397 if test x$gcc_no_link = xyes; then
51398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51400 { (exit 1); exit 1; }; }
51402 cat >conftest.$ac_ext <<_ACEOF
51403 #line $LINENO "configure"
51404 /* confdefs.h. */
51405 _ACEOF
51406 cat confdefs.h >>conftest.$ac_ext
51407 cat >>conftest.$ac_ext <<_ACEOF
51408 /* end confdefs.h. */
51409 /* System header to define __stub macros and hopefully few prototypes,
51410 which can conflict with char $ac_func (); below.
51411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51412 <limits.h> exists even on freestanding compilers. */
51413 #ifdef __STDC__
51414 # include <limits.h>
51415 #else
51416 # include <assert.h>
51417 #endif
51418 /* Override any gcc2 internal prototype to avoid an error. */
51419 #ifdef __cplusplus
51420 extern "C"
51422 #endif
51423 /* We use char because int might match the return type of a gcc2
51424 builtin and then its argument prototype would still apply. */
51425 char $ac_func ();
51426 /* The GNU C library defines this for functions which it implements
51427 to always fail with ENOSYS. Some functions are actually named
51428 something starting with __ and the normal name is an alias. */
51429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51430 choke me
51431 #else
51432 char (*f) () = $ac_func;
51433 #endif
51434 #ifdef __cplusplus
51436 #endif
51439 main ()
51441 return f != $ac_func;
51443 return 0;
51445 _ACEOF
51446 rm -f conftest.$ac_objext conftest$ac_exeext
51447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51448 (eval $ac_link) 2>&5
51449 ac_status=$?
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); } &&
51452 { ac_try='test -s conftest$ac_exeext'
51453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454 (eval $ac_try) 2>&5
51455 ac_status=$?
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); }; }; then
51458 eval "$as_ac_var=yes"
51459 else
51460 echo "$as_me: failed program was:" >&5
51461 sed 's/^/| /' conftest.$ac_ext >&5
51463 eval "$as_ac_var=no"
51465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51469 if test `eval echo '${'$as_ac_var'}'` = yes; then
51470 cat >>confdefs.h <<_ACEOF
51471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51472 _ACEOF
51474 else
51475 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51477 done
51481 for ac_func in __signbit
51483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51484 echo "$as_me:$LINENO: checking for $ac_func" >&5
51485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51486 if eval "test \"\${$as_ac_var+set}\" = set"; then
51487 echo $ECHO_N "(cached) $ECHO_C" >&6
51488 else
51489 if test x$gcc_no_link = xyes; then
51490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51492 { (exit 1); exit 1; }; }
51494 cat >conftest.$ac_ext <<_ACEOF
51495 #line $LINENO "configure"
51496 /* confdefs.h. */
51497 _ACEOF
51498 cat confdefs.h >>conftest.$ac_ext
51499 cat >>conftest.$ac_ext <<_ACEOF
51500 /* end confdefs.h. */
51501 /* System header to define __stub macros and hopefully few prototypes,
51502 which can conflict with char $ac_func (); below.
51503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51504 <limits.h> exists even on freestanding compilers. */
51505 #ifdef __STDC__
51506 # include <limits.h>
51507 #else
51508 # include <assert.h>
51509 #endif
51510 /* Override any gcc2 internal prototype to avoid an error. */
51511 #ifdef __cplusplus
51512 extern "C"
51514 #endif
51515 /* We use char because int might match the return type of a gcc2
51516 builtin and then its argument prototype would still apply. */
51517 char $ac_func ();
51518 /* The GNU C library defines this for functions which it implements
51519 to always fail with ENOSYS. Some functions are actually named
51520 something starting with __ and the normal name is an alias. */
51521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51522 choke me
51523 #else
51524 char (*f) () = $ac_func;
51525 #endif
51526 #ifdef __cplusplus
51528 #endif
51531 main ()
51533 return f != $ac_func;
51535 return 0;
51537 _ACEOF
51538 rm -f conftest.$ac_objext conftest$ac_exeext
51539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51540 (eval $ac_link) 2>&5
51541 ac_status=$?
51542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51543 (exit $ac_status); } &&
51544 { ac_try='test -s conftest$ac_exeext'
51545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51546 (eval $ac_try) 2>&5
51547 ac_status=$?
51548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549 (exit $ac_status); }; }; then
51550 eval "$as_ac_var=yes"
51551 else
51552 echo "$as_me: failed program was:" >&5
51553 sed 's/^/| /' conftest.$ac_ext >&5
51555 eval "$as_ac_var=no"
51557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51561 if test `eval echo '${'$as_ac_var'}'` = yes; then
51562 cat >>confdefs.h <<_ACEOF
51563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51564 _ACEOF
51566 else
51567 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51569 done
51572 for ac_func in __signbitf
51574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51575 echo "$as_me:$LINENO: checking for $ac_func" >&5
51576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51577 if eval "test \"\${$as_ac_var+set}\" = set"; then
51578 echo $ECHO_N "(cached) $ECHO_C" >&6
51579 else
51580 if test x$gcc_no_link = xyes; then
51581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51583 { (exit 1); exit 1; }; }
51585 cat >conftest.$ac_ext <<_ACEOF
51586 #line $LINENO "configure"
51587 /* confdefs.h. */
51588 _ACEOF
51589 cat confdefs.h >>conftest.$ac_ext
51590 cat >>conftest.$ac_ext <<_ACEOF
51591 /* end confdefs.h. */
51592 /* System header to define __stub macros and hopefully few prototypes,
51593 which can conflict with char $ac_func (); below.
51594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51595 <limits.h> exists even on freestanding compilers. */
51596 #ifdef __STDC__
51597 # include <limits.h>
51598 #else
51599 # include <assert.h>
51600 #endif
51601 /* Override any gcc2 internal prototype to avoid an error. */
51602 #ifdef __cplusplus
51603 extern "C"
51605 #endif
51606 /* We use char because int might match the return type of a gcc2
51607 builtin and then its argument prototype would still apply. */
51608 char $ac_func ();
51609 /* The GNU C library defines this for functions which it implements
51610 to always fail with ENOSYS. Some functions are actually named
51611 something starting with __ and the normal name is an alias. */
51612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51613 choke me
51614 #else
51615 char (*f) () = $ac_func;
51616 #endif
51617 #ifdef __cplusplus
51619 #endif
51622 main ()
51624 return f != $ac_func;
51626 return 0;
51628 _ACEOF
51629 rm -f conftest.$ac_objext conftest$ac_exeext
51630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51631 (eval $ac_link) 2>&5
51632 ac_status=$?
51633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634 (exit $ac_status); } &&
51635 { ac_try='test -s conftest$ac_exeext'
51636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637 (eval $ac_try) 2>&5
51638 ac_status=$?
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); }; }; then
51641 eval "$as_ac_var=yes"
51642 else
51643 echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51646 eval "$as_ac_var=no"
51648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51652 if test `eval echo '${'$as_ac_var'}'` = yes; then
51653 cat >>confdefs.h <<_ACEOF
51654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51655 _ACEOF
51657 else
51658 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51660 done
51663 if test x$ac_cv_func_copysignl = x"yes"; then
51665 for ac_func in __signbitl
51667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51668 echo "$as_me:$LINENO: checking for $ac_func" >&5
51669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51670 if eval "test \"\${$as_ac_var+set}\" = set"; then
51671 echo $ECHO_N "(cached) $ECHO_C" >&6
51672 else
51673 if test x$gcc_no_link = xyes; then
51674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51676 { (exit 1); exit 1; }; }
51678 cat >conftest.$ac_ext <<_ACEOF
51679 #line $LINENO "configure"
51680 /* confdefs.h. */
51681 _ACEOF
51682 cat confdefs.h >>conftest.$ac_ext
51683 cat >>conftest.$ac_ext <<_ACEOF
51684 /* end confdefs.h. */
51685 /* System header to define __stub macros and hopefully few prototypes,
51686 which can conflict with char $ac_func (); below.
51687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51688 <limits.h> exists even on freestanding compilers. */
51689 #ifdef __STDC__
51690 # include <limits.h>
51691 #else
51692 # include <assert.h>
51693 #endif
51694 /* Override any gcc2 internal prototype to avoid an error. */
51695 #ifdef __cplusplus
51696 extern "C"
51698 #endif
51699 /* We use char because int might match the return type of a gcc2
51700 builtin and then its argument prototype would still apply. */
51701 char $ac_func ();
51702 /* The GNU C library defines this for functions which it implements
51703 to always fail with ENOSYS. Some functions are actually named
51704 something starting with __ and the normal name is an alias. */
51705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51706 choke me
51707 #else
51708 char (*f) () = $ac_func;
51709 #endif
51710 #ifdef __cplusplus
51712 #endif
51715 main ()
51717 return f != $ac_func;
51719 return 0;
51721 _ACEOF
51722 rm -f conftest.$ac_objext conftest$ac_exeext
51723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51724 (eval $ac_link) 2>&5
51725 ac_status=$?
51726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51727 (exit $ac_status); } &&
51728 { ac_try='test -s conftest$ac_exeext'
51729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51730 (eval $ac_try) 2>&5
51731 ac_status=$?
51732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51733 (exit $ac_status); }; }; then
51734 eval "$as_ac_var=yes"
51735 else
51736 echo "$as_me: failed program was:" >&5
51737 sed 's/^/| /' conftest.$ac_ext >&5
51739 eval "$as_ac_var=no"
51741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51745 if test `eval echo '${'$as_ac_var'}'` = yes; then
51746 cat >>confdefs.h <<_ACEOF
51747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51748 _ACEOF
51750 else
51751 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51753 done
51757 # XXX Review this. Nothing uses it.
51758 if test -n "$LIBMATHOBJS"; then
51759 need_libmath=yes
51764 # Test wchar.h for mbstate_t, which is needed for char_traits and
51765 # others even if wchar_t support is not on.
51766 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51767 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51768 cat >conftest.$ac_ext <<_ACEOF
51769 #line $LINENO "configure"
51770 /* confdefs.h. */
51771 _ACEOF
51772 cat confdefs.h >>conftest.$ac_ext
51773 cat >>conftest.$ac_ext <<_ACEOF
51774 /* end confdefs.h. */
51775 #include <wchar.h>
51777 main ()
51779 mbstate_t teststate;
51781 return 0;
51783 _ACEOF
51784 rm -f conftest.$ac_objext
51785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51786 (eval $ac_compile) 2>&5
51787 ac_status=$?
51788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789 (exit $ac_status); } &&
51790 { ac_try='test -s conftest.$ac_objext'
51791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792 (eval $ac_try) 2>&5
51793 ac_status=$?
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); }; }; then
51796 have_mbstate_t=yes
51797 else
51798 echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51801 have_mbstate_t=no
51803 rm -f conftest.$ac_objext conftest.$ac_ext
51804 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51805 echo "${ECHO_T}$have_mbstate_t" >&6
51806 if test x"$have_mbstate_t" = xyes; then
51807 cat >>confdefs.h <<\_ACEOF
51808 #define HAVE_MBSTATE_T 1
51809 _ACEOF
51813 # Sanity check for existence of ISO C99 headers for extended encoding.
51815 for ac_header in wchar.h
51817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51819 echo "$as_me:$LINENO: checking for $ac_header" >&5
51820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51822 echo $ECHO_N "(cached) $ECHO_C" >&6
51824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51826 else
51827 # Is the header compilable?
51828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51830 cat >conftest.$ac_ext <<_ACEOF
51831 #line $LINENO "configure"
51832 /* confdefs.h. */
51833 _ACEOF
51834 cat confdefs.h >>conftest.$ac_ext
51835 cat >>conftest.$ac_ext <<_ACEOF
51836 /* end confdefs.h. */
51837 $ac_includes_default
51838 #include <$ac_header>
51839 _ACEOF
51840 rm -f conftest.$ac_objext
51841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51842 (eval $ac_compile) 2>&5
51843 ac_status=$?
51844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51845 (exit $ac_status); } &&
51846 { ac_try='test -s conftest.$ac_objext'
51847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51848 (eval $ac_try) 2>&5
51849 ac_status=$?
51850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51851 (exit $ac_status); }; }; then
51852 ac_header_compiler=yes
51853 else
51854 echo "$as_me: failed program was:" >&5
51855 sed 's/^/| /' conftest.$ac_ext >&5
51857 ac_header_compiler=no
51859 rm -f conftest.$ac_objext conftest.$ac_ext
51860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51861 echo "${ECHO_T}$ac_header_compiler" >&6
51863 # Is the header present?
51864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51866 cat >conftest.$ac_ext <<_ACEOF
51867 #line $LINENO "configure"
51868 /* confdefs.h. */
51869 _ACEOF
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51873 #include <$ac_header>
51874 _ACEOF
51875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51877 ac_status=$?
51878 grep -v '^ *+' conftest.er1 >conftest.err
51879 rm -f conftest.er1
51880 cat conftest.err >&5
51881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51882 (exit $ac_status); } >/dev/null; then
51883 if test -s conftest.err; then
51884 ac_cpp_err=$ac_c_preproc_warn_flag
51885 else
51886 ac_cpp_err=
51888 else
51889 ac_cpp_err=yes
51891 if test -z "$ac_cpp_err"; then
51892 ac_header_preproc=yes
51893 else
51894 echo "$as_me: failed program was:" >&5
51895 sed 's/^/| /' conftest.$ac_ext >&5
51897 ac_header_preproc=no
51899 rm -f conftest.err conftest.$ac_ext
51900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51901 echo "${ECHO_T}$ac_header_preproc" >&6
51903 # So? What about this header?
51904 case $ac_header_compiler:$ac_header_preproc in
51905 yes:no )
51906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51911 cat <<\_ASBOX
51912 ## ------------------------------------ ##
51913 ## Report this to bug-autoconf@gnu.org. ##
51914 ## ------------------------------------ ##
51915 _ASBOX
51917 sed "s/^/$as_me: WARNING: /" >&2
51919 no:yes )
51920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51927 cat <<\_ASBOX
51928 ## ------------------------------------ ##
51929 ## Report this to bug-autoconf@gnu.org. ##
51930 ## ------------------------------------ ##
51931 _ASBOX
51933 sed "s/^/$as_me: WARNING: /" >&2
51935 esac
51936 echo "$as_me:$LINENO: checking for $ac_header" >&5
51937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51939 echo $ECHO_N "(cached) $ECHO_C" >&6
51940 else
51941 eval "$as_ac_Header=$ac_header_preproc"
51943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51948 cat >>confdefs.h <<_ACEOF
51949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51950 _ACEOF
51951 ac_has_wchar_h=yes
51952 else
51953 ac_has_wchar_h=no
51956 done
51959 for ac_header in wctype.h
51961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51963 echo "$as_me:$LINENO: checking for $ac_header" >&5
51964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51966 echo $ECHO_N "(cached) $ECHO_C" >&6
51968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51970 else
51971 # Is the header compilable?
51972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51974 cat >conftest.$ac_ext <<_ACEOF
51975 #line $LINENO "configure"
51976 /* confdefs.h. */
51977 _ACEOF
51978 cat confdefs.h >>conftest.$ac_ext
51979 cat >>conftest.$ac_ext <<_ACEOF
51980 /* end confdefs.h. */
51981 $ac_includes_default
51982 #include <$ac_header>
51983 _ACEOF
51984 rm -f conftest.$ac_objext
51985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51986 (eval $ac_compile) 2>&5
51987 ac_status=$?
51988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51989 (exit $ac_status); } &&
51990 { ac_try='test -s conftest.$ac_objext'
51991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51992 (eval $ac_try) 2>&5
51993 ac_status=$?
51994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51995 (exit $ac_status); }; }; then
51996 ac_header_compiler=yes
51997 else
51998 echo "$as_me: failed program was:" >&5
51999 sed 's/^/| /' conftest.$ac_ext >&5
52001 ac_header_compiler=no
52003 rm -f conftest.$ac_objext conftest.$ac_ext
52004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52005 echo "${ECHO_T}$ac_header_compiler" >&6
52007 # Is the header present?
52008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52010 cat >conftest.$ac_ext <<_ACEOF
52011 #line $LINENO "configure"
52012 /* confdefs.h. */
52013 _ACEOF
52014 cat confdefs.h >>conftest.$ac_ext
52015 cat >>conftest.$ac_ext <<_ACEOF
52016 /* end confdefs.h. */
52017 #include <$ac_header>
52018 _ACEOF
52019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52021 ac_status=$?
52022 grep -v '^ *+' conftest.er1 >conftest.err
52023 rm -f conftest.er1
52024 cat conftest.err >&5
52025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52026 (exit $ac_status); } >/dev/null; then
52027 if test -s conftest.err; then
52028 ac_cpp_err=$ac_c_preproc_warn_flag
52029 else
52030 ac_cpp_err=
52032 else
52033 ac_cpp_err=yes
52035 if test -z "$ac_cpp_err"; then
52036 ac_header_preproc=yes
52037 else
52038 echo "$as_me: failed program was:" >&5
52039 sed 's/^/| /' conftest.$ac_ext >&5
52041 ac_header_preproc=no
52043 rm -f conftest.err conftest.$ac_ext
52044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52045 echo "${ECHO_T}$ac_header_preproc" >&6
52047 # So? What about this header?
52048 case $ac_header_compiler:$ac_header_preproc in
52049 yes:no )
52050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52055 cat <<\_ASBOX
52056 ## ------------------------------------ ##
52057 ## Report this to bug-autoconf@gnu.org. ##
52058 ## ------------------------------------ ##
52059 _ASBOX
52061 sed "s/^/$as_me: WARNING: /" >&2
52063 no:yes )
52064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52071 cat <<\_ASBOX
52072 ## ------------------------------------ ##
52073 ## Report this to bug-autoconf@gnu.org. ##
52074 ## ------------------------------------ ##
52075 _ASBOX
52077 sed "s/^/$as_me: WARNING: /" >&2
52079 esac
52080 echo "$as_me:$LINENO: checking for $ac_header" >&5
52081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52083 echo $ECHO_N "(cached) $ECHO_C" >&6
52084 else
52085 eval "$as_ac_Header=$ac_header_preproc"
52087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52092 cat >>confdefs.h <<_ACEOF
52093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52094 _ACEOF
52095 ac_has_wctype_h=yes
52096 else
52097 ac_has_wctype_h=no
52100 done
52103 # Only continue checking if the ISO C99 headers exist and support is on.
52104 if test x"$ac_has_wchar_h" = xyes &&
52105 test x"$ac_has_wctype_h" = xyes &&
52106 test x"$enable_c_mbchar" != xno; then
52108 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52109 # numeric_limits can instantiate type_traits<wchar_t>
52110 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52111 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52112 cat >conftest.$ac_ext <<_ACEOF
52113 #line $LINENO "configure"
52114 /* confdefs.h. */
52115 _ACEOF
52116 cat confdefs.h >>conftest.$ac_ext
52117 cat >>conftest.$ac_ext <<_ACEOF
52118 /* end confdefs.h. */
52119 #include <wchar.h>
52121 main ()
52123 int i = WCHAR_MIN; int j = WCHAR_MAX;
52125 return 0;
52127 _ACEOF
52128 rm -f conftest.$ac_objext
52129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52130 (eval $ac_compile) 2>&5
52131 ac_status=$?
52132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52133 (exit $ac_status); } &&
52134 { ac_try='test -s conftest.$ac_objext'
52135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52136 (eval $ac_try) 2>&5
52137 ac_status=$?
52138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139 (exit $ac_status); }; }; then
52140 has_wchar_minmax=yes
52141 else
52142 echo "$as_me: failed program was:" >&5
52143 sed 's/^/| /' conftest.$ac_ext >&5
52145 has_wchar_minmax=no
52147 rm -f conftest.$ac_objext conftest.$ac_ext
52148 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52149 echo "${ECHO_T}$has_wchar_minmax" >&6
52151 # Test wchar.h for WEOF, which is what we use to determine whether
52152 # to specialize for char_traits<wchar_t> or not.
52153 echo "$as_me:$LINENO: checking for WEOF" >&5
52154 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52155 cat >conftest.$ac_ext <<_ACEOF
52156 #line $LINENO "configure"
52157 /* confdefs.h. */
52158 _ACEOF
52159 cat confdefs.h >>conftest.$ac_ext
52160 cat >>conftest.$ac_ext <<_ACEOF
52161 /* end confdefs.h. */
52163 #include <wchar.h>
52164 #include <stddef.h>
52166 main ()
52168 wint_t i = WEOF;
52170 return 0;
52172 _ACEOF
52173 rm -f conftest.$ac_objext
52174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52175 (eval $ac_compile) 2>&5
52176 ac_status=$?
52177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52178 (exit $ac_status); } &&
52179 { ac_try='test -s conftest.$ac_objext'
52180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181 (eval $ac_try) 2>&5
52182 ac_status=$?
52183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184 (exit $ac_status); }; }; then
52185 has_weof=yes
52186 else
52187 echo "$as_me: failed program was:" >&5
52188 sed 's/^/| /' conftest.$ac_ext >&5
52190 has_weof=no
52192 rm -f conftest.$ac_objext conftest.$ac_ext
52193 echo "$as_me:$LINENO: result: $has_weof" >&5
52194 echo "${ECHO_T}$has_weof" >&6
52196 # Tests for wide character functions used in char_traits<wchar_t>.
52197 ac_wfuncs=yes
52204 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52207 echo "$as_me:$LINENO: checking for $ac_func" >&5
52208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52209 if eval "test \"\${$as_ac_var+set}\" = set"; then
52210 echo $ECHO_N "(cached) $ECHO_C" >&6
52211 else
52212 if test x$gcc_no_link = xyes; then
52213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52215 { (exit 1); exit 1; }; }
52217 cat >conftest.$ac_ext <<_ACEOF
52218 #line $LINENO "configure"
52219 /* confdefs.h. */
52220 _ACEOF
52221 cat confdefs.h >>conftest.$ac_ext
52222 cat >>conftest.$ac_ext <<_ACEOF
52223 /* end confdefs.h. */
52224 /* System header to define __stub macros and hopefully few prototypes,
52225 which can conflict with char $ac_func (); below.
52226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52227 <limits.h> exists even on freestanding compilers. */
52228 #ifdef __STDC__
52229 # include <limits.h>
52230 #else
52231 # include <assert.h>
52232 #endif
52233 /* Override any gcc2 internal prototype to avoid an error. */
52234 #ifdef __cplusplus
52235 extern "C"
52237 #endif
52238 /* We use char because int might match the return type of a gcc2
52239 builtin and then its argument prototype would still apply. */
52240 char $ac_func ();
52241 /* The GNU C library defines this for functions which it implements
52242 to always fail with ENOSYS. Some functions are actually named
52243 something starting with __ and the normal name is an alias. */
52244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52245 choke me
52246 #else
52247 char (*f) () = $ac_func;
52248 #endif
52249 #ifdef __cplusplus
52251 #endif
52254 main ()
52256 return f != $ac_func;
52258 return 0;
52260 _ACEOF
52261 rm -f conftest.$ac_objext conftest$ac_exeext
52262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52263 (eval $ac_link) 2>&5
52264 ac_status=$?
52265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52266 (exit $ac_status); } &&
52267 { ac_try='test -s conftest$ac_exeext'
52268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52269 (eval $ac_try) 2>&5
52270 ac_status=$?
52271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272 (exit $ac_status); }; }; then
52273 eval "$as_ac_var=yes"
52274 else
52275 echo "$as_me: failed program was:" >&5
52276 sed 's/^/| /' conftest.$ac_ext >&5
52278 eval "$as_ac_var=no"
52280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52284 if test `eval echo '${'$as_ac_var'}'` = yes; then
52285 cat >>confdefs.h <<_ACEOF
52286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52287 _ACEOF
52289 else
52290 ac_wfuncs=no
52292 done
52295 # Checks for names injected into std:: by the c_std headers.
52342 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52343 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52344 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52345 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52346 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52347 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52350 echo "$as_me:$LINENO: checking for $ac_func" >&5
52351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52352 if eval "test \"\${$as_ac_var+set}\" = set"; then
52353 echo $ECHO_N "(cached) $ECHO_C" >&6
52354 else
52355 if test x$gcc_no_link = xyes; then
52356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52358 { (exit 1); exit 1; }; }
52360 cat >conftest.$ac_ext <<_ACEOF
52361 #line $LINENO "configure"
52362 /* confdefs.h. */
52363 _ACEOF
52364 cat confdefs.h >>conftest.$ac_ext
52365 cat >>conftest.$ac_ext <<_ACEOF
52366 /* end confdefs.h. */
52367 /* System header to define __stub macros and hopefully few prototypes,
52368 which can conflict with char $ac_func (); below.
52369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52370 <limits.h> exists even on freestanding compilers. */
52371 #ifdef __STDC__
52372 # include <limits.h>
52373 #else
52374 # include <assert.h>
52375 #endif
52376 /* Override any gcc2 internal prototype to avoid an error. */
52377 #ifdef __cplusplus
52378 extern "C"
52380 #endif
52381 /* We use char because int might match the return type of a gcc2
52382 builtin and then its argument prototype would still apply. */
52383 char $ac_func ();
52384 /* The GNU C library defines this for functions which it implements
52385 to always fail with ENOSYS. Some functions are actually named
52386 something starting with __ and the normal name is an alias. */
52387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52388 choke me
52389 #else
52390 char (*f) () = $ac_func;
52391 #endif
52392 #ifdef __cplusplus
52394 #endif
52397 main ()
52399 return f != $ac_func;
52401 return 0;
52403 _ACEOF
52404 rm -f conftest.$ac_objext conftest$ac_exeext
52405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52406 (eval $ac_link) 2>&5
52407 ac_status=$?
52408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52409 (exit $ac_status); } &&
52410 { ac_try='test -s conftest$ac_exeext'
52411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52412 (eval $ac_try) 2>&5
52413 ac_status=$?
52414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52415 (exit $ac_status); }; }; then
52416 eval "$as_ac_var=yes"
52417 else
52418 echo "$as_me: failed program was:" >&5
52419 sed 's/^/| /' conftest.$ac_ext >&5
52421 eval "$as_ac_var=no"
52423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52427 if test `eval echo '${'$as_ac_var'}'` = yes; then
52428 cat >>confdefs.h <<_ACEOF
52429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52430 _ACEOF
52432 else
52433 ac_wfuncs=no
52435 done
52438 # Checks for wide character functions that are not required
52439 # for basic wchar_t support. Don't disable support if they are missing.
52440 # Injection of these is wrapped with guard macros.
52446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52449 echo "$as_me:$LINENO: checking for $ac_func" >&5
52450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52451 if eval "test \"\${$as_ac_var+set}\" = set"; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52454 if test x$gcc_no_link = xyes; then
52455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52457 { (exit 1); exit 1; }; }
52459 cat >conftest.$ac_ext <<_ACEOF
52460 #line $LINENO "configure"
52461 /* confdefs.h. */
52462 _ACEOF
52463 cat confdefs.h >>conftest.$ac_ext
52464 cat >>conftest.$ac_ext <<_ACEOF
52465 /* end confdefs.h. */
52466 /* System header to define __stub macros and hopefully few prototypes,
52467 which can conflict with char $ac_func (); below.
52468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52469 <limits.h> exists even on freestanding compilers. */
52470 #ifdef __STDC__
52471 # include <limits.h>
52472 #else
52473 # include <assert.h>
52474 #endif
52475 /* Override any gcc2 internal prototype to avoid an error. */
52476 #ifdef __cplusplus
52477 extern "C"
52479 #endif
52480 /* We use char because int might match the return type of a gcc2
52481 builtin and then its argument prototype would still apply. */
52482 char $ac_func ();
52483 /* The GNU C library defines this for functions which it implements
52484 to always fail with ENOSYS. Some functions are actually named
52485 something starting with __ and the normal name is an alias. */
52486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52487 choke me
52488 #else
52489 char (*f) () = $ac_func;
52490 #endif
52491 #ifdef __cplusplus
52493 #endif
52496 main ()
52498 return f != $ac_func;
52500 return 0;
52502 _ACEOF
52503 rm -f conftest.$ac_objext conftest$ac_exeext
52504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52505 (eval $ac_link) 2>&5
52506 ac_status=$?
52507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508 (exit $ac_status); } &&
52509 { ac_try='test -s conftest$ac_exeext'
52510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52511 (eval $ac_try) 2>&5
52512 ac_status=$?
52513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52514 (exit $ac_status); }; }; then
52515 eval "$as_ac_var=yes"
52516 else
52517 echo "$as_me: failed program was:" >&5
52518 sed 's/^/| /' conftest.$ac_ext >&5
52520 eval "$as_ac_var=no"
52522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52526 if test `eval echo '${'$as_ac_var'}'` = yes; then
52527 cat >>confdefs.h <<_ACEOF
52528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52529 _ACEOF
52532 done
52535 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52536 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52537 if test x"$has_weof" = xyes &&
52538 test x"$has_wchar_minmax" = xyes &&
52539 test x"$ac_wfuncs" = xyes;
52540 then
52541 ac_isoC99_wchar_t=yes
52542 else
52543 ac_isoC99_wchar_t=no
52545 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52546 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52548 # Use iconv for wchar_t to char conversions. As such, check for
52549 # X/Open Portability Guide, version 2 features (XPG2).
52550 if test "${ac_cv_header_iconv_h+set}" = set; then
52551 echo "$as_me:$LINENO: checking for iconv.h" >&5
52552 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52553 if test "${ac_cv_header_iconv_h+set}" = set; then
52554 echo $ECHO_N "(cached) $ECHO_C" >&6
52556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52558 else
52559 # Is the header compilable?
52560 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52561 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52562 cat >conftest.$ac_ext <<_ACEOF
52563 #line $LINENO "configure"
52564 /* confdefs.h. */
52565 _ACEOF
52566 cat confdefs.h >>conftest.$ac_ext
52567 cat >>conftest.$ac_ext <<_ACEOF
52568 /* end confdefs.h. */
52569 $ac_includes_default
52570 #include <iconv.h>
52571 _ACEOF
52572 rm -f conftest.$ac_objext
52573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52574 (eval $ac_compile) 2>&5
52575 ac_status=$?
52576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577 (exit $ac_status); } &&
52578 { ac_try='test -s conftest.$ac_objext'
52579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580 (eval $ac_try) 2>&5
52581 ac_status=$?
52582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583 (exit $ac_status); }; }; then
52584 ac_header_compiler=yes
52585 else
52586 echo "$as_me: failed program was:" >&5
52587 sed 's/^/| /' conftest.$ac_ext >&5
52589 ac_header_compiler=no
52591 rm -f conftest.$ac_objext conftest.$ac_ext
52592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52593 echo "${ECHO_T}$ac_header_compiler" >&6
52595 # Is the header present?
52596 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52597 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52598 cat >conftest.$ac_ext <<_ACEOF
52599 #line $LINENO "configure"
52600 /* confdefs.h. */
52601 _ACEOF
52602 cat confdefs.h >>conftest.$ac_ext
52603 cat >>conftest.$ac_ext <<_ACEOF
52604 /* end confdefs.h. */
52605 #include <iconv.h>
52606 _ACEOF
52607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52609 ac_status=$?
52610 grep -v '^ *+' conftest.er1 >conftest.err
52611 rm -f conftest.er1
52612 cat conftest.err >&5
52613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52614 (exit $ac_status); } >/dev/null; then
52615 if test -s conftest.err; then
52616 ac_cpp_err=$ac_c_preproc_warn_flag
52617 else
52618 ac_cpp_err=
52620 else
52621 ac_cpp_err=yes
52623 if test -z "$ac_cpp_err"; then
52624 ac_header_preproc=yes
52625 else
52626 echo "$as_me: failed program was:" >&5
52627 sed 's/^/| /' conftest.$ac_ext >&5
52629 ac_header_preproc=no
52631 rm -f conftest.err conftest.$ac_ext
52632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52633 echo "${ECHO_T}$ac_header_preproc" >&6
52635 # So? What about this header?
52636 case $ac_header_compiler:$ac_header_preproc in
52637 yes:no )
52638 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52639 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52640 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52641 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52643 cat <<\_ASBOX
52644 ## ------------------------------------ ##
52645 ## Report this to bug-autoconf@gnu.org. ##
52646 ## ------------------------------------ ##
52647 _ASBOX
52649 sed "s/^/$as_me: WARNING: /" >&2
52651 no:yes )
52652 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52653 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52654 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52655 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52656 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52657 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52659 cat <<\_ASBOX
52660 ## ------------------------------------ ##
52661 ## Report this to bug-autoconf@gnu.org. ##
52662 ## ------------------------------------ ##
52663 _ASBOX
52665 sed "s/^/$as_me: WARNING: /" >&2
52667 esac
52668 echo "$as_me:$LINENO: checking for iconv.h" >&5
52669 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52670 if test "${ac_cv_header_iconv_h+set}" = set; then
52671 echo $ECHO_N "(cached) $ECHO_C" >&6
52672 else
52673 ac_cv_header_iconv_h=$ac_header_preproc
52675 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52676 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52679 if test $ac_cv_header_iconv_h = yes; then
52680 ac_has_iconv_h=yes
52681 else
52682 ac_has_iconv_h=no
52686 if test "${ac_cv_header_langinfo_h+set}" = set; then
52687 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52689 if test "${ac_cv_header_langinfo_h+set}" = set; then
52690 echo $ECHO_N "(cached) $ECHO_C" >&6
52692 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52693 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52694 else
52695 # Is the header compilable?
52696 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52697 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52698 cat >conftest.$ac_ext <<_ACEOF
52699 #line $LINENO "configure"
52700 /* confdefs.h. */
52701 _ACEOF
52702 cat confdefs.h >>conftest.$ac_ext
52703 cat >>conftest.$ac_ext <<_ACEOF
52704 /* end confdefs.h. */
52705 $ac_includes_default
52706 #include <langinfo.h>
52707 _ACEOF
52708 rm -f conftest.$ac_objext
52709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52710 (eval $ac_compile) 2>&5
52711 ac_status=$?
52712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52713 (exit $ac_status); } &&
52714 { ac_try='test -s conftest.$ac_objext'
52715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52716 (eval $ac_try) 2>&5
52717 ac_status=$?
52718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52719 (exit $ac_status); }; }; then
52720 ac_header_compiler=yes
52721 else
52722 echo "$as_me: failed program was:" >&5
52723 sed 's/^/| /' conftest.$ac_ext >&5
52725 ac_header_compiler=no
52727 rm -f conftest.$ac_objext conftest.$ac_ext
52728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52729 echo "${ECHO_T}$ac_header_compiler" >&6
52731 # Is the header present?
52732 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52733 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52734 cat >conftest.$ac_ext <<_ACEOF
52735 #line $LINENO "configure"
52736 /* confdefs.h. */
52737 _ACEOF
52738 cat confdefs.h >>conftest.$ac_ext
52739 cat >>conftest.$ac_ext <<_ACEOF
52740 /* end confdefs.h. */
52741 #include <langinfo.h>
52742 _ACEOF
52743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52745 ac_status=$?
52746 grep -v '^ *+' conftest.er1 >conftest.err
52747 rm -f conftest.er1
52748 cat conftest.err >&5
52749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52750 (exit $ac_status); } >/dev/null; then
52751 if test -s conftest.err; then
52752 ac_cpp_err=$ac_c_preproc_warn_flag
52753 else
52754 ac_cpp_err=
52756 else
52757 ac_cpp_err=yes
52759 if test -z "$ac_cpp_err"; then
52760 ac_header_preproc=yes
52761 else
52762 echo "$as_me: failed program was:" >&5
52763 sed 's/^/| /' conftest.$ac_ext >&5
52765 ac_header_preproc=no
52767 rm -f conftest.err conftest.$ac_ext
52768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52769 echo "${ECHO_T}$ac_header_preproc" >&6
52771 # So? What about this header?
52772 case $ac_header_compiler:$ac_header_preproc in
52773 yes:no )
52774 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52775 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52776 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52777 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52779 cat <<\_ASBOX
52780 ## ------------------------------------ ##
52781 ## Report this to bug-autoconf@gnu.org. ##
52782 ## ------------------------------------ ##
52783 _ASBOX
52785 sed "s/^/$as_me: WARNING: /" >&2
52787 no:yes )
52788 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52789 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52790 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52791 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52792 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52793 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52795 cat <<\_ASBOX
52796 ## ------------------------------------ ##
52797 ## Report this to bug-autoconf@gnu.org. ##
52798 ## ------------------------------------ ##
52799 _ASBOX
52801 sed "s/^/$as_me: WARNING: /" >&2
52803 esac
52804 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52805 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52806 if test "${ac_cv_header_langinfo_h+set}" = set; then
52807 echo $ECHO_N "(cached) $ECHO_C" >&6
52808 else
52809 ac_cv_header_langinfo_h=$ac_header_preproc
52811 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52812 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52815 if test $ac_cv_header_langinfo_h = yes; then
52816 ac_has_langinfo_h=yes
52817 else
52818 ac_has_langinfo_h=no
52823 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52824 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52825 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52826 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52827 echo $ECHO_N "(cached) $ECHO_C" >&6
52828 else
52829 ac_check_lib_save_LIBS=$LIBS
52830 LIBS="-liconv $LIBS"
52831 if test x$gcc_no_link = xyes; then
52832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52834 { (exit 1); exit 1; }; }
52836 cat >conftest.$ac_ext <<_ACEOF
52837 #line $LINENO "configure"
52838 /* confdefs.h. */
52839 _ACEOF
52840 cat confdefs.h >>conftest.$ac_ext
52841 cat >>conftest.$ac_ext <<_ACEOF
52842 /* end confdefs.h. */
52844 /* Override any gcc2 internal prototype to avoid an error. */
52845 #ifdef __cplusplus
52846 extern "C"
52847 #endif
52848 /* We use char because int might match the return type of a gcc2
52849 builtin and then its argument prototype would still apply. */
52850 char iconv ();
52852 main ()
52854 iconv ();
52856 return 0;
52858 _ACEOF
52859 rm -f conftest.$ac_objext conftest$ac_exeext
52860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52861 (eval $ac_link) 2>&5
52862 ac_status=$?
52863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52864 (exit $ac_status); } &&
52865 { ac_try='test -s conftest$ac_exeext'
52866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52867 (eval $ac_try) 2>&5
52868 ac_status=$?
52869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52870 (exit $ac_status); }; }; then
52871 ac_cv_lib_iconv_iconv=yes
52872 else
52873 echo "$as_me: failed program was:" >&5
52874 sed 's/^/| /' conftest.$ac_ext >&5
52876 ac_cv_lib_iconv_iconv=no
52878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52879 LIBS=$ac_check_lib_save_LIBS
52881 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52882 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52883 if test $ac_cv_lib_iconv_iconv = yes; then
52884 libiconv="-liconv"
52887 ac_save_LIBS="$LIBS"
52888 LIBS="$LIBS $libiconv"
52894 for ac_func in iconv_open iconv_close iconv nl_langinfo
52896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52897 echo "$as_me:$LINENO: checking for $ac_func" >&5
52898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52899 if eval "test \"\${$as_ac_var+set}\" = set"; then
52900 echo $ECHO_N "(cached) $ECHO_C" >&6
52901 else
52902 if test x$gcc_no_link = xyes; then
52903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52905 { (exit 1); exit 1; }; }
52907 cat >conftest.$ac_ext <<_ACEOF
52908 #line $LINENO "configure"
52909 /* confdefs.h. */
52910 _ACEOF
52911 cat confdefs.h >>conftest.$ac_ext
52912 cat >>conftest.$ac_ext <<_ACEOF
52913 /* end confdefs.h. */
52914 /* System header to define __stub macros and hopefully few prototypes,
52915 which can conflict with char $ac_func (); below.
52916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52917 <limits.h> exists even on freestanding compilers. */
52918 #ifdef __STDC__
52919 # include <limits.h>
52920 #else
52921 # include <assert.h>
52922 #endif
52923 /* Override any gcc2 internal prototype to avoid an error. */
52924 #ifdef __cplusplus
52925 extern "C"
52927 #endif
52928 /* We use char because int might match the return type of a gcc2
52929 builtin and then its argument prototype would still apply. */
52930 char $ac_func ();
52931 /* The GNU C library defines this for functions which it implements
52932 to always fail with ENOSYS. Some functions are actually named
52933 something starting with __ and the normal name is an alias. */
52934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52935 choke me
52936 #else
52937 char (*f) () = $ac_func;
52938 #endif
52939 #ifdef __cplusplus
52941 #endif
52944 main ()
52946 return f != $ac_func;
52948 return 0;
52950 _ACEOF
52951 rm -f conftest.$ac_objext conftest$ac_exeext
52952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52953 (eval $ac_link) 2>&5
52954 ac_status=$?
52955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52956 (exit $ac_status); } &&
52957 { ac_try='test -s conftest$ac_exeext'
52958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52959 (eval $ac_try) 2>&5
52960 ac_status=$?
52961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52962 (exit $ac_status); }; }; then
52963 eval "$as_ac_var=yes"
52964 else
52965 echo "$as_me: failed program was:" >&5
52966 sed 's/^/| /' conftest.$ac_ext >&5
52968 eval "$as_ac_var=no"
52970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52974 if test `eval echo '${'$as_ac_var'}'` = yes; then
52975 cat >>confdefs.h <<_ACEOF
52976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52977 _ACEOF
52978 ac_XPG2funcs=yes
52979 else
52980 ac_XPG2funcs=no
52982 done
52985 LIBS="$ac_save_LIBS"
52987 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52988 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52989 if test x"$ac_has_iconv_h" = xyes &&
52990 test x"$ac_has_langinfo_h" = xyes &&
52991 test x"$ac_XPG2funcs" = xyes;
52992 then
52993 ac_XPG2_wchar_t=yes
52994 else
52995 ac_XPG2_wchar_t=no
52997 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52998 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53000 # At the moment, only enable wchar_t specializations if all the
53001 # above support is present.
53002 if test x"$ac_isoC99_wchar_t" = xyes &&
53003 test x"$ac_XPG2_wchar_t" = xyes;
53004 then
53005 cat >>confdefs.h <<\_ACEOF
53006 #define _GLIBCXX_USE_WCHAR_T 1
53007 _ACEOF
53009 enable_wchar_t=yes
53012 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53013 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53014 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53015 echo "${ECHO_T}$enable_wchar_t" >&6
53017 cat >>confdefs.h <<\_ACEOF
53018 #define HAVE_COPYSIGN 1
53019 _ACEOF
53021 cat >>confdefs.h <<\_ACEOF
53022 #define HAVE_COPYSIGNF 1
53023 _ACEOF
53025 cat >>confdefs.h <<\_ACEOF
53026 #define HAVE_FINITE 1
53027 _ACEOF
53029 cat >>confdefs.h <<\_ACEOF
53030 #define HAVE_FINITEF 1
53031 _ACEOF
53033 cat >>confdefs.h <<\_ACEOF
53034 #define HAVE_FREXPF 1
53035 _ACEOF
53037 cat >>confdefs.h <<\_ACEOF
53038 #define HAVE_HYPOTF 1
53039 _ACEOF
53041 cat >>confdefs.h <<\_ACEOF
53042 #define HAVE_ISINF 1
53043 _ACEOF
53045 cat >>confdefs.h <<\_ACEOF
53046 #define HAVE_ISINFF 1
53047 _ACEOF
53049 cat >>confdefs.h <<\_ACEOF
53050 #define HAVE_ISNAN 1
53051 _ACEOF
53053 cat >>confdefs.h <<\_ACEOF
53054 #define HAVE_ISNANF 1
53055 _ACEOF
53057 cat >>confdefs.h <<\_ACEOF
53058 #define HAVE_SINCOS 1
53059 _ACEOF
53061 cat >>confdefs.h <<\_ACEOF
53062 #define HAVE_SINCOSF 1
53063 _ACEOF
53065 if test x"long_double_math_on_this_cpu" = x"yes"; then
53066 cat >>confdefs.h <<\_ACEOF
53067 #define HAVE_FINITEL 1
53068 _ACEOF
53070 cat >>confdefs.h <<\_ACEOF
53071 #define HAVE_HYPOTL 1
53072 _ACEOF
53074 cat >>confdefs.h <<\_ACEOF
53075 #define HAVE_ISINFL 1
53076 _ACEOF
53078 cat >>confdefs.h <<\_ACEOF
53079 #define HAVE_ISNANL 1
53080 _ACEOF
53084 *-mingw32*)
53085 #os_include_dir="os/mingw32"
53089 for ac_header in sys/types.h locale.h float.h
53091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53093 echo "$as_me:$LINENO: checking for $ac_header" >&5
53094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53096 echo $ECHO_N "(cached) $ECHO_C" >&6
53098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53100 else
53101 # Is the header compilable?
53102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53104 cat >conftest.$ac_ext <<_ACEOF
53105 #line $LINENO "configure"
53106 /* confdefs.h. */
53107 _ACEOF
53108 cat confdefs.h >>conftest.$ac_ext
53109 cat >>conftest.$ac_ext <<_ACEOF
53110 /* end confdefs.h. */
53111 $ac_includes_default
53112 #include <$ac_header>
53113 _ACEOF
53114 rm -f conftest.$ac_objext
53115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53116 (eval $ac_compile) 2>&5
53117 ac_status=$?
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); } &&
53120 { ac_try='test -s conftest.$ac_objext'
53121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53122 (eval $ac_try) 2>&5
53123 ac_status=$?
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 (exit $ac_status); }; }; then
53126 ac_header_compiler=yes
53127 else
53128 echo "$as_me: failed program was:" >&5
53129 sed 's/^/| /' conftest.$ac_ext >&5
53131 ac_header_compiler=no
53133 rm -f conftest.$ac_objext conftest.$ac_ext
53134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53135 echo "${ECHO_T}$ac_header_compiler" >&6
53137 # Is the header present?
53138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53140 cat >conftest.$ac_ext <<_ACEOF
53141 #line $LINENO "configure"
53142 /* confdefs.h. */
53143 _ACEOF
53144 cat confdefs.h >>conftest.$ac_ext
53145 cat >>conftest.$ac_ext <<_ACEOF
53146 /* end confdefs.h. */
53147 #include <$ac_header>
53148 _ACEOF
53149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53151 ac_status=$?
53152 grep -v '^ *+' conftest.er1 >conftest.err
53153 rm -f conftest.er1
53154 cat conftest.err >&5
53155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53156 (exit $ac_status); } >/dev/null; then
53157 if test -s conftest.err; then
53158 ac_cpp_err=$ac_c_preproc_warn_flag
53159 else
53160 ac_cpp_err=
53162 else
53163 ac_cpp_err=yes
53165 if test -z "$ac_cpp_err"; then
53166 ac_header_preproc=yes
53167 else
53168 echo "$as_me: failed program was:" >&5
53169 sed 's/^/| /' conftest.$ac_ext >&5
53171 ac_header_preproc=no
53173 rm -f conftest.err conftest.$ac_ext
53174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53175 echo "${ECHO_T}$ac_header_preproc" >&6
53177 # So? What about this header?
53178 case $ac_header_compiler:$ac_header_preproc in
53179 yes:no )
53180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53185 cat <<\_ASBOX
53186 ## ------------------------------------ ##
53187 ## Report this to bug-autoconf@gnu.org. ##
53188 ## ------------------------------------ ##
53189 _ASBOX
53191 sed "s/^/$as_me: WARNING: /" >&2
53193 no:yes )
53194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53201 cat <<\_ASBOX
53202 ## ------------------------------------ ##
53203 ## Report this to bug-autoconf@gnu.org. ##
53204 ## ------------------------------------ ##
53205 _ASBOX
53207 sed "s/^/$as_me: WARNING: /" >&2
53209 esac
53210 echo "$as_me:$LINENO: checking for $ac_header" >&5
53211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53213 echo $ECHO_N "(cached) $ECHO_C" >&6
53214 else
53215 eval "$as_ac_Header=$ac_header_preproc"
53217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53222 cat >>confdefs.h <<_ACEOF
53223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53224 _ACEOF
53228 done
53231 # If we're not using GNU ld, then there's no point in even trying these
53232 # tests. Check for that first. We should have already tested for gld
53233 # by now (in libtool), but require it now just to be safe...
53234 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53235 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53239 # The name set by libtool depends on the version of libtool. Shame on us
53240 # for depending on an impl detail, but c'est la vie. Older versions used
53241 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53242 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53243 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53244 # set (hence we're using an older libtool), then set it.
53245 if test x${with_gnu_ld+set} != xset; then
53246 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53247 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53248 with_gnu_ld=no
53249 else
53250 with_gnu_ld=$ac_cv_prog_gnu_ld
53254 # Start by getting the version number. I think the libtool test already
53255 # does some of this, but throws away the result.
53257 ldver=`$LD --version 2>/dev/null | head -1 | \
53258 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53260 glibcxx_gnu_ld_version=`echo $ldver | \
53261 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53263 # Set --gc-sections.
53264 if test "$with_gnu_ld" = "notbroken"; then
53265 # GNU ld it is! Joy and bunny rabbits!
53267 # All these tests are for C++; save the language and the compiler flags.
53268 # Need to do this so that g++ won't try to link in libstdc++
53269 ac_test_CFLAGS="${CFLAGS+set}"
53270 ac_save_CFLAGS="$CFLAGS"
53271 CFLAGS='-x c++ -Wl,--gc-sections'
53273 # Check for -Wl,--gc-sections
53274 # XXX This test is broken at the moment, as symbols required for linking
53275 # are now in libsupc++ (not built yet). In addition, this test has
53276 # cored on solaris in the past. In addition, --gc-sections doesn't
53277 # really work at the moment (keeps on discarding used sections, first
53278 # .eh_frame and now some of the glibc sections for iconv).
53279 # Bzzzzt. Thanks for playing, maybe next time.
53280 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53281 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53282 if test "$cross_compiling" = yes; then
53283 ac_sectionLDflags=yes
53284 else
53285 cat >conftest.$ac_ext <<_ACEOF
53286 #line $LINENO "configure"
53287 /* confdefs.h. */
53288 _ACEOF
53289 cat confdefs.h >>conftest.$ac_ext
53290 cat >>conftest.$ac_ext <<_ACEOF
53291 /* end confdefs.h. */
53293 int main(void)
53295 try { throw 1; }
53296 catch (...) { };
53297 return 0;
53300 _ACEOF
53301 rm -f conftest$ac_exeext
53302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53303 (eval $ac_link) 2>&5
53304 ac_status=$?
53305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53308 (eval $ac_try) 2>&5
53309 ac_status=$?
53310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53311 (exit $ac_status); }; }; then
53312 ac_sectionLDflags=yes
53313 else
53314 echo "$as_me: program exited with status $ac_status" >&5
53315 echo "$as_me: failed program was:" >&5
53316 sed 's/^/| /' conftest.$ac_ext >&5
53318 ( exit $ac_status )
53319 ac_sectionLDflags=no
53321 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53323 if test "$ac_test_CFLAGS" = set; then
53324 CFLAGS="$ac_save_CFLAGS"
53325 else
53326 # this is the suspicious part
53327 CFLAGS=''
53329 if test "$ac_sectionLDflags" = "yes"; then
53330 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53332 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53333 echo "${ECHO_T}$ac_sectionLDflags" >&6
53336 # Set linker optimization flags.
53337 if test x"$with_gnu_ld" = x"yes"; then
53338 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53346 echo "$as_me:$LINENO: checking for main in -lm" >&5
53347 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53348 if test "${ac_cv_lib_m_main+set}" = set; then
53349 echo $ECHO_N "(cached) $ECHO_C" >&6
53350 else
53351 ac_check_lib_save_LIBS=$LIBS
53352 LIBS="-lm $LIBS"
53353 if test x$gcc_no_link = xyes; then
53354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53356 { (exit 1); exit 1; }; }
53358 cat >conftest.$ac_ext <<_ACEOF
53359 #line $LINENO "configure"
53360 /* confdefs.h. */
53361 _ACEOF
53362 cat confdefs.h >>conftest.$ac_ext
53363 cat >>conftest.$ac_ext <<_ACEOF
53364 /* end confdefs.h. */
53368 main ()
53370 main ();
53372 return 0;
53374 _ACEOF
53375 rm -f conftest.$ac_objext conftest$ac_exeext
53376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53377 (eval $ac_link) 2>&5
53378 ac_status=$?
53379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53380 (exit $ac_status); } &&
53381 { ac_try='test -s conftest$ac_exeext'
53382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53383 (eval $ac_try) 2>&5
53384 ac_status=$?
53385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53386 (exit $ac_status); }; }; then
53387 ac_cv_lib_m_main=yes
53388 else
53389 echo "$as_me: failed program was:" >&5
53390 sed 's/^/| /' conftest.$ac_ext >&5
53392 ac_cv_lib_m_main=no
53394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53395 LIBS=$ac_check_lib_save_LIBS
53397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53398 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53399 if test $ac_cv_lib_m_main = yes; then
53400 cat >>confdefs.h <<_ACEOF
53401 #define HAVE_LIBM 1
53402 _ACEOF
53404 LIBS="-lm $LIBS"
53410 for ac_func in nan copysignf
53412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53413 echo "$as_me:$LINENO: checking for $ac_func" >&5
53414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53415 if eval "test \"\${$as_ac_var+set}\" = set"; then
53416 echo $ECHO_N "(cached) $ECHO_C" >&6
53417 else
53418 if test x$gcc_no_link = xyes; then
53419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53421 { (exit 1); exit 1; }; }
53423 cat >conftest.$ac_ext <<_ACEOF
53424 #line $LINENO "configure"
53425 /* confdefs.h. */
53426 _ACEOF
53427 cat confdefs.h >>conftest.$ac_ext
53428 cat >>conftest.$ac_ext <<_ACEOF
53429 /* end confdefs.h. */
53430 /* System header to define __stub macros and hopefully few prototypes,
53431 which can conflict with char $ac_func (); below.
53432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53433 <limits.h> exists even on freestanding compilers. */
53434 #ifdef __STDC__
53435 # include <limits.h>
53436 #else
53437 # include <assert.h>
53438 #endif
53439 /* Override any gcc2 internal prototype to avoid an error. */
53440 #ifdef __cplusplus
53441 extern "C"
53443 #endif
53444 /* We use char because int might match the return type of a gcc2
53445 builtin and then its argument prototype would still apply. */
53446 char $ac_func ();
53447 /* The GNU C library defines this for functions which it implements
53448 to always fail with ENOSYS. Some functions are actually named
53449 something starting with __ and the normal name is an alias. */
53450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53451 choke me
53452 #else
53453 char (*f) () = $ac_func;
53454 #endif
53455 #ifdef __cplusplus
53457 #endif
53460 main ()
53462 return f != $ac_func;
53464 return 0;
53466 _ACEOF
53467 rm -f conftest.$ac_objext conftest$ac_exeext
53468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53469 (eval $ac_link) 2>&5
53470 ac_status=$?
53471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472 (exit $ac_status); } &&
53473 { ac_try='test -s conftest$ac_exeext'
53474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475 (eval $ac_try) 2>&5
53476 ac_status=$?
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); }; }; then
53479 eval "$as_ac_var=yes"
53480 else
53481 echo "$as_me: failed program was:" >&5
53482 sed 's/^/| /' conftest.$ac_ext >&5
53484 eval "$as_ac_var=no"
53486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53490 if test `eval echo '${'$as_ac_var'}'` = yes; then
53491 cat >>confdefs.h <<_ACEOF
53492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53493 _ACEOF
53495 else
53496 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53498 done
53502 for ac_func in __signbit
53504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53505 echo "$as_me:$LINENO: checking for $ac_func" >&5
53506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53507 if eval "test \"\${$as_ac_var+set}\" = set"; then
53508 echo $ECHO_N "(cached) $ECHO_C" >&6
53509 else
53510 if test x$gcc_no_link = xyes; then
53511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53513 { (exit 1); exit 1; }; }
53515 cat >conftest.$ac_ext <<_ACEOF
53516 #line $LINENO "configure"
53517 /* confdefs.h. */
53518 _ACEOF
53519 cat confdefs.h >>conftest.$ac_ext
53520 cat >>conftest.$ac_ext <<_ACEOF
53521 /* end confdefs.h. */
53522 /* System header to define __stub macros and hopefully few prototypes,
53523 which can conflict with char $ac_func (); below.
53524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53525 <limits.h> exists even on freestanding compilers. */
53526 #ifdef __STDC__
53527 # include <limits.h>
53528 #else
53529 # include <assert.h>
53530 #endif
53531 /* Override any gcc2 internal prototype to avoid an error. */
53532 #ifdef __cplusplus
53533 extern "C"
53535 #endif
53536 /* We use char because int might match the return type of a gcc2
53537 builtin and then its argument prototype would still apply. */
53538 char $ac_func ();
53539 /* The GNU C library defines this for functions which it implements
53540 to always fail with ENOSYS. Some functions are actually named
53541 something starting with __ and the normal name is an alias. */
53542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53543 choke me
53544 #else
53545 char (*f) () = $ac_func;
53546 #endif
53547 #ifdef __cplusplus
53549 #endif
53552 main ()
53554 return f != $ac_func;
53556 return 0;
53558 _ACEOF
53559 rm -f conftest.$ac_objext conftest$ac_exeext
53560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53561 (eval $ac_link) 2>&5
53562 ac_status=$?
53563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53564 (exit $ac_status); } &&
53565 { ac_try='test -s conftest$ac_exeext'
53566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53567 (eval $ac_try) 2>&5
53568 ac_status=$?
53569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53570 (exit $ac_status); }; }; then
53571 eval "$as_ac_var=yes"
53572 else
53573 echo "$as_me: failed program was:" >&5
53574 sed 's/^/| /' conftest.$ac_ext >&5
53576 eval "$as_ac_var=no"
53578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53582 if test `eval echo '${'$as_ac_var'}'` = yes; then
53583 cat >>confdefs.h <<_ACEOF
53584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53585 _ACEOF
53587 else
53588 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53590 done
53593 for ac_func in __signbitf
53595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53596 echo "$as_me:$LINENO: checking for $ac_func" >&5
53597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53598 if eval "test \"\${$as_ac_var+set}\" = set"; then
53599 echo $ECHO_N "(cached) $ECHO_C" >&6
53600 else
53601 if test x$gcc_no_link = xyes; then
53602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53604 { (exit 1); exit 1; }; }
53606 cat >conftest.$ac_ext <<_ACEOF
53607 #line $LINENO "configure"
53608 /* confdefs.h. */
53609 _ACEOF
53610 cat confdefs.h >>conftest.$ac_ext
53611 cat >>conftest.$ac_ext <<_ACEOF
53612 /* end confdefs.h. */
53613 /* System header to define __stub macros and hopefully few prototypes,
53614 which can conflict with char $ac_func (); below.
53615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53616 <limits.h> exists even on freestanding compilers. */
53617 #ifdef __STDC__
53618 # include <limits.h>
53619 #else
53620 # include <assert.h>
53621 #endif
53622 /* Override any gcc2 internal prototype to avoid an error. */
53623 #ifdef __cplusplus
53624 extern "C"
53626 #endif
53627 /* We use char because int might match the return type of a gcc2
53628 builtin and then its argument prototype would still apply. */
53629 char $ac_func ();
53630 /* The GNU C library defines this for functions which it implements
53631 to always fail with ENOSYS. Some functions are actually named
53632 something starting with __ and the normal name is an alias. */
53633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53634 choke me
53635 #else
53636 char (*f) () = $ac_func;
53637 #endif
53638 #ifdef __cplusplus
53640 #endif
53643 main ()
53645 return f != $ac_func;
53647 return 0;
53649 _ACEOF
53650 rm -f conftest.$ac_objext conftest$ac_exeext
53651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53652 (eval $ac_link) 2>&5
53653 ac_status=$?
53654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53655 (exit $ac_status); } &&
53656 { ac_try='test -s conftest$ac_exeext'
53657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53658 (eval $ac_try) 2>&5
53659 ac_status=$?
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); }; }; then
53662 eval "$as_ac_var=yes"
53663 else
53664 echo "$as_me: failed program was:" >&5
53665 sed 's/^/| /' conftest.$ac_ext >&5
53667 eval "$as_ac_var=no"
53669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53673 if test `eval echo '${'$as_ac_var'}'` = yes; then
53674 cat >>confdefs.h <<_ACEOF
53675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53676 _ACEOF
53678 else
53679 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53681 done
53684 if test x$ac_cv_func_copysignl = x"yes"; then
53686 for ac_func in __signbitl
53688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53689 echo "$as_me:$LINENO: checking for $ac_func" >&5
53690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53691 if eval "test \"\${$as_ac_var+set}\" = set"; then
53692 echo $ECHO_N "(cached) $ECHO_C" >&6
53693 else
53694 if test x$gcc_no_link = xyes; then
53695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53697 { (exit 1); exit 1; }; }
53699 cat >conftest.$ac_ext <<_ACEOF
53700 #line $LINENO "configure"
53701 /* confdefs.h. */
53702 _ACEOF
53703 cat confdefs.h >>conftest.$ac_ext
53704 cat >>conftest.$ac_ext <<_ACEOF
53705 /* end confdefs.h. */
53706 /* System header to define __stub macros and hopefully few prototypes,
53707 which can conflict with char $ac_func (); below.
53708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53709 <limits.h> exists even on freestanding compilers. */
53710 #ifdef __STDC__
53711 # include <limits.h>
53712 #else
53713 # include <assert.h>
53714 #endif
53715 /* Override any gcc2 internal prototype to avoid an error. */
53716 #ifdef __cplusplus
53717 extern "C"
53719 #endif
53720 /* We use char because int might match the return type of a gcc2
53721 builtin and then its argument prototype would still apply. */
53722 char $ac_func ();
53723 /* The GNU C library defines this for functions which it implements
53724 to always fail with ENOSYS. Some functions are actually named
53725 something starting with __ and the normal name is an alias. */
53726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53727 choke me
53728 #else
53729 char (*f) () = $ac_func;
53730 #endif
53731 #ifdef __cplusplus
53733 #endif
53736 main ()
53738 return f != $ac_func;
53740 return 0;
53742 _ACEOF
53743 rm -f conftest.$ac_objext conftest$ac_exeext
53744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53745 (eval $ac_link) 2>&5
53746 ac_status=$?
53747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53748 (exit $ac_status); } &&
53749 { ac_try='test -s conftest$ac_exeext'
53750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53751 (eval $ac_try) 2>&5
53752 ac_status=$?
53753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53754 (exit $ac_status); }; }; then
53755 eval "$as_ac_var=yes"
53756 else
53757 echo "$as_me: failed program was:" >&5
53758 sed 's/^/| /' conftest.$ac_ext >&5
53760 eval "$as_ac_var=no"
53762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53766 if test `eval echo '${'$as_ac_var'}'` = yes; then
53767 cat >>confdefs.h <<_ACEOF
53768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53769 _ACEOF
53771 else
53772 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53774 done
53778 # XXX Review this. Nothing uses it.
53779 if test -n "$LIBMATHOBJS"; then
53780 need_libmath=yes
53785 # Test wchar.h for mbstate_t, which is needed for char_traits and
53786 # others even if wchar_t support is not on.
53787 echo "$as_me:$LINENO: checking for mbstate_t" >&5
53788 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53789 cat >conftest.$ac_ext <<_ACEOF
53790 #line $LINENO "configure"
53791 /* confdefs.h. */
53792 _ACEOF
53793 cat confdefs.h >>conftest.$ac_ext
53794 cat >>conftest.$ac_ext <<_ACEOF
53795 /* end confdefs.h. */
53796 #include <wchar.h>
53798 main ()
53800 mbstate_t teststate;
53802 return 0;
53804 _ACEOF
53805 rm -f conftest.$ac_objext
53806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53807 (eval $ac_compile) 2>&5
53808 ac_status=$?
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); } &&
53811 { ac_try='test -s conftest.$ac_objext'
53812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53813 (eval $ac_try) 2>&5
53814 ac_status=$?
53815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816 (exit $ac_status); }; }; then
53817 have_mbstate_t=yes
53818 else
53819 echo "$as_me: failed program was:" >&5
53820 sed 's/^/| /' conftest.$ac_ext >&5
53822 have_mbstate_t=no
53824 rm -f conftest.$ac_objext conftest.$ac_ext
53825 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53826 echo "${ECHO_T}$have_mbstate_t" >&6
53827 if test x"$have_mbstate_t" = xyes; then
53828 cat >>confdefs.h <<\_ACEOF
53829 #define HAVE_MBSTATE_T 1
53830 _ACEOF
53834 # Sanity check for existence of ISO C99 headers for extended encoding.
53836 for ac_header in wchar.h
53838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53840 echo "$as_me:$LINENO: checking for $ac_header" >&5
53841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53843 echo $ECHO_N "(cached) $ECHO_C" >&6
53845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53847 else
53848 # Is the header compilable?
53849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53851 cat >conftest.$ac_ext <<_ACEOF
53852 #line $LINENO "configure"
53853 /* confdefs.h. */
53854 _ACEOF
53855 cat confdefs.h >>conftest.$ac_ext
53856 cat >>conftest.$ac_ext <<_ACEOF
53857 /* end confdefs.h. */
53858 $ac_includes_default
53859 #include <$ac_header>
53860 _ACEOF
53861 rm -f conftest.$ac_objext
53862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53863 (eval $ac_compile) 2>&5
53864 ac_status=$?
53865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53866 (exit $ac_status); } &&
53867 { ac_try='test -s conftest.$ac_objext'
53868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53869 (eval $ac_try) 2>&5
53870 ac_status=$?
53871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53872 (exit $ac_status); }; }; then
53873 ac_header_compiler=yes
53874 else
53875 echo "$as_me: failed program was:" >&5
53876 sed 's/^/| /' conftest.$ac_ext >&5
53878 ac_header_compiler=no
53880 rm -f conftest.$ac_objext conftest.$ac_ext
53881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53882 echo "${ECHO_T}$ac_header_compiler" >&6
53884 # Is the header present?
53885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53887 cat >conftest.$ac_ext <<_ACEOF
53888 #line $LINENO "configure"
53889 /* confdefs.h. */
53890 _ACEOF
53891 cat confdefs.h >>conftest.$ac_ext
53892 cat >>conftest.$ac_ext <<_ACEOF
53893 /* end confdefs.h. */
53894 #include <$ac_header>
53895 _ACEOF
53896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53898 ac_status=$?
53899 grep -v '^ *+' conftest.er1 >conftest.err
53900 rm -f conftest.er1
53901 cat conftest.err >&5
53902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53903 (exit $ac_status); } >/dev/null; then
53904 if test -s conftest.err; then
53905 ac_cpp_err=$ac_c_preproc_warn_flag
53906 else
53907 ac_cpp_err=
53909 else
53910 ac_cpp_err=yes
53912 if test -z "$ac_cpp_err"; then
53913 ac_header_preproc=yes
53914 else
53915 echo "$as_me: failed program was:" >&5
53916 sed 's/^/| /' conftest.$ac_ext >&5
53918 ac_header_preproc=no
53920 rm -f conftest.err conftest.$ac_ext
53921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53922 echo "${ECHO_T}$ac_header_preproc" >&6
53924 # So? What about this header?
53925 case $ac_header_compiler:$ac_header_preproc in
53926 yes:no )
53927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53932 cat <<\_ASBOX
53933 ## ------------------------------------ ##
53934 ## Report this to bug-autoconf@gnu.org. ##
53935 ## ------------------------------------ ##
53936 _ASBOX
53938 sed "s/^/$as_me: WARNING: /" >&2
53940 no:yes )
53941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53948 cat <<\_ASBOX
53949 ## ------------------------------------ ##
53950 ## Report this to bug-autoconf@gnu.org. ##
53951 ## ------------------------------------ ##
53952 _ASBOX
53954 sed "s/^/$as_me: WARNING: /" >&2
53956 esac
53957 echo "$as_me:$LINENO: checking for $ac_header" >&5
53958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53960 echo $ECHO_N "(cached) $ECHO_C" >&6
53961 else
53962 eval "$as_ac_Header=$ac_header_preproc"
53964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53969 cat >>confdefs.h <<_ACEOF
53970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53971 _ACEOF
53972 ac_has_wchar_h=yes
53973 else
53974 ac_has_wchar_h=no
53977 done
53980 for ac_header in wctype.h
53982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53984 echo "$as_me:$LINENO: checking for $ac_header" >&5
53985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53987 echo $ECHO_N "(cached) $ECHO_C" >&6
53989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53991 else
53992 # Is the header compilable?
53993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53995 cat >conftest.$ac_ext <<_ACEOF
53996 #line $LINENO "configure"
53997 /* confdefs.h. */
53998 _ACEOF
53999 cat confdefs.h >>conftest.$ac_ext
54000 cat >>conftest.$ac_ext <<_ACEOF
54001 /* end confdefs.h. */
54002 $ac_includes_default
54003 #include <$ac_header>
54004 _ACEOF
54005 rm -f conftest.$ac_objext
54006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54007 (eval $ac_compile) 2>&5
54008 ac_status=$?
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); } &&
54011 { ac_try='test -s conftest.$ac_objext'
54012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013 (eval $ac_try) 2>&5
54014 ac_status=$?
54015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016 (exit $ac_status); }; }; then
54017 ac_header_compiler=yes
54018 else
54019 echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54022 ac_header_compiler=no
54024 rm -f conftest.$ac_objext conftest.$ac_ext
54025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54026 echo "${ECHO_T}$ac_header_compiler" >&6
54028 # Is the header present?
54029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54031 cat >conftest.$ac_ext <<_ACEOF
54032 #line $LINENO "configure"
54033 /* confdefs.h. */
54034 _ACEOF
54035 cat confdefs.h >>conftest.$ac_ext
54036 cat >>conftest.$ac_ext <<_ACEOF
54037 /* end confdefs.h. */
54038 #include <$ac_header>
54039 _ACEOF
54040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54042 ac_status=$?
54043 grep -v '^ *+' conftest.er1 >conftest.err
54044 rm -f conftest.er1
54045 cat conftest.err >&5
54046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54047 (exit $ac_status); } >/dev/null; then
54048 if test -s conftest.err; then
54049 ac_cpp_err=$ac_c_preproc_warn_flag
54050 else
54051 ac_cpp_err=
54053 else
54054 ac_cpp_err=yes
54056 if test -z "$ac_cpp_err"; then
54057 ac_header_preproc=yes
54058 else
54059 echo "$as_me: failed program was:" >&5
54060 sed 's/^/| /' conftest.$ac_ext >&5
54062 ac_header_preproc=no
54064 rm -f conftest.err conftest.$ac_ext
54065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54066 echo "${ECHO_T}$ac_header_preproc" >&6
54068 # So? What about this header?
54069 case $ac_header_compiler:$ac_header_preproc in
54070 yes:no )
54071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54076 cat <<\_ASBOX
54077 ## ------------------------------------ ##
54078 ## Report this to bug-autoconf@gnu.org. ##
54079 ## ------------------------------------ ##
54080 _ASBOX
54082 sed "s/^/$as_me: WARNING: /" >&2
54084 no:yes )
54085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54092 cat <<\_ASBOX
54093 ## ------------------------------------ ##
54094 ## Report this to bug-autoconf@gnu.org. ##
54095 ## ------------------------------------ ##
54096 _ASBOX
54098 sed "s/^/$as_me: WARNING: /" >&2
54100 esac
54101 echo "$as_me:$LINENO: checking for $ac_header" >&5
54102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54104 echo $ECHO_N "(cached) $ECHO_C" >&6
54105 else
54106 eval "$as_ac_Header=$ac_header_preproc"
54108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54113 cat >>confdefs.h <<_ACEOF
54114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54115 _ACEOF
54116 ac_has_wctype_h=yes
54117 else
54118 ac_has_wctype_h=no
54121 done
54124 # Only continue checking if the ISO C99 headers exist and support is on.
54125 if test x"$ac_has_wchar_h" = xyes &&
54126 test x"$ac_has_wctype_h" = xyes &&
54127 test x"$enable_c_mbchar" != xno; then
54129 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54130 # numeric_limits can instantiate type_traits<wchar_t>
54131 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54132 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54133 cat >conftest.$ac_ext <<_ACEOF
54134 #line $LINENO "configure"
54135 /* confdefs.h. */
54136 _ACEOF
54137 cat confdefs.h >>conftest.$ac_ext
54138 cat >>conftest.$ac_ext <<_ACEOF
54139 /* end confdefs.h. */
54140 #include <wchar.h>
54142 main ()
54144 int i = WCHAR_MIN; int j = WCHAR_MAX;
54146 return 0;
54148 _ACEOF
54149 rm -f conftest.$ac_objext
54150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54151 (eval $ac_compile) 2>&5
54152 ac_status=$?
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); } &&
54155 { ac_try='test -s conftest.$ac_objext'
54156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157 (eval $ac_try) 2>&5
54158 ac_status=$?
54159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160 (exit $ac_status); }; }; then
54161 has_wchar_minmax=yes
54162 else
54163 echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54166 has_wchar_minmax=no
54168 rm -f conftest.$ac_objext conftest.$ac_ext
54169 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54170 echo "${ECHO_T}$has_wchar_minmax" >&6
54172 # Test wchar.h for WEOF, which is what we use to determine whether
54173 # to specialize for char_traits<wchar_t> or not.
54174 echo "$as_me:$LINENO: checking for WEOF" >&5
54175 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54176 cat >conftest.$ac_ext <<_ACEOF
54177 #line $LINENO "configure"
54178 /* confdefs.h. */
54179 _ACEOF
54180 cat confdefs.h >>conftest.$ac_ext
54181 cat >>conftest.$ac_ext <<_ACEOF
54182 /* end confdefs.h. */
54184 #include <wchar.h>
54185 #include <stddef.h>
54187 main ()
54189 wint_t i = WEOF;
54191 return 0;
54193 _ACEOF
54194 rm -f conftest.$ac_objext
54195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54196 (eval $ac_compile) 2>&5
54197 ac_status=$?
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); } &&
54200 { ac_try='test -s conftest.$ac_objext'
54201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54202 (eval $ac_try) 2>&5
54203 ac_status=$?
54204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54205 (exit $ac_status); }; }; then
54206 has_weof=yes
54207 else
54208 echo "$as_me: failed program was:" >&5
54209 sed 's/^/| /' conftest.$ac_ext >&5
54211 has_weof=no
54213 rm -f conftest.$ac_objext conftest.$ac_ext
54214 echo "$as_me:$LINENO: result: $has_weof" >&5
54215 echo "${ECHO_T}$has_weof" >&6
54217 # Tests for wide character functions used in char_traits<wchar_t>.
54218 ac_wfuncs=yes
54225 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54228 echo "$as_me:$LINENO: checking for $ac_func" >&5
54229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54230 if eval "test \"\${$as_ac_var+set}\" = set"; then
54231 echo $ECHO_N "(cached) $ECHO_C" >&6
54232 else
54233 if test x$gcc_no_link = xyes; then
54234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54236 { (exit 1); exit 1; }; }
54238 cat >conftest.$ac_ext <<_ACEOF
54239 #line $LINENO "configure"
54240 /* confdefs.h. */
54241 _ACEOF
54242 cat confdefs.h >>conftest.$ac_ext
54243 cat >>conftest.$ac_ext <<_ACEOF
54244 /* end confdefs.h. */
54245 /* System header to define __stub macros and hopefully few prototypes,
54246 which can conflict with char $ac_func (); below.
54247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54248 <limits.h> exists even on freestanding compilers. */
54249 #ifdef __STDC__
54250 # include <limits.h>
54251 #else
54252 # include <assert.h>
54253 #endif
54254 /* Override any gcc2 internal prototype to avoid an error. */
54255 #ifdef __cplusplus
54256 extern "C"
54258 #endif
54259 /* We use char because int might match the return type of a gcc2
54260 builtin and then its argument prototype would still apply. */
54261 char $ac_func ();
54262 /* The GNU C library defines this for functions which it implements
54263 to always fail with ENOSYS. Some functions are actually named
54264 something starting with __ and the normal name is an alias. */
54265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54266 choke me
54267 #else
54268 char (*f) () = $ac_func;
54269 #endif
54270 #ifdef __cplusplus
54272 #endif
54275 main ()
54277 return f != $ac_func;
54279 return 0;
54281 _ACEOF
54282 rm -f conftest.$ac_objext conftest$ac_exeext
54283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54284 (eval $ac_link) 2>&5
54285 ac_status=$?
54286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54287 (exit $ac_status); } &&
54288 { ac_try='test -s conftest$ac_exeext'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54291 ac_status=$?
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; }; then
54294 eval "$as_ac_var=yes"
54295 else
54296 echo "$as_me: failed program was:" >&5
54297 sed 's/^/| /' conftest.$ac_ext >&5
54299 eval "$as_ac_var=no"
54301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54305 if test `eval echo '${'$as_ac_var'}'` = yes; then
54306 cat >>confdefs.h <<_ACEOF
54307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54308 _ACEOF
54310 else
54311 ac_wfuncs=no
54313 done
54316 # Checks for names injected into std:: by the c_std headers.
54363 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54364 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54365 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54366 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54367 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54368 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54371 echo "$as_me:$LINENO: checking for $ac_func" >&5
54372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54373 if eval "test \"\${$as_ac_var+set}\" = set"; then
54374 echo $ECHO_N "(cached) $ECHO_C" >&6
54375 else
54376 if test x$gcc_no_link = xyes; then
54377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54379 { (exit 1); exit 1; }; }
54381 cat >conftest.$ac_ext <<_ACEOF
54382 #line $LINENO "configure"
54383 /* confdefs.h. */
54384 _ACEOF
54385 cat confdefs.h >>conftest.$ac_ext
54386 cat >>conftest.$ac_ext <<_ACEOF
54387 /* end confdefs.h. */
54388 /* System header to define __stub macros and hopefully few prototypes,
54389 which can conflict with char $ac_func (); below.
54390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54391 <limits.h> exists even on freestanding compilers. */
54392 #ifdef __STDC__
54393 # include <limits.h>
54394 #else
54395 # include <assert.h>
54396 #endif
54397 /* Override any gcc2 internal prototype to avoid an error. */
54398 #ifdef __cplusplus
54399 extern "C"
54401 #endif
54402 /* We use char because int might match the return type of a gcc2
54403 builtin and then its argument prototype would still apply. */
54404 char $ac_func ();
54405 /* The GNU C library defines this for functions which it implements
54406 to always fail with ENOSYS. Some functions are actually named
54407 something starting with __ and the normal name is an alias. */
54408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54409 choke me
54410 #else
54411 char (*f) () = $ac_func;
54412 #endif
54413 #ifdef __cplusplus
54415 #endif
54418 main ()
54420 return f != $ac_func;
54422 return 0;
54424 _ACEOF
54425 rm -f conftest.$ac_objext conftest$ac_exeext
54426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54427 (eval $ac_link) 2>&5
54428 ac_status=$?
54429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54430 (exit $ac_status); } &&
54431 { ac_try='test -s conftest$ac_exeext'
54432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54433 (eval $ac_try) 2>&5
54434 ac_status=$?
54435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54436 (exit $ac_status); }; }; then
54437 eval "$as_ac_var=yes"
54438 else
54439 echo "$as_me: failed program was:" >&5
54440 sed 's/^/| /' conftest.$ac_ext >&5
54442 eval "$as_ac_var=no"
54444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54448 if test `eval echo '${'$as_ac_var'}'` = yes; then
54449 cat >>confdefs.h <<_ACEOF
54450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54451 _ACEOF
54453 else
54454 ac_wfuncs=no
54456 done
54459 # Checks for wide character functions that are not required
54460 # for basic wchar_t support. Don't disable support if they are missing.
54461 # Injection of these is wrapped with guard macros.
54467 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54470 echo "$as_me:$LINENO: checking for $ac_func" >&5
54471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54472 if eval "test \"\${$as_ac_var+set}\" = set"; then
54473 echo $ECHO_N "(cached) $ECHO_C" >&6
54474 else
54475 if test x$gcc_no_link = xyes; then
54476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54478 { (exit 1); exit 1; }; }
54480 cat >conftest.$ac_ext <<_ACEOF
54481 #line $LINENO "configure"
54482 /* confdefs.h. */
54483 _ACEOF
54484 cat confdefs.h >>conftest.$ac_ext
54485 cat >>conftest.$ac_ext <<_ACEOF
54486 /* end confdefs.h. */
54487 /* System header to define __stub macros and hopefully few prototypes,
54488 which can conflict with char $ac_func (); below.
54489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54490 <limits.h> exists even on freestanding compilers. */
54491 #ifdef __STDC__
54492 # include <limits.h>
54493 #else
54494 # include <assert.h>
54495 #endif
54496 /* Override any gcc2 internal prototype to avoid an error. */
54497 #ifdef __cplusplus
54498 extern "C"
54500 #endif
54501 /* We use char because int might match the return type of a gcc2
54502 builtin and then its argument prototype would still apply. */
54503 char $ac_func ();
54504 /* The GNU C library defines this for functions which it implements
54505 to always fail with ENOSYS. Some functions are actually named
54506 something starting with __ and the normal name is an alias. */
54507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54508 choke me
54509 #else
54510 char (*f) () = $ac_func;
54511 #endif
54512 #ifdef __cplusplus
54514 #endif
54517 main ()
54519 return f != $ac_func;
54521 return 0;
54523 _ACEOF
54524 rm -f conftest.$ac_objext conftest$ac_exeext
54525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54526 (eval $ac_link) 2>&5
54527 ac_status=$?
54528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54529 (exit $ac_status); } &&
54530 { ac_try='test -s conftest$ac_exeext'
54531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54532 (eval $ac_try) 2>&5
54533 ac_status=$?
54534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54535 (exit $ac_status); }; }; then
54536 eval "$as_ac_var=yes"
54537 else
54538 echo "$as_me: failed program was:" >&5
54539 sed 's/^/| /' conftest.$ac_ext >&5
54541 eval "$as_ac_var=no"
54543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54547 if test `eval echo '${'$as_ac_var'}'` = yes; then
54548 cat >>confdefs.h <<_ACEOF
54549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54550 _ACEOF
54553 done
54556 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54557 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54558 if test x"$has_weof" = xyes &&
54559 test x"$has_wchar_minmax" = xyes &&
54560 test x"$ac_wfuncs" = xyes;
54561 then
54562 ac_isoC99_wchar_t=yes
54563 else
54564 ac_isoC99_wchar_t=no
54566 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54567 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54569 # Use iconv for wchar_t to char conversions. As such, check for
54570 # X/Open Portability Guide, version 2 features (XPG2).
54571 if test "${ac_cv_header_iconv_h+set}" = set; then
54572 echo "$as_me:$LINENO: checking for iconv.h" >&5
54573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54574 if test "${ac_cv_header_iconv_h+set}" = set; then
54575 echo $ECHO_N "(cached) $ECHO_C" >&6
54577 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54578 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54579 else
54580 # Is the header compilable?
54581 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54582 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54583 cat >conftest.$ac_ext <<_ACEOF
54584 #line $LINENO "configure"
54585 /* confdefs.h. */
54586 _ACEOF
54587 cat confdefs.h >>conftest.$ac_ext
54588 cat >>conftest.$ac_ext <<_ACEOF
54589 /* end confdefs.h. */
54590 $ac_includes_default
54591 #include <iconv.h>
54592 _ACEOF
54593 rm -f conftest.$ac_objext
54594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54595 (eval $ac_compile) 2>&5
54596 ac_status=$?
54597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54598 (exit $ac_status); } &&
54599 { ac_try='test -s conftest.$ac_objext'
54600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54601 (eval $ac_try) 2>&5
54602 ac_status=$?
54603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54604 (exit $ac_status); }; }; then
54605 ac_header_compiler=yes
54606 else
54607 echo "$as_me: failed program was:" >&5
54608 sed 's/^/| /' conftest.$ac_ext >&5
54610 ac_header_compiler=no
54612 rm -f conftest.$ac_objext conftest.$ac_ext
54613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54614 echo "${ECHO_T}$ac_header_compiler" >&6
54616 # Is the header present?
54617 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54618 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54619 cat >conftest.$ac_ext <<_ACEOF
54620 #line $LINENO "configure"
54621 /* confdefs.h. */
54622 _ACEOF
54623 cat confdefs.h >>conftest.$ac_ext
54624 cat >>conftest.$ac_ext <<_ACEOF
54625 /* end confdefs.h. */
54626 #include <iconv.h>
54627 _ACEOF
54628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54630 ac_status=$?
54631 grep -v '^ *+' conftest.er1 >conftest.err
54632 rm -f conftest.er1
54633 cat conftest.err >&5
54634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54635 (exit $ac_status); } >/dev/null; then
54636 if test -s conftest.err; then
54637 ac_cpp_err=$ac_c_preproc_warn_flag
54638 else
54639 ac_cpp_err=
54641 else
54642 ac_cpp_err=yes
54644 if test -z "$ac_cpp_err"; then
54645 ac_header_preproc=yes
54646 else
54647 echo "$as_me: failed program was:" >&5
54648 sed 's/^/| /' conftest.$ac_ext >&5
54650 ac_header_preproc=no
54652 rm -f conftest.err conftest.$ac_ext
54653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54654 echo "${ECHO_T}$ac_header_preproc" >&6
54656 # So? What about this header?
54657 case $ac_header_compiler:$ac_header_preproc in
54658 yes:no )
54659 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54660 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54661 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54662 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54664 cat <<\_ASBOX
54665 ## ------------------------------------ ##
54666 ## Report this to bug-autoconf@gnu.org. ##
54667 ## ------------------------------------ ##
54668 _ASBOX
54670 sed "s/^/$as_me: WARNING: /" >&2
54672 no:yes )
54673 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54674 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54675 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54676 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54677 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54678 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54680 cat <<\_ASBOX
54681 ## ------------------------------------ ##
54682 ## Report this to bug-autoconf@gnu.org. ##
54683 ## ------------------------------------ ##
54684 _ASBOX
54686 sed "s/^/$as_me: WARNING: /" >&2
54688 esac
54689 echo "$as_me:$LINENO: checking for iconv.h" >&5
54690 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54691 if test "${ac_cv_header_iconv_h+set}" = set; then
54692 echo $ECHO_N "(cached) $ECHO_C" >&6
54693 else
54694 ac_cv_header_iconv_h=$ac_header_preproc
54696 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54697 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54700 if test $ac_cv_header_iconv_h = yes; then
54701 ac_has_iconv_h=yes
54702 else
54703 ac_has_iconv_h=no
54707 if test "${ac_cv_header_langinfo_h+set}" = set; then
54708 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54709 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54710 if test "${ac_cv_header_langinfo_h+set}" = set; then
54711 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54714 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54715 else
54716 # Is the header compilable?
54717 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54718 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54719 cat >conftest.$ac_ext <<_ACEOF
54720 #line $LINENO "configure"
54721 /* confdefs.h. */
54722 _ACEOF
54723 cat confdefs.h >>conftest.$ac_ext
54724 cat >>conftest.$ac_ext <<_ACEOF
54725 /* end confdefs.h. */
54726 $ac_includes_default
54727 #include <langinfo.h>
54728 _ACEOF
54729 rm -f conftest.$ac_objext
54730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54731 (eval $ac_compile) 2>&5
54732 ac_status=$?
54733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54734 (exit $ac_status); } &&
54735 { ac_try='test -s conftest.$ac_objext'
54736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54737 (eval $ac_try) 2>&5
54738 ac_status=$?
54739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54740 (exit $ac_status); }; }; then
54741 ac_header_compiler=yes
54742 else
54743 echo "$as_me: failed program was:" >&5
54744 sed 's/^/| /' conftest.$ac_ext >&5
54746 ac_header_compiler=no
54748 rm -f conftest.$ac_objext conftest.$ac_ext
54749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54750 echo "${ECHO_T}$ac_header_compiler" >&6
54752 # Is the header present?
54753 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54754 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54755 cat >conftest.$ac_ext <<_ACEOF
54756 #line $LINENO "configure"
54757 /* confdefs.h. */
54758 _ACEOF
54759 cat confdefs.h >>conftest.$ac_ext
54760 cat >>conftest.$ac_ext <<_ACEOF
54761 /* end confdefs.h. */
54762 #include <langinfo.h>
54763 _ACEOF
54764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54766 ac_status=$?
54767 grep -v '^ *+' conftest.er1 >conftest.err
54768 rm -f conftest.er1
54769 cat conftest.err >&5
54770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54771 (exit $ac_status); } >/dev/null; then
54772 if test -s conftest.err; then
54773 ac_cpp_err=$ac_c_preproc_warn_flag
54774 else
54775 ac_cpp_err=
54777 else
54778 ac_cpp_err=yes
54780 if test -z "$ac_cpp_err"; then
54781 ac_header_preproc=yes
54782 else
54783 echo "$as_me: failed program was:" >&5
54784 sed 's/^/| /' conftest.$ac_ext >&5
54786 ac_header_preproc=no
54788 rm -f conftest.err conftest.$ac_ext
54789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54790 echo "${ECHO_T}$ac_header_preproc" >&6
54792 # So? What about this header?
54793 case $ac_header_compiler:$ac_header_preproc in
54794 yes:no )
54795 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54796 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54797 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54798 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54800 cat <<\_ASBOX
54801 ## ------------------------------------ ##
54802 ## Report this to bug-autoconf@gnu.org. ##
54803 ## ------------------------------------ ##
54804 _ASBOX
54806 sed "s/^/$as_me: WARNING: /" >&2
54808 no:yes )
54809 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54810 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54811 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54812 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54813 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54814 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54816 cat <<\_ASBOX
54817 ## ------------------------------------ ##
54818 ## Report this to bug-autoconf@gnu.org. ##
54819 ## ------------------------------------ ##
54820 _ASBOX
54822 sed "s/^/$as_me: WARNING: /" >&2
54824 esac
54825 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54826 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54827 if test "${ac_cv_header_langinfo_h+set}" = set; then
54828 echo $ECHO_N "(cached) $ECHO_C" >&6
54829 else
54830 ac_cv_header_langinfo_h=$ac_header_preproc
54832 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54833 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54836 if test $ac_cv_header_langinfo_h = yes; then
54837 ac_has_langinfo_h=yes
54838 else
54839 ac_has_langinfo_h=no
54844 # Check for existence of libiconv.a providing XPG2 wchar_t support.
54845 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54846 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54847 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54848 echo $ECHO_N "(cached) $ECHO_C" >&6
54849 else
54850 ac_check_lib_save_LIBS=$LIBS
54851 LIBS="-liconv $LIBS"
54852 if test x$gcc_no_link = xyes; then
54853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54855 { (exit 1); exit 1; }; }
54857 cat >conftest.$ac_ext <<_ACEOF
54858 #line $LINENO "configure"
54859 /* confdefs.h. */
54860 _ACEOF
54861 cat confdefs.h >>conftest.$ac_ext
54862 cat >>conftest.$ac_ext <<_ACEOF
54863 /* end confdefs.h. */
54865 /* Override any gcc2 internal prototype to avoid an error. */
54866 #ifdef __cplusplus
54867 extern "C"
54868 #endif
54869 /* We use char because int might match the return type of a gcc2
54870 builtin and then its argument prototype would still apply. */
54871 char iconv ();
54873 main ()
54875 iconv ();
54877 return 0;
54879 _ACEOF
54880 rm -f conftest.$ac_objext conftest$ac_exeext
54881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54882 (eval $ac_link) 2>&5
54883 ac_status=$?
54884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54885 (exit $ac_status); } &&
54886 { ac_try='test -s conftest$ac_exeext'
54887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54888 (eval $ac_try) 2>&5
54889 ac_status=$?
54890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54891 (exit $ac_status); }; }; then
54892 ac_cv_lib_iconv_iconv=yes
54893 else
54894 echo "$as_me: failed program was:" >&5
54895 sed 's/^/| /' conftest.$ac_ext >&5
54897 ac_cv_lib_iconv_iconv=no
54899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54900 LIBS=$ac_check_lib_save_LIBS
54902 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
54903 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
54904 if test $ac_cv_lib_iconv_iconv = yes; then
54905 libiconv="-liconv"
54908 ac_save_LIBS="$LIBS"
54909 LIBS="$LIBS $libiconv"
54915 for ac_func in iconv_open iconv_close iconv nl_langinfo
54917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54918 echo "$as_me:$LINENO: checking for $ac_func" >&5
54919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54920 if eval "test \"\${$as_ac_var+set}\" = set"; then
54921 echo $ECHO_N "(cached) $ECHO_C" >&6
54922 else
54923 if test x$gcc_no_link = xyes; then
54924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54926 { (exit 1); exit 1; }; }
54928 cat >conftest.$ac_ext <<_ACEOF
54929 #line $LINENO "configure"
54930 /* confdefs.h. */
54931 _ACEOF
54932 cat confdefs.h >>conftest.$ac_ext
54933 cat >>conftest.$ac_ext <<_ACEOF
54934 /* end confdefs.h. */
54935 /* System header to define __stub macros and hopefully few prototypes,
54936 which can conflict with char $ac_func (); below.
54937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54938 <limits.h> exists even on freestanding compilers. */
54939 #ifdef __STDC__
54940 # include <limits.h>
54941 #else
54942 # include <assert.h>
54943 #endif
54944 /* Override any gcc2 internal prototype to avoid an error. */
54945 #ifdef __cplusplus
54946 extern "C"
54948 #endif
54949 /* We use char because int might match the return type of a gcc2
54950 builtin and then its argument prototype would still apply. */
54951 char $ac_func ();
54952 /* The GNU C library defines this for functions which it implements
54953 to always fail with ENOSYS. Some functions are actually named
54954 something starting with __ and the normal name is an alias. */
54955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54956 choke me
54957 #else
54958 char (*f) () = $ac_func;
54959 #endif
54960 #ifdef __cplusplus
54962 #endif
54965 main ()
54967 return f != $ac_func;
54969 return 0;
54971 _ACEOF
54972 rm -f conftest.$ac_objext conftest$ac_exeext
54973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54974 (eval $ac_link) 2>&5
54975 ac_status=$?
54976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54977 (exit $ac_status); } &&
54978 { ac_try='test -s conftest$ac_exeext'
54979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54980 (eval $ac_try) 2>&5
54981 ac_status=$?
54982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54983 (exit $ac_status); }; }; then
54984 eval "$as_ac_var=yes"
54985 else
54986 echo "$as_me: failed program was:" >&5
54987 sed 's/^/| /' conftest.$ac_ext >&5
54989 eval "$as_ac_var=no"
54991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54995 if test `eval echo '${'$as_ac_var'}'` = yes; then
54996 cat >>confdefs.h <<_ACEOF
54997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54998 _ACEOF
54999 ac_XPG2funcs=yes
55000 else
55001 ac_XPG2funcs=no
55003 done
55006 LIBS="$ac_save_LIBS"
55008 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55009 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55010 if test x"$ac_has_iconv_h" = xyes &&
55011 test x"$ac_has_langinfo_h" = xyes &&
55012 test x"$ac_XPG2funcs" = xyes;
55013 then
55014 ac_XPG2_wchar_t=yes
55015 else
55016 ac_XPG2_wchar_t=no
55018 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55019 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55021 # At the moment, only enable wchar_t specializations if all the
55022 # above support is present.
55023 if test x"$ac_isoC99_wchar_t" = xyes &&
55024 test x"$ac_XPG2_wchar_t" = xyes;
55025 then
55026 cat >>confdefs.h <<\_ACEOF
55027 #define _GLIBCXX_USE_WCHAR_T 1
55028 _ACEOF
55030 enable_wchar_t=yes
55033 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55034 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55035 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55036 echo "${ECHO_T}$enable_wchar_t" >&6
55039 *-netbsd*)
55040 #os_include_dir="os/bsd/netbsd"
55053 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55054 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55055 fp.h locale.h float.h inttypes.h
55057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55059 echo "$as_me:$LINENO: checking for $ac_header" >&5
55060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55062 echo $ECHO_N "(cached) $ECHO_C" >&6
55064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55066 else
55067 # Is the header compilable?
55068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55070 cat >conftest.$ac_ext <<_ACEOF
55071 #line $LINENO "configure"
55072 /* confdefs.h. */
55073 _ACEOF
55074 cat confdefs.h >>conftest.$ac_ext
55075 cat >>conftest.$ac_ext <<_ACEOF
55076 /* end confdefs.h. */
55077 $ac_includes_default
55078 #include <$ac_header>
55079 _ACEOF
55080 rm -f conftest.$ac_objext
55081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55082 (eval $ac_compile) 2>&5
55083 ac_status=$?
55084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 (exit $ac_status); } &&
55086 { ac_try='test -s conftest.$ac_objext'
55087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088 (eval $ac_try) 2>&5
55089 ac_status=$?
55090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091 (exit $ac_status); }; }; then
55092 ac_header_compiler=yes
55093 else
55094 echo "$as_me: failed program was:" >&5
55095 sed 's/^/| /' conftest.$ac_ext >&5
55097 ac_header_compiler=no
55099 rm -f conftest.$ac_objext conftest.$ac_ext
55100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55101 echo "${ECHO_T}$ac_header_compiler" >&6
55103 # Is the header present?
55104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55106 cat >conftest.$ac_ext <<_ACEOF
55107 #line $LINENO "configure"
55108 /* confdefs.h. */
55109 _ACEOF
55110 cat confdefs.h >>conftest.$ac_ext
55111 cat >>conftest.$ac_ext <<_ACEOF
55112 /* end confdefs.h. */
55113 #include <$ac_header>
55114 _ACEOF
55115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55117 ac_status=$?
55118 grep -v '^ *+' conftest.er1 >conftest.err
55119 rm -f conftest.er1
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } >/dev/null; then
55123 if test -s conftest.err; then
55124 ac_cpp_err=$ac_c_preproc_warn_flag
55125 else
55126 ac_cpp_err=
55128 else
55129 ac_cpp_err=yes
55131 if test -z "$ac_cpp_err"; then
55132 ac_header_preproc=yes
55133 else
55134 echo "$as_me: failed program was:" >&5
55135 sed 's/^/| /' conftest.$ac_ext >&5
55137 ac_header_preproc=no
55139 rm -f conftest.err conftest.$ac_ext
55140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55141 echo "${ECHO_T}$ac_header_preproc" >&6
55143 # So? What about this header?
55144 case $ac_header_compiler:$ac_header_preproc in
55145 yes:no )
55146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55151 cat <<\_ASBOX
55152 ## ------------------------------------ ##
55153 ## Report this to bug-autoconf@gnu.org. ##
55154 ## ------------------------------------ ##
55155 _ASBOX
55157 sed "s/^/$as_me: WARNING: /" >&2
55159 no:yes )
55160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55167 cat <<\_ASBOX
55168 ## ------------------------------------ ##
55169 ## Report this to bug-autoconf@gnu.org. ##
55170 ## ------------------------------------ ##
55171 _ASBOX
55173 sed "s/^/$as_me: WARNING: /" >&2
55175 esac
55176 echo "$as_me:$LINENO: checking for $ac_header" >&5
55177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55179 echo $ECHO_N "(cached) $ECHO_C" >&6
55180 else
55181 eval "$as_ac_Header=$ac_header_preproc"
55183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55188 cat >>confdefs.h <<_ACEOF
55189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55190 _ACEOF
55194 done
55196 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55199 # If we're not using GNU ld, then there's no point in even trying these
55200 # tests. Check for that first. We should have already tested for gld
55201 # by now (in libtool), but require it now just to be safe...
55202 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55203 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55207 # The name set by libtool depends on the version of libtool. Shame on us
55208 # for depending on an impl detail, but c'est la vie. Older versions used
55209 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55210 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55211 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55212 # set (hence we're using an older libtool), then set it.
55213 if test x${with_gnu_ld+set} != xset; then
55214 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55215 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55216 with_gnu_ld=no
55217 else
55218 with_gnu_ld=$ac_cv_prog_gnu_ld
55222 # Start by getting the version number. I think the libtool test already
55223 # does some of this, but throws away the result.
55225 ldver=`$LD --version 2>/dev/null | head -1 | \
55226 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55228 glibcxx_gnu_ld_version=`echo $ldver | \
55229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55231 # Set --gc-sections.
55232 if test "$with_gnu_ld" = "notbroken"; then
55233 # GNU ld it is! Joy and bunny rabbits!
55235 # All these tests are for C++; save the language and the compiler flags.
55236 # Need to do this so that g++ won't try to link in libstdc++
55237 ac_test_CFLAGS="${CFLAGS+set}"
55238 ac_save_CFLAGS="$CFLAGS"
55239 CFLAGS='-x c++ -Wl,--gc-sections'
55241 # Check for -Wl,--gc-sections
55242 # XXX This test is broken at the moment, as symbols required for linking
55243 # are now in libsupc++ (not built yet). In addition, this test has
55244 # cored on solaris in the past. In addition, --gc-sections doesn't
55245 # really work at the moment (keeps on discarding used sections, first
55246 # .eh_frame and now some of the glibc sections for iconv).
55247 # Bzzzzt. Thanks for playing, maybe next time.
55248 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55249 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55250 if test "$cross_compiling" = yes; then
55251 ac_sectionLDflags=yes
55252 else
55253 cat >conftest.$ac_ext <<_ACEOF
55254 #line $LINENO "configure"
55255 /* confdefs.h. */
55256 _ACEOF
55257 cat confdefs.h >>conftest.$ac_ext
55258 cat >>conftest.$ac_ext <<_ACEOF
55259 /* end confdefs.h. */
55261 int main(void)
55263 try { throw 1; }
55264 catch (...) { };
55265 return 0;
55268 _ACEOF
55269 rm -f conftest$ac_exeext
55270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55271 (eval $ac_link) 2>&5
55272 ac_status=$?
55273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55276 (eval $ac_try) 2>&5
55277 ac_status=$?
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); }; }; then
55280 ac_sectionLDflags=yes
55281 else
55282 echo "$as_me: program exited with status $ac_status" >&5
55283 echo "$as_me: failed program was:" >&5
55284 sed 's/^/| /' conftest.$ac_ext >&5
55286 ( exit $ac_status )
55287 ac_sectionLDflags=no
55289 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55291 if test "$ac_test_CFLAGS" = set; then
55292 CFLAGS="$ac_save_CFLAGS"
55293 else
55294 # this is the suspicious part
55295 CFLAGS=''
55297 if test "$ac_sectionLDflags" = "yes"; then
55298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55300 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55301 echo "${ECHO_T}$ac_sectionLDflags" >&6
55304 # Set linker optimization flags.
55305 if test x"$with_gnu_ld" = x"yes"; then
55306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55314 echo "$as_me:$LINENO: checking for main in -lm" >&5
55315 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55316 if test "${ac_cv_lib_m_main+set}" = set; then
55317 echo $ECHO_N "(cached) $ECHO_C" >&6
55318 else
55319 ac_check_lib_save_LIBS=$LIBS
55320 LIBS="-lm $LIBS"
55321 if test x$gcc_no_link = xyes; then
55322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55324 { (exit 1); exit 1; }; }
55326 cat >conftest.$ac_ext <<_ACEOF
55327 #line $LINENO "configure"
55328 /* confdefs.h. */
55329 _ACEOF
55330 cat confdefs.h >>conftest.$ac_ext
55331 cat >>conftest.$ac_ext <<_ACEOF
55332 /* end confdefs.h. */
55336 main ()
55338 main ();
55340 return 0;
55342 _ACEOF
55343 rm -f conftest.$ac_objext conftest$ac_exeext
55344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55345 (eval $ac_link) 2>&5
55346 ac_status=$?
55347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55348 (exit $ac_status); } &&
55349 { ac_try='test -s conftest$ac_exeext'
55350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55351 (eval $ac_try) 2>&5
55352 ac_status=$?
55353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55354 (exit $ac_status); }; }; then
55355 ac_cv_lib_m_main=yes
55356 else
55357 echo "$as_me: failed program was:" >&5
55358 sed 's/^/| /' conftest.$ac_ext >&5
55360 ac_cv_lib_m_main=no
55362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55363 LIBS=$ac_check_lib_save_LIBS
55365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55366 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55367 if test $ac_cv_lib_m_main = yes; then
55368 cat >>confdefs.h <<_ACEOF
55369 #define HAVE_LIBM 1
55370 _ACEOF
55372 LIBS="-lm $LIBS"
55378 for ac_func in nan copysignf
55380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55381 echo "$as_me:$LINENO: checking for $ac_func" >&5
55382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55383 if eval "test \"\${$as_ac_var+set}\" = set"; then
55384 echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55386 if test x$gcc_no_link = xyes; then
55387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55389 { (exit 1); exit 1; }; }
55391 cat >conftest.$ac_ext <<_ACEOF
55392 #line $LINENO "configure"
55393 /* confdefs.h. */
55394 _ACEOF
55395 cat confdefs.h >>conftest.$ac_ext
55396 cat >>conftest.$ac_ext <<_ACEOF
55397 /* end confdefs.h. */
55398 /* System header to define __stub macros and hopefully few prototypes,
55399 which can conflict with char $ac_func (); below.
55400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55401 <limits.h> exists even on freestanding compilers. */
55402 #ifdef __STDC__
55403 # include <limits.h>
55404 #else
55405 # include <assert.h>
55406 #endif
55407 /* Override any gcc2 internal prototype to avoid an error. */
55408 #ifdef __cplusplus
55409 extern "C"
55411 #endif
55412 /* We use char because int might match the return type of a gcc2
55413 builtin and then its argument prototype would still apply. */
55414 char $ac_func ();
55415 /* The GNU C library defines this for functions which it implements
55416 to always fail with ENOSYS. Some functions are actually named
55417 something starting with __ and the normal name is an alias. */
55418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55419 choke me
55420 #else
55421 char (*f) () = $ac_func;
55422 #endif
55423 #ifdef __cplusplus
55425 #endif
55428 main ()
55430 return f != $ac_func;
55432 return 0;
55434 _ACEOF
55435 rm -f conftest.$ac_objext conftest$ac_exeext
55436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55437 (eval $ac_link) 2>&5
55438 ac_status=$?
55439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55440 (exit $ac_status); } &&
55441 { ac_try='test -s conftest$ac_exeext'
55442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55443 (eval $ac_try) 2>&5
55444 ac_status=$?
55445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55446 (exit $ac_status); }; }; then
55447 eval "$as_ac_var=yes"
55448 else
55449 echo "$as_me: failed program was:" >&5
55450 sed 's/^/| /' conftest.$ac_ext >&5
55452 eval "$as_ac_var=no"
55454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55458 if test `eval echo '${'$as_ac_var'}'` = yes; then
55459 cat >>confdefs.h <<_ACEOF
55460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55461 _ACEOF
55463 else
55464 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55466 done
55470 for ac_func in __signbit
55472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55473 echo "$as_me:$LINENO: checking for $ac_func" >&5
55474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55475 if eval "test \"\${$as_ac_var+set}\" = set"; then
55476 echo $ECHO_N "(cached) $ECHO_C" >&6
55477 else
55478 if test x$gcc_no_link = xyes; then
55479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55481 { (exit 1); exit 1; }; }
55483 cat >conftest.$ac_ext <<_ACEOF
55484 #line $LINENO "configure"
55485 /* confdefs.h. */
55486 _ACEOF
55487 cat confdefs.h >>conftest.$ac_ext
55488 cat >>conftest.$ac_ext <<_ACEOF
55489 /* end confdefs.h. */
55490 /* System header to define __stub macros and hopefully few prototypes,
55491 which can conflict with char $ac_func (); below.
55492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55493 <limits.h> exists even on freestanding compilers. */
55494 #ifdef __STDC__
55495 # include <limits.h>
55496 #else
55497 # include <assert.h>
55498 #endif
55499 /* Override any gcc2 internal prototype to avoid an error. */
55500 #ifdef __cplusplus
55501 extern "C"
55503 #endif
55504 /* We use char because int might match the return type of a gcc2
55505 builtin and then its argument prototype would still apply. */
55506 char $ac_func ();
55507 /* The GNU C library defines this for functions which it implements
55508 to always fail with ENOSYS. Some functions are actually named
55509 something starting with __ and the normal name is an alias. */
55510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55511 choke me
55512 #else
55513 char (*f) () = $ac_func;
55514 #endif
55515 #ifdef __cplusplus
55517 #endif
55520 main ()
55522 return f != $ac_func;
55524 return 0;
55526 _ACEOF
55527 rm -f conftest.$ac_objext conftest$ac_exeext
55528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55529 (eval $ac_link) 2>&5
55530 ac_status=$?
55531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55532 (exit $ac_status); } &&
55533 { ac_try='test -s conftest$ac_exeext'
55534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55535 (eval $ac_try) 2>&5
55536 ac_status=$?
55537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55538 (exit $ac_status); }; }; then
55539 eval "$as_ac_var=yes"
55540 else
55541 echo "$as_me: failed program was:" >&5
55542 sed 's/^/| /' conftest.$ac_ext >&5
55544 eval "$as_ac_var=no"
55546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55550 if test `eval echo '${'$as_ac_var'}'` = yes; then
55551 cat >>confdefs.h <<_ACEOF
55552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55553 _ACEOF
55555 else
55556 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55558 done
55561 for ac_func in __signbitf
55563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55564 echo "$as_me:$LINENO: checking for $ac_func" >&5
55565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55566 if eval "test \"\${$as_ac_var+set}\" = set"; then
55567 echo $ECHO_N "(cached) $ECHO_C" >&6
55568 else
55569 if test x$gcc_no_link = xyes; then
55570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55572 { (exit 1); exit 1; }; }
55574 cat >conftest.$ac_ext <<_ACEOF
55575 #line $LINENO "configure"
55576 /* confdefs.h. */
55577 _ACEOF
55578 cat confdefs.h >>conftest.$ac_ext
55579 cat >>conftest.$ac_ext <<_ACEOF
55580 /* end confdefs.h. */
55581 /* System header to define __stub macros and hopefully few prototypes,
55582 which can conflict with char $ac_func (); below.
55583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55584 <limits.h> exists even on freestanding compilers. */
55585 #ifdef __STDC__
55586 # include <limits.h>
55587 #else
55588 # include <assert.h>
55589 #endif
55590 /* Override any gcc2 internal prototype to avoid an error. */
55591 #ifdef __cplusplus
55592 extern "C"
55594 #endif
55595 /* We use char because int might match the return type of a gcc2
55596 builtin and then its argument prototype would still apply. */
55597 char $ac_func ();
55598 /* The GNU C library defines this for functions which it implements
55599 to always fail with ENOSYS. Some functions are actually named
55600 something starting with __ and the normal name is an alias. */
55601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55602 choke me
55603 #else
55604 char (*f) () = $ac_func;
55605 #endif
55606 #ifdef __cplusplus
55608 #endif
55611 main ()
55613 return f != $ac_func;
55615 return 0;
55617 _ACEOF
55618 rm -f conftest.$ac_objext conftest$ac_exeext
55619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55620 (eval $ac_link) 2>&5
55621 ac_status=$?
55622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55623 (exit $ac_status); } &&
55624 { ac_try='test -s conftest$ac_exeext'
55625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55626 (eval $ac_try) 2>&5
55627 ac_status=$?
55628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55629 (exit $ac_status); }; }; then
55630 eval "$as_ac_var=yes"
55631 else
55632 echo "$as_me: failed program was:" >&5
55633 sed 's/^/| /' conftest.$ac_ext >&5
55635 eval "$as_ac_var=no"
55637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55641 if test `eval echo '${'$as_ac_var'}'` = yes; then
55642 cat >>confdefs.h <<_ACEOF
55643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55644 _ACEOF
55646 else
55647 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55649 done
55652 if test x$ac_cv_func_copysignl = x"yes"; then
55654 for ac_func in __signbitl
55656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55657 echo "$as_me:$LINENO: checking for $ac_func" >&5
55658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55659 if eval "test \"\${$as_ac_var+set}\" = set"; then
55660 echo $ECHO_N "(cached) $ECHO_C" >&6
55661 else
55662 if test x$gcc_no_link = xyes; then
55663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55665 { (exit 1); exit 1; }; }
55667 cat >conftest.$ac_ext <<_ACEOF
55668 #line $LINENO "configure"
55669 /* confdefs.h. */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 /* System header to define __stub macros and hopefully few prototypes,
55675 which can conflict with char $ac_func (); below.
55676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55677 <limits.h> exists even on freestanding compilers. */
55678 #ifdef __STDC__
55679 # include <limits.h>
55680 #else
55681 # include <assert.h>
55682 #endif
55683 /* Override any gcc2 internal prototype to avoid an error. */
55684 #ifdef __cplusplus
55685 extern "C"
55687 #endif
55688 /* We use char because int might match the return type of a gcc2
55689 builtin and then its argument prototype would still apply. */
55690 char $ac_func ();
55691 /* The GNU C library defines this for functions which it implements
55692 to always fail with ENOSYS. Some functions are actually named
55693 something starting with __ and the normal name is an alias. */
55694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55695 choke me
55696 #else
55697 char (*f) () = $ac_func;
55698 #endif
55699 #ifdef __cplusplus
55701 #endif
55704 main ()
55706 return f != $ac_func;
55708 return 0;
55710 _ACEOF
55711 rm -f conftest.$ac_objext conftest$ac_exeext
55712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55713 (eval $ac_link) 2>&5
55714 ac_status=$?
55715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716 (exit $ac_status); } &&
55717 { ac_try='test -s conftest$ac_exeext'
55718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55719 (eval $ac_try) 2>&5
55720 ac_status=$?
55721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55722 (exit $ac_status); }; }; then
55723 eval "$as_ac_var=yes"
55724 else
55725 echo "$as_me: failed program was:" >&5
55726 sed 's/^/| /' conftest.$ac_ext >&5
55728 eval "$as_ac_var=no"
55730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55734 if test `eval echo '${'$as_ac_var'}'` = yes; then
55735 cat >>confdefs.h <<_ACEOF
55736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55737 _ACEOF
55739 else
55740 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55742 done
55746 # XXX Review this. Nothing uses it.
55747 if test -n "$LIBMATHOBJS"; then
55748 need_libmath=yes
55753 # Test wchar.h for mbstate_t, which is needed for char_traits and
55754 # others even if wchar_t support is not on.
55755 echo "$as_me:$LINENO: checking for mbstate_t" >&5
55756 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55757 cat >conftest.$ac_ext <<_ACEOF
55758 #line $LINENO "configure"
55759 /* confdefs.h. */
55760 _ACEOF
55761 cat confdefs.h >>conftest.$ac_ext
55762 cat >>conftest.$ac_ext <<_ACEOF
55763 /* end confdefs.h. */
55764 #include <wchar.h>
55766 main ()
55768 mbstate_t teststate;
55770 return 0;
55772 _ACEOF
55773 rm -f conftest.$ac_objext
55774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55775 (eval $ac_compile) 2>&5
55776 ac_status=$?
55777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55778 (exit $ac_status); } &&
55779 { ac_try='test -s conftest.$ac_objext'
55780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55781 (eval $ac_try) 2>&5
55782 ac_status=$?
55783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55784 (exit $ac_status); }; }; then
55785 have_mbstate_t=yes
55786 else
55787 echo "$as_me: failed program was:" >&5
55788 sed 's/^/| /' conftest.$ac_ext >&5
55790 have_mbstate_t=no
55792 rm -f conftest.$ac_objext conftest.$ac_ext
55793 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55794 echo "${ECHO_T}$have_mbstate_t" >&6
55795 if test x"$have_mbstate_t" = xyes; then
55796 cat >>confdefs.h <<\_ACEOF
55797 #define HAVE_MBSTATE_T 1
55798 _ACEOF
55802 # Sanity check for existence of ISO C99 headers for extended encoding.
55804 for ac_header in wchar.h
55806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55808 echo "$as_me:$LINENO: checking for $ac_header" >&5
55809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55811 echo $ECHO_N "(cached) $ECHO_C" >&6
55813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55815 else
55816 # Is the header compilable?
55817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55819 cat >conftest.$ac_ext <<_ACEOF
55820 #line $LINENO "configure"
55821 /* confdefs.h. */
55822 _ACEOF
55823 cat confdefs.h >>conftest.$ac_ext
55824 cat >>conftest.$ac_ext <<_ACEOF
55825 /* end confdefs.h. */
55826 $ac_includes_default
55827 #include <$ac_header>
55828 _ACEOF
55829 rm -f conftest.$ac_objext
55830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55831 (eval $ac_compile) 2>&5
55832 ac_status=$?
55833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55834 (exit $ac_status); } &&
55835 { ac_try='test -s conftest.$ac_objext'
55836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55837 (eval $ac_try) 2>&5
55838 ac_status=$?
55839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840 (exit $ac_status); }; }; then
55841 ac_header_compiler=yes
55842 else
55843 echo "$as_me: failed program was:" >&5
55844 sed 's/^/| /' conftest.$ac_ext >&5
55846 ac_header_compiler=no
55848 rm -f conftest.$ac_objext conftest.$ac_ext
55849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55850 echo "${ECHO_T}$ac_header_compiler" >&6
55852 # Is the header present?
55853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55855 cat >conftest.$ac_ext <<_ACEOF
55856 #line $LINENO "configure"
55857 /* confdefs.h. */
55858 _ACEOF
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h. */
55862 #include <$ac_header>
55863 _ACEOF
55864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55866 ac_status=$?
55867 grep -v '^ *+' conftest.er1 >conftest.err
55868 rm -f conftest.er1
55869 cat conftest.err >&5
55870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55871 (exit $ac_status); } >/dev/null; then
55872 if test -s conftest.err; then
55873 ac_cpp_err=$ac_c_preproc_warn_flag
55874 else
55875 ac_cpp_err=
55877 else
55878 ac_cpp_err=yes
55880 if test -z "$ac_cpp_err"; then
55881 ac_header_preproc=yes
55882 else
55883 echo "$as_me: failed program was:" >&5
55884 sed 's/^/| /' conftest.$ac_ext >&5
55886 ac_header_preproc=no
55888 rm -f conftest.err conftest.$ac_ext
55889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55890 echo "${ECHO_T}$ac_header_preproc" >&6
55892 # So? What about this header?
55893 case $ac_header_compiler:$ac_header_preproc in
55894 yes:no )
55895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55900 cat <<\_ASBOX
55901 ## ------------------------------------ ##
55902 ## Report this to bug-autoconf@gnu.org. ##
55903 ## ------------------------------------ ##
55904 _ASBOX
55906 sed "s/^/$as_me: WARNING: /" >&2
55908 no:yes )
55909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55916 cat <<\_ASBOX
55917 ## ------------------------------------ ##
55918 ## Report this to bug-autoconf@gnu.org. ##
55919 ## ------------------------------------ ##
55920 _ASBOX
55922 sed "s/^/$as_me: WARNING: /" >&2
55924 esac
55925 echo "$as_me:$LINENO: checking for $ac_header" >&5
55926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55928 echo $ECHO_N "(cached) $ECHO_C" >&6
55929 else
55930 eval "$as_ac_Header=$ac_header_preproc"
55932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55937 cat >>confdefs.h <<_ACEOF
55938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55939 _ACEOF
55940 ac_has_wchar_h=yes
55941 else
55942 ac_has_wchar_h=no
55945 done
55948 for ac_header in wctype.h
55950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55952 echo "$as_me:$LINENO: checking for $ac_header" >&5
55953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55955 echo $ECHO_N "(cached) $ECHO_C" >&6
55957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55959 else
55960 # Is the header compilable?
55961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55963 cat >conftest.$ac_ext <<_ACEOF
55964 #line $LINENO "configure"
55965 /* confdefs.h. */
55966 _ACEOF
55967 cat confdefs.h >>conftest.$ac_ext
55968 cat >>conftest.$ac_ext <<_ACEOF
55969 /* end confdefs.h. */
55970 $ac_includes_default
55971 #include <$ac_header>
55972 _ACEOF
55973 rm -f conftest.$ac_objext
55974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55975 (eval $ac_compile) 2>&5
55976 ac_status=$?
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); } &&
55979 { ac_try='test -s conftest.$ac_objext'
55980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55981 (eval $ac_try) 2>&5
55982 ac_status=$?
55983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55984 (exit $ac_status); }; }; then
55985 ac_header_compiler=yes
55986 else
55987 echo "$as_me: failed program was:" >&5
55988 sed 's/^/| /' conftest.$ac_ext >&5
55990 ac_header_compiler=no
55992 rm -f conftest.$ac_objext conftest.$ac_ext
55993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55994 echo "${ECHO_T}$ac_header_compiler" >&6
55996 # Is the header present?
55997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55999 cat >conftest.$ac_ext <<_ACEOF
56000 #line $LINENO "configure"
56001 /* confdefs.h. */
56002 _ACEOF
56003 cat confdefs.h >>conftest.$ac_ext
56004 cat >>conftest.$ac_ext <<_ACEOF
56005 /* end confdefs.h. */
56006 #include <$ac_header>
56007 _ACEOF
56008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56010 ac_status=$?
56011 grep -v '^ *+' conftest.er1 >conftest.err
56012 rm -f conftest.er1
56013 cat conftest.err >&5
56014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56015 (exit $ac_status); } >/dev/null; then
56016 if test -s conftest.err; then
56017 ac_cpp_err=$ac_c_preproc_warn_flag
56018 else
56019 ac_cpp_err=
56021 else
56022 ac_cpp_err=yes
56024 if test -z "$ac_cpp_err"; then
56025 ac_header_preproc=yes
56026 else
56027 echo "$as_me: failed program was:" >&5
56028 sed 's/^/| /' conftest.$ac_ext >&5
56030 ac_header_preproc=no
56032 rm -f conftest.err conftest.$ac_ext
56033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56034 echo "${ECHO_T}$ac_header_preproc" >&6
56036 # So? What about this header?
56037 case $ac_header_compiler:$ac_header_preproc in
56038 yes:no )
56039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56044 cat <<\_ASBOX
56045 ## ------------------------------------ ##
56046 ## Report this to bug-autoconf@gnu.org. ##
56047 ## ------------------------------------ ##
56048 _ASBOX
56050 sed "s/^/$as_me: WARNING: /" >&2
56052 no:yes )
56053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56060 cat <<\_ASBOX
56061 ## ------------------------------------ ##
56062 ## Report this to bug-autoconf@gnu.org. ##
56063 ## ------------------------------------ ##
56064 _ASBOX
56066 sed "s/^/$as_me: WARNING: /" >&2
56068 esac
56069 echo "$as_me:$LINENO: checking for $ac_header" >&5
56070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56072 echo $ECHO_N "(cached) $ECHO_C" >&6
56073 else
56074 eval "$as_ac_Header=$ac_header_preproc"
56076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56081 cat >>confdefs.h <<_ACEOF
56082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56083 _ACEOF
56084 ac_has_wctype_h=yes
56085 else
56086 ac_has_wctype_h=no
56089 done
56092 # Only continue checking if the ISO C99 headers exist and support is on.
56093 if test x"$ac_has_wchar_h" = xyes &&
56094 test x"$ac_has_wctype_h" = xyes &&
56095 test x"$enable_c_mbchar" != xno; then
56097 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56098 # numeric_limits can instantiate type_traits<wchar_t>
56099 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56100 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56101 cat >conftest.$ac_ext <<_ACEOF
56102 #line $LINENO "configure"
56103 /* confdefs.h. */
56104 _ACEOF
56105 cat confdefs.h >>conftest.$ac_ext
56106 cat >>conftest.$ac_ext <<_ACEOF
56107 /* end confdefs.h. */
56108 #include <wchar.h>
56110 main ()
56112 int i = WCHAR_MIN; int j = WCHAR_MAX;
56114 return 0;
56116 _ACEOF
56117 rm -f conftest.$ac_objext
56118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56119 (eval $ac_compile) 2>&5
56120 ac_status=$?
56121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56122 (exit $ac_status); } &&
56123 { ac_try='test -s conftest.$ac_objext'
56124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56125 (eval $ac_try) 2>&5
56126 ac_status=$?
56127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56128 (exit $ac_status); }; }; then
56129 has_wchar_minmax=yes
56130 else
56131 echo "$as_me: failed program was:" >&5
56132 sed 's/^/| /' conftest.$ac_ext >&5
56134 has_wchar_minmax=no
56136 rm -f conftest.$ac_objext conftest.$ac_ext
56137 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56138 echo "${ECHO_T}$has_wchar_minmax" >&6
56140 # Test wchar.h for WEOF, which is what we use to determine whether
56141 # to specialize for char_traits<wchar_t> or not.
56142 echo "$as_me:$LINENO: checking for WEOF" >&5
56143 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56144 cat >conftest.$ac_ext <<_ACEOF
56145 #line $LINENO "configure"
56146 /* confdefs.h. */
56147 _ACEOF
56148 cat confdefs.h >>conftest.$ac_ext
56149 cat >>conftest.$ac_ext <<_ACEOF
56150 /* end confdefs.h. */
56152 #include <wchar.h>
56153 #include <stddef.h>
56155 main ()
56157 wint_t i = WEOF;
56159 return 0;
56161 _ACEOF
56162 rm -f conftest.$ac_objext
56163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56164 (eval $ac_compile) 2>&5
56165 ac_status=$?
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); } &&
56168 { ac_try='test -s conftest.$ac_objext'
56169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56170 (eval $ac_try) 2>&5
56171 ac_status=$?
56172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56173 (exit $ac_status); }; }; then
56174 has_weof=yes
56175 else
56176 echo "$as_me: failed program was:" >&5
56177 sed 's/^/| /' conftest.$ac_ext >&5
56179 has_weof=no
56181 rm -f conftest.$ac_objext conftest.$ac_ext
56182 echo "$as_me:$LINENO: result: $has_weof" >&5
56183 echo "${ECHO_T}$has_weof" >&6
56185 # Tests for wide character functions used in char_traits<wchar_t>.
56186 ac_wfuncs=yes
56193 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56196 echo "$as_me:$LINENO: checking for $ac_func" >&5
56197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56198 if eval "test \"\${$as_ac_var+set}\" = set"; then
56199 echo $ECHO_N "(cached) $ECHO_C" >&6
56200 else
56201 if test x$gcc_no_link = xyes; then
56202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56204 { (exit 1); exit 1; }; }
56206 cat >conftest.$ac_ext <<_ACEOF
56207 #line $LINENO "configure"
56208 /* confdefs.h. */
56209 _ACEOF
56210 cat confdefs.h >>conftest.$ac_ext
56211 cat >>conftest.$ac_ext <<_ACEOF
56212 /* end confdefs.h. */
56213 /* System header to define __stub macros and hopefully few prototypes,
56214 which can conflict with char $ac_func (); below.
56215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56216 <limits.h> exists even on freestanding compilers. */
56217 #ifdef __STDC__
56218 # include <limits.h>
56219 #else
56220 # include <assert.h>
56221 #endif
56222 /* Override any gcc2 internal prototype to avoid an error. */
56223 #ifdef __cplusplus
56224 extern "C"
56226 #endif
56227 /* We use char because int might match the return type of a gcc2
56228 builtin and then its argument prototype would still apply. */
56229 char $ac_func ();
56230 /* The GNU C library defines this for functions which it implements
56231 to always fail with ENOSYS. Some functions are actually named
56232 something starting with __ and the normal name is an alias. */
56233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56234 choke me
56235 #else
56236 char (*f) () = $ac_func;
56237 #endif
56238 #ifdef __cplusplus
56240 #endif
56243 main ()
56245 return f != $ac_func;
56247 return 0;
56249 _ACEOF
56250 rm -f conftest.$ac_objext conftest$ac_exeext
56251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56252 (eval $ac_link) 2>&5
56253 ac_status=$?
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); } &&
56256 { ac_try='test -s conftest$ac_exeext'
56257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56258 (eval $ac_try) 2>&5
56259 ac_status=$?
56260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56261 (exit $ac_status); }; }; then
56262 eval "$as_ac_var=yes"
56263 else
56264 echo "$as_me: failed program was:" >&5
56265 sed 's/^/| /' conftest.$ac_ext >&5
56267 eval "$as_ac_var=no"
56269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56273 if test `eval echo '${'$as_ac_var'}'` = yes; then
56274 cat >>confdefs.h <<_ACEOF
56275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56276 _ACEOF
56278 else
56279 ac_wfuncs=no
56281 done
56284 # Checks for names injected into std:: by the c_std headers.
56331 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56332 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56333 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56334 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56335 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56336 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56339 echo "$as_me:$LINENO: checking for $ac_func" >&5
56340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56341 if eval "test \"\${$as_ac_var+set}\" = set"; then
56342 echo $ECHO_N "(cached) $ECHO_C" >&6
56343 else
56344 if test x$gcc_no_link = xyes; then
56345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56347 { (exit 1); exit 1; }; }
56349 cat >conftest.$ac_ext <<_ACEOF
56350 #line $LINENO "configure"
56351 /* confdefs.h. */
56352 _ACEOF
56353 cat confdefs.h >>conftest.$ac_ext
56354 cat >>conftest.$ac_ext <<_ACEOF
56355 /* end confdefs.h. */
56356 /* System header to define __stub macros and hopefully few prototypes,
56357 which can conflict with char $ac_func (); below.
56358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56359 <limits.h> exists even on freestanding compilers. */
56360 #ifdef __STDC__
56361 # include <limits.h>
56362 #else
56363 # include <assert.h>
56364 #endif
56365 /* Override any gcc2 internal prototype to avoid an error. */
56366 #ifdef __cplusplus
56367 extern "C"
56369 #endif
56370 /* We use char because int might match the return type of a gcc2
56371 builtin and then its argument prototype would still apply. */
56372 char $ac_func ();
56373 /* The GNU C library defines this for functions which it implements
56374 to always fail with ENOSYS. Some functions are actually named
56375 something starting with __ and the normal name is an alias. */
56376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56377 choke me
56378 #else
56379 char (*f) () = $ac_func;
56380 #endif
56381 #ifdef __cplusplus
56383 #endif
56386 main ()
56388 return f != $ac_func;
56390 return 0;
56392 _ACEOF
56393 rm -f conftest.$ac_objext conftest$ac_exeext
56394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56395 (eval $ac_link) 2>&5
56396 ac_status=$?
56397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56398 (exit $ac_status); } &&
56399 { ac_try='test -s conftest$ac_exeext'
56400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56401 (eval $ac_try) 2>&5
56402 ac_status=$?
56403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56404 (exit $ac_status); }; }; then
56405 eval "$as_ac_var=yes"
56406 else
56407 echo "$as_me: failed program was:" >&5
56408 sed 's/^/| /' conftest.$ac_ext >&5
56410 eval "$as_ac_var=no"
56412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56416 if test `eval echo '${'$as_ac_var'}'` = yes; then
56417 cat >>confdefs.h <<_ACEOF
56418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56419 _ACEOF
56421 else
56422 ac_wfuncs=no
56424 done
56427 # Checks for wide character functions that are not required
56428 # for basic wchar_t support. Don't disable support if they are missing.
56429 # Injection of these is wrapped with guard macros.
56435 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56438 echo "$as_me:$LINENO: checking for $ac_func" >&5
56439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56440 if eval "test \"\${$as_ac_var+set}\" = set"; then
56441 echo $ECHO_N "(cached) $ECHO_C" >&6
56442 else
56443 if test x$gcc_no_link = xyes; then
56444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56446 { (exit 1); exit 1; }; }
56448 cat >conftest.$ac_ext <<_ACEOF
56449 #line $LINENO "configure"
56450 /* confdefs.h. */
56451 _ACEOF
56452 cat confdefs.h >>conftest.$ac_ext
56453 cat >>conftest.$ac_ext <<_ACEOF
56454 /* end confdefs.h. */
56455 /* System header to define __stub macros and hopefully few prototypes,
56456 which can conflict with char $ac_func (); below.
56457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56458 <limits.h> exists even on freestanding compilers. */
56459 #ifdef __STDC__
56460 # include <limits.h>
56461 #else
56462 # include <assert.h>
56463 #endif
56464 /* Override any gcc2 internal prototype to avoid an error. */
56465 #ifdef __cplusplus
56466 extern "C"
56468 #endif
56469 /* We use char because int might match the return type of a gcc2
56470 builtin and then its argument prototype would still apply. */
56471 char $ac_func ();
56472 /* The GNU C library defines this for functions which it implements
56473 to always fail with ENOSYS. Some functions are actually named
56474 something starting with __ and the normal name is an alias. */
56475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56476 choke me
56477 #else
56478 char (*f) () = $ac_func;
56479 #endif
56480 #ifdef __cplusplus
56482 #endif
56485 main ()
56487 return f != $ac_func;
56489 return 0;
56491 _ACEOF
56492 rm -f conftest.$ac_objext conftest$ac_exeext
56493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56494 (eval $ac_link) 2>&5
56495 ac_status=$?
56496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56497 (exit $ac_status); } &&
56498 { ac_try='test -s conftest$ac_exeext'
56499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56500 (eval $ac_try) 2>&5
56501 ac_status=$?
56502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56503 (exit $ac_status); }; }; then
56504 eval "$as_ac_var=yes"
56505 else
56506 echo "$as_me: failed program was:" >&5
56507 sed 's/^/| /' conftest.$ac_ext >&5
56509 eval "$as_ac_var=no"
56511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56515 if test `eval echo '${'$as_ac_var'}'` = yes; then
56516 cat >>confdefs.h <<_ACEOF
56517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56518 _ACEOF
56521 done
56524 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56525 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56526 if test x"$has_weof" = xyes &&
56527 test x"$has_wchar_minmax" = xyes &&
56528 test x"$ac_wfuncs" = xyes;
56529 then
56530 ac_isoC99_wchar_t=yes
56531 else
56532 ac_isoC99_wchar_t=no
56534 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56535 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56537 # Use iconv for wchar_t to char conversions. As such, check for
56538 # X/Open Portability Guide, version 2 features (XPG2).
56539 if test "${ac_cv_header_iconv_h+set}" = set; then
56540 echo "$as_me:$LINENO: checking for iconv.h" >&5
56541 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56542 if test "${ac_cv_header_iconv_h+set}" = set; then
56543 echo $ECHO_N "(cached) $ECHO_C" >&6
56545 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56546 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56547 else
56548 # Is the header compilable?
56549 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56550 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56551 cat >conftest.$ac_ext <<_ACEOF
56552 #line $LINENO "configure"
56553 /* confdefs.h. */
56554 _ACEOF
56555 cat confdefs.h >>conftest.$ac_ext
56556 cat >>conftest.$ac_ext <<_ACEOF
56557 /* end confdefs.h. */
56558 $ac_includes_default
56559 #include <iconv.h>
56560 _ACEOF
56561 rm -f conftest.$ac_objext
56562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56563 (eval $ac_compile) 2>&5
56564 ac_status=$?
56565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56566 (exit $ac_status); } &&
56567 { ac_try='test -s conftest.$ac_objext'
56568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56569 (eval $ac_try) 2>&5
56570 ac_status=$?
56571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56572 (exit $ac_status); }; }; then
56573 ac_header_compiler=yes
56574 else
56575 echo "$as_me: failed program was:" >&5
56576 sed 's/^/| /' conftest.$ac_ext >&5
56578 ac_header_compiler=no
56580 rm -f conftest.$ac_objext conftest.$ac_ext
56581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56582 echo "${ECHO_T}$ac_header_compiler" >&6
56584 # Is the header present?
56585 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56586 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56587 cat >conftest.$ac_ext <<_ACEOF
56588 #line $LINENO "configure"
56589 /* confdefs.h. */
56590 _ACEOF
56591 cat confdefs.h >>conftest.$ac_ext
56592 cat >>conftest.$ac_ext <<_ACEOF
56593 /* end confdefs.h. */
56594 #include <iconv.h>
56595 _ACEOF
56596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56598 ac_status=$?
56599 grep -v '^ *+' conftest.er1 >conftest.err
56600 rm -f conftest.er1
56601 cat conftest.err >&5
56602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603 (exit $ac_status); } >/dev/null; then
56604 if test -s conftest.err; then
56605 ac_cpp_err=$ac_c_preproc_warn_flag
56606 else
56607 ac_cpp_err=
56609 else
56610 ac_cpp_err=yes
56612 if test -z "$ac_cpp_err"; then
56613 ac_header_preproc=yes
56614 else
56615 echo "$as_me: failed program was:" >&5
56616 sed 's/^/| /' conftest.$ac_ext >&5
56618 ac_header_preproc=no
56620 rm -f conftest.err conftest.$ac_ext
56621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56622 echo "${ECHO_T}$ac_header_preproc" >&6
56624 # So? What about this header?
56625 case $ac_header_compiler:$ac_header_preproc in
56626 yes:no )
56627 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56628 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56629 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56630 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56632 cat <<\_ASBOX
56633 ## ------------------------------------ ##
56634 ## Report this to bug-autoconf@gnu.org. ##
56635 ## ------------------------------------ ##
56636 _ASBOX
56638 sed "s/^/$as_me: WARNING: /" >&2
56640 no:yes )
56641 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56642 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56643 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56644 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56645 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56646 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56648 cat <<\_ASBOX
56649 ## ------------------------------------ ##
56650 ## Report this to bug-autoconf@gnu.org. ##
56651 ## ------------------------------------ ##
56652 _ASBOX
56654 sed "s/^/$as_me: WARNING: /" >&2
56656 esac
56657 echo "$as_me:$LINENO: checking for iconv.h" >&5
56658 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56659 if test "${ac_cv_header_iconv_h+set}" = set; then
56660 echo $ECHO_N "(cached) $ECHO_C" >&6
56661 else
56662 ac_cv_header_iconv_h=$ac_header_preproc
56664 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56665 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56668 if test $ac_cv_header_iconv_h = yes; then
56669 ac_has_iconv_h=yes
56670 else
56671 ac_has_iconv_h=no
56675 if test "${ac_cv_header_langinfo_h+set}" = set; then
56676 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56677 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56678 if test "${ac_cv_header_langinfo_h+set}" = set; then
56679 echo $ECHO_N "(cached) $ECHO_C" >&6
56681 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56682 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56683 else
56684 # Is the header compilable?
56685 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56686 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56687 cat >conftest.$ac_ext <<_ACEOF
56688 #line $LINENO "configure"
56689 /* confdefs.h. */
56690 _ACEOF
56691 cat confdefs.h >>conftest.$ac_ext
56692 cat >>conftest.$ac_ext <<_ACEOF
56693 /* end confdefs.h. */
56694 $ac_includes_default
56695 #include <langinfo.h>
56696 _ACEOF
56697 rm -f conftest.$ac_objext
56698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56699 (eval $ac_compile) 2>&5
56700 ac_status=$?
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); } &&
56703 { ac_try='test -s conftest.$ac_objext'
56704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705 (eval $ac_try) 2>&5
56706 ac_status=$?
56707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708 (exit $ac_status); }; }; then
56709 ac_header_compiler=yes
56710 else
56711 echo "$as_me: failed program was:" >&5
56712 sed 's/^/| /' conftest.$ac_ext >&5
56714 ac_header_compiler=no
56716 rm -f conftest.$ac_objext conftest.$ac_ext
56717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56718 echo "${ECHO_T}$ac_header_compiler" >&6
56720 # Is the header present?
56721 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56722 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56723 cat >conftest.$ac_ext <<_ACEOF
56724 #line $LINENO "configure"
56725 /* confdefs.h. */
56726 _ACEOF
56727 cat confdefs.h >>conftest.$ac_ext
56728 cat >>conftest.$ac_ext <<_ACEOF
56729 /* end confdefs.h. */
56730 #include <langinfo.h>
56731 _ACEOF
56732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56734 ac_status=$?
56735 grep -v '^ *+' conftest.er1 >conftest.err
56736 rm -f conftest.er1
56737 cat conftest.err >&5
56738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56739 (exit $ac_status); } >/dev/null; then
56740 if test -s conftest.err; then
56741 ac_cpp_err=$ac_c_preproc_warn_flag
56742 else
56743 ac_cpp_err=
56745 else
56746 ac_cpp_err=yes
56748 if test -z "$ac_cpp_err"; then
56749 ac_header_preproc=yes
56750 else
56751 echo "$as_me: failed program was:" >&5
56752 sed 's/^/| /' conftest.$ac_ext >&5
56754 ac_header_preproc=no
56756 rm -f conftest.err conftest.$ac_ext
56757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56758 echo "${ECHO_T}$ac_header_preproc" >&6
56760 # So? What about this header?
56761 case $ac_header_compiler:$ac_header_preproc in
56762 yes:no )
56763 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56764 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56765 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56766 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56768 cat <<\_ASBOX
56769 ## ------------------------------------ ##
56770 ## Report this to bug-autoconf@gnu.org. ##
56771 ## ------------------------------------ ##
56772 _ASBOX
56774 sed "s/^/$as_me: WARNING: /" >&2
56776 no:yes )
56777 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56778 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56779 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56780 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56781 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56782 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56784 cat <<\_ASBOX
56785 ## ------------------------------------ ##
56786 ## Report this to bug-autoconf@gnu.org. ##
56787 ## ------------------------------------ ##
56788 _ASBOX
56790 sed "s/^/$as_me: WARNING: /" >&2
56792 esac
56793 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56794 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56795 if test "${ac_cv_header_langinfo_h+set}" = set; then
56796 echo $ECHO_N "(cached) $ECHO_C" >&6
56797 else
56798 ac_cv_header_langinfo_h=$ac_header_preproc
56800 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56801 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56804 if test $ac_cv_header_langinfo_h = yes; then
56805 ac_has_langinfo_h=yes
56806 else
56807 ac_has_langinfo_h=no
56812 # Check for existence of libiconv.a providing XPG2 wchar_t support.
56813 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56814 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56815 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56816 echo $ECHO_N "(cached) $ECHO_C" >&6
56817 else
56818 ac_check_lib_save_LIBS=$LIBS
56819 LIBS="-liconv $LIBS"
56820 if test x$gcc_no_link = xyes; then
56821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56823 { (exit 1); exit 1; }; }
56825 cat >conftest.$ac_ext <<_ACEOF
56826 #line $LINENO "configure"
56827 /* confdefs.h. */
56828 _ACEOF
56829 cat confdefs.h >>conftest.$ac_ext
56830 cat >>conftest.$ac_ext <<_ACEOF
56831 /* end confdefs.h. */
56833 /* Override any gcc2 internal prototype to avoid an error. */
56834 #ifdef __cplusplus
56835 extern "C"
56836 #endif
56837 /* We use char because int might match the return type of a gcc2
56838 builtin and then its argument prototype would still apply. */
56839 char iconv ();
56841 main ()
56843 iconv ();
56845 return 0;
56847 _ACEOF
56848 rm -f conftest.$ac_objext conftest$ac_exeext
56849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56850 (eval $ac_link) 2>&5
56851 ac_status=$?
56852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56853 (exit $ac_status); } &&
56854 { ac_try='test -s conftest$ac_exeext'
56855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56856 (eval $ac_try) 2>&5
56857 ac_status=$?
56858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56859 (exit $ac_status); }; }; then
56860 ac_cv_lib_iconv_iconv=yes
56861 else
56862 echo "$as_me: failed program was:" >&5
56863 sed 's/^/| /' conftest.$ac_ext >&5
56865 ac_cv_lib_iconv_iconv=no
56867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56868 LIBS=$ac_check_lib_save_LIBS
56870 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
56871 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
56872 if test $ac_cv_lib_iconv_iconv = yes; then
56873 libiconv="-liconv"
56876 ac_save_LIBS="$LIBS"
56877 LIBS="$LIBS $libiconv"
56883 for ac_func in iconv_open iconv_close iconv nl_langinfo
56885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56886 echo "$as_me:$LINENO: checking for $ac_func" >&5
56887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56888 if eval "test \"\${$as_ac_var+set}\" = set"; then
56889 echo $ECHO_N "(cached) $ECHO_C" >&6
56890 else
56891 if test x$gcc_no_link = xyes; then
56892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56894 { (exit 1); exit 1; }; }
56896 cat >conftest.$ac_ext <<_ACEOF
56897 #line $LINENO "configure"
56898 /* confdefs.h. */
56899 _ACEOF
56900 cat confdefs.h >>conftest.$ac_ext
56901 cat >>conftest.$ac_ext <<_ACEOF
56902 /* end confdefs.h. */
56903 /* System header to define __stub macros and hopefully few prototypes,
56904 which can conflict with char $ac_func (); below.
56905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56906 <limits.h> exists even on freestanding compilers. */
56907 #ifdef __STDC__
56908 # include <limits.h>
56909 #else
56910 # include <assert.h>
56911 #endif
56912 /* Override any gcc2 internal prototype to avoid an error. */
56913 #ifdef __cplusplus
56914 extern "C"
56916 #endif
56917 /* We use char because int might match the return type of a gcc2
56918 builtin and then its argument prototype would still apply. */
56919 char $ac_func ();
56920 /* The GNU C library defines this for functions which it implements
56921 to always fail with ENOSYS. Some functions are actually named
56922 something starting with __ and the normal name is an alias. */
56923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56924 choke me
56925 #else
56926 char (*f) () = $ac_func;
56927 #endif
56928 #ifdef __cplusplus
56930 #endif
56933 main ()
56935 return f != $ac_func;
56937 return 0;
56939 _ACEOF
56940 rm -f conftest.$ac_objext conftest$ac_exeext
56941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56942 (eval $ac_link) 2>&5
56943 ac_status=$?
56944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56945 (exit $ac_status); } &&
56946 { ac_try='test -s conftest$ac_exeext'
56947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56948 (eval $ac_try) 2>&5
56949 ac_status=$?
56950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56951 (exit $ac_status); }; }; then
56952 eval "$as_ac_var=yes"
56953 else
56954 echo "$as_me: failed program was:" >&5
56955 sed 's/^/| /' conftest.$ac_ext >&5
56957 eval "$as_ac_var=no"
56959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56963 if test `eval echo '${'$as_ac_var'}'` = yes; then
56964 cat >>confdefs.h <<_ACEOF
56965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56966 _ACEOF
56967 ac_XPG2funcs=yes
56968 else
56969 ac_XPG2funcs=no
56971 done
56974 LIBS="$ac_save_LIBS"
56976 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
56977 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
56978 if test x"$ac_has_iconv_h" = xyes &&
56979 test x"$ac_has_langinfo_h" = xyes &&
56980 test x"$ac_XPG2funcs" = xyes;
56981 then
56982 ac_XPG2_wchar_t=yes
56983 else
56984 ac_XPG2_wchar_t=no
56986 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
56987 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
56989 # At the moment, only enable wchar_t specializations if all the
56990 # above support is present.
56991 if test x"$ac_isoC99_wchar_t" = xyes &&
56992 test x"$ac_XPG2_wchar_t" = xyes;
56993 then
56994 cat >>confdefs.h <<\_ACEOF
56995 #define _GLIBCXX_USE_WCHAR_T 1
56996 _ACEOF
56998 enable_wchar_t=yes
57001 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57002 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57003 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57004 echo "${ECHO_T}$enable_wchar_t" >&6
57006 cat >>confdefs.h <<\_ACEOF
57007 #define HAVE_COPYSIGN 1
57008 _ACEOF
57010 cat >>confdefs.h <<\_ACEOF
57011 #define HAVE_COPYSIGNF 1
57012 _ACEOF
57014 cat >>confdefs.h <<\_ACEOF
57015 #define HAVE_FINITEF 1
57016 _ACEOF
57018 cat >>confdefs.h <<\_ACEOF
57019 #define HAVE_FINITE 1
57020 _ACEOF
57022 cat >>confdefs.h <<\_ACEOF
57023 #define HAVE_FREXPF 1
57024 _ACEOF
57026 cat >>confdefs.h <<\_ACEOF
57027 #define HAVE_HYPOTF 1
57028 _ACEOF
57030 cat >>confdefs.h <<\_ACEOF
57031 #define HAVE_ISINF 1
57032 _ACEOF
57034 cat >>confdefs.h <<\_ACEOF
57035 #define HAVE_ISINFF 1
57036 _ACEOF
57038 cat >>confdefs.h <<\_ACEOF
57039 #define HAVE_ISNAN 1
57040 _ACEOF
57042 cat >>confdefs.h <<\_ACEOF
57043 #define HAVE_ISNANF 1
57044 _ACEOF
57046 if test x"long_double_math_on_this_cpu" = x"yes"; then
57047 cat >>confdefs.h <<\_ACEOF
57048 #define HAVE_FINITEL 1
57049 _ACEOF
57051 cat >>confdefs.h <<\_ACEOF
57052 #define HAVE_ISINFL 1
57053 _ACEOF
57055 cat >>confdefs.h <<\_ACEOF
57056 #define HAVE_ISNANL 1
57057 _ACEOF
57061 *-qnx6.1* | *-qnx6.2*)
57062 #os_include_dir="os/qnx/qnx6.1"
57063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57066 # If we're not using GNU ld, then there's no point in even trying these
57067 # tests. Check for that first. We should have already tested for gld
57068 # by now (in libtool), but require it now just to be safe...
57069 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57070 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57074 # The name set by libtool depends on the version of libtool. Shame on us
57075 # for depending on an impl detail, but c'est la vie. Older versions used
57076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57079 # set (hence we're using an older libtool), then set it.
57080 if test x${with_gnu_ld+set} != xset; then
57081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57083 with_gnu_ld=no
57084 else
57085 with_gnu_ld=$ac_cv_prog_gnu_ld
57089 # Start by getting the version number. I think the libtool test already
57090 # does some of this, but throws away the result.
57092 ldver=`$LD --version 2>/dev/null | head -1 | \
57093 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57095 glibcxx_gnu_ld_version=`echo $ldver | \
57096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57098 # Set --gc-sections.
57099 if test "$with_gnu_ld" = "notbroken"; then
57100 # GNU ld it is! Joy and bunny rabbits!
57102 # All these tests are for C++; save the language and the compiler flags.
57103 # Need to do this so that g++ won't try to link in libstdc++
57104 ac_test_CFLAGS="${CFLAGS+set}"
57105 ac_save_CFLAGS="$CFLAGS"
57106 CFLAGS='-x c++ -Wl,--gc-sections'
57108 # Check for -Wl,--gc-sections
57109 # XXX This test is broken at the moment, as symbols required for linking
57110 # are now in libsupc++ (not built yet). In addition, this test has
57111 # cored on solaris in the past. In addition, --gc-sections doesn't
57112 # really work at the moment (keeps on discarding used sections, first
57113 # .eh_frame and now some of the glibc sections for iconv).
57114 # Bzzzzt. Thanks for playing, maybe next time.
57115 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57116 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57117 if test "$cross_compiling" = yes; then
57118 ac_sectionLDflags=yes
57119 else
57120 cat >conftest.$ac_ext <<_ACEOF
57121 #line $LINENO "configure"
57122 /* confdefs.h. */
57123 _ACEOF
57124 cat confdefs.h >>conftest.$ac_ext
57125 cat >>conftest.$ac_ext <<_ACEOF
57126 /* end confdefs.h. */
57128 int main(void)
57130 try { throw 1; }
57131 catch (...) { };
57132 return 0;
57135 _ACEOF
57136 rm -f conftest$ac_exeext
57137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57138 (eval $ac_link) 2>&5
57139 ac_status=$?
57140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143 (eval $ac_try) 2>&5
57144 ac_status=$?
57145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146 (exit $ac_status); }; }; then
57147 ac_sectionLDflags=yes
57148 else
57149 echo "$as_me: program exited with status $ac_status" >&5
57150 echo "$as_me: failed program was:" >&5
57151 sed 's/^/| /' conftest.$ac_ext >&5
57153 ( exit $ac_status )
57154 ac_sectionLDflags=no
57156 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57158 if test "$ac_test_CFLAGS" = set; then
57159 CFLAGS="$ac_save_CFLAGS"
57160 else
57161 # this is the suspicious part
57162 CFLAGS=''
57164 if test "$ac_sectionLDflags" = "yes"; then
57165 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57167 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57168 echo "${ECHO_T}$ac_sectionLDflags" >&6
57171 # Set linker optimization flags.
57172 if test x"$with_gnu_ld" = x"yes"; then
57173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57181 echo "$as_me:$LINENO: checking for main in -lm" >&5
57182 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57183 if test "${ac_cv_lib_m_main+set}" = set; then
57184 echo $ECHO_N "(cached) $ECHO_C" >&6
57185 else
57186 ac_check_lib_save_LIBS=$LIBS
57187 LIBS="-lm $LIBS"
57188 if test x$gcc_no_link = xyes; then
57189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57191 { (exit 1); exit 1; }; }
57193 cat >conftest.$ac_ext <<_ACEOF
57194 #line $LINENO "configure"
57195 /* confdefs.h. */
57196 _ACEOF
57197 cat confdefs.h >>conftest.$ac_ext
57198 cat >>conftest.$ac_ext <<_ACEOF
57199 /* end confdefs.h. */
57203 main ()
57205 main ();
57207 return 0;
57209 _ACEOF
57210 rm -f conftest.$ac_objext conftest$ac_exeext
57211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57212 (eval $ac_link) 2>&5
57213 ac_status=$?
57214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57215 (exit $ac_status); } &&
57216 { ac_try='test -s conftest$ac_exeext'
57217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57218 (eval $ac_try) 2>&5
57219 ac_status=$?
57220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57221 (exit $ac_status); }; }; then
57222 ac_cv_lib_m_main=yes
57223 else
57224 echo "$as_me: failed program was:" >&5
57225 sed 's/^/| /' conftest.$ac_ext >&5
57227 ac_cv_lib_m_main=no
57229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57230 LIBS=$ac_check_lib_save_LIBS
57232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57233 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57234 if test $ac_cv_lib_m_main = yes; then
57235 cat >>confdefs.h <<_ACEOF
57236 #define HAVE_LIBM 1
57237 _ACEOF
57239 LIBS="-lm $LIBS"
57245 for ac_func in nan copysignf
57247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57248 echo "$as_me:$LINENO: checking for $ac_func" >&5
57249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57250 if eval "test \"\${$as_ac_var+set}\" = set"; then
57251 echo $ECHO_N "(cached) $ECHO_C" >&6
57252 else
57253 if test x$gcc_no_link = xyes; then
57254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57256 { (exit 1); exit 1; }; }
57258 cat >conftest.$ac_ext <<_ACEOF
57259 #line $LINENO "configure"
57260 /* confdefs.h. */
57261 _ACEOF
57262 cat confdefs.h >>conftest.$ac_ext
57263 cat >>conftest.$ac_ext <<_ACEOF
57264 /* end confdefs.h. */
57265 /* System header to define __stub macros and hopefully few prototypes,
57266 which can conflict with char $ac_func (); below.
57267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57268 <limits.h> exists even on freestanding compilers. */
57269 #ifdef __STDC__
57270 # include <limits.h>
57271 #else
57272 # include <assert.h>
57273 #endif
57274 /* Override any gcc2 internal prototype to avoid an error. */
57275 #ifdef __cplusplus
57276 extern "C"
57278 #endif
57279 /* We use char because int might match the return type of a gcc2
57280 builtin and then its argument prototype would still apply. */
57281 char $ac_func ();
57282 /* The GNU C library defines this for functions which it implements
57283 to always fail with ENOSYS. Some functions are actually named
57284 something starting with __ and the normal name is an alias. */
57285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57286 choke me
57287 #else
57288 char (*f) () = $ac_func;
57289 #endif
57290 #ifdef __cplusplus
57292 #endif
57295 main ()
57297 return f != $ac_func;
57299 return 0;
57301 _ACEOF
57302 rm -f conftest.$ac_objext conftest$ac_exeext
57303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57304 (eval $ac_link) 2>&5
57305 ac_status=$?
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); } &&
57308 { ac_try='test -s conftest$ac_exeext'
57309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57310 (eval $ac_try) 2>&5
57311 ac_status=$?
57312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57313 (exit $ac_status); }; }; then
57314 eval "$as_ac_var=yes"
57315 else
57316 echo "$as_me: failed program was:" >&5
57317 sed 's/^/| /' conftest.$ac_ext >&5
57319 eval "$as_ac_var=no"
57321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57325 if test `eval echo '${'$as_ac_var'}'` = yes; then
57326 cat >>confdefs.h <<_ACEOF
57327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57328 _ACEOF
57330 else
57331 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57333 done
57337 for ac_func in __signbit
57339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57340 echo "$as_me:$LINENO: checking for $ac_func" >&5
57341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57342 if eval "test \"\${$as_ac_var+set}\" = set"; then
57343 echo $ECHO_N "(cached) $ECHO_C" >&6
57344 else
57345 if test x$gcc_no_link = xyes; then
57346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57348 { (exit 1); exit 1; }; }
57350 cat >conftest.$ac_ext <<_ACEOF
57351 #line $LINENO "configure"
57352 /* confdefs.h. */
57353 _ACEOF
57354 cat confdefs.h >>conftest.$ac_ext
57355 cat >>conftest.$ac_ext <<_ACEOF
57356 /* end confdefs.h. */
57357 /* System header to define __stub macros and hopefully few prototypes,
57358 which can conflict with char $ac_func (); below.
57359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57360 <limits.h> exists even on freestanding compilers. */
57361 #ifdef __STDC__
57362 # include <limits.h>
57363 #else
57364 # include <assert.h>
57365 #endif
57366 /* Override any gcc2 internal prototype to avoid an error. */
57367 #ifdef __cplusplus
57368 extern "C"
57370 #endif
57371 /* We use char because int might match the return type of a gcc2
57372 builtin and then its argument prototype would still apply. */
57373 char $ac_func ();
57374 /* The GNU C library defines this for functions which it implements
57375 to always fail with ENOSYS. Some functions are actually named
57376 something starting with __ and the normal name is an alias. */
57377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57378 choke me
57379 #else
57380 char (*f) () = $ac_func;
57381 #endif
57382 #ifdef __cplusplus
57384 #endif
57387 main ()
57389 return f != $ac_func;
57391 return 0;
57393 _ACEOF
57394 rm -f conftest.$ac_objext conftest$ac_exeext
57395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57396 (eval $ac_link) 2>&5
57397 ac_status=$?
57398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399 (exit $ac_status); } &&
57400 { ac_try='test -s conftest$ac_exeext'
57401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57402 (eval $ac_try) 2>&5
57403 ac_status=$?
57404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57405 (exit $ac_status); }; }; then
57406 eval "$as_ac_var=yes"
57407 else
57408 echo "$as_me: failed program was:" >&5
57409 sed 's/^/| /' conftest.$ac_ext >&5
57411 eval "$as_ac_var=no"
57413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57417 if test `eval echo '${'$as_ac_var'}'` = yes; then
57418 cat >>confdefs.h <<_ACEOF
57419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57420 _ACEOF
57422 else
57423 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57425 done
57428 for ac_func in __signbitf
57430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57431 echo "$as_me:$LINENO: checking for $ac_func" >&5
57432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57433 if eval "test \"\${$as_ac_var+set}\" = set"; then
57434 echo $ECHO_N "(cached) $ECHO_C" >&6
57435 else
57436 if test x$gcc_no_link = xyes; then
57437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57439 { (exit 1); exit 1; }; }
57441 cat >conftest.$ac_ext <<_ACEOF
57442 #line $LINENO "configure"
57443 /* confdefs.h. */
57444 _ACEOF
57445 cat confdefs.h >>conftest.$ac_ext
57446 cat >>conftest.$ac_ext <<_ACEOF
57447 /* end confdefs.h. */
57448 /* System header to define __stub macros and hopefully few prototypes,
57449 which can conflict with char $ac_func (); below.
57450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57451 <limits.h> exists even on freestanding compilers. */
57452 #ifdef __STDC__
57453 # include <limits.h>
57454 #else
57455 # include <assert.h>
57456 #endif
57457 /* Override any gcc2 internal prototype to avoid an error. */
57458 #ifdef __cplusplus
57459 extern "C"
57461 #endif
57462 /* We use char because int might match the return type of a gcc2
57463 builtin and then its argument prototype would still apply. */
57464 char $ac_func ();
57465 /* The GNU C library defines this for functions which it implements
57466 to always fail with ENOSYS. Some functions are actually named
57467 something starting with __ and the normal name is an alias. */
57468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57469 choke me
57470 #else
57471 char (*f) () = $ac_func;
57472 #endif
57473 #ifdef __cplusplus
57475 #endif
57478 main ()
57480 return f != $ac_func;
57482 return 0;
57484 _ACEOF
57485 rm -f conftest.$ac_objext conftest$ac_exeext
57486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57487 (eval $ac_link) 2>&5
57488 ac_status=$?
57489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490 (exit $ac_status); } &&
57491 { ac_try='test -s conftest$ac_exeext'
57492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57493 (eval $ac_try) 2>&5
57494 ac_status=$?
57495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57496 (exit $ac_status); }; }; then
57497 eval "$as_ac_var=yes"
57498 else
57499 echo "$as_me: failed program was:" >&5
57500 sed 's/^/| /' conftest.$ac_ext >&5
57502 eval "$as_ac_var=no"
57504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57508 if test `eval echo '${'$as_ac_var'}'` = yes; then
57509 cat >>confdefs.h <<_ACEOF
57510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57511 _ACEOF
57513 else
57514 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57516 done
57519 if test x$ac_cv_func_copysignl = x"yes"; then
57521 for ac_func in __signbitl
57523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57524 echo "$as_me:$LINENO: checking for $ac_func" >&5
57525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57526 if eval "test \"\${$as_ac_var+set}\" = set"; then
57527 echo $ECHO_N "(cached) $ECHO_C" >&6
57528 else
57529 if test x$gcc_no_link = xyes; then
57530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57532 { (exit 1); exit 1; }; }
57534 cat >conftest.$ac_ext <<_ACEOF
57535 #line $LINENO "configure"
57536 /* confdefs.h. */
57537 _ACEOF
57538 cat confdefs.h >>conftest.$ac_ext
57539 cat >>conftest.$ac_ext <<_ACEOF
57540 /* end confdefs.h. */
57541 /* System header to define __stub macros and hopefully few prototypes,
57542 which can conflict with char $ac_func (); below.
57543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57544 <limits.h> exists even on freestanding compilers. */
57545 #ifdef __STDC__
57546 # include <limits.h>
57547 #else
57548 # include <assert.h>
57549 #endif
57550 /* Override any gcc2 internal prototype to avoid an error. */
57551 #ifdef __cplusplus
57552 extern "C"
57554 #endif
57555 /* We use char because int might match the return type of a gcc2
57556 builtin and then its argument prototype would still apply. */
57557 char $ac_func ();
57558 /* The GNU C library defines this for functions which it implements
57559 to always fail with ENOSYS. Some functions are actually named
57560 something starting with __ and the normal name is an alias. */
57561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57562 choke me
57563 #else
57564 char (*f) () = $ac_func;
57565 #endif
57566 #ifdef __cplusplus
57568 #endif
57571 main ()
57573 return f != $ac_func;
57575 return 0;
57577 _ACEOF
57578 rm -f conftest.$ac_objext conftest$ac_exeext
57579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57580 (eval $ac_link) 2>&5
57581 ac_status=$?
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); } &&
57584 { ac_try='test -s conftest$ac_exeext'
57585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586 (eval $ac_try) 2>&5
57587 ac_status=$?
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); }; }; then
57590 eval "$as_ac_var=yes"
57591 else
57592 echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57595 eval "$as_ac_var=no"
57597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57601 if test `eval echo '${'$as_ac_var'}'` = yes; then
57602 cat >>confdefs.h <<_ACEOF
57603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57604 _ACEOF
57606 else
57607 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57609 done
57613 # XXX Review this. Nothing uses it.
57614 if test -n "$LIBMATHOBJS"; then
57615 need_libmath=yes
57620 # Test wchar.h for mbstate_t, which is needed for char_traits and
57621 # others even if wchar_t support is not on.
57622 echo "$as_me:$LINENO: checking for mbstate_t" >&5
57623 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57624 cat >conftest.$ac_ext <<_ACEOF
57625 #line $LINENO "configure"
57626 /* confdefs.h. */
57627 _ACEOF
57628 cat confdefs.h >>conftest.$ac_ext
57629 cat >>conftest.$ac_ext <<_ACEOF
57630 /* end confdefs.h. */
57631 #include <wchar.h>
57633 main ()
57635 mbstate_t teststate;
57637 return 0;
57639 _ACEOF
57640 rm -f conftest.$ac_objext
57641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57642 (eval $ac_compile) 2>&5
57643 ac_status=$?
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); } &&
57646 { ac_try='test -s conftest.$ac_objext'
57647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57648 (eval $ac_try) 2>&5
57649 ac_status=$?
57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57651 (exit $ac_status); }; }; then
57652 have_mbstate_t=yes
57653 else
57654 echo "$as_me: failed program was:" >&5
57655 sed 's/^/| /' conftest.$ac_ext >&5
57657 have_mbstate_t=no
57659 rm -f conftest.$ac_objext conftest.$ac_ext
57660 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
57661 echo "${ECHO_T}$have_mbstate_t" >&6
57662 if test x"$have_mbstate_t" = xyes; then
57663 cat >>confdefs.h <<\_ACEOF
57664 #define HAVE_MBSTATE_T 1
57665 _ACEOF
57669 # Sanity check for existence of ISO C99 headers for extended encoding.
57671 for ac_header in wchar.h
57673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57675 echo "$as_me:$LINENO: checking for $ac_header" >&5
57676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57678 echo $ECHO_N "(cached) $ECHO_C" >&6
57680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57682 else
57683 # Is the header compilable?
57684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57686 cat >conftest.$ac_ext <<_ACEOF
57687 #line $LINENO "configure"
57688 /* confdefs.h. */
57689 _ACEOF
57690 cat confdefs.h >>conftest.$ac_ext
57691 cat >>conftest.$ac_ext <<_ACEOF
57692 /* end confdefs.h. */
57693 $ac_includes_default
57694 #include <$ac_header>
57695 _ACEOF
57696 rm -f conftest.$ac_objext
57697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57698 (eval $ac_compile) 2>&5
57699 ac_status=$?
57700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57701 (exit $ac_status); } &&
57702 { ac_try='test -s conftest.$ac_objext'
57703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57704 (eval $ac_try) 2>&5
57705 ac_status=$?
57706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707 (exit $ac_status); }; }; then
57708 ac_header_compiler=yes
57709 else
57710 echo "$as_me: failed program was:" >&5
57711 sed 's/^/| /' conftest.$ac_ext >&5
57713 ac_header_compiler=no
57715 rm -f conftest.$ac_objext conftest.$ac_ext
57716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57717 echo "${ECHO_T}$ac_header_compiler" >&6
57719 # Is the header present?
57720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57722 cat >conftest.$ac_ext <<_ACEOF
57723 #line $LINENO "configure"
57724 /* confdefs.h. */
57725 _ACEOF
57726 cat confdefs.h >>conftest.$ac_ext
57727 cat >>conftest.$ac_ext <<_ACEOF
57728 /* end confdefs.h. */
57729 #include <$ac_header>
57730 _ACEOF
57731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57733 ac_status=$?
57734 grep -v '^ *+' conftest.er1 >conftest.err
57735 rm -f conftest.er1
57736 cat conftest.err >&5
57737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57738 (exit $ac_status); } >/dev/null; then
57739 if test -s conftest.err; then
57740 ac_cpp_err=$ac_c_preproc_warn_flag
57741 else
57742 ac_cpp_err=
57744 else
57745 ac_cpp_err=yes
57747 if test -z "$ac_cpp_err"; then
57748 ac_header_preproc=yes
57749 else
57750 echo "$as_me: failed program was:" >&5
57751 sed 's/^/| /' conftest.$ac_ext >&5
57753 ac_header_preproc=no
57755 rm -f conftest.err conftest.$ac_ext
57756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57757 echo "${ECHO_T}$ac_header_preproc" >&6
57759 # So? What about this header?
57760 case $ac_header_compiler:$ac_header_preproc in
57761 yes:no )
57762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57767 cat <<\_ASBOX
57768 ## ------------------------------------ ##
57769 ## Report this to bug-autoconf@gnu.org. ##
57770 ## ------------------------------------ ##
57771 _ASBOX
57773 sed "s/^/$as_me: WARNING: /" >&2
57775 no:yes )
57776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57783 cat <<\_ASBOX
57784 ## ------------------------------------ ##
57785 ## Report this to bug-autoconf@gnu.org. ##
57786 ## ------------------------------------ ##
57787 _ASBOX
57789 sed "s/^/$as_me: WARNING: /" >&2
57791 esac
57792 echo "$as_me:$LINENO: checking for $ac_header" >&5
57793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57795 echo $ECHO_N "(cached) $ECHO_C" >&6
57796 else
57797 eval "$as_ac_Header=$ac_header_preproc"
57799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57804 cat >>confdefs.h <<_ACEOF
57805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57806 _ACEOF
57807 ac_has_wchar_h=yes
57808 else
57809 ac_has_wchar_h=no
57812 done
57815 for ac_header in wctype.h
57817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57819 echo "$as_me:$LINENO: checking for $ac_header" >&5
57820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57822 echo $ECHO_N "(cached) $ECHO_C" >&6
57824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57826 else
57827 # Is the header compilable?
57828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57830 cat >conftest.$ac_ext <<_ACEOF
57831 #line $LINENO "configure"
57832 /* confdefs.h. */
57833 _ACEOF
57834 cat confdefs.h >>conftest.$ac_ext
57835 cat >>conftest.$ac_ext <<_ACEOF
57836 /* end confdefs.h. */
57837 $ac_includes_default
57838 #include <$ac_header>
57839 _ACEOF
57840 rm -f conftest.$ac_objext
57841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57842 (eval $ac_compile) 2>&5
57843 ac_status=$?
57844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845 (exit $ac_status); } &&
57846 { ac_try='test -s conftest.$ac_objext'
57847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848 (eval $ac_try) 2>&5
57849 ac_status=$?
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); }; }; then
57852 ac_header_compiler=yes
57853 else
57854 echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57857 ac_header_compiler=no
57859 rm -f conftest.$ac_objext conftest.$ac_ext
57860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57861 echo "${ECHO_T}$ac_header_compiler" >&6
57863 # Is the header present?
57864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57866 cat >conftest.$ac_ext <<_ACEOF
57867 #line $LINENO "configure"
57868 /* confdefs.h. */
57869 _ACEOF
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h. */
57873 #include <$ac_header>
57874 _ACEOF
57875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57877 ac_status=$?
57878 grep -v '^ *+' conftest.er1 >conftest.err
57879 rm -f conftest.er1
57880 cat conftest.err >&5
57881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57882 (exit $ac_status); } >/dev/null; then
57883 if test -s conftest.err; then
57884 ac_cpp_err=$ac_c_preproc_warn_flag
57885 else
57886 ac_cpp_err=
57888 else
57889 ac_cpp_err=yes
57891 if test -z "$ac_cpp_err"; then
57892 ac_header_preproc=yes
57893 else
57894 echo "$as_me: failed program was:" >&5
57895 sed 's/^/| /' conftest.$ac_ext >&5
57897 ac_header_preproc=no
57899 rm -f conftest.err conftest.$ac_ext
57900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57901 echo "${ECHO_T}$ac_header_preproc" >&6
57903 # So? What about this header?
57904 case $ac_header_compiler:$ac_header_preproc in
57905 yes:no )
57906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57911 cat <<\_ASBOX
57912 ## ------------------------------------ ##
57913 ## Report this to bug-autoconf@gnu.org. ##
57914 ## ------------------------------------ ##
57915 _ASBOX
57917 sed "s/^/$as_me: WARNING: /" >&2
57919 no:yes )
57920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57927 cat <<\_ASBOX
57928 ## ------------------------------------ ##
57929 ## Report this to bug-autoconf@gnu.org. ##
57930 ## ------------------------------------ ##
57931 _ASBOX
57933 sed "s/^/$as_me: WARNING: /" >&2
57935 esac
57936 echo "$as_me:$LINENO: checking for $ac_header" >&5
57937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57939 echo $ECHO_N "(cached) $ECHO_C" >&6
57940 else
57941 eval "$as_ac_Header=$ac_header_preproc"
57943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57948 cat >>confdefs.h <<_ACEOF
57949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57950 _ACEOF
57951 ac_has_wctype_h=yes
57952 else
57953 ac_has_wctype_h=no
57956 done
57959 # Only continue checking if the ISO C99 headers exist and support is on.
57960 if test x"$ac_has_wchar_h" = xyes &&
57961 test x"$ac_has_wctype_h" = xyes &&
57962 test x"$enable_c_mbchar" != xno; then
57964 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
57965 # numeric_limits can instantiate type_traits<wchar_t>
57966 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
57967 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
57968 cat >conftest.$ac_ext <<_ACEOF
57969 #line $LINENO "configure"
57970 /* confdefs.h. */
57971 _ACEOF
57972 cat confdefs.h >>conftest.$ac_ext
57973 cat >>conftest.$ac_ext <<_ACEOF
57974 /* end confdefs.h. */
57975 #include <wchar.h>
57977 main ()
57979 int i = WCHAR_MIN; int j = WCHAR_MAX;
57981 return 0;
57983 _ACEOF
57984 rm -f conftest.$ac_objext
57985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57986 (eval $ac_compile) 2>&5
57987 ac_status=$?
57988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989 (exit $ac_status); } &&
57990 { ac_try='test -s conftest.$ac_objext'
57991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57992 (eval $ac_try) 2>&5
57993 ac_status=$?
57994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57995 (exit $ac_status); }; }; then
57996 has_wchar_minmax=yes
57997 else
57998 echo "$as_me: failed program was:" >&5
57999 sed 's/^/| /' conftest.$ac_ext >&5
58001 has_wchar_minmax=no
58003 rm -f conftest.$ac_objext conftest.$ac_ext
58004 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58005 echo "${ECHO_T}$has_wchar_minmax" >&6
58007 # Test wchar.h for WEOF, which is what we use to determine whether
58008 # to specialize for char_traits<wchar_t> or not.
58009 echo "$as_me:$LINENO: checking for WEOF" >&5
58010 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58011 cat >conftest.$ac_ext <<_ACEOF
58012 #line $LINENO "configure"
58013 /* confdefs.h. */
58014 _ACEOF
58015 cat confdefs.h >>conftest.$ac_ext
58016 cat >>conftest.$ac_ext <<_ACEOF
58017 /* end confdefs.h. */
58019 #include <wchar.h>
58020 #include <stddef.h>
58022 main ()
58024 wint_t i = WEOF;
58026 return 0;
58028 _ACEOF
58029 rm -f conftest.$ac_objext
58030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58031 (eval $ac_compile) 2>&5
58032 ac_status=$?
58033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58034 (exit $ac_status); } &&
58035 { ac_try='test -s conftest.$ac_objext'
58036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58037 (eval $ac_try) 2>&5
58038 ac_status=$?
58039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58040 (exit $ac_status); }; }; then
58041 has_weof=yes
58042 else
58043 echo "$as_me: failed program was:" >&5
58044 sed 's/^/| /' conftest.$ac_ext >&5
58046 has_weof=no
58048 rm -f conftest.$ac_objext conftest.$ac_ext
58049 echo "$as_me:$LINENO: result: $has_weof" >&5
58050 echo "${ECHO_T}$has_weof" >&6
58052 # Tests for wide character functions used in char_traits<wchar_t>.
58053 ac_wfuncs=yes
58060 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58063 echo "$as_me:$LINENO: checking for $ac_func" >&5
58064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58065 if eval "test \"\${$as_ac_var+set}\" = set"; then
58066 echo $ECHO_N "(cached) $ECHO_C" >&6
58067 else
58068 if test x$gcc_no_link = xyes; then
58069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58071 { (exit 1); exit 1; }; }
58073 cat >conftest.$ac_ext <<_ACEOF
58074 #line $LINENO "configure"
58075 /* confdefs.h. */
58076 _ACEOF
58077 cat confdefs.h >>conftest.$ac_ext
58078 cat >>conftest.$ac_ext <<_ACEOF
58079 /* end confdefs.h. */
58080 /* System header to define __stub macros and hopefully few prototypes,
58081 which can conflict with char $ac_func (); below.
58082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58083 <limits.h> exists even on freestanding compilers. */
58084 #ifdef __STDC__
58085 # include <limits.h>
58086 #else
58087 # include <assert.h>
58088 #endif
58089 /* Override any gcc2 internal prototype to avoid an error. */
58090 #ifdef __cplusplus
58091 extern "C"
58093 #endif
58094 /* We use char because int might match the return type of a gcc2
58095 builtin and then its argument prototype would still apply. */
58096 char $ac_func ();
58097 /* The GNU C library defines this for functions which it implements
58098 to always fail with ENOSYS. Some functions are actually named
58099 something starting with __ and the normal name is an alias. */
58100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58101 choke me
58102 #else
58103 char (*f) () = $ac_func;
58104 #endif
58105 #ifdef __cplusplus
58107 #endif
58110 main ()
58112 return f != $ac_func;
58114 return 0;
58116 _ACEOF
58117 rm -f conftest.$ac_objext conftest$ac_exeext
58118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58119 (eval $ac_link) 2>&5
58120 ac_status=$?
58121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58122 (exit $ac_status); } &&
58123 { ac_try='test -s conftest$ac_exeext'
58124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58125 (eval $ac_try) 2>&5
58126 ac_status=$?
58127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58128 (exit $ac_status); }; }; then
58129 eval "$as_ac_var=yes"
58130 else
58131 echo "$as_me: failed program was:" >&5
58132 sed 's/^/| /' conftest.$ac_ext >&5
58134 eval "$as_ac_var=no"
58136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58140 if test `eval echo '${'$as_ac_var'}'` = yes; then
58141 cat >>confdefs.h <<_ACEOF
58142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58143 _ACEOF
58145 else
58146 ac_wfuncs=no
58148 done
58151 # Checks for names injected into std:: by the c_std headers.
58198 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58199 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58200 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58201 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58202 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58203 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58206 echo "$as_me:$LINENO: checking for $ac_func" >&5
58207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58208 if eval "test \"\${$as_ac_var+set}\" = set"; then
58209 echo $ECHO_N "(cached) $ECHO_C" >&6
58210 else
58211 if test x$gcc_no_link = xyes; then
58212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58214 { (exit 1); exit 1; }; }
58216 cat >conftest.$ac_ext <<_ACEOF
58217 #line $LINENO "configure"
58218 /* confdefs.h. */
58219 _ACEOF
58220 cat confdefs.h >>conftest.$ac_ext
58221 cat >>conftest.$ac_ext <<_ACEOF
58222 /* end confdefs.h. */
58223 /* System header to define __stub macros and hopefully few prototypes,
58224 which can conflict with char $ac_func (); below.
58225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58226 <limits.h> exists even on freestanding compilers. */
58227 #ifdef __STDC__
58228 # include <limits.h>
58229 #else
58230 # include <assert.h>
58231 #endif
58232 /* Override any gcc2 internal prototype to avoid an error. */
58233 #ifdef __cplusplus
58234 extern "C"
58236 #endif
58237 /* We use char because int might match the return type of a gcc2
58238 builtin and then its argument prototype would still apply. */
58239 char $ac_func ();
58240 /* The GNU C library defines this for functions which it implements
58241 to always fail with ENOSYS. Some functions are actually named
58242 something starting with __ and the normal name is an alias. */
58243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58244 choke me
58245 #else
58246 char (*f) () = $ac_func;
58247 #endif
58248 #ifdef __cplusplus
58250 #endif
58253 main ()
58255 return f != $ac_func;
58257 return 0;
58259 _ACEOF
58260 rm -f conftest.$ac_objext conftest$ac_exeext
58261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58262 (eval $ac_link) 2>&5
58263 ac_status=$?
58264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58265 (exit $ac_status); } &&
58266 { ac_try='test -s conftest$ac_exeext'
58267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58268 (eval $ac_try) 2>&5
58269 ac_status=$?
58270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58271 (exit $ac_status); }; }; then
58272 eval "$as_ac_var=yes"
58273 else
58274 echo "$as_me: failed program was:" >&5
58275 sed 's/^/| /' conftest.$ac_ext >&5
58277 eval "$as_ac_var=no"
58279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58283 if test `eval echo '${'$as_ac_var'}'` = yes; then
58284 cat >>confdefs.h <<_ACEOF
58285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58286 _ACEOF
58288 else
58289 ac_wfuncs=no
58291 done
58294 # Checks for wide character functions that are not required
58295 # for basic wchar_t support. Don't disable support if they are missing.
58296 # Injection of these is wrapped with guard macros.
58302 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58305 echo "$as_me:$LINENO: checking for $ac_func" >&5
58306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58307 if eval "test \"\${$as_ac_var+set}\" = set"; then
58308 echo $ECHO_N "(cached) $ECHO_C" >&6
58309 else
58310 if test x$gcc_no_link = xyes; then
58311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58313 { (exit 1); exit 1; }; }
58315 cat >conftest.$ac_ext <<_ACEOF
58316 #line $LINENO "configure"
58317 /* confdefs.h. */
58318 _ACEOF
58319 cat confdefs.h >>conftest.$ac_ext
58320 cat >>conftest.$ac_ext <<_ACEOF
58321 /* end confdefs.h. */
58322 /* System header to define __stub macros and hopefully few prototypes,
58323 which can conflict with char $ac_func (); below.
58324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58325 <limits.h> exists even on freestanding compilers. */
58326 #ifdef __STDC__
58327 # include <limits.h>
58328 #else
58329 # include <assert.h>
58330 #endif
58331 /* Override any gcc2 internal prototype to avoid an error. */
58332 #ifdef __cplusplus
58333 extern "C"
58335 #endif
58336 /* We use char because int might match the return type of a gcc2
58337 builtin and then its argument prototype would still apply. */
58338 char $ac_func ();
58339 /* The GNU C library defines this for functions which it implements
58340 to always fail with ENOSYS. Some functions are actually named
58341 something starting with __ and the normal name is an alias. */
58342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58343 choke me
58344 #else
58345 char (*f) () = $ac_func;
58346 #endif
58347 #ifdef __cplusplus
58349 #endif
58352 main ()
58354 return f != $ac_func;
58356 return 0;
58358 _ACEOF
58359 rm -f conftest.$ac_objext conftest$ac_exeext
58360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58361 (eval $ac_link) 2>&5
58362 ac_status=$?
58363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58364 (exit $ac_status); } &&
58365 { ac_try='test -s conftest$ac_exeext'
58366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58367 (eval $ac_try) 2>&5
58368 ac_status=$?
58369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58370 (exit $ac_status); }; }; then
58371 eval "$as_ac_var=yes"
58372 else
58373 echo "$as_me: failed program was:" >&5
58374 sed 's/^/| /' conftest.$ac_ext >&5
58376 eval "$as_ac_var=no"
58378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58382 if test `eval echo '${'$as_ac_var'}'` = yes; then
58383 cat >>confdefs.h <<_ACEOF
58384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58385 _ACEOF
58388 done
58391 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58392 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58393 if test x"$has_weof" = xyes &&
58394 test x"$has_wchar_minmax" = xyes &&
58395 test x"$ac_wfuncs" = xyes;
58396 then
58397 ac_isoC99_wchar_t=yes
58398 else
58399 ac_isoC99_wchar_t=no
58401 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58402 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58404 # Use iconv for wchar_t to char conversions. As such, check for
58405 # X/Open Portability Guide, version 2 features (XPG2).
58406 if test "${ac_cv_header_iconv_h+set}" = set; then
58407 echo "$as_me:$LINENO: checking for iconv.h" >&5
58408 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58409 if test "${ac_cv_header_iconv_h+set}" = set; then
58410 echo $ECHO_N "(cached) $ECHO_C" >&6
58412 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58413 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58414 else
58415 # Is the header compilable?
58416 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58417 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58418 cat >conftest.$ac_ext <<_ACEOF
58419 #line $LINENO "configure"
58420 /* confdefs.h. */
58421 _ACEOF
58422 cat confdefs.h >>conftest.$ac_ext
58423 cat >>conftest.$ac_ext <<_ACEOF
58424 /* end confdefs.h. */
58425 $ac_includes_default
58426 #include <iconv.h>
58427 _ACEOF
58428 rm -f conftest.$ac_objext
58429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58430 (eval $ac_compile) 2>&5
58431 ac_status=$?
58432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58433 (exit $ac_status); } &&
58434 { ac_try='test -s conftest.$ac_objext'
58435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58436 (eval $ac_try) 2>&5
58437 ac_status=$?
58438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58439 (exit $ac_status); }; }; then
58440 ac_header_compiler=yes
58441 else
58442 echo "$as_me: failed program was:" >&5
58443 sed 's/^/| /' conftest.$ac_ext >&5
58445 ac_header_compiler=no
58447 rm -f conftest.$ac_objext conftest.$ac_ext
58448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58449 echo "${ECHO_T}$ac_header_compiler" >&6
58451 # Is the header present?
58452 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58453 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58454 cat >conftest.$ac_ext <<_ACEOF
58455 #line $LINENO "configure"
58456 /* confdefs.h. */
58457 _ACEOF
58458 cat confdefs.h >>conftest.$ac_ext
58459 cat >>conftest.$ac_ext <<_ACEOF
58460 /* end confdefs.h. */
58461 #include <iconv.h>
58462 _ACEOF
58463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58465 ac_status=$?
58466 grep -v '^ *+' conftest.er1 >conftest.err
58467 rm -f conftest.er1
58468 cat conftest.err >&5
58469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58470 (exit $ac_status); } >/dev/null; then
58471 if test -s conftest.err; then
58472 ac_cpp_err=$ac_c_preproc_warn_flag
58473 else
58474 ac_cpp_err=
58476 else
58477 ac_cpp_err=yes
58479 if test -z "$ac_cpp_err"; then
58480 ac_header_preproc=yes
58481 else
58482 echo "$as_me: failed program was:" >&5
58483 sed 's/^/| /' conftest.$ac_ext >&5
58485 ac_header_preproc=no
58487 rm -f conftest.err conftest.$ac_ext
58488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58489 echo "${ECHO_T}$ac_header_preproc" >&6
58491 # So? What about this header?
58492 case $ac_header_compiler:$ac_header_preproc in
58493 yes:no )
58494 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58495 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58496 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58497 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58499 cat <<\_ASBOX
58500 ## ------------------------------------ ##
58501 ## Report this to bug-autoconf@gnu.org. ##
58502 ## ------------------------------------ ##
58503 _ASBOX
58505 sed "s/^/$as_me: WARNING: /" >&2
58507 no:yes )
58508 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58509 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58510 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58511 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58512 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58513 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58515 cat <<\_ASBOX
58516 ## ------------------------------------ ##
58517 ## Report this to bug-autoconf@gnu.org. ##
58518 ## ------------------------------------ ##
58519 _ASBOX
58521 sed "s/^/$as_me: WARNING: /" >&2
58523 esac
58524 echo "$as_me:$LINENO: checking for iconv.h" >&5
58525 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58526 if test "${ac_cv_header_iconv_h+set}" = set; then
58527 echo $ECHO_N "(cached) $ECHO_C" >&6
58528 else
58529 ac_cv_header_iconv_h=$ac_header_preproc
58531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58535 if test $ac_cv_header_iconv_h = yes; then
58536 ac_has_iconv_h=yes
58537 else
58538 ac_has_iconv_h=no
58542 if test "${ac_cv_header_langinfo_h+set}" = set; then
58543 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58544 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58545 if test "${ac_cv_header_langinfo_h+set}" = set; then
58546 echo $ECHO_N "(cached) $ECHO_C" >&6
58548 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58549 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58550 else
58551 # Is the header compilable?
58552 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58553 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58554 cat >conftest.$ac_ext <<_ACEOF
58555 #line $LINENO "configure"
58556 /* confdefs.h. */
58557 _ACEOF
58558 cat confdefs.h >>conftest.$ac_ext
58559 cat >>conftest.$ac_ext <<_ACEOF
58560 /* end confdefs.h. */
58561 $ac_includes_default
58562 #include <langinfo.h>
58563 _ACEOF
58564 rm -f conftest.$ac_objext
58565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58566 (eval $ac_compile) 2>&5
58567 ac_status=$?
58568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58569 (exit $ac_status); } &&
58570 { ac_try='test -s conftest.$ac_objext'
58571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58572 (eval $ac_try) 2>&5
58573 ac_status=$?
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); }; }; then
58576 ac_header_compiler=yes
58577 else
58578 echo "$as_me: failed program was:" >&5
58579 sed 's/^/| /' conftest.$ac_ext >&5
58581 ac_header_compiler=no
58583 rm -f conftest.$ac_objext conftest.$ac_ext
58584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58585 echo "${ECHO_T}$ac_header_compiler" >&6
58587 # Is the header present?
58588 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58589 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58590 cat >conftest.$ac_ext <<_ACEOF
58591 #line $LINENO "configure"
58592 /* confdefs.h. */
58593 _ACEOF
58594 cat confdefs.h >>conftest.$ac_ext
58595 cat >>conftest.$ac_ext <<_ACEOF
58596 /* end confdefs.h. */
58597 #include <langinfo.h>
58598 _ACEOF
58599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58601 ac_status=$?
58602 grep -v '^ *+' conftest.er1 >conftest.err
58603 rm -f conftest.er1
58604 cat conftest.err >&5
58605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58606 (exit $ac_status); } >/dev/null; then
58607 if test -s conftest.err; then
58608 ac_cpp_err=$ac_c_preproc_warn_flag
58609 else
58610 ac_cpp_err=
58612 else
58613 ac_cpp_err=yes
58615 if test -z "$ac_cpp_err"; then
58616 ac_header_preproc=yes
58617 else
58618 echo "$as_me: failed program was:" >&5
58619 sed 's/^/| /' conftest.$ac_ext >&5
58621 ac_header_preproc=no
58623 rm -f conftest.err conftest.$ac_ext
58624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58625 echo "${ECHO_T}$ac_header_preproc" >&6
58627 # So? What about this header?
58628 case $ac_header_compiler:$ac_header_preproc in
58629 yes:no )
58630 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58631 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58632 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58633 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58635 cat <<\_ASBOX
58636 ## ------------------------------------ ##
58637 ## Report this to bug-autoconf@gnu.org. ##
58638 ## ------------------------------------ ##
58639 _ASBOX
58641 sed "s/^/$as_me: WARNING: /" >&2
58643 no:yes )
58644 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58645 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58646 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
58647 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
58648 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58649 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58651 cat <<\_ASBOX
58652 ## ------------------------------------ ##
58653 ## Report this to bug-autoconf@gnu.org. ##
58654 ## ------------------------------------ ##
58655 _ASBOX
58657 sed "s/^/$as_me: WARNING: /" >&2
58659 esac
58660 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58661 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58662 if test "${ac_cv_header_langinfo_h+set}" = set; then
58663 echo $ECHO_N "(cached) $ECHO_C" >&6
58664 else
58665 ac_cv_header_langinfo_h=$ac_header_preproc
58667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58671 if test $ac_cv_header_langinfo_h = yes; then
58672 ac_has_langinfo_h=yes
58673 else
58674 ac_has_langinfo_h=no
58679 # Check for existence of libiconv.a providing XPG2 wchar_t support.
58680 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
58681 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
58682 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
58683 echo $ECHO_N "(cached) $ECHO_C" >&6
58684 else
58685 ac_check_lib_save_LIBS=$LIBS
58686 LIBS="-liconv $LIBS"
58687 if test x$gcc_no_link = xyes; then
58688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58690 { (exit 1); exit 1; }; }
58692 cat >conftest.$ac_ext <<_ACEOF
58693 #line $LINENO "configure"
58694 /* confdefs.h. */
58695 _ACEOF
58696 cat confdefs.h >>conftest.$ac_ext
58697 cat >>conftest.$ac_ext <<_ACEOF
58698 /* end confdefs.h. */
58700 /* Override any gcc2 internal prototype to avoid an error. */
58701 #ifdef __cplusplus
58702 extern "C"
58703 #endif
58704 /* We use char because int might match the return type of a gcc2
58705 builtin and then its argument prototype would still apply. */
58706 char iconv ();
58708 main ()
58710 iconv ();
58712 return 0;
58714 _ACEOF
58715 rm -f conftest.$ac_objext conftest$ac_exeext
58716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58717 (eval $ac_link) 2>&5
58718 ac_status=$?
58719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720 (exit $ac_status); } &&
58721 { ac_try='test -s conftest$ac_exeext'
58722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58723 (eval $ac_try) 2>&5
58724 ac_status=$?
58725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58726 (exit $ac_status); }; }; then
58727 ac_cv_lib_iconv_iconv=yes
58728 else
58729 echo "$as_me: failed program was:" >&5
58730 sed 's/^/| /' conftest.$ac_ext >&5
58732 ac_cv_lib_iconv_iconv=no
58734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58735 LIBS=$ac_check_lib_save_LIBS
58737 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
58738 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
58739 if test $ac_cv_lib_iconv_iconv = yes; then
58740 libiconv="-liconv"
58743 ac_save_LIBS="$LIBS"
58744 LIBS="$LIBS $libiconv"
58750 for ac_func in iconv_open iconv_close iconv nl_langinfo
58752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58753 echo "$as_me:$LINENO: checking for $ac_func" >&5
58754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58755 if eval "test \"\${$as_ac_var+set}\" = set"; then
58756 echo $ECHO_N "(cached) $ECHO_C" >&6
58757 else
58758 if test x$gcc_no_link = xyes; then
58759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58761 { (exit 1); exit 1; }; }
58763 cat >conftest.$ac_ext <<_ACEOF
58764 #line $LINENO "configure"
58765 /* confdefs.h. */
58766 _ACEOF
58767 cat confdefs.h >>conftest.$ac_ext
58768 cat >>conftest.$ac_ext <<_ACEOF
58769 /* end confdefs.h. */
58770 /* System header to define __stub macros and hopefully few prototypes,
58771 which can conflict with char $ac_func (); below.
58772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58773 <limits.h> exists even on freestanding compilers. */
58774 #ifdef __STDC__
58775 # include <limits.h>
58776 #else
58777 # include <assert.h>
58778 #endif
58779 /* Override any gcc2 internal prototype to avoid an error. */
58780 #ifdef __cplusplus
58781 extern "C"
58783 #endif
58784 /* We use char because int might match the return type of a gcc2
58785 builtin and then its argument prototype would still apply. */
58786 char $ac_func ();
58787 /* The GNU C library defines this for functions which it implements
58788 to always fail with ENOSYS. Some functions are actually named
58789 something starting with __ and the normal name is an alias. */
58790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58791 choke me
58792 #else
58793 char (*f) () = $ac_func;
58794 #endif
58795 #ifdef __cplusplus
58797 #endif
58800 main ()
58802 return f != $ac_func;
58804 return 0;
58806 _ACEOF
58807 rm -f conftest.$ac_objext conftest$ac_exeext
58808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58809 (eval $ac_link) 2>&5
58810 ac_status=$?
58811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58812 (exit $ac_status); } &&
58813 { ac_try='test -s conftest$ac_exeext'
58814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58815 (eval $ac_try) 2>&5
58816 ac_status=$?
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); }; }; then
58819 eval "$as_ac_var=yes"
58820 else
58821 echo "$as_me: failed program was:" >&5
58822 sed 's/^/| /' conftest.$ac_ext >&5
58824 eval "$as_ac_var=no"
58826 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58830 if test `eval echo '${'$as_ac_var'}'` = yes; then
58831 cat >>confdefs.h <<_ACEOF
58832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58833 _ACEOF
58834 ac_XPG2funcs=yes
58835 else
58836 ac_XPG2funcs=no
58838 done
58841 LIBS="$ac_save_LIBS"
58843 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
58844 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
58845 if test x"$ac_has_iconv_h" = xyes &&
58846 test x"$ac_has_langinfo_h" = xyes &&
58847 test x"$ac_XPG2funcs" = xyes;
58848 then
58849 ac_XPG2_wchar_t=yes
58850 else
58851 ac_XPG2_wchar_t=no
58853 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
58854 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
58856 # At the moment, only enable wchar_t specializations if all the
58857 # above support is present.
58858 if test x"$ac_isoC99_wchar_t" = xyes &&
58859 test x"$ac_XPG2_wchar_t" = xyes;
58860 then
58861 cat >>confdefs.h <<\_ACEOF
58862 #define _GLIBCXX_USE_WCHAR_T 1
58863 _ACEOF
58865 enable_wchar_t=yes
58868 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
58869 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
58870 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
58871 echo "${ECHO_T}$enable_wchar_t" >&6
58873 cat >>confdefs.h <<\_ACEOF
58874 #define HAVE_COSF 1
58875 _ACEOF
58877 cat >>confdefs.h <<\_ACEOF
58878 #define HAVE_COSL 1
58879 _ACEOF
58881 cat >>confdefs.h <<\_ACEOF
58882 #define HAVE_COSHF 1
58883 _ACEOF
58885 cat >>confdefs.h <<\_ACEOF
58886 #define HAVE_COSHL 1
58887 _ACEOF
58889 cat >>confdefs.h <<\_ACEOF
58890 #define HAVE_LOGF 1
58891 _ACEOF
58893 cat >>confdefs.h <<\_ACEOF
58894 #define HAVE_LOGL 1
58895 _ACEOF
58897 cat >>confdefs.h <<\_ACEOF
58898 #define HAVE_LOG10F 1
58899 _ACEOF
58901 cat >>confdefs.h <<\_ACEOF
58902 #define HAVE_LOG10L 1
58903 _ACEOF
58905 cat >>confdefs.h <<\_ACEOF
58906 #define HAVE_SINF 1
58907 _ACEOF
58909 cat >>confdefs.h <<\_ACEOF
58910 #define HAVE_SINL 1
58911 _ACEOF
58913 cat >>confdefs.h <<\_ACEOF
58914 #define HAVE_SINHF 1
58915 _ACEOF
58917 cat >>confdefs.h <<\_ACEOF
58918 #define HAVE_SINHL 1
58919 _ACEOF
58922 *-solaris*)
58923 case "$target" in
58924 # *-solaris2.5)
58925 # os_include_dir="os/solaris/solaris2.5"
58926 # ;;
58927 # *-solaris2.6)
58928 # os_include_dir="os/solaris/solaris2.6"
58929 # ;;
58930 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
58931 cat >>confdefs.h <<\_ACEOF
58932 #define HAVE_GETPAGESIZE 1
58933 _ACEOF
58935 cat >>confdefs.h <<\_ACEOF
58936 #define HAVE_SIGSETJMP 1
58937 _ACEOF
58939 cat >>confdefs.h <<\_ACEOF
58940 #define HAVE_MBSTATE_T 1
58941 _ACEOF
58943 cat >>confdefs.h <<\_ACEOF
58944 #define HAVE_POLL 1
58945 _ACEOF
58947 cat >>confdefs.h <<\_ACEOF
58948 #define HAVE_S_ISREG 1
58949 _ACEOF
58951 cat >>confdefs.h <<\_ACEOF
58952 #define HAVE_LC_MESSAGES 1
58953 _ACEOF
58955 cat >>confdefs.h <<\_ACEOF
58956 #define HAVE_BTOWC 1
58957 _ACEOF
58959 cat >>confdefs.h <<\_ACEOF
58960 #define HAVE_DRAND48 1
58961 _ACEOF
58963 cat >>confdefs.h <<\_ACEOF
58964 #define HAVE_FGETWC 1
58965 _ACEOF
58967 cat >>confdefs.h <<\_ACEOF
58968 #define HAVE_FGETWS 1
58969 _ACEOF
58971 cat >>confdefs.h <<\_ACEOF
58972 #define HAVE_FINITE 1
58973 _ACEOF
58975 cat >>confdefs.h <<\_ACEOF
58976 #define HAVE_FPCLASS 1
58977 _ACEOF
58979 cat >>confdefs.h <<\_ACEOF
58980 #define HAVE_FPUTWC 1
58981 _ACEOF
58983 cat >>confdefs.h <<\_ACEOF
58984 #define HAVE_FPUTWS 1
58985 _ACEOF
58987 cat >>confdefs.h <<\_ACEOF
58988 #define HAVE_FWIDE 1
58989 _ACEOF
58991 cat >>confdefs.h <<\_ACEOF
58992 #define HAVE_FWPRINTF 1
58993 _ACEOF
58995 cat >>confdefs.h <<\_ACEOF
58996 #define HAVE_FWSCANF 1
58997 _ACEOF
58999 cat >>confdefs.h <<\_ACEOF
59000 #define HAVE_GETPAGESIZE 1
59001 _ACEOF
59003 cat >>confdefs.h <<\_ACEOF
59004 #define HAVE_GETWC 1
59005 _ACEOF
59007 cat >>confdefs.h <<\_ACEOF
59008 #define HAVE_GETWCHAR 1
59009 _ACEOF
59011 cat >>confdefs.h <<\_ACEOF
59012 #define HAVE_ISATTY 1
59013 _ACEOF
59015 cat >>confdefs.h <<\_ACEOF
59016 #define HAVE_MBRLEN 1
59017 _ACEOF
59019 cat >>confdefs.h <<\_ACEOF
59020 #define HAVE_MBRTOWC 1
59021 _ACEOF
59023 cat >>confdefs.h <<\_ACEOF
59024 #define HAVE_MBSINIT 1
59025 _ACEOF
59027 cat >>confdefs.h <<\_ACEOF
59028 #define HAVE_MBSRTOWCS 1
59029 _ACEOF
59031 cat >>confdefs.h <<\_ACEOF
59032 #define HAVE_NL_LANGINFO 1
59033 _ACEOF
59035 cat >>confdefs.h <<\_ACEOF
59036 #define HAVE_PUTWC 1
59037 _ACEOF
59039 cat >>confdefs.h <<\_ACEOF
59040 #define HAVE_PUTWCHAR 1
59041 _ACEOF
59043 cat >>confdefs.h <<\_ACEOF
59044 #define HAVE_SWPRINTF 1
59045 _ACEOF
59047 cat >>confdefs.h <<\_ACEOF
59048 #define HAVE_SWSCANF 1
59049 _ACEOF
59051 cat >>confdefs.h <<\_ACEOF
59052 #define HAVE_UNGETWC 1
59053 _ACEOF
59055 cat >>confdefs.h <<\_ACEOF
59056 #define HAVE_VFWPRINTF 1
59057 _ACEOF
59059 cat >>confdefs.h <<\_ACEOF
59060 #define HAVE_VSWPRINTF 1
59061 _ACEOF
59063 cat >>confdefs.h <<\_ACEOF
59064 #define HAVE_VWPRINTF 1
59065 _ACEOF
59067 cat >>confdefs.h <<\_ACEOF
59068 #define HAVE_WCRTOMB 1
59069 _ACEOF
59071 cat >>confdefs.h <<\_ACEOF
59072 #define HAVE_WCSCAT 1
59073 _ACEOF
59075 cat >>confdefs.h <<\_ACEOF
59076 #define HAVE_WCSCHR 1
59077 _ACEOF
59079 cat >>confdefs.h <<\_ACEOF
59080 #define HAVE_WCSCMP 1
59081 _ACEOF
59083 cat >>confdefs.h <<\_ACEOF
59084 #define HAVE_WCSCOLL 1
59085 _ACEOF
59087 cat >>confdefs.h <<\_ACEOF
59088 #define HAVE_WCSCPY 1
59089 _ACEOF
59091 cat >>confdefs.h <<\_ACEOF
59092 #define HAVE_WCSCSPN 1
59093 _ACEOF
59095 cat >>confdefs.h <<\_ACEOF
59096 #define HAVE_WCSFTIME 1
59097 _ACEOF
59099 cat >>confdefs.h <<\_ACEOF
59100 #define HAVE_WCSLEN 1
59101 _ACEOF
59103 cat >>confdefs.h <<\_ACEOF
59104 #define HAVE_WCSNCAT 1
59105 _ACEOF
59107 cat >>confdefs.h <<\_ACEOF
59108 #define HAVE_WCSNCMP 1
59109 _ACEOF
59111 cat >>confdefs.h <<\_ACEOF
59112 #define HAVE_WCSNCPY 1
59113 _ACEOF
59115 cat >>confdefs.h <<\_ACEOF
59116 #define HAVE_WCSPBRK 1
59117 _ACEOF
59119 cat >>confdefs.h <<\_ACEOF
59120 #define HAVE_WCSRCHR 1
59121 _ACEOF
59123 cat >>confdefs.h <<\_ACEOF
59124 #define HAVE_WCSRTOMBS 1
59125 _ACEOF
59127 cat >>confdefs.h <<\_ACEOF
59128 #define HAVE_WCSSPN 1
59129 _ACEOF
59131 cat >>confdefs.h <<\_ACEOF
59132 #define HAVE_WCSSTR 1
59133 _ACEOF
59135 cat >>confdefs.h <<\_ACEOF
59136 #define HAVE_WCSTOD 1
59137 _ACEOF
59139 cat >>confdefs.h <<\_ACEOF
59140 #define HAVE_WCSTOK 1
59141 _ACEOF
59143 cat >>confdefs.h <<\_ACEOF
59144 #define HAVE_WCSTOL 1
59145 _ACEOF
59147 cat >>confdefs.h <<\_ACEOF
59148 #define HAVE_WCSTOUL 1
59149 _ACEOF
59151 cat >>confdefs.h <<\_ACEOF
59152 #define HAVE_WCSXFRM 1
59153 _ACEOF
59155 cat >>confdefs.h <<\_ACEOF
59156 #define HAVE_WCTOB 1
59157 _ACEOF
59159 cat >>confdefs.h <<\_ACEOF
59160 #define HAVE_WMEMCHR 1
59161 _ACEOF
59163 cat >>confdefs.h <<\_ACEOF
59164 #define HAVE_WMEMCMP 1
59165 _ACEOF
59167 cat >>confdefs.h <<\_ACEOF
59168 #define HAVE_WMEMCPY 1
59169 _ACEOF
59171 cat >>confdefs.h <<\_ACEOF
59172 #define HAVE_WMEMMOVE 1
59173 _ACEOF
59175 cat >>confdefs.h <<\_ACEOF
59176 #define HAVE_WMEMSET 1
59177 _ACEOF
59179 cat >>confdefs.h <<\_ACEOF
59180 #define HAVE_WPRINTF 1
59181 _ACEOF
59183 cat >>confdefs.h <<\_ACEOF
59184 #define HAVE_WSCANF 1
59185 _ACEOF
59187 cat >>confdefs.h <<\_ACEOF
59188 #define HAVE_ICONV 1
59189 _ACEOF
59191 cat >>confdefs.h <<\_ACEOF
59192 #define HAVE_ICONV_CLOSE 1
59193 _ACEOF
59195 cat >>confdefs.h <<\_ACEOF
59196 #define HAVE_ICONV_OPEN 1
59197 _ACEOF
59199 # Look for the pieces required for wchar_t support in order to
59200 # get all the right HAVE_* macros defined.
59202 # Test wchar.h for mbstate_t, which is needed for char_traits and
59203 # others even if wchar_t support is not on.
59204 echo "$as_me:$LINENO: checking for mbstate_t" >&5
59205 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59206 cat >conftest.$ac_ext <<_ACEOF
59207 #line $LINENO "configure"
59208 /* confdefs.h. */
59209 _ACEOF
59210 cat confdefs.h >>conftest.$ac_ext
59211 cat >>conftest.$ac_ext <<_ACEOF
59212 /* end confdefs.h. */
59213 #include <wchar.h>
59215 main ()
59217 mbstate_t teststate;
59219 return 0;
59221 _ACEOF
59222 rm -f conftest.$ac_objext
59223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59224 (eval $ac_compile) 2>&5
59225 ac_status=$?
59226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59227 (exit $ac_status); } &&
59228 { ac_try='test -s conftest.$ac_objext'
59229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59230 (eval $ac_try) 2>&5
59231 ac_status=$?
59232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59233 (exit $ac_status); }; }; then
59234 have_mbstate_t=yes
59235 else
59236 echo "$as_me: failed program was:" >&5
59237 sed 's/^/| /' conftest.$ac_ext >&5
59239 have_mbstate_t=no
59241 rm -f conftest.$ac_objext conftest.$ac_ext
59242 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59243 echo "${ECHO_T}$have_mbstate_t" >&6
59244 if test x"$have_mbstate_t" = xyes; then
59245 cat >>confdefs.h <<\_ACEOF
59246 #define HAVE_MBSTATE_T 1
59247 _ACEOF
59251 # Sanity check for existence of ISO C99 headers for extended encoding.
59253 for ac_header in wchar.h
59255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59257 echo "$as_me:$LINENO: checking for $ac_header" >&5
59258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59260 echo $ECHO_N "(cached) $ECHO_C" >&6
59262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59264 else
59265 # Is the header compilable?
59266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59268 cat >conftest.$ac_ext <<_ACEOF
59269 #line $LINENO "configure"
59270 /* confdefs.h. */
59271 _ACEOF
59272 cat confdefs.h >>conftest.$ac_ext
59273 cat >>conftest.$ac_ext <<_ACEOF
59274 /* end confdefs.h. */
59275 $ac_includes_default
59276 #include <$ac_header>
59277 _ACEOF
59278 rm -f conftest.$ac_objext
59279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59280 (eval $ac_compile) 2>&5
59281 ac_status=$?
59282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59283 (exit $ac_status); } &&
59284 { ac_try='test -s conftest.$ac_objext'
59285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59286 (eval $ac_try) 2>&5
59287 ac_status=$?
59288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59289 (exit $ac_status); }; }; then
59290 ac_header_compiler=yes
59291 else
59292 echo "$as_me: failed program was:" >&5
59293 sed 's/^/| /' conftest.$ac_ext >&5
59295 ac_header_compiler=no
59297 rm -f conftest.$ac_objext conftest.$ac_ext
59298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59299 echo "${ECHO_T}$ac_header_compiler" >&6
59301 # Is the header present?
59302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59304 cat >conftest.$ac_ext <<_ACEOF
59305 #line $LINENO "configure"
59306 /* confdefs.h. */
59307 _ACEOF
59308 cat confdefs.h >>conftest.$ac_ext
59309 cat >>conftest.$ac_ext <<_ACEOF
59310 /* end confdefs.h. */
59311 #include <$ac_header>
59312 _ACEOF
59313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59315 ac_status=$?
59316 grep -v '^ *+' conftest.er1 >conftest.err
59317 rm -f conftest.er1
59318 cat conftest.err >&5
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); } >/dev/null; then
59321 if test -s conftest.err; then
59322 ac_cpp_err=$ac_c_preproc_warn_flag
59323 else
59324 ac_cpp_err=
59326 else
59327 ac_cpp_err=yes
59329 if test -z "$ac_cpp_err"; then
59330 ac_header_preproc=yes
59331 else
59332 echo "$as_me: failed program was:" >&5
59333 sed 's/^/| /' conftest.$ac_ext >&5
59335 ac_header_preproc=no
59337 rm -f conftest.err conftest.$ac_ext
59338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59339 echo "${ECHO_T}$ac_header_preproc" >&6
59341 # So? What about this header?
59342 case $ac_header_compiler:$ac_header_preproc in
59343 yes:no )
59344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59349 cat <<\_ASBOX
59350 ## ------------------------------------ ##
59351 ## Report this to bug-autoconf@gnu.org. ##
59352 ## ------------------------------------ ##
59353 _ASBOX
59355 sed "s/^/$as_me: WARNING: /" >&2
59357 no:yes )
59358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59365 cat <<\_ASBOX
59366 ## ------------------------------------ ##
59367 ## Report this to bug-autoconf@gnu.org. ##
59368 ## ------------------------------------ ##
59369 _ASBOX
59371 sed "s/^/$as_me: WARNING: /" >&2
59373 esac
59374 echo "$as_me:$LINENO: checking for $ac_header" >&5
59375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59377 echo $ECHO_N "(cached) $ECHO_C" >&6
59378 else
59379 eval "$as_ac_Header=$ac_header_preproc"
59381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59386 cat >>confdefs.h <<_ACEOF
59387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59388 _ACEOF
59389 ac_has_wchar_h=yes
59390 else
59391 ac_has_wchar_h=no
59394 done
59397 for ac_header in wctype.h
59399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59401 echo "$as_me:$LINENO: checking for $ac_header" >&5
59402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59404 echo $ECHO_N "(cached) $ECHO_C" >&6
59406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59408 else
59409 # Is the header compilable?
59410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59412 cat >conftest.$ac_ext <<_ACEOF
59413 #line $LINENO "configure"
59414 /* confdefs.h. */
59415 _ACEOF
59416 cat confdefs.h >>conftest.$ac_ext
59417 cat >>conftest.$ac_ext <<_ACEOF
59418 /* end confdefs.h. */
59419 $ac_includes_default
59420 #include <$ac_header>
59421 _ACEOF
59422 rm -f conftest.$ac_objext
59423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59424 (eval $ac_compile) 2>&5
59425 ac_status=$?
59426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59427 (exit $ac_status); } &&
59428 { ac_try='test -s conftest.$ac_objext'
59429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59430 (eval $ac_try) 2>&5
59431 ac_status=$?
59432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59433 (exit $ac_status); }; }; then
59434 ac_header_compiler=yes
59435 else
59436 echo "$as_me: failed program was:" >&5
59437 sed 's/^/| /' conftest.$ac_ext >&5
59439 ac_header_compiler=no
59441 rm -f conftest.$ac_objext conftest.$ac_ext
59442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59443 echo "${ECHO_T}$ac_header_compiler" >&6
59445 # Is the header present?
59446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59448 cat >conftest.$ac_ext <<_ACEOF
59449 #line $LINENO "configure"
59450 /* confdefs.h. */
59451 _ACEOF
59452 cat confdefs.h >>conftest.$ac_ext
59453 cat >>conftest.$ac_ext <<_ACEOF
59454 /* end confdefs.h. */
59455 #include <$ac_header>
59456 _ACEOF
59457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59459 ac_status=$?
59460 grep -v '^ *+' conftest.er1 >conftest.err
59461 rm -f conftest.er1
59462 cat conftest.err >&5
59463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59464 (exit $ac_status); } >/dev/null; then
59465 if test -s conftest.err; then
59466 ac_cpp_err=$ac_c_preproc_warn_flag
59467 else
59468 ac_cpp_err=
59470 else
59471 ac_cpp_err=yes
59473 if test -z "$ac_cpp_err"; then
59474 ac_header_preproc=yes
59475 else
59476 echo "$as_me: failed program was:" >&5
59477 sed 's/^/| /' conftest.$ac_ext >&5
59479 ac_header_preproc=no
59481 rm -f conftest.err conftest.$ac_ext
59482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59483 echo "${ECHO_T}$ac_header_preproc" >&6
59485 # So? What about this header?
59486 case $ac_header_compiler:$ac_header_preproc in
59487 yes:no )
59488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59493 cat <<\_ASBOX
59494 ## ------------------------------------ ##
59495 ## Report this to bug-autoconf@gnu.org. ##
59496 ## ------------------------------------ ##
59497 _ASBOX
59499 sed "s/^/$as_me: WARNING: /" >&2
59501 no:yes )
59502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59509 cat <<\_ASBOX
59510 ## ------------------------------------ ##
59511 ## Report this to bug-autoconf@gnu.org. ##
59512 ## ------------------------------------ ##
59513 _ASBOX
59515 sed "s/^/$as_me: WARNING: /" >&2
59517 esac
59518 echo "$as_me:$LINENO: checking for $ac_header" >&5
59519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59521 echo $ECHO_N "(cached) $ECHO_C" >&6
59522 else
59523 eval "$as_ac_Header=$ac_header_preproc"
59525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59530 cat >>confdefs.h <<_ACEOF
59531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59532 _ACEOF
59533 ac_has_wctype_h=yes
59534 else
59535 ac_has_wctype_h=no
59538 done
59541 # Only continue checking if the ISO C99 headers exist and support is on.
59542 if test x"$ac_has_wchar_h" = xyes &&
59543 test x"$ac_has_wctype_h" = xyes &&
59544 test x"$enable_c_mbchar" != xno; then
59546 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59547 # numeric_limits can instantiate type_traits<wchar_t>
59548 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59549 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59550 cat >conftest.$ac_ext <<_ACEOF
59551 #line $LINENO "configure"
59552 /* confdefs.h. */
59553 _ACEOF
59554 cat confdefs.h >>conftest.$ac_ext
59555 cat >>conftest.$ac_ext <<_ACEOF
59556 /* end confdefs.h. */
59557 #include <wchar.h>
59559 main ()
59561 int i = WCHAR_MIN; int j = WCHAR_MAX;
59563 return 0;
59565 _ACEOF
59566 rm -f conftest.$ac_objext
59567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59568 (eval $ac_compile) 2>&5
59569 ac_status=$?
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); } &&
59572 { ac_try='test -s conftest.$ac_objext'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59575 ac_status=$?
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; }; then
59578 has_wchar_minmax=yes
59579 else
59580 echo "$as_me: failed program was:" >&5
59581 sed 's/^/| /' conftest.$ac_ext >&5
59583 has_wchar_minmax=no
59585 rm -f conftest.$ac_objext conftest.$ac_ext
59586 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59587 echo "${ECHO_T}$has_wchar_minmax" >&6
59589 # Test wchar.h for WEOF, which is what we use to determine whether
59590 # to specialize for char_traits<wchar_t> or not.
59591 echo "$as_me:$LINENO: checking for WEOF" >&5
59592 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59593 cat >conftest.$ac_ext <<_ACEOF
59594 #line $LINENO "configure"
59595 /* confdefs.h. */
59596 _ACEOF
59597 cat confdefs.h >>conftest.$ac_ext
59598 cat >>conftest.$ac_ext <<_ACEOF
59599 /* end confdefs.h. */
59601 #include <wchar.h>
59602 #include <stddef.h>
59604 main ()
59606 wint_t i = WEOF;
59608 return 0;
59610 _ACEOF
59611 rm -f conftest.$ac_objext
59612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59613 (eval $ac_compile) 2>&5
59614 ac_status=$?
59615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59616 (exit $ac_status); } &&
59617 { ac_try='test -s conftest.$ac_objext'
59618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59619 (eval $ac_try) 2>&5
59620 ac_status=$?
59621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59622 (exit $ac_status); }; }; then
59623 has_weof=yes
59624 else
59625 echo "$as_me: failed program was:" >&5
59626 sed 's/^/| /' conftest.$ac_ext >&5
59628 has_weof=no
59630 rm -f conftest.$ac_objext conftest.$ac_ext
59631 echo "$as_me:$LINENO: result: $has_weof" >&5
59632 echo "${ECHO_T}$has_weof" >&6
59634 # Tests for wide character functions used in char_traits<wchar_t>.
59635 ac_wfuncs=yes
59642 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59645 echo "$as_me:$LINENO: checking for $ac_func" >&5
59646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59647 if eval "test \"\${$as_ac_var+set}\" = set"; then
59648 echo $ECHO_N "(cached) $ECHO_C" >&6
59649 else
59650 if test x$gcc_no_link = xyes; then
59651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59653 { (exit 1); exit 1; }; }
59655 cat >conftest.$ac_ext <<_ACEOF
59656 #line $LINENO "configure"
59657 /* confdefs.h. */
59658 _ACEOF
59659 cat confdefs.h >>conftest.$ac_ext
59660 cat >>conftest.$ac_ext <<_ACEOF
59661 /* end confdefs.h. */
59662 /* System header to define __stub macros and hopefully few prototypes,
59663 which can conflict with char $ac_func (); below.
59664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59665 <limits.h> exists even on freestanding compilers. */
59666 #ifdef __STDC__
59667 # include <limits.h>
59668 #else
59669 # include <assert.h>
59670 #endif
59671 /* Override any gcc2 internal prototype to avoid an error. */
59672 #ifdef __cplusplus
59673 extern "C"
59675 #endif
59676 /* We use char because int might match the return type of a gcc2
59677 builtin and then its argument prototype would still apply. */
59678 char $ac_func ();
59679 /* The GNU C library defines this for functions which it implements
59680 to always fail with ENOSYS. Some functions are actually named
59681 something starting with __ and the normal name is an alias. */
59682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59683 choke me
59684 #else
59685 char (*f) () = $ac_func;
59686 #endif
59687 #ifdef __cplusplus
59689 #endif
59692 main ()
59694 return f != $ac_func;
59696 return 0;
59698 _ACEOF
59699 rm -f conftest.$ac_objext conftest$ac_exeext
59700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59701 (eval $ac_link) 2>&5
59702 ac_status=$?
59703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59704 (exit $ac_status); } &&
59705 { ac_try='test -s conftest$ac_exeext'
59706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59707 (eval $ac_try) 2>&5
59708 ac_status=$?
59709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59710 (exit $ac_status); }; }; then
59711 eval "$as_ac_var=yes"
59712 else
59713 echo "$as_me: failed program was:" >&5
59714 sed 's/^/| /' conftest.$ac_ext >&5
59716 eval "$as_ac_var=no"
59718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59722 if test `eval echo '${'$as_ac_var'}'` = yes; then
59723 cat >>confdefs.h <<_ACEOF
59724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59725 _ACEOF
59727 else
59728 ac_wfuncs=no
59730 done
59733 # Checks for names injected into std:: by the c_std headers.
59780 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59781 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59782 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59783 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59784 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59785 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59788 echo "$as_me:$LINENO: checking for $ac_func" >&5
59789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59790 if eval "test \"\${$as_ac_var+set}\" = set"; then
59791 echo $ECHO_N "(cached) $ECHO_C" >&6
59792 else
59793 if test x$gcc_no_link = xyes; then
59794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59796 { (exit 1); exit 1; }; }
59798 cat >conftest.$ac_ext <<_ACEOF
59799 #line $LINENO "configure"
59800 /* confdefs.h. */
59801 _ACEOF
59802 cat confdefs.h >>conftest.$ac_ext
59803 cat >>conftest.$ac_ext <<_ACEOF
59804 /* end confdefs.h. */
59805 /* System header to define __stub macros and hopefully few prototypes,
59806 which can conflict with char $ac_func (); below.
59807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59808 <limits.h> exists even on freestanding compilers. */
59809 #ifdef __STDC__
59810 # include <limits.h>
59811 #else
59812 # include <assert.h>
59813 #endif
59814 /* Override any gcc2 internal prototype to avoid an error. */
59815 #ifdef __cplusplus
59816 extern "C"
59818 #endif
59819 /* We use char because int might match the return type of a gcc2
59820 builtin and then its argument prototype would still apply. */
59821 char $ac_func ();
59822 /* The GNU C library defines this for functions which it implements
59823 to always fail with ENOSYS. Some functions are actually named
59824 something starting with __ and the normal name is an alias. */
59825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59826 choke me
59827 #else
59828 char (*f) () = $ac_func;
59829 #endif
59830 #ifdef __cplusplus
59832 #endif
59835 main ()
59837 return f != $ac_func;
59839 return 0;
59841 _ACEOF
59842 rm -f conftest.$ac_objext conftest$ac_exeext
59843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59844 (eval $ac_link) 2>&5
59845 ac_status=$?
59846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59847 (exit $ac_status); } &&
59848 { ac_try='test -s conftest$ac_exeext'
59849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59850 (eval $ac_try) 2>&5
59851 ac_status=$?
59852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59853 (exit $ac_status); }; }; then
59854 eval "$as_ac_var=yes"
59855 else
59856 echo "$as_me: failed program was:" >&5
59857 sed 's/^/| /' conftest.$ac_ext >&5
59859 eval "$as_ac_var=no"
59861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59865 if test `eval echo '${'$as_ac_var'}'` = yes; then
59866 cat >>confdefs.h <<_ACEOF
59867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59868 _ACEOF
59870 else
59871 ac_wfuncs=no
59873 done
59876 # Checks for wide character functions that are not required
59877 # for basic wchar_t support. Don't disable support if they are missing.
59878 # Injection of these is wrapped with guard macros.
59884 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
59886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59887 echo "$as_me:$LINENO: checking for $ac_func" >&5
59888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59889 if eval "test \"\${$as_ac_var+set}\" = set"; then
59890 echo $ECHO_N "(cached) $ECHO_C" >&6
59891 else
59892 if test x$gcc_no_link = xyes; then
59893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59895 { (exit 1); exit 1; }; }
59897 cat >conftest.$ac_ext <<_ACEOF
59898 #line $LINENO "configure"
59899 /* confdefs.h. */
59900 _ACEOF
59901 cat confdefs.h >>conftest.$ac_ext
59902 cat >>conftest.$ac_ext <<_ACEOF
59903 /* end confdefs.h. */
59904 /* System header to define __stub macros and hopefully few prototypes,
59905 which can conflict with char $ac_func (); below.
59906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59907 <limits.h> exists even on freestanding compilers. */
59908 #ifdef __STDC__
59909 # include <limits.h>
59910 #else
59911 # include <assert.h>
59912 #endif
59913 /* Override any gcc2 internal prototype to avoid an error. */
59914 #ifdef __cplusplus
59915 extern "C"
59917 #endif
59918 /* We use char because int might match the return type of a gcc2
59919 builtin and then its argument prototype would still apply. */
59920 char $ac_func ();
59921 /* The GNU C library defines this for functions which it implements
59922 to always fail with ENOSYS. Some functions are actually named
59923 something starting with __ and the normal name is an alias. */
59924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59925 choke me
59926 #else
59927 char (*f) () = $ac_func;
59928 #endif
59929 #ifdef __cplusplus
59931 #endif
59934 main ()
59936 return f != $ac_func;
59938 return 0;
59940 _ACEOF
59941 rm -f conftest.$ac_objext conftest$ac_exeext
59942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59943 (eval $ac_link) 2>&5
59944 ac_status=$?
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); } &&
59947 { ac_try='test -s conftest$ac_exeext'
59948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59949 (eval $ac_try) 2>&5
59950 ac_status=$?
59951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952 (exit $ac_status); }; }; then
59953 eval "$as_ac_var=yes"
59954 else
59955 echo "$as_me: failed program was:" >&5
59956 sed 's/^/| /' conftest.$ac_ext >&5
59958 eval "$as_ac_var=no"
59960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59964 if test `eval echo '${'$as_ac_var'}'` = yes; then
59965 cat >>confdefs.h <<_ACEOF
59966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59967 _ACEOF
59970 done
59973 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
59974 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
59975 if test x"$has_weof" = xyes &&
59976 test x"$has_wchar_minmax" = xyes &&
59977 test x"$ac_wfuncs" = xyes;
59978 then
59979 ac_isoC99_wchar_t=yes
59980 else
59981 ac_isoC99_wchar_t=no
59983 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
59984 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
59986 # Use iconv for wchar_t to char conversions. As such, check for
59987 # X/Open Portability Guide, version 2 features (XPG2).
59988 if test "${ac_cv_header_iconv_h+set}" = set; then
59989 echo "$as_me:$LINENO: checking for iconv.h" >&5
59990 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59991 if test "${ac_cv_header_iconv_h+set}" = set; then
59992 echo $ECHO_N "(cached) $ECHO_C" >&6
59994 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59995 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59996 else
59997 # Is the header compilable?
59998 echo "$as_me:$LINENO: checking iconv.h usability" >&5
59999 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60000 cat >conftest.$ac_ext <<_ACEOF
60001 #line $LINENO "configure"
60002 /* confdefs.h. */
60003 _ACEOF
60004 cat confdefs.h >>conftest.$ac_ext
60005 cat >>conftest.$ac_ext <<_ACEOF
60006 /* end confdefs.h. */
60007 $ac_includes_default
60008 #include <iconv.h>
60009 _ACEOF
60010 rm -f conftest.$ac_objext
60011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60012 (eval $ac_compile) 2>&5
60013 ac_status=$?
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); } &&
60016 { ac_try='test -s conftest.$ac_objext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 ac_header_compiler=yes
60023 else
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60027 ac_header_compiler=no
60029 rm -f conftest.$ac_objext conftest.$ac_ext
60030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60031 echo "${ECHO_T}$ac_header_compiler" >&6
60033 # Is the header present?
60034 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60035 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60036 cat >conftest.$ac_ext <<_ACEOF
60037 #line $LINENO "configure"
60038 /* confdefs.h. */
60039 _ACEOF
60040 cat confdefs.h >>conftest.$ac_ext
60041 cat >>conftest.$ac_ext <<_ACEOF
60042 /* end confdefs.h. */
60043 #include <iconv.h>
60044 _ACEOF
60045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60047 ac_status=$?
60048 grep -v '^ *+' conftest.er1 >conftest.err
60049 rm -f conftest.er1
60050 cat conftest.err >&5
60051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60052 (exit $ac_status); } >/dev/null; then
60053 if test -s conftest.err; then
60054 ac_cpp_err=$ac_c_preproc_warn_flag
60055 else
60056 ac_cpp_err=
60058 else
60059 ac_cpp_err=yes
60061 if test -z "$ac_cpp_err"; then
60062 ac_header_preproc=yes
60063 else
60064 echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60067 ac_header_preproc=no
60069 rm -f conftest.err conftest.$ac_ext
60070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60071 echo "${ECHO_T}$ac_header_preproc" >&6
60073 # So? What about this header?
60074 case $ac_header_compiler:$ac_header_preproc in
60075 yes:no )
60076 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60077 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60078 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60079 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60081 cat <<\_ASBOX
60082 ## ------------------------------------ ##
60083 ## Report this to bug-autoconf@gnu.org. ##
60084 ## ------------------------------------ ##
60085 _ASBOX
60087 sed "s/^/$as_me: WARNING: /" >&2
60089 no:yes )
60090 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60091 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60092 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60093 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60094 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60095 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60097 cat <<\_ASBOX
60098 ## ------------------------------------ ##
60099 ## Report this to bug-autoconf@gnu.org. ##
60100 ## ------------------------------------ ##
60101 _ASBOX
60103 sed "s/^/$as_me: WARNING: /" >&2
60105 esac
60106 echo "$as_me:$LINENO: checking for iconv.h" >&5
60107 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60108 if test "${ac_cv_header_iconv_h+set}" = set; then
60109 echo $ECHO_N "(cached) $ECHO_C" >&6
60110 else
60111 ac_cv_header_iconv_h=$ac_header_preproc
60113 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60114 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60117 if test $ac_cv_header_iconv_h = yes; then
60118 ac_has_iconv_h=yes
60119 else
60120 ac_has_iconv_h=no
60124 if test "${ac_cv_header_langinfo_h+set}" = set; then
60125 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60126 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60127 if test "${ac_cv_header_langinfo_h+set}" = set; then
60128 echo $ECHO_N "(cached) $ECHO_C" >&6
60130 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60131 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60132 else
60133 # Is the header compilable?
60134 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60135 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60136 cat >conftest.$ac_ext <<_ACEOF
60137 #line $LINENO "configure"
60138 /* confdefs.h. */
60139 _ACEOF
60140 cat confdefs.h >>conftest.$ac_ext
60141 cat >>conftest.$ac_ext <<_ACEOF
60142 /* end confdefs.h. */
60143 $ac_includes_default
60144 #include <langinfo.h>
60145 _ACEOF
60146 rm -f conftest.$ac_objext
60147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60148 (eval $ac_compile) 2>&5
60149 ac_status=$?
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); } &&
60152 { ac_try='test -s conftest.$ac_objext'
60153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60154 (eval $ac_try) 2>&5
60155 ac_status=$?
60156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60157 (exit $ac_status); }; }; then
60158 ac_header_compiler=yes
60159 else
60160 echo "$as_me: failed program was:" >&5
60161 sed 's/^/| /' conftest.$ac_ext >&5
60163 ac_header_compiler=no
60165 rm -f conftest.$ac_objext conftest.$ac_ext
60166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60167 echo "${ECHO_T}$ac_header_compiler" >&6
60169 # Is the header present?
60170 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60171 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60172 cat >conftest.$ac_ext <<_ACEOF
60173 #line $LINENO "configure"
60174 /* confdefs.h. */
60175 _ACEOF
60176 cat confdefs.h >>conftest.$ac_ext
60177 cat >>conftest.$ac_ext <<_ACEOF
60178 /* end confdefs.h. */
60179 #include <langinfo.h>
60180 _ACEOF
60181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60183 ac_status=$?
60184 grep -v '^ *+' conftest.er1 >conftest.err
60185 rm -f conftest.er1
60186 cat conftest.err >&5
60187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60188 (exit $ac_status); } >/dev/null; then
60189 if test -s conftest.err; then
60190 ac_cpp_err=$ac_c_preproc_warn_flag
60191 else
60192 ac_cpp_err=
60194 else
60195 ac_cpp_err=yes
60197 if test -z "$ac_cpp_err"; then
60198 ac_header_preproc=yes
60199 else
60200 echo "$as_me: failed program was:" >&5
60201 sed 's/^/| /' conftest.$ac_ext >&5
60203 ac_header_preproc=no
60205 rm -f conftest.err conftest.$ac_ext
60206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60207 echo "${ECHO_T}$ac_header_preproc" >&6
60209 # So? What about this header?
60210 case $ac_header_compiler:$ac_header_preproc in
60211 yes:no )
60212 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60213 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60214 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60215 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60217 cat <<\_ASBOX
60218 ## ------------------------------------ ##
60219 ## Report this to bug-autoconf@gnu.org. ##
60220 ## ------------------------------------ ##
60221 _ASBOX
60223 sed "s/^/$as_me: WARNING: /" >&2
60225 no:yes )
60226 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60227 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60228 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60229 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60230 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60231 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60233 cat <<\_ASBOX
60234 ## ------------------------------------ ##
60235 ## Report this to bug-autoconf@gnu.org. ##
60236 ## ------------------------------------ ##
60237 _ASBOX
60239 sed "s/^/$as_me: WARNING: /" >&2
60241 esac
60242 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60243 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60244 if test "${ac_cv_header_langinfo_h+set}" = set; then
60245 echo $ECHO_N "(cached) $ECHO_C" >&6
60246 else
60247 ac_cv_header_langinfo_h=$ac_header_preproc
60249 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60250 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60253 if test $ac_cv_header_langinfo_h = yes; then
60254 ac_has_langinfo_h=yes
60255 else
60256 ac_has_langinfo_h=no
60261 # Check for existence of libiconv.a providing XPG2 wchar_t support.
60262 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60263 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60264 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60265 echo $ECHO_N "(cached) $ECHO_C" >&6
60266 else
60267 ac_check_lib_save_LIBS=$LIBS
60268 LIBS="-liconv $LIBS"
60269 if test x$gcc_no_link = xyes; then
60270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60272 { (exit 1); exit 1; }; }
60274 cat >conftest.$ac_ext <<_ACEOF
60275 #line $LINENO "configure"
60276 /* confdefs.h. */
60277 _ACEOF
60278 cat confdefs.h >>conftest.$ac_ext
60279 cat >>conftest.$ac_ext <<_ACEOF
60280 /* end confdefs.h. */
60282 /* Override any gcc2 internal prototype to avoid an error. */
60283 #ifdef __cplusplus
60284 extern "C"
60285 #endif
60286 /* We use char because int might match the return type of a gcc2
60287 builtin and then its argument prototype would still apply. */
60288 char iconv ();
60290 main ()
60292 iconv ();
60294 return 0;
60296 _ACEOF
60297 rm -f conftest.$ac_objext conftest$ac_exeext
60298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60299 (eval $ac_link) 2>&5
60300 ac_status=$?
60301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60302 (exit $ac_status); } &&
60303 { ac_try='test -s conftest$ac_exeext'
60304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60305 (eval $ac_try) 2>&5
60306 ac_status=$?
60307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60308 (exit $ac_status); }; }; then
60309 ac_cv_lib_iconv_iconv=yes
60310 else
60311 echo "$as_me: failed program was:" >&5
60312 sed 's/^/| /' conftest.$ac_ext >&5
60314 ac_cv_lib_iconv_iconv=no
60316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60317 LIBS=$ac_check_lib_save_LIBS
60319 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60320 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60321 if test $ac_cv_lib_iconv_iconv = yes; then
60322 libiconv="-liconv"
60325 ac_save_LIBS="$LIBS"
60326 LIBS="$LIBS $libiconv"
60332 for ac_func in iconv_open iconv_close iconv nl_langinfo
60334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60335 echo "$as_me:$LINENO: checking for $ac_func" >&5
60336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60337 if eval "test \"\${$as_ac_var+set}\" = set"; then
60338 echo $ECHO_N "(cached) $ECHO_C" >&6
60339 else
60340 if test x$gcc_no_link = xyes; then
60341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60343 { (exit 1); exit 1; }; }
60345 cat >conftest.$ac_ext <<_ACEOF
60346 #line $LINENO "configure"
60347 /* confdefs.h. */
60348 _ACEOF
60349 cat confdefs.h >>conftest.$ac_ext
60350 cat >>conftest.$ac_ext <<_ACEOF
60351 /* end confdefs.h. */
60352 /* System header to define __stub macros and hopefully few prototypes,
60353 which can conflict with char $ac_func (); below.
60354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60355 <limits.h> exists even on freestanding compilers. */
60356 #ifdef __STDC__
60357 # include <limits.h>
60358 #else
60359 # include <assert.h>
60360 #endif
60361 /* Override any gcc2 internal prototype to avoid an error. */
60362 #ifdef __cplusplus
60363 extern "C"
60365 #endif
60366 /* We use char because int might match the return type of a gcc2
60367 builtin and then its argument prototype would still apply. */
60368 char $ac_func ();
60369 /* The GNU C library defines this for functions which it implements
60370 to always fail with ENOSYS. Some functions are actually named
60371 something starting with __ and the normal name is an alias. */
60372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60373 choke me
60374 #else
60375 char (*f) () = $ac_func;
60376 #endif
60377 #ifdef __cplusplus
60379 #endif
60382 main ()
60384 return f != $ac_func;
60386 return 0;
60388 _ACEOF
60389 rm -f conftest.$ac_objext conftest$ac_exeext
60390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60391 (eval $ac_link) 2>&5
60392 ac_status=$?
60393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60394 (exit $ac_status); } &&
60395 { ac_try='test -s conftest$ac_exeext'
60396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60397 (eval $ac_try) 2>&5
60398 ac_status=$?
60399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60400 (exit $ac_status); }; }; then
60401 eval "$as_ac_var=yes"
60402 else
60403 echo "$as_me: failed program was:" >&5
60404 sed 's/^/| /' conftest.$ac_ext >&5
60406 eval "$as_ac_var=no"
60408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60412 if test `eval echo '${'$as_ac_var'}'` = yes; then
60413 cat >>confdefs.h <<_ACEOF
60414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60415 _ACEOF
60416 ac_XPG2funcs=yes
60417 else
60418 ac_XPG2funcs=no
60420 done
60423 LIBS="$ac_save_LIBS"
60425 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60426 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60427 if test x"$ac_has_iconv_h" = xyes &&
60428 test x"$ac_has_langinfo_h" = xyes &&
60429 test x"$ac_XPG2funcs" = xyes;
60430 then
60431 ac_XPG2_wchar_t=yes
60432 else
60433 ac_XPG2_wchar_t=no
60435 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60436 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60438 # At the moment, only enable wchar_t specializations if all the
60439 # above support is present.
60440 if test x"$ac_isoC99_wchar_t" = xyes &&
60441 test x"$ac_XPG2_wchar_t" = xyes;
60442 then
60443 cat >>confdefs.h <<\_ACEOF
60444 #define _GLIBCXX_USE_WCHAR_T 1
60445 _ACEOF
60447 enable_wchar_t=yes
60450 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60451 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60452 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60453 echo "${ECHO_T}$enable_wchar_t" >&6
60455 # All of the dependencies for wide character support are here, so
60456 # turn it on. This requires some syncronization with the
60457 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60458 cat >>confdefs.h <<\_ACEOF
60459 #define _GLIBCXX_USE_WCHAR_T 1
60460 _ACEOF
60462 # Are these tested for even when cross?
60463 cat >>confdefs.h <<\_ACEOF
60464 #define HAVE_FLOAT_H 1
60465 _ACEOF
60467 cat >>confdefs.h <<\_ACEOF
60468 #define HAVE_IEEEFP_H 1
60469 _ACEOF
60471 cat >>confdefs.h <<\_ACEOF
60472 #define HAVE_INTTYPES_H 1
60473 _ACEOF
60475 cat >>confdefs.h <<\_ACEOF
60476 #define HAVE_LOCALE_H 1
60477 _ACEOF
60479 cat >>confdefs.h <<\_ACEOF
60480 #define HAVE_NAN_H 1
60481 _ACEOF
60483 cat >>confdefs.h <<\_ACEOF
60484 #define HAVE_SYS_FILIO_H 1
60485 _ACEOF
60487 cat >>confdefs.h <<\_ACEOF
60488 #define HAVE_SYS_IOCTL_H 1
60489 _ACEOF
60491 cat >>confdefs.h <<\_ACEOF
60492 #define HAVE_SYS_ISA_DEFS_H 1
60493 _ACEOF
60495 cat >>confdefs.h <<\_ACEOF
60496 #define HAVE_SYS_RESOURCE_H 1
60497 _ACEOF
60499 cat >>confdefs.h <<\_ACEOF
60500 #define HAVE_SYS_TIME_H 1
60501 _ACEOF
60503 cat >>confdefs.h <<\_ACEOF
60504 #define HAVE_SYS_TYPES_H 1
60505 _ACEOF
60507 cat >>confdefs.h <<\_ACEOF
60508 #define HAVE_UNISTD_H 1
60509 _ACEOF
60511 cat >>confdefs.h <<\_ACEOF
60512 #define HAVE_WCHAR_H 1
60513 _ACEOF
60515 cat >>confdefs.h <<\_ACEOF
60516 #define HAVE_WCTYPE_H 1
60517 _ACEOF
60519 cat >>confdefs.h <<\_ACEOF
60520 #define HAVE_LIBM 1
60521 _ACEOF
60524 esac
60525 case "$target" in
60526 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60527 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60528 cat >>confdefs.h <<\_ACEOF
60529 #define HAVE___BUILTIN_ABS 1
60530 _ACEOF
60532 cat >>confdefs.h <<\_ACEOF
60533 #define HAVE___BUILTIN_LABS 1
60534 _ACEOF
60536 cat >>confdefs.h <<\_ACEOF
60537 #define HAVE___BUILTIN_FABS 1
60538 _ACEOF
60540 cat >>confdefs.h <<\_ACEOF
60541 #define HAVE___BUILTIN_FABSF 1
60542 _ACEOF
60544 cat >>confdefs.h <<\_ACEOF
60545 #define HAVE___BUILTIN_FABSL 1
60546 _ACEOF
60548 cat >>confdefs.h <<\_ACEOF
60549 #define HAVE___BUILTIN_COS 1
60550 _ACEOF
60552 cat >>confdefs.h <<\_ACEOF
60553 #define HAVE___BUILTIN_COSF 1
60554 _ACEOF
60556 cat >>confdefs.h <<\_ACEOF
60557 #define HAVE___BUILTIN_SIN 1
60558 _ACEOF
60560 cat >>confdefs.h <<\_ACEOF
60561 #define HAVE___BUILTIN_SINF 1
60562 _ACEOF
60565 esac
60566 cat >>confdefs.h <<\_ACEOF
60567 #define HAVE_STRTOF 1
60568 _ACEOF
60570 cat >>confdefs.h <<\_ACEOF
60571 #define HAVE_STRTOLD 1
60572 _ACEOF
60574 cat >>confdefs.h <<\_ACEOF
60575 #define HAVE_MMAP 1
60576 _ACEOF
60578 cat >>confdefs.h <<\_ACEOF
60579 #define HAVE_COPYSIGN 1
60580 _ACEOF
60582 cat >>confdefs.h <<\_ACEOF
60583 #define HAVE_ISNAN 1
60584 _ACEOF
60586 cat >>confdefs.h <<\_ACEOF
60587 #define HAVE_ISNANF 1
60588 _ACEOF
60590 cat >>confdefs.h <<\_ACEOF
60591 #define HAVE_MODFF 1
60592 _ACEOF
60594 cat >>confdefs.h <<\_ACEOF
60595 #define HAVE_HYPOT 1
60596 _ACEOF
60599 *-windiss*)
60600 #os_include_dir="os/windiss"
60601 cat >>confdefs.h <<\_ACEOF
60602 #define HAVE_ACOSF 1
60603 _ACEOF
60605 cat >>confdefs.h <<\_ACEOF
60606 #define HAVE_ASINF 1
60607 _ACEOF
60609 cat >>confdefs.h <<\_ACEOF
60610 #define HAVE_ATAN2F 1
60611 _ACEOF
60613 cat >>confdefs.h <<\_ACEOF
60614 #define HAVE_ATANF 1
60615 _ACEOF
60617 cat >>confdefs.h <<\_ACEOF
60618 #define HAVE_CEILF 1
60619 _ACEOF
60621 cat >>confdefs.h <<\_ACEOF
60622 #define HAVE_COPYSIGN 1
60623 _ACEOF
60625 cat >>confdefs.h <<\_ACEOF
60626 #define HAVE_COPYSIGNF 1
60627 _ACEOF
60629 cat >>confdefs.h <<\_ACEOF
60630 #define HAVE_COSF 1
60631 _ACEOF
60633 cat >>confdefs.h <<\_ACEOF
60634 #define HAVE_COSHF 1
60635 _ACEOF
60637 cat >>confdefs.h <<\_ACEOF
60638 #define HAVE_EXPF 1
60639 _ACEOF
60641 cat >>confdefs.h <<\_ACEOF
60642 #define HAVE_FABSF 1
60643 _ACEOF
60645 cat >>confdefs.h <<\_ACEOF
60646 #define HAVE_FLOORF 1
60647 _ACEOF
60649 cat >>confdefs.h <<\_ACEOF
60650 #define HAVE_FMODF 1
60651 _ACEOF
60653 cat >>confdefs.h <<\_ACEOF
60654 #define HAVE_FREXPF 1
60655 _ACEOF
60657 cat >>confdefs.h <<\_ACEOF
60658 #define HAVE_LDEXPF 1
60659 _ACEOF
60661 cat >>confdefs.h <<\_ACEOF
60662 #define HAVE_LOG10F 1
60663 _ACEOF
60665 cat >>confdefs.h <<\_ACEOF
60666 #define HAVE_LOGF 1
60667 _ACEOF
60669 cat >>confdefs.h <<\_ACEOF
60670 #define HAVE_MODFF 1
60671 _ACEOF
60673 cat >>confdefs.h <<\_ACEOF
60674 #define HAVE_POWF 1
60675 _ACEOF
60677 cat >>confdefs.h <<\_ACEOF
60678 #define HAVE_SINF 1
60679 _ACEOF
60681 cat >>confdefs.h <<\_ACEOF
60682 #define HAVE_SINHF 1
60683 _ACEOF
60685 cat >>confdefs.h <<\_ACEOF
60686 #define HAVE_SQRTF 1
60687 _ACEOF
60689 cat >>confdefs.h <<\_ACEOF
60690 #define HAVE_TANF 1
60691 _ACEOF
60693 cat >>confdefs.h <<\_ACEOF
60694 #define HAVE_TANHF 1
60695 _ACEOF
60699 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
60700 echo "$as_me: error: No support for this host/target combination." >&2;}
60701 { (exit 1); exit 1; }; }
60703 esac
60708 # At some point, we should differentiate between architectures
60709 # like x86, which have long double versions, and alpha/powerpc/etc.,
60710 # which don't. For the time being, punt.
60711 if test x"long_double_math_on_this_cpu" = x"yes"; then
60712 cat >>confdefs.h <<\_ACEOF
60713 #define HAVE_ACOSL 1
60714 _ACEOF
60716 cat >>confdefs.h <<\_ACEOF
60717 #define HAVE_ASINL 1
60718 _ACEOF
60720 cat >>confdefs.h <<\_ACEOF
60721 #define HAVE_ATAN2L 1
60722 _ACEOF
60724 cat >>confdefs.h <<\_ACEOF
60725 #define HAVE_ATANL 1
60726 _ACEOF
60728 cat >>confdefs.h <<\_ACEOF
60729 #define HAVE_CEILL 1
60730 _ACEOF
60732 cat >>confdefs.h <<\_ACEOF
60733 #define HAVE_COPYSIGNL 1
60734 _ACEOF
60736 cat >>confdefs.h <<\_ACEOF
60737 #define HAVE_COSL 1
60738 _ACEOF
60740 cat >>confdefs.h <<\_ACEOF
60741 #define HAVE_COSHL 1
60742 _ACEOF
60744 cat >>confdefs.h <<\_ACEOF
60745 #define HAVE_EXPL 1
60746 _ACEOF
60748 cat >>confdefs.h <<\_ACEOF
60749 #define HAVE_FABSL 1
60750 _ACEOF
60752 cat >>confdefs.h <<\_ACEOF
60753 #define HAVE_FLOORL 1
60754 _ACEOF
60756 cat >>confdefs.h <<\_ACEOF
60757 #define HAVE_FMODL 1
60758 _ACEOF
60760 cat >>confdefs.h <<\_ACEOF
60761 #define HAVE_FREXPL 1
60762 _ACEOF
60764 cat >>confdefs.h <<\_ACEOF
60765 #define HAVE_LDEXPL 1
60766 _ACEOF
60768 cat >>confdefs.h <<\_ACEOF
60769 #define HAVE_LOG10L 1
60770 _ACEOF
60772 cat >>confdefs.h <<\_ACEOF
60773 #define HAVE_LOGL 1
60774 _ACEOF
60776 cat >>confdefs.h <<\_ACEOF
60777 #define HAVE_MODFL 1
60778 _ACEOF
60780 cat >>confdefs.h <<\_ACEOF
60781 #define HAVE_POWL 1
60782 _ACEOF
60784 cat >>confdefs.h <<\_ACEOF
60785 #define HAVE_SINCOSL 1
60786 _ACEOF
60788 cat >>confdefs.h <<\_ACEOF
60789 #define HAVE_SINL 1
60790 _ACEOF
60792 cat >>confdefs.h <<\_ACEOF
60793 #define HAVE_SINHL 1
60794 _ACEOF
60796 cat >>confdefs.h <<\_ACEOF
60797 #define HAVE_SQRTL 1
60798 _ACEOF
60800 cat >>confdefs.h <<\_ACEOF
60801 #define HAVE_TANL 1
60802 _ACEOF
60804 cat >>confdefs.h <<\_ACEOF
60805 #define HAVE_TANHL 1
60806 _ACEOF
60812 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
60815 # Check whether --enable-symvers or --disable-symvers was given.
60816 if test "${enable_symvers+set}" = set; then
60817 enableval="$enable_symvers"
60819 case "$enableval" in
60820 yes|no|gnu) ;;
60821 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
60822 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
60823 { (exit 1); exit 1; }; } ;;
60824 esac
60826 else
60827 enable_symvers=yes
60831 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
60832 # don't know enough about $LD to do tricks...
60834 # FIXME The following test is too strict, in theory.
60835 if test $enable_shared = no ||
60836 test "x$LD" = x ||
60837 test x$glibcxx_gnu_ld_version = x; then
60838 enable_symvers=no
60841 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
60842 if test $enable_symvers != no; then
60843 echo "$as_me:$LINENO: checking for shared libgcc" >&5
60844 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
60845 ac_save_CFLAGS="$CFLAGS"
60846 CFLAGS=' -lgcc_s'
60847 if test x$gcc_no_link = xyes; then
60848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60850 { (exit 1); exit 1; }; }
60852 cat >conftest.$ac_ext <<_ACEOF
60853 #line $LINENO "configure"
60854 /* confdefs.h. */
60855 _ACEOF
60856 cat confdefs.h >>conftest.$ac_ext
60857 cat >>conftest.$ac_ext <<_ACEOF
60858 /* end confdefs.h. */
60861 main ()
60863 return 0;
60865 return 0;
60867 _ACEOF
60868 rm -f conftest.$ac_objext conftest$ac_exeext
60869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60870 (eval $ac_link) 2>&5
60871 ac_status=$?
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); } &&
60874 { ac_try='test -s conftest$ac_exeext'
60875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60876 (eval $ac_try) 2>&5
60877 ac_status=$?
60878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879 (exit $ac_status); }; }; then
60880 glibcxx_shared_libgcc=yes
60881 else
60882 echo "$as_me: failed program was:" >&5
60883 sed 's/^/| /' conftest.$ac_ext >&5
60885 glibcxx_shared_libgcc=no
60887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60888 CFLAGS="$ac_save_CFLAGS"
60889 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
60890 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
60893 # For GNU ld, we need at least this version. The format is described in
60894 # GLIBCXX_CHECK_LINKER_FEATURES above.
60895 glibcxx_min_gnu_ld_version=21400
60896 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
60898 # Check to see if unspecified "yes" value can win, given results above.
60899 # Change "yes" into either "no" or a style name.
60900 if test $enable_symvers = yes; then
60901 if test $with_gnu_ld = yes &&
60902 test $glibcxx_shared_libgcc = yes;
60903 then
60904 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
60905 enable_symvers=gnu
60906 else
60907 # The right tools, the right setup, but too old. Fallbacks?
60908 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
60909 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
60910 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
60911 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
60912 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
60913 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
60914 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
60915 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
60916 if test $glibcxx_gnu_ld_version -ge 21200 ; then
60917 # Globbing fix is present, proper block support is not.
60918 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60919 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60920 enable_symvers=no
60921 else
60922 # 2.11 or older.
60923 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60924 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60925 enable_symvers=no
60928 else
60929 # just fail for now
60930 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
60931 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
60932 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
60933 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
60934 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
60935 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
60936 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60937 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60938 enable_symvers=no
60942 # Everything parsed; figure out what file to use.
60943 case $enable_symvers in
60945 SYMVER_MAP=config/linker-map.dummy
60947 gnu)
60948 SYMVER_MAP=config/linker-map.gnu
60949 cat >>confdefs.h <<\_ACEOF
60950 #define _GLIBCXX_SYMVER 1
60951 _ACEOF
60954 esac
60959 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
60960 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
60963 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
60965 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
60966 # Do checks for memory limit functions.
60968 setrlimit_have_headers=yes
60972 for ac_header in unistd.h sys/time.h sys/resource.h
60974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60976 echo "$as_me:$LINENO: checking for $ac_header" >&5
60977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60979 echo $ECHO_N "(cached) $ECHO_C" >&6
60981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60983 else
60984 # Is the header compilable?
60985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60987 cat >conftest.$ac_ext <<_ACEOF
60988 #line $LINENO "configure"
60989 /* confdefs.h. */
60990 _ACEOF
60991 cat confdefs.h >>conftest.$ac_ext
60992 cat >>conftest.$ac_ext <<_ACEOF
60993 /* end confdefs.h. */
60994 $ac_includes_default
60995 #include <$ac_header>
60996 _ACEOF
60997 rm -f conftest.$ac_objext
60998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60999 (eval $ac_compile) 2>&5
61000 ac_status=$?
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); } &&
61003 { ac_try='test -s conftest.$ac_objext'
61004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61005 (eval $ac_try) 2>&5
61006 ac_status=$?
61007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61008 (exit $ac_status); }; }; then
61009 ac_header_compiler=yes
61010 else
61011 echo "$as_me: failed program was:" >&5
61012 sed 's/^/| /' conftest.$ac_ext >&5
61014 ac_header_compiler=no
61016 rm -f conftest.$ac_objext conftest.$ac_ext
61017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61018 echo "${ECHO_T}$ac_header_compiler" >&6
61020 # Is the header present?
61021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61023 cat >conftest.$ac_ext <<_ACEOF
61024 #line $LINENO "configure"
61025 /* confdefs.h. */
61026 _ACEOF
61027 cat confdefs.h >>conftest.$ac_ext
61028 cat >>conftest.$ac_ext <<_ACEOF
61029 /* end confdefs.h. */
61030 #include <$ac_header>
61031 _ACEOF
61032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61034 ac_status=$?
61035 grep -v '^ *+' conftest.er1 >conftest.err
61036 rm -f conftest.er1
61037 cat conftest.err >&5
61038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61039 (exit $ac_status); } >/dev/null; then
61040 if test -s conftest.err; then
61041 ac_cpp_err=$ac_c_preproc_warn_flag
61042 else
61043 ac_cpp_err=
61045 else
61046 ac_cpp_err=yes
61048 if test -z "$ac_cpp_err"; then
61049 ac_header_preproc=yes
61050 else
61051 echo "$as_me: failed program was:" >&5
61052 sed 's/^/| /' conftest.$ac_ext >&5
61054 ac_header_preproc=no
61056 rm -f conftest.err conftest.$ac_ext
61057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61058 echo "${ECHO_T}$ac_header_preproc" >&6
61060 # So? What about this header?
61061 case $ac_header_compiler:$ac_header_preproc in
61062 yes:no )
61063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61068 cat <<\_ASBOX
61069 ## ------------------------------------ ##
61070 ## Report this to bug-autoconf@gnu.org. ##
61071 ## ------------------------------------ ##
61072 _ASBOX
61074 sed "s/^/$as_me: WARNING: /" >&2
61076 no:yes )
61077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61084 cat <<\_ASBOX
61085 ## ------------------------------------ ##
61086 ## Report this to bug-autoconf@gnu.org. ##
61087 ## ------------------------------------ ##
61088 _ASBOX
61090 sed "s/^/$as_me: WARNING: /" >&2
61092 esac
61093 echo "$as_me:$LINENO: checking for $ac_header" >&5
61094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61096 echo $ECHO_N "(cached) $ECHO_C" >&6
61097 else
61098 eval "$as_ac_Header=$ac_header_preproc"
61100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61105 cat >>confdefs.h <<_ACEOF
61106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61107 _ACEOF
61109 else
61110 setrlimit_have_headers=no
61113 done
61115 # If don't have the headers, then we can't run the tests now, and we
61116 # won't be seeing any of these during testsuite compilation.
61117 if test $setrlimit_have_headers = yes; then
61118 # Can't do these in a loop, else the resulting syntax is wrong.
61120 cat >conftest.$ac_ext <<_ACEOF
61121 #line $LINENO "configure"
61122 /* confdefs.h. */
61123 _ACEOF
61124 cat confdefs.h >>conftest.$ac_ext
61125 cat >>conftest.$ac_ext <<_ACEOF
61126 /* end confdefs.h. */
61127 #include <unistd.h>
61128 #include <sys/time.h>
61129 #include <sys/resource.h>
61132 main ()
61134 int f = RLIMIT_DATA ;
61136 return 0;
61138 _ACEOF
61139 rm -f conftest.$ac_objext
61140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61141 (eval $ac_compile) 2>&5
61142 ac_status=$?
61143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61144 (exit $ac_status); } &&
61145 { ac_try='test -s conftest.$ac_objext'
61146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61147 (eval $ac_try) 2>&5
61148 ac_status=$?
61149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61150 (exit $ac_status); }; }; then
61151 glibcxx_mresult=1
61152 else
61153 echo "$as_me: failed program was:" >&5
61154 sed 's/^/| /' conftest.$ac_ext >&5
61156 glibcxx_mresult=0
61158 rm -f conftest.$ac_objext conftest.$ac_ext
61160 cat >>confdefs.h <<_ACEOF
61161 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
61162 _ACEOF
61166 cat >conftest.$ac_ext <<_ACEOF
61167 #line $LINENO "configure"
61168 /* confdefs.h. */
61169 _ACEOF
61170 cat confdefs.h >>conftest.$ac_ext
61171 cat >>conftest.$ac_ext <<_ACEOF
61172 /* end confdefs.h. */
61173 #include <unistd.h>
61174 #include <sys/time.h>
61175 #include <sys/resource.h>
61178 main ()
61180 int f = RLIMIT_RSS ;
61182 return 0;
61184 _ACEOF
61185 rm -f conftest.$ac_objext
61186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61187 (eval $ac_compile) 2>&5
61188 ac_status=$?
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 (exit $ac_status); } &&
61191 { ac_try='test -s conftest.$ac_objext'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61194 ac_status=$?
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; }; then
61197 glibcxx_mresult=1
61198 else
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61202 glibcxx_mresult=0
61204 rm -f conftest.$ac_objext conftest.$ac_ext
61206 cat >>confdefs.h <<_ACEOF
61207 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
61208 _ACEOF
61212 cat >conftest.$ac_ext <<_ACEOF
61213 #line $LINENO "configure"
61214 /* confdefs.h. */
61215 _ACEOF
61216 cat confdefs.h >>conftest.$ac_ext
61217 cat >>conftest.$ac_ext <<_ACEOF
61218 /* end confdefs.h. */
61219 #include <unistd.h>
61220 #include <sys/time.h>
61221 #include <sys/resource.h>
61224 main ()
61226 int f = RLIMIT_VMEM ;
61228 return 0;
61230 _ACEOF
61231 rm -f conftest.$ac_objext
61232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61233 (eval $ac_compile) 2>&5
61234 ac_status=$?
61235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61236 (exit $ac_status); } &&
61237 { ac_try='test -s conftest.$ac_objext'
61238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61239 (eval $ac_try) 2>&5
61240 ac_status=$?
61241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61242 (exit $ac_status); }; }; then
61243 glibcxx_mresult=1
61244 else
61245 echo "$as_me: failed program was:" >&5
61246 sed 's/^/| /' conftest.$ac_ext >&5
61248 glibcxx_mresult=0
61250 rm -f conftest.$ac_objext conftest.$ac_ext
61252 cat >>confdefs.h <<_ACEOF
61253 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
61254 _ACEOF
61258 cat >conftest.$ac_ext <<_ACEOF
61259 #line $LINENO "configure"
61260 /* confdefs.h. */
61261 _ACEOF
61262 cat confdefs.h >>conftest.$ac_ext
61263 cat >>conftest.$ac_ext <<_ACEOF
61264 /* end confdefs.h. */
61265 #include <unistd.h>
61266 #include <sys/time.h>
61267 #include <sys/resource.h>
61270 main ()
61272 int f = RLIMIT_AS ;
61274 return 0;
61276 _ACEOF
61277 rm -f conftest.$ac_objext
61278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61279 (eval $ac_compile) 2>&5
61280 ac_status=$?
61281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61282 (exit $ac_status); } &&
61283 { ac_try='test -s conftest.$ac_objext'
61284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61285 (eval $ac_try) 2>&5
61286 ac_status=$?
61287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61288 (exit $ac_status); }; }; then
61289 glibcxx_mresult=1
61290 else
61291 echo "$as_me: failed program was:" >&5
61292 sed 's/^/| /' conftest.$ac_ext >&5
61294 glibcxx_mresult=0
61296 rm -f conftest.$ac_objext conftest.$ac_ext
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
61300 _ACEOF
61304 # Check for rlimit, setrlimit.
61305 if test "${ac_setrlimit+set}" = set; then
61306 echo $ECHO_N "(cached) $ECHO_C" >&6
61307 else
61309 cat >conftest.$ac_ext <<_ACEOF
61310 #line $LINENO "configure"
61311 /* confdefs.h. */
61312 _ACEOF
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h. */
61316 #include <unistd.h>
61317 #include <sys/time.h>
61318 #include <sys/resource.h>
61321 main ()
61323 struct rlimit r;
61324 setrlimit(0, &r);
61326 return 0;
61328 _ACEOF
61329 rm -f conftest.$ac_objext
61330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61331 (eval $ac_compile) 2>&5
61332 ac_status=$?
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); } &&
61335 { ac_try='test -s conftest.$ac_objext'
61336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61337 (eval $ac_try) 2>&5
61338 ac_status=$?
61339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61340 (exit $ac_status); }; }; then
61341 ac_setrlimit=yes
61342 else
61343 echo "$as_me: failed program was:" >&5
61344 sed 's/^/| /' conftest.$ac_ext >&5
61346 ac_setrlimit=no
61348 rm -f conftest.$ac_objext conftest.$ac_ext
61354 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
61355 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
61356 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
61357 ac_mem_limits=yes
61358 cat >>confdefs.h <<\_ACEOF
61359 #define _GLIBCXX_MEM_LIMITS 1
61360 _ACEOF
61362 else
61363 ac_mem_limits=no
61365 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
61366 echo "${ECHO_T}$ac_mem_limits" >&6
61369 # Look for setenv, so that extended locale tests can be performed.
61371 echo "$as_me:$LINENO: checking for setenv declaration" >&5
61372 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
61373 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
61374 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
61375 echo $ECHO_N "(cached) $ECHO_C" >&6
61376 else
61380 ac_ext=cc
61381 ac_cpp='$CXXCPP $CPPFLAGS'
61382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61386 cat >conftest.$ac_ext <<_ACEOF
61387 #line $LINENO "configure"
61388 /* confdefs.h. */
61389 _ACEOF
61390 cat confdefs.h >>conftest.$ac_ext
61391 cat >>conftest.$ac_ext <<_ACEOF
61392 /* end confdefs.h. */
61393 #include <stdlib.h>
61395 main ()
61397 setenv(0, 0, 0);
61399 return 0;
61401 _ACEOF
61402 rm -f conftest.$ac_objext
61403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61404 (eval $ac_compile) 2>&5
61405 ac_status=$?
61406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61407 (exit $ac_status); } &&
61408 { ac_try='test -s conftest.$ac_objext'
61409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61410 (eval $ac_try) 2>&5
61411 ac_status=$?
61412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61413 (exit $ac_status); }; }; then
61414 glibcxx_cv_func_setenv_use=yes
61415 else
61416 echo "$as_me: failed program was:" >&5
61417 sed 's/^/| /' conftest.$ac_ext >&5
61419 glibcxx_cv_func_setenv_use=no
61421 rm -f conftest.$ac_objext conftest.$ac_ext
61422 ac_ext=c
61423 ac_cpp='$CPP $CPPFLAGS'
61424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
61433 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
61434 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
61436 for ac_func in setenv
61438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61439 echo "$as_me:$LINENO: checking for $ac_func" >&5
61440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61441 if eval "test \"\${$as_ac_var+set}\" = set"; then
61442 echo $ECHO_N "(cached) $ECHO_C" >&6
61443 else
61444 if test x$gcc_no_link = xyes; then
61445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61447 { (exit 1); exit 1; }; }
61449 cat >conftest.$ac_ext <<_ACEOF
61450 #line $LINENO "configure"
61451 /* confdefs.h. */
61452 _ACEOF
61453 cat confdefs.h >>conftest.$ac_ext
61454 cat >>conftest.$ac_ext <<_ACEOF
61455 /* end confdefs.h. */
61456 /* System header to define __stub macros and hopefully few prototypes,
61457 which can conflict with char $ac_func (); below.
61458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61459 <limits.h> exists even on freestanding compilers. */
61460 #ifdef __STDC__
61461 # include <limits.h>
61462 #else
61463 # include <assert.h>
61464 #endif
61465 /* Override any gcc2 internal prototype to avoid an error. */
61466 #ifdef __cplusplus
61467 extern "C"
61469 #endif
61470 /* We use char because int might match the return type of a gcc2
61471 builtin and then its argument prototype would still apply. */
61472 char $ac_func ();
61473 /* The GNU C library defines this for functions which it implements
61474 to always fail with ENOSYS. Some functions are actually named
61475 something starting with __ and the normal name is an alias. */
61476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61477 choke me
61478 #else
61479 char (*f) () = $ac_func;
61480 #endif
61481 #ifdef __cplusplus
61483 #endif
61486 main ()
61488 return f != $ac_func;
61490 return 0;
61492 _ACEOF
61493 rm -f conftest.$ac_objext conftest$ac_exeext
61494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61495 (eval $ac_link) 2>&5
61496 ac_status=$?
61497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498 (exit $ac_status); } &&
61499 { ac_try='test -s conftest$ac_exeext'
61500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61501 (eval $ac_try) 2>&5
61502 ac_status=$?
61503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504 (exit $ac_status); }; }; then
61505 eval "$as_ac_var=yes"
61506 else
61507 echo "$as_me: failed program was:" >&5
61508 sed 's/^/| /' conftest.$ac_ext >&5
61510 eval "$as_ac_var=no"
61512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61516 if test `eval echo '${'$as_ac_var'}'` = yes; then
61517 cat >>confdefs.h <<_ACEOF
61518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61519 _ACEOF
61522 done
61527 if test $enable_symvers = no; then
61528 enable_abi_check=no
61529 else
61530 case "$host" in
61531 *-*-cygwin*)
61532 enable_abi_check=no ;;
61534 enable_abi_check=yes ;;
61535 esac
61537 else
61538 # Only build this as native, since automake does not understand
61539 # CXX_FOR_BUILD.
61540 enable_abi_check=no
61543 # Export file names for ABI checking.
61544 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
61551 # Propagate the target-specific source directories through the build chain.
61552 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
61553 # uses it, and it only gets used in this file.)
61554 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
61555 OS_INC_SRCDIR=config/${os_include_dir}
61556 FPOS_INC_SRCDIR=config/${fpos_include_dir}
61561 # Determine cross-compile flags and AM_CONDITIONALs.
61562 #AC_SUBST(GLIBCXX_IS_NATIVE)
61563 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
61564 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
61565 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
61568 if test $is_hosted = yes; then
61569 GLIBCXX_HOSTED_TRUE=
61570 GLIBCXX_HOSTED_FALSE='#'
61571 else
61572 GLIBCXX_HOSTED_TRUE='#'
61573 GLIBCXX_HOSTED_FALSE=
61579 if test $enable_libstdcxx_pch = yes; then
61580 GLIBCXX_BUILD_PCH_TRUE=
61581 GLIBCXX_BUILD_PCH_FALSE='#'
61582 else
61583 GLIBCXX_BUILD_PCH_TRUE='#'
61584 GLIBCXX_BUILD_PCH_FALSE=
61590 if test $enable_cheaders = c; then
61591 GLIBCXX_C_HEADERS_C_TRUE=
61592 GLIBCXX_C_HEADERS_C_FALSE='#'
61593 else
61594 GLIBCXX_C_HEADERS_C_TRUE='#'
61595 GLIBCXX_C_HEADERS_C_FALSE=
61601 if test $enable_cheaders = c_std; then
61602 GLIBCXX_C_HEADERS_C_STD_TRUE=
61603 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
61604 else
61605 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
61606 GLIBCXX_C_HEADERS_C_STD_FALSE=
61612 if test $c_compatibility = yes; then
61613 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
61614 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
61615 else
61616 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
61617 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
61623 if test $enable_libstdcxx_debug = yes; then
61624 GLIBCXX_BUILD_DEBUG_TRUE=
61625 GLIBCXX_BUILD_DEBUG_FALSE='#'
61626 else
61627 GLIBCXX_BUILD_DEBUG_TRUE='#'
61628 GLIBCXX_BUILD_DEBUG_FALSE=
61634 if test $enable_symvers != no; then
61635 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
61636 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
61637 else
61638 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
61639 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
61645 if test $enable_wchar_t = yes; then
61646 GLIBCXX_TEST_WCHAR_T_TRUE=
61647 GLIBCXX_TEST_WCHAR_T_FALSE='#'
61648 else
61649 GLIBCXX_TEST_WCHAR_T_TRUE='#'
61650 GLIBCXX_TEST_WCHAR_T_FALSE=
61656 if test $enable_abi_check = yes; then
61657 GLIBCXX_TEST_ABI_TRUE=
61658 GLIBCXX_TEST_ABI_FALSE='#'
61659 else
61660 GLIBCXX_TEST_ABI_TRUE='#'
61661 GLIBCXX_TEST_ABI_FALSE=
61667 cat >confcache <<\_ACEOF
61668 # This file is a shell script that caches the results of configure
61669 # tests run on this system so they can be shared between configure
61670 # scripts and configure runs, see configure's option --config-cache.
61671 # It is not useful on other systems. If it contains results you don't
61672 # want to keep, you may remove or edit it.
61674 # config.status only pays attention to the cache file if you give it
61675 # the --recheck option to rerun configure.
61677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61679 # following values.
61681 _ACEOF
61683 # The following way of writing the cache mishandles newlines in values,
61684 # but we know of no workaround that is simple, portable, and efficient.
61685 # So, don't put newlines in cache variables' values.
61686 # Ultrix sh set writes to stderr and can't be redirected directly,
61687 # and sets the high bit in the cache file unless we assign to the vars.
61689 (set) 2>&1 |
61690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
61691 *ac_space=\ *)
61692 # `set' does not quote correctly, so add quotes (double-quote
61693 # substitution turns \\\\ into \\, and sed turns \\ into \).
61694 sed -n \
61695 "s/'/'\\\\''/g;
61696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
61699 # `set' quotes correctly as required by POSIX, so do not add quotes.
61700 sed -n \
61701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
61703 esac;
61705 sed '
61706 t clear
61707 : clear
61708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
61709 t end
61710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
61711 : end' >>confcache
61712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
61713 if test -w $cache_file; then
61714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
61715 cat confcache >$cache_file
61716 else
61717 echo "not updating unwritable cache $cache_file"
61720 rm -f confcache
61722 if test ${multilib} = yes; then
61723 multilib_arg="--enable-multilib"
61724 else
61725 multilib_arg=
61728 # Export all the install information.
61730 glibcxx_toolexecdir=no
61731 glibcxx_toolexeclibdir=no
61732 glibcxx_prefixdir=$prefix
61734 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
61735 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
61737 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
61738 if test "${with_gxx_include_dir+set}" = set; then
61739 withval="$with_gxx_include_dir"
61740 case "$withval" in
61741 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
61742 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
61743 { (exit 1); exit 1; }; } ;;
61744 no) gxx_include_dir=no ;;
61745 *) gxx_include_dir=$withval ;;
61746 esac
61747 else
61748 gxx_include_dir=no
61750 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
61751 echo "${ECHO_T}$gxx_include_dir" >&6
61753 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
61754 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
61755 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
61756 if test "${enable_version_specific_runtime_libs+set}" = set; then
61757 enableval="$enable_version_specific_runtime_libs"
61758 case "$enableval" in
61759 yes) version_specific_libs=yes ;;
61760 no) version_specific_libs=no ;;
61761 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
61762 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
61763 { (exit 1); exit 1; }; };;
61764 esac
61765 else
61766 version_specific_libs=no
61768 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
61769 echo "${ECHO_T}$version_specific_libs" >&6
61771 # Default case for install directory for include files.
61772 if test $version_specific_libs = no && test $gxx_include_dir = no; then
61773 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
61776 # Version-specific runtime libs processing.
61777 if test $version_specific_libs = yes; then
61778 # Need the gcc compiler version to know where to install libraries
61779 # and header files if --enable-version-specific-runtime-libs option
61780 # is selected.
61781 if test x"$gxx_include_dir" = x"no"; then
61782 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
61784 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
61785 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
61788 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
61789 # Install a library built with a cross compiler in tooldir, not libdir.
61790 if test x"$glibcxx_toolexecdir" = x"no"; then
61791 if test -n "$with_cross_host" &&
61792 test x"$with_cross_host" != x"no"; then
61793 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
61794 glibcxx_toolexeclibdir='${toolexecdir}/lib'
61795 else
61796 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
61797 glibcxx_toolexeclibdir='${libdir}'
61799 multi_os_directory=`$CXX -print-multi-os-directory`
61800 case $multi_os_directory in
61801 .) ;; # Avoid trailing /.
61802 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
61803 esac
61806 echo "$as_me:$LINENO: checking for install location" >&5
61807 echo $ECHO_N "checking for install location... $ECHO_C" >&6
61808 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
61809 echo "${ECHO_T}$gxx_include_dir" >&6
61817 # Export all the include and flag information to Makefiles.
61819 # Used for every C++ compile we perform.
61820 GLIBCXX_INCLUDES="\
61821 -I$glibcxx_builddir/include/$host_alias \
61822 -I$glibcxx_builddir/include \
61823 -I$glibcxx_srcdir/libsupc++"
61825 # For Canadian crosses, pick this up too.
61826 if test $CANADIAN = yes; then
61827 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
61830 # Stuff in the actual top level. Currently only used by libsupc++ to
61831 # get unwind* headers from the gcc dir.
61832 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
61833 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
61835 # Now, export this to all the little Makefiles....
61840 # Optimization flags that are probably a good idea for thrill-seekers. Just
61841 # uncomment the lines below and make, everything else is ready to go...
61842 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
61843 OPTIMIZE_CXXFLAGS=
61846 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
61850 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
61851 grep "enable shared" > /dev/null;
61852 then
61853 LIBSUPCXX_PICFLAGS=-prefer-pic
61854 else
61855 LIBSUPCXX_PICFLAGS=
61859 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
61861 ac_config_files="$ac_config_files scripts/check_survey"
61863 ac_config_files="$ac_config_files scripts/testsuite_flags"
61866 ac_config_commands="$ac_config_commands default"
61869 cat >confcache <<\_ACEOF
61870 # This file is a shell script that caches the results of configure
61871 # tests run on this system so they can be shared between configure
61872 # scripts and configure runs, see configure's option --config-cache.
61873 # It is not useful on other systems. If it contains results you don't
61874 # want to keep, you may remove or edit it.
61876 # config.status only pays attention to the cache file if you give it
61877 # the --recheck option to rerun configure.
61879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61881 # following values.
61883 _ACEOF
61885 # The following way of writing the cache mishandles newlines in values,
61886 # but we know of no workaround that is simple, portable, and efficient.
61887 # So, don't put newlines in cache variables' values.
61888 # Ultrix sh set writes to stderr and can't be redirected directly,
61889 # and sets the high bit in the cache file unless we assign to the vars.
61891 (set) 2>&1 |
61892 case `(ac_space=' '; set | grep ac_space) 2>&1` in
61893 *ac_space=\ *)
61894 # `set' does not quote correctly, so add quotes (double-quote
61895 # substitution turns \\\\ into \\, and sed turns \\ into \).
61896 sed -n \
61897 "s/'/'\\\\''/g;
61898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
61901 # `set' quotes correctly as required by POSIX, so do not add quotes.
61902 sed -n \
61903 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
61905 esac;
61907 sed '
61908 t clear
61909 : clear
61910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
61911 t end
61912 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
61913 : end' >>confcache
61914 if diff $cache_file confcache >/dev/null 2>&1; then :; else
61915 if test -w $cache_file; then
61916 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
61917 cat confcache >$cache_file
61918 else
61919 echo "not updating unwritable cache $cache_file"
61922 rm -f confcache
61924 test "x$prefix" = xNONE && prefix=$ac_default_prefix
61925 # Let make expand exec_prefix.
61926 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
61928 # VPATH may cause trouble with some makes, so we remove $(srcdir),
61929 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
61930 # trailing colons and then remove the whole line if VPATH becomes empty
61931 # (actually we leave an empty line to preserve line numbers).
61932 if test "x$srcdir" = x.; then
61933 ac_vpsub='/^[ ]*VPATH[ ]*=/{
61934 s/:*\$(srcdir):*/:/;
61935 s/:*\${srcdir}:*/:/;
61936 s/:*@srcdir@:*/:/;
61937 s/^\([^=]*=[ ]*\):*/\1/;
61938 s/:*$//;
61939 s/^[^=]*=[ ]*$//;
61943 DEFS=-DHAVE_CONFIG_H
61945 ac_libobjs=
61946 ac_ltlibobjs=
61947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
61948 # 1. Remove the extension, and $U if already installed.
61949 ac_i=`echo "$ac_i" |
61950 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
61951 # 2. Add them.
61952 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
61953 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
61954 done
61955 LIBOBJS=$ac_libobjs
61957 LTLIBOBJS=$ac_ltlibobjs
61960 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
61961 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
61962 Usually this means the macro was only invoked conditionally." >&5
61963 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
61964 Usually this means the macro was only invoked conditionally." >&2;}
61965 { (exit 1); exit 1; }; }
61967 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
61968 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
61969 Usually this means the macro was only invoked conditionally." >&5
61970 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
61971 Usually this means the macro was only invoked conditionally." >&2;}
61972 { (exit 1); exit 1; }; }
61974 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
61975 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
61976 Usually this means the macro was only invoked conditionally." >&5
61977 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
61978 Usually this means the macro was only invoked conditionally." >&2;}
61979 { (exit 1); exit 1; }; }
61981 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
61982 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
61983 Usually this means the macro was only invoked conditionally." >&5
61984 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
61985 Usually this means the macro was only invoked conditionally." >&2;}
61986 { (exit 1); exit 1; }; }
61988 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
61989 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
61990 Usually this means the macro was only invoked conditionally." >&5
61991 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
61992 Usually this means the macro was only invoked conditionally." >&2;}
61993 { (exit 1); exit 1; }; }
61995 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
61996 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
61997 Usually this means the macro was only invoked conditionally." >&5
61998 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
61999 Usually this means the macro was only invoked conditionally." >&2;}
62000 { (exit 1); exit 1; }; }
62002 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
62003 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62004 Usually this means the macro was only invoked conditionally." >&5
62005 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62006 Usually this means the macro was only invoked conditionally." >&2;}
62007 { (exit 1); exit 1; }; }
62009 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
62010 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62011 Usually this means the macro was only invoked conditionally." >&5
62012 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62013 Usually this means the macro was only invoked conditionally." >&2;}
62014 { (exit 1); exit 1; }; }
62016 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
62017 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62018 Usually this means the macro was only invoked conditionally." >&5
62019 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62020 Usually this means the macro was only invoked conditionally." >&2;}
62021 { (exit 1); exit 1; }; }
62023 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
62024 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62025 Usually this means the macro was only invoked conditionally." >&5
62026 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62027 Usually this means the macro was only invoked conditionally." >&2;}
62028 { (exit 1); exit 1; }; }
62031 : ${CONFIG_STATUS=./config.status}
62032 ac_clean_files_save=$ac_clean_files
62033 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62034 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62035 echo "$as_me: creating $CONFIG_STATUS" >&6;}
62036 cat >$CONFIG_STATUS <<_ACEOF
62037 #! $SHELL
62038 # Generated by $as_me.
62039 # Run this file to recreate the current configuration.
62040 # Compiler output produced by configure, useful for debugging
62041 # configure, is in config.log if it exists.
62043 debug=false
62044 ac_cs_recheck=false
62045 ac_cs_silent=false
62046 SHELL=\${CONFIG_SHELL-$SHELL}
62047 _ACEOF
62049 cat >>$CONFIG_STATUS <<\_ACEOF
62050 ## --------------------- ##
62051 ## M4sh Initialization. ##
62052 ## --------------------- ##
62054 # Be Bourne compatible
62055 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
62056 emulate sh
62057 NULLCMD=:
62058 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62059 # is contrary to our usage. Disable this feature.
62060 alias -g '${1+"$@"}'='"$@"'
62061 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
62062 set -o posix
62065 # Support unset when possible.
62066 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62067 as_unset=unset
62068 else
62069 as_unset=false
62073 # Work around bugs in pre-3.0 UWIN ksh.
62074 $as_unset ENV MAIL MAILPATH
62075 PS1='$ '
62076 PS2='> '
62077 PS4='+ '
62079 # NLS nuisances.
62080 for as_var in \
62081 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
62082 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
62083 LC_TELEPHONE LC_TIME
62085 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
62086 eval $as_var=C; export $as_var
62087 else
62088 $as_unset $as_var
62090 done
62092 # Required to use basename.
62093 if expr a : '\(a\)' >/dev/null 2>&1; then
62094 as_expr=expr
62095 else
62096 as_expr=false
62099 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62100 as_basename=basename
62101 else
62102 as_basename=false
62106 # Name of the executable.
62107 as_me=`$as_basename "$0" ||
62108 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62109 X"$0" : 'X\(//\)$' \| \
62110 X"$0" : 'X\(/\)$' \| \
62111 . : '\(.\)' 2>/dev/null ||
62112 echo X/"$0" |
62113 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
62114 /^X\/\(\/\/\)$/{ s//\1/; q; }
62115 /^X\/\(\/\).*/{ s//\1/; q; }
62116 s/.*/./; q'`
62119 # PATH needs CR, and LINENO needs CR and PATH.
62120 # Avoid depending upon Character Ranges.
62121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62124 as_cr_digits='0123456789'
62125 as_cr_alnum=$as_cr_Letters$as_cr_digits
62127 # The user is always right.
62128 if test "${PATH_SEPARATOR+set}" != set; then
62129 echo "#! /bin/sh" >conf$$.sh
62130 echo "exit 0" >>conf$$.sh
62131 chmod +x conf$$.sh
62132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62133 PATH_SEPARATOR=';'
62134 else
62135 PATH_SEPARATOR=:
62137 rm -f conf$$.sh
62141 as_lineno_1=$LINENO
62142 as_lineno_2=$LINENO
62143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62144 test "x$as_lineno_1" != "x$as_lineno_2" &&
62145 test "x$as_lineno_3" = "x$as_lineno_2" || {
62146 # Find who we are. Look in the path if we contain no path at all
62147 # relative or not.
62148 case $0 in
62149 *[\\/]* ) as_myself=$0 ;;
62150 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62151 for as_dir in $PATH
62153 IFS=$as_save_IFS
62154 test -z "$as_dir" && as_dir=.
62155 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
62156 done
62159 esac
62160 # We did not find ourselves, most probably we were run as `sh COMMAND'
62161 # in which case we are not to be found in the path.
62162 if test "x$as_myself" = x; then
62163 as_myself=$0
62165 if test ! -f "$as_myself"; then
62166 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
62167 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
62168 { (exit 1); exit 1; }; }
62170 case $CONFIG_SHELL in
62172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62173 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
62175 IFS=$as_save_IFS
62176 test -z "$as_dir" && as_dir=.
62177 for as_base in sh bash ksh sh5; do
62178 case $as_dir in
62180 if ("$as_dir/$as_base" -c '
62181 as_lineno_1=$LINENO
62182 as_lineno_2=$LINENO
62183 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62184 test "x$as_lineno_1" != "x$as_lineno_2" &&
62185 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
62186 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
62187 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
62188 CONFIG_SHELL=$as_dir/$as_base
62189 export CONFIG_SHELL
62190 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
62191 fi;;
62192 esac
62193 done
62194 done
62196 esac
62198 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
62199 # uniformly replaced by the line number. The first 'sed' inserts a
62200 # line-number line before each line; the second 'sed' does the real
62201 # work. The second script uses 'N' to pair each line-number line
62202 # with the numbered line, and appends trailing '-' during
62203 # substitution so that $LINENO is not a special case at line end.
62204 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
62205 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
62206 sed '=' <$as_myself |
62207 sed '
62209 s,$,-,
62210 : loop
62211 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
62212 t loop
62213 s,-$,,
62214 s,^['$as_cr_digits']*\n,,
62215 ' >$as_me.lineno &&
62216 chmod +x $as_me.lineno ||
62217 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
62218 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
62219 { (exit 1); exit 1; }; }
62221 # Don't try to exec as it changes $[0], causing all sort of problems
62222 # (the dirname of $[0] is not the place where we might find the
62223 # original and so on. Autoconf is especially sensible to this).
62224 . ./$as_me.lineno
62225 # Exit status is that of the last command.
62226 exit
62230 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
62231 *c*,-n*) ECHO_N= ECHO_C='
62232 ' ECHO_T=' ' ;;
62233 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
62234 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
62235 esac
62237 if expr a : '\(a\)' >/dev/null 2>&1; then
62238 as_expr=expr
62239 else
62240 as_expr=false
62243 rm -f conf$$ conf$$.exe conf$$.file
62244 echo >conf$$.file
62245 if ln -s conf$$.file conf$$ 2>/dev/null; then
62246 # We could just check for DJGPP; but this test a) works b) is more generic
62247 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
62248 if test -f conf$$.exe; then
62249 # Don't use ln at all; we don't have any links
62250 as_ln_s='cp -p'
62251 else
62252 as_ln_s='ln -s'
62254 elif ln conf$$.file conf$$ 2>/dev/null; then
62255 as_ln_s=ln
62256 else
62257 as_ln_s='cp -p'
62259 rm -f conf$$ conf$$.exe conf$$.file
62261 if mkdir -p . 2>/dev/null; then
62262 as_mkdir_p=:
62263 else
62264 as_mkdir_p=false
62267 as_executable_p="test -f"
62269 # Sed expression to map a string onto a valid CPP name.
62270 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62272 # Sed expression to map a string onto a valid variable name.
62273 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
62276 # IFS
62277 # We need space, tab and new line, in precisely that order.
62278 as_nl='
62280 IFS=" $as_nl"
62282 # CDPATH.
62283 $as_unset CDPATH
62285 exec 6>&1
62287 # Open the log real soon, to keep \$[0] and so on meaningful, and to
62288 # report actual input values of CONFIG_FILES etc. instead of their
62289 # values after options handling. Logging --version etc. is OK.
62290 exec 5>>config.log
62292 echo
62293 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
62294 ## Running $as_me. ##
62295 _ASBOX
62296 } >&5
62297 cat >&5 <<_CSEOF
62299 This file was extended by package-unused $as_me version-unused, which was
62300 generated by GNU Autoconf 2.57. Invocation command line was
62302 CONFIG_FILES = $CONFIG_FILES
62303 CONFIG_HEADERS = $CONFIG_HEADERS
62304 CONFIG_LINKS = $CONFIG_LINKS
62305 CONFIG_COMMANDS = $CONFIG_COMMANDS
62306 $ $0 $@
62308 _CSEOF
62309 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
62310 echo >&5
62311 _ACEOF
62313 # Files that config.status was made for.
62314 if test -n "$ac_config_files"; then
62315 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
62318 if test -n "$ac_config_headers"; then
62319 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
62322 if test -n "$ac_config_links"; then
62323 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
62326 if test -n "$ac_config_commands"; then
62327 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
62330 cat >>$CONFIG_STATUS <<\_ACEOF
62332 ac_cs_usage="\
62333 \`$as_me' instantiates files from templates according to the
62334 current configuration.
62336 Usage: $0 [OPTIONS] [FILE]...
62338 -h, --help print this help, then exit
62339 -V, --version print version number, then exit
62340 -q, --quiet do not print progress messages
62341 -d, --debug don't remove temporary files
62342 --recheck update $as_me by reconfiguring in the same conditions
62343 --file=FILE[:TEMPLATE]
62344 instantiate the configuration file FILE
62345 --header=FILE[:TEMPLATE]
62346 instantiate the configuration header FILE
62348 Configuration files:
62349 $config_files
62351 Configuration headers:
62352 $config_headers
62354 Configuration commands:
62355 $config_commands
62357 Report bugs to <bug-autoconf@gnu.org>."
62358 _ACEOF
62360 cat >>$CONFIG_STATUS <<_ACEOF
62361 ac_cs_version="\\
62362 package-unused config.status version-unused
62363 configured by $0, generated by GNU Autoconf 2.57,
62364 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
62366 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
62367 Free Software Foundation, Inc.
62368 This config.status script is free software; the Free Software Foundation
62369 gives unlimited permission to copy, distribute and modify it."
62370 srcdir=$srcdir
62371 INSTALL="$INSTALL"
62372 _ACEOF
62374 cat >>$CONFIG_STATUS <<\_ACEOF
62375 # If no file are specified by the user, then we need to provide default
62376 # value. By we need to know if files were specified by the user.
62377 ac_need_defaults=:
62378 while test $# != 0
62380 case $1 in
62381 --*=*)
62382 ac_option=`expr "x$1" : 'x\([^=]*\)='`
62383 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
62384 ac_shift=:
62387 ac_option=$1
62388 ac_optarg=$2
62389 ac_shift=shift
62391 *) # This is not an option, so the user has probably given explicit
62392 # arguments.
62393 ac_option=$1
62394 ac_need_defaults=false;;
62395 esac
62397 case $ac_option in
62398 # Handling of the options.
62399 _ACEOF
62400 cat >>$CONFIG_STATUS <<\_ACEOF
62401 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
62402 ac_cs_recheck=: ;;
62403 --version | --vers* | -V )
62404 echo "$ac_cs_version"; exit 0 ;;
62405 --he | --h)
62406 # Conflict between --help and --header
62407 { { echo "$as_me:$LINENO: error: ambiguous option: $1
62408 Try \`$0 --help' for more information." >&5
62409 echo "$as_me: error: ambiguous option: $1
62410 Try \`$0 --help' for more information." >&2;}
62411 { (exit 1); exit 1; }; };;
62412 --help | --hel | -h )
62413 echo "$ac_cs_usage"; exit 0 ;;
62414 --debug | --d* | -d )
62415 debug=: ;;
62416 --file | --fil | --fi | --f )
62417 $ac_shift
62418 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
62419 ac_need_defaults=false;;
62420 --header | --heade | --head | --hea )
62421 $ac_shift
62422 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
62423 ac_need_defaults=false;;
62424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
62425 | -silent | --silent | --silen | --sile | --sil | --si | --s)
62426 ac_cs_silent=: ;;
62428 # This is an error.
62429 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
62430 Try \`$0 --help' for more information." >&5
62431 echo "$as_me: error: unrecognized option: $1
62432 Try \`$0 --help' for more information." >&2;}
62433 { (exit 1); exit 1; }; } ;;
62435 *) ac_config_targets="$ac_config_targets $1" ;;
62437 esac
62438 shift
62439 done
62441 ac_configure_extra_args=
62443 if $ac_cs_silent; then
62444 exec 6>/dev/null
62445 ac_configure_extra_args="$ac_configure_extra_args --silent"
62448 _ACEOF
62449 cat >>$CONFIG_STATUS <<_ACEOF
62450 if \$ac_cs_recheck; then
62451 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
62452 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
62455 _ACEOF
62457 cat >>$CONFIG_STATUS <<_ACEOF
62459 # INIT-COMMANDS section.
62463 srcdir="$srcdir"
62464 host="$host"
62465 target="$target"
62466 with_multisubdir="$with_multisubdir"
62467 with_multisrctop="$with_multisrctop"
62468 with_target_subdir="$with_target_subdir"
62469 ac_configure_args="${multilib_arg} ${ac_configure_args}"
62470 multi_basedir="$multi_basedir"
62471 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
62472 CC="$CC"
62474 # Variables needed in config.status (file generation) which aren't already
62475 # passed by autoconf.
62476 SUBDIRS="$SUBDIRS"
62479 _ACEOF
62483 cat >>$CONFIG_STATUS <<\_ACEOF
62484 for ac_config_target in $ac_config_targets
62486 case "$ac_config_target" in
62487 # Handling of arguments.
62488 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
62489 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
62490 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
62491 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
62492 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
62493 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
62494 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
62495 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
62496 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
62497 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
62498 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
62499 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
62500 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
62501 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
62502 { (exit 1); exit 1; }; };;
62503 esac
62504 done
62506 # If the user did not use the arguments to specify the items to instantiate,
62507 # then the envvar interface is used. Set only those that are not.
62508 # We use the long form for the default assignment because of an extremely
62509 # bizarre bug on SunOS 4.1.3.
62510 if $ac_need_defaults; then
62511 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
62512 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
62513 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
62516 # Have a temporary directory for convenience. Make it in the build tree
62517 # simply because there is no reason to put it here, and in addition,
62518 # creating and moving files from /tmp can sometimes cause problems.
62519 # Create a temporary directory, and hook for its removal unless debugging.
62520 $debug ||
62522 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
62523 trap '{ (exit 1); exit 1; }' 1 2 13 15
62526 # Create a (secure) tmp directory for tmp files.
62529 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
62530 test -n "$tmp" && test -d "$tmp"
62531 } ||
62533 tmp=./confstat$$-$RANDOM
62534 (umask 077 && mkdir $tmp)
62535 } ||
62537 echo "$me: cannot create a temporary directory in ." >&2
62538 { (exit 1); exit 1; }
62541 _ACEOF
62543 cat >>$CONFIG_STATUS <<_ACEOF
62546 # CONFIG_FILES section.
62549 # No need to generate the scripts if there are no CONFIG_FILES.
62550 # This happens for instance when ./config.status config.h
62551 if test -n "\$CONFIG_FILES"; then
62552 # Protect against being on the right side of a sed subst in config.status.
62553 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
62554 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
62555 s,@SHELL@,$SHELL,;t t
62556 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
62557 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
62558 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
62559 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
62560 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
62561 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
62562 s,@exec_prefix@,$exec_prefix,;t t
62563 s,@prefix@,$prefix,;t t
62564 s,@program_transform_name@,$program_transform_name,;t t
62565 s,@bindir@,$bindir,;t t
62566 s,@sbindir@,$sbindir,;t t
62567 s,@libexecdir@,$libexecdir,;t t
62568 s,@datadir@,$datadir,;t t
62569 s,@sysconfdir@,$sysconfdir,;t t
62570 s,@sharedstatedir@,$sharedstatedir,;t t
62571 s,@localstatedir@,$localstatedir,;t t
62572 s,@libdir@,$libdir,;t t
62573 s,@includedir@,$includedir,;t t
62574 s,@oldincludedir@,$oldincludedir,;t t
62575 s,@infodir@,$infodir,;t t
62576 s,@mandir@,$mandir,;t t
62577 s,@build_alias@,$build_alias,;t t
62578 s,@host_alias@,$host_alias,;t t
62579 s,@target_alias@,$target_alias,;t t
62580 s,@DEFS@,$DEFS,;t t
62581 s,@ECHO_C@,$ECHO_C,;t t
62582 s,@ECHO_N@,$ECHO_N,;t t
62583 s,@ECHO_T@,$ECHO_T,;t t
62584 s,@LIBS@,$LIBS,;t t
62585 s,@libtool_VERSION@,$libtool_VERSION,;t t
62586 s,@multi_basedir@,$multi_basedir,;t t
62587 s,@build@,$build,;t t
62588 s,@build_cpu@,$build_cpu,;t t
62589 s,@build_vendor@,$build_vendor,;t t
62590 s,@build_os@,$build_os,;t t
62591 s,@host@,$host,;t t
62592 s,@host_cpu@,$host_cpu,;t t
62593 s,@host_vendor@,$host_vendor,;t t
62594 s,@host_os@,$host_os,;t t
62595 s,@target@,$target,;t t
62596 s,@target_cpu@,$target_cpu,;t t
62597 s,@target_vendor@,$target_vendor,;t t
62598 s,@target_os@,$target_os,;t t
62599 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
62600 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
62601 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
62602 s,@CYGPATH_W@,$CYGPATH_W,;t t
62603 s,@PACKAGE@,$PACKAGE,;t t
62604 s,@VERSION@,$VERSION,;t t
62605 s,@ACLOCAL@,$ACLOCAL,;t t
62606 s,@AUTOCONF@,$AUTOCONF,;t t
62607 s,@AUTOMAKE@,$AUTOMAKE,;t t
62608 s,@AUTOHEADER@,$AUTOHEADER,;t t
62609 s,@MAKEINFO@,$MAKEINFO,;t t
62610 s,@AMTAR@,$AMTAR,;t t
62611 s,@install_sh@,$install_sh,;t t
62612 s,@STRIP@,$STRIP,;t t
62613 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
62614 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
62615 s,@AWK@,$AWK,;t t
62616 s,@SET_MAKE@,$SET_MAKE,;t t
62617 s,@am__leading_dot@,$am__leading_dot,;t t
62618 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
62619 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
62620 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
62621 s,@CC@,$CC,;t t
62622 s,@ac_ct_CC@,$ac_ct_CC,;t t
62623 s,@EXEEXT@,$EXEEXT,;t t
62624 s,@OBJEXT@,$OBJEXT,;t t
62625 s,@CXX@,$CXX,;t t
62626 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
62627 s,@CFLAGS@,$CFLAGS,;t t
62628 s,@CXXFLAGS@,$CXXFLAGS,;t t
62629 s,@LN_S@,$LN_S,;t t
62630 s,@AS@,$AS,;t t
62631 s,@ac_ct_AS@,$ac_ct_AS,;t t
62632 s,@AR@,$AR,;t t
62633 s,@ac_ct_AR@,$ac_ct_AR,;t t
62634 s,@RANLIB@,$RANLIB,;t t
62635 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
62636 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
62637 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
62638 s,@MAINT@,$MAINT,;t t
62639 s,@LIBTOOL@,$LIBTOOL,;t t
62640 s,@CXXCPP@,$CXXCPP,;t t
62641 s,@CPPFLAGS@,$CPPFLAGS,;t t
62642 s,@enable_shared@,$enable_shared,;t t
62643 s,@enable_static@,$enable_static,;t t
62644 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
62645 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
62646 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
62647 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
62648 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
62649 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
62650 s,@CSTDIO_H@,$CSTDIO_H,;t t
62651 s,@FPOS_H@,$FPOS_H,;t t
62652 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
62653 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
62654 s,@CPP@,$CPP,;t t
62655 s,@EGREP@,$EGREP,;t t
62656 s,@check_msgfmt@,$check_msgfmt,;t t
62657 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
62658 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
62659 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
62660 s,@USE_NLS@,$USE_NLS,;t t
62661 s,@CLOCALE_H@,$CLOCALE_H,;t t
62662 s,@CCODECVT_H@,$CCODECVT_H,;t t
62663 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
62664 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
62665 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
62666 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
62667 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
62668 s,@CMONEY_CC@,$CMONEY_CC,;t t
62669 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
62670 s,@CTIME_H@,$CTIME_H,;t t
62671 s,@CTIME_CC@,$CTIME_CC,;t t
62672 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
62673 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
62674 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
62675 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
62676 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
62677 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
62678 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
62679 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
62680 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
62681 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
62682 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
62683 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
62684 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
62685 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
62686 s,@WERROR@,$WERROR,;t t
62687 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
62688 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
62689 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
62690 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
62691 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
62692 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
62693 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
62694 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
62695 s,@baseline_dir@,$baseline_dir,;t t
62696 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
62697 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
62698 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
62699 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
62700 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
62701 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
62702 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
62703 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
62704 s,@gxx_include_dir@,$gxx_include_dir,;t t
62705 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
62706 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
62707 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
62708 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
62709 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
62710 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
62711 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
62712 s,@LIBOBJS@,$LIBOBJS,;t t
62713 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
62714 CEOF
62716 _ACEOF
62718 cat >>$CONFIG_STATUS <<\_ACEOF
62719 # Split the substitutions into bite-sized pieces for seds with
62720 # small command number limits, like on Digital OSF/1 and HP-UX.
62721 ac_max_sed_lines=48
62722 ac_sed_frag=1 # Number of current file.
62723 ac_beg=1 # First line for current file.
62724 ac_end=$ac_max_sed_lines # Line after last line for current file.
62725 ac_more_lines=:
62726 ac_sed_cmds=
62727 while $ac_more_lines; do
62728 if test $ac_beg -gt 1; then
62729 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
62730 else
62731 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
62733 if test ! -s $tmp/subs.frag; then
62734 ac_more_lines=false
62735 else
62736 # The purpose of the label and of the branching condition is to
62737 # speed up the sed processing (if there are no `@' at all, there
62738 # is no need to browse any of the substitutions).
62739 # These are the two extra sed commands mentioned above.
62740 (echo ':t
62741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
62742 if test -z "$ac_sed_cmds"; then
62743 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
62744 else
62745 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
62747 ac_sed_frag=`expr $ac_sed_frag + 1`
62748 ac_beg=$ac_end
62749 ac_end=`expr $ac_end + $ac_max_sed_lines`
62751 done
62752 if test -z "$ac_sed_cmds"; then
62753 ac_sed_cmds=cat
62755 fi # test -n "$CONFIG_FILES"
62757 _ACEOF
62758 cat >>$CONFIG_STATUS <<\_ACEOF
62759 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
62760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
62761 case $ac_file in
62762 - | *:- | *:-:* ) # input from stdin
62763 cat >$tmp/stdin
62764 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62765 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62766 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62767 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62768 * ) ac_file_in=$ac_file.in ;;
62769 esac
62771 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
62772 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
62773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62774 X"$ac_file" : 'X\(//\)[^/]' \| \
62775 X"$ac_file" : 'X\(//\)$' \| \
62776 X"$ac_file" : 'X\(/\)' \| \
62777 . : '\(.\)' 2>/dev/null ||
62778 echo X"$ac_file" |
62779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
62780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
62781 /^X\(\/\/\)$/{ s//\1/; q; }
62782 /^X\(\/\).*/{ s//\1/; q; }
62783 s/.*/./; q'`
62784 { if $as_mkdir_p; then
62785 mkdir -p "$ac_dir"
62786 else
62787 as_dir="$ac_dir"
62788 as_dirs=
62789 while test ! -d "$as_dir"; do
62790 as_dirs="$as_dir $as_dirs"
62791 as_dir=`(dirname "$as_dir") 2>/dev/null ||
62792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62793 X"$as_dir" : 'X\(//\)[^/]' \| \
62794 X"$as_dir" : 'X\(//\)$' \| \
62795 X"$as_dir" : 'X\(/\)' \| \
62796 . : '\(.\)' 2>/dev/null ||
62797 echo X"$as_dir" |
62798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
62799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
62800 /^X\(\/\/\)$/{ s//\1/; q; }
62801 /^X\(\/\).*/{ s//\1/; q; }
62802 s/.*/./; q'`
62803 done
62804 test ! -n "$as_dirs" || mkdir $as_dirs
62805 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
62806 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
62807 { (exit 1); exit 1; }; }; }
62809 ac_builddir=.
62811 if test "$ac_dir" != .; then
62812 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
62813 # A "../" for each directory in $ac_dir_suffix.
62814 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
62815 else
62816 ac_dir_suffix= ac_top_builddir=
62819 case $srcdir in
62820 .) # No --srcdir option. We are building in place.
62821 ac_srcdir=.
62822 if test -z "$ac_top_builddir"; then
62823 ac_top_srcdir=.
62824 else
62825 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
62826 fi ;;
62827 [\\/]* | ?:[\\/]* ) # Absolute path.
62828 ac_srcdir=$srcdir$ac_dir_suffix;
62829 ac_top_srcdir=$srcdir ;;
62830 *) # Relative path.
62831 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
62832 ac_top_srcdir=$ac_top_builddir$srcdir ;;
62833 esac
62834 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
62835 # absolute.
62836 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
62837 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
62838 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
62839 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
62842 case $INSTALL in
62843 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
62844 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
62845 esac
62847 if test x"$ac_file" != x-; then
62848 { echo "$as_me:$LINENO: creating $ac_file" >&5
62849 echo "$as_me: creating $ac_file" >&6;}
62850 rm -f "$ac_file"
62852 # Let's still pretend it is `configure' which instantiates (i.e., don't
62853 # use $as_me), people would be surprised to read:
62854 # /* config.h. Generated by config.status. */
62855 if test x"$ac_file" = x-; then
62856 configure_input=
62857 else
62858 configure_input="$ac_file. "
62860 configure_input=$configure_input"Generated from `echo $ac_file_in |
62861 sed 's,.*/,,'` by configure."
62863 # First look for the input files in the build tree, otherwise in the
62864 # src tree.
62865 ac_file_inputs=`IFS=:
62866 for f in $ac_file_in; do
62867 case $f in
62868 -) echo $tmp/stdin ;;
62869 [\\/$]*)
62870 # Absolute (can't be DOS-style, as IFS=:)
62871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62872 echo "$as_me: error: cannot find input file: $f" >&2;}
62873 { (exit 1); exit 1; }; }
62874 echo $f;;
62875 *) # Relative
62876 if test -f "$f"; then
62877 # Build tree
62878 echo $f
62879 elif test -f "$srcdir/$f"; then
62880 # Source tree
62881 echo $srcdir/$f
62882 else
62883 # /dev/null tree
62884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62885 echo "$as_me: error: cannot find input file: $f" >&2;}
62886 { (exit 1); exit 1; }; }
62887 fi;;
62888 esac
62889 done` || { (exit 1); exit 1; }
62890 _ACEOF
62891 cat >>$CONFIG_STATUS <<_ACEOF
62892 sed "$ac_vpsub
62893 $extrasub
62894 _ACEOF
62895 cat >>$CONFIG_STATUS <<\_ACEOF
62897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
62898 s,@configure_input@,$configure_input,;t t
62899 s,@srcdir@,$ac_srcdir,;t t
62900 s,@abs_srcdir@,$ac_abs_srcdir,;t t
62901 s,@top_srcdir@,$ac_top_srcdir,;t t
62902 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
62903 s,@builddir@,$ac_builddir,;t t
62904 s,@abs_builddir@,$ac_abs_builddir,;t t
62905 s,@top_builddir@,$ac_top_builddir,;t t
62906 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
62907 s,@INSTALL@,$ac_INSTALL,;t t
62908 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
62909 rm -f $tmp/stdin
62910 if test x"$ac_file" != x-; then
62911 mv $tmp/out $ac_file
62912 else
62913 cat $tmp/out
62914 rm -f $tmp/out
62917 # Run the commands associated with the file.
62918 case $ac_file in
62919 scripts/check_survey ) chmod +x scripts/check_survey ;;
62920 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
62921 esac
62922 done
62923 _ACEOF
62924 cat >>$CONFIG_STATUS <<\_ACEOF
62927 # CONFIG_HEADER section.
62930 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
62931 # NAME is the cpp macro being defined and VALUE is the value it is being given.
62933 # ac_d sets the value in "#define NAME VALUE" lines.
62934 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
62935 ac_dB='[ ].*$,\1#\2'
62936 ac_dC=' '
62937 ac_dD=',;t'
62938 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
62939 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
62940 ac_uB='$,\1#\2define\3'
62941 ac_uC=' '
62942 ac_uD=',;t'
62944 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
62945 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
62946 case $ac_file in
62947 - | *:- | *:-:* ) # input from stdin
62948 cat >$tmp/stdin
62949 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62951 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62952 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62953 * ) ac_file_in=$ac_file.in ;;
62954 esac
62956 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
62957 echo "$as_me: creating $ac_file" >&6;}
62959 # First look for the input files in the build tree, otherwise in the
62960 # src tree.
62961 ac_file_inputs=`IFS=:
62962 for f in $ac_file_in; do
62963 case $f in
62964 -) echo $tmp/stdin ;;
62965 [\\/$]*)
62966 # Absolute (can't be DOS-style, as IFS=:)
62967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62968 echo "$as_me: error: cannot find input file: $f" >&2;}
62969 { (exit 1); exit 1; }; }
62970 echo $f;;
62971 *) # Relative
62972 if test -f "$f"; then
62973 # Build tree
62974 echo $f
62975 elif test -f "$srcdir/$f"; then
62976 # Source tree
62977 echo $srcdir/$f
62978 else
62979 # /dev/null tree
62980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62981 echo "$as_me: error: cannot find input file: $f" >&2;}
62982 { (exit 1); exit 1; }; }
62983 fi;;
62984 esac
62985 done` || { (exit 1); exit 1; }
62986 # Remove the trailing spaces.
62987 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
62989 _ACEOF
62991 # Transform confdefs.h into two sed scripts, `conftest.defines' and
62992 # `conftest.undefs', that substitutes the proper values into
62993 # config.h.in to produce config.h. The first handles `#define'
62994 # templates, and the second `#undef' templates.
62995 # And first: Protect against being on the right side of a sed subst in
62996 # config.status. Protect against being in an unquoted here document
62997 # in config.status.
62998 rm -f conftest.defines conftest.undefs
62999 # Using a here document instead of a string reduces the quoting nightmare.
63000 # Putting comments in sed scripts is not portable.
63002 # `end' is used to avoid that the second main sed command (meant for
63003 # 0-ary CPP macros) applies to n-ary macro definitions.
63004 # See the Autoconf documentation for `clear'.
63005 cat >confdef2sed.sed <<\_ACEOF
63006 s/[\\&,]/\\&/g
63007 s,[\\$`],\\&,g
63008 t clear
63009 : clear
63010 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
63011 t end
63012 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
63013 : end
63014 _ACEOF
63015 # If some macros were called several times there might be several times
63016 # the same #defines, which is useless. Nevertheless, we may not want to
63017 # sort them, since we want the *last* AC-DEFINE to be honored.
63018 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
63019 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
63020 rm -f confdef2sed.sed
63022 # This sed command replaces #undef with comments. This is necessary, for
63023 # example, in the case of _POSIX_SOURCE, which is predefined and required
63024 # on some systems where configure will not decide to define it.
63025 cat >>conftest.undefs <<\_ACEOF
63026 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
63027 _ACEOF
63029 # Break up conftest.defines because some shells have a limit on the size
63030 # of here documents, and old seds have small limits too (100 cmds).
63031 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
63032 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
63033 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
63034 echo ' :' >>$CONFIG_STATUS
63035 rm -f conftest.tail
63036 while grep . conftest.defines >/dev/null
63038 # Write a limited-size here document to $tmp/defines.sed.
63039 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
63040 # Speed up: don't consider the non `#define' lines.
63041 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
63042 # Work around the forget-to-reset-the-flag bug.
63043 echo 't clr' >>$CONFIG_STATUS
63044 echo ': clr' >>$CONFIG_STATUS
63045 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
63046 echo 'CEOF
63047 sed -f $tmp/defines.sed $tmp/in >$tmp/out
63048 rm -f $tmp/in
63049 mv $tmp/out $tmp/in
63050 ' >>$CONFIG_STATUS
63051 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
63052 rm -f conftest.defines
63053 mv conftest.tail conftest.defines
63054 done
63055 rm -f conftest.defines
63056 echo ' fi # grep' >>$CONFIG_STATUS
63057 echo >>$CONFIG_STATUS
63059 # Break up conftest.undefs because some shells have a limit on the size
63060 # of here documents, and old seds have small limits too (100 cmds).
63061 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
63062 rm -f conftest.tail
63063 while grep . conftest.undefs >/dev/null
63065 # Write a limited-size here document to $tmp/undefs.sed.
63066 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
63067 # Speed up: don't consider the non `#undef'
63068 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
63069 # Work around the forget-to-reset-the-flag bug.
63070 echo 't clr' >>$CONFIG_STATUS
63071 echo ': clr' >>$CONFIG_STATUS
63072 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
63073 echo 'CEOF
63074 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
63075 rm -f $tmp/in
63076 mv $tmp/out $tmp/in
63077 ' >>$CONFIG_STATUS
63078 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
63079 rm -f conftest.undefs
63080 mv conftest.tail conftest.undefs
63081 done
63082 rm -f conftest.undefs
63084 cat >>$CONFIG_STATUS <<\_ACEOF
63085 # Let's still pretend it is `configure' which instantiates (i.e., don't
63086 # use $as_me), people would be surprised to read:
63087 # /* config.h. Generated by config.status. */
63088 if test x"$ac_file" = x-; then
63089 echo "/* Generated by configure. */" >$tmp/config.h
63090 else
63091 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
63093 cat $tmp/in >>$tmp/config.h
63094 rm -f $tmp/in
63095 if test x"$ac_file" != x-; then
63096 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
63097 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
63098 echo "$as_me: $ac_file is unchanged" >&6;}
63099 else
63100 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63102 X"$ac_file" : 'X\(//\)[^/]' \| \
63103 X"$ac_file" : 'X\(//\)$' \| \
63104 X"$ac_file" : 'X\(/\)' \| \
63105 . : '\(.\)' 2>/dev/null ||
63106 echo X"$ac_file" |
63107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63109 /^X\(\/\/\)$/{ s//\1/; q; }
63110 /^X\(\/\).*/{ s//\1/; q; }
63111 s/.*/./; q'`
63112 { if $as_mkdir_p; then
63113 mkdir -p "$ac_dir"
63114 else
63115 as_dir="$ac_dir"
63116 as_dirs=
63117 while test ! -d "$as_dir"; do
63118 as_dirs="$as_dir $as_dirs"
63119 as_dir=`(dirname "$as_dir") 2>/dev/null ||
63120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63121 X"$as_dir" : 'X\(//\)[^/]' \| \
63122 X"$as_dir" : 'X\(//\)$' \| \
63123 X"$as_dir" : 'X\(/\)' \| \
63124 . : '\(.\)' 2>/dev/null ||
63125 echo X"$as_dir" |
63126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63128 /^X\(\/\/\)$/{ s//\1/; q; }
63129 /^X\(\/\).*/{ s//\1/; q; }
63130 s/.*/./; q'`
63131 done
63132 test ! -n "$as_dirs" || mkdir $as_dirs
63133 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63135 { (exit 1); exit 1; }; }; }
63137 rm -f $ac_file
63138 mv $tmp/config.h $ac_file
63140 else
63141 cat $tmp/config.h
63142 rm -f $tmp/config.h
63144 # Compute $ac_file's index in $config_headers.
63145 _am_stamp_count=1
63146 for _am_header in $config_headers :; do
63147 case $_am_header in
63148 $ac_file | $ac_file:* )
63149 break ;;
63151 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
63152 esac
63153 done
63154 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
63155 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63156 X$ac_file : 'X\(//\)[^/]' \| \
63157 X$ac_file : 'X\(//\)$' \| \
63158 X$ac_file : 'X\(/\)' \| \
63159 . : '\(.\)' 2>/dev/null ||
63160 echo X$ac_file |
63161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63163 /^X\(\/\/\)$/{ s//\1/; q; }
63164 /^X\(\/\).*/{ s//\1/; q; }
63165 s/.*/./; q'`/stamp-h$_am_stamp_count
63166 done
63167 _ACEOF
63168 cat >>$CONFIG_STATUS <<\_ACEOF
63171 # CONFIG_COMMANDS section.
63173 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
63174 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
63175 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
63176 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
63177 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63178 X"$ac_dest" : 'X\(//\)[^/]' \| \
63179 X"$ac_dest" : 'X\(//\)$' \| \
63180 X"$ac_dest" : 'X\(/\)' \| \
63181 . : '\(.\)' 2>/dev/null ||
63182 echo X"$ac_dest" |
63183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63185 /^X\(\/\/\)$/{ s//\1/; q; }
63186 /^X\(\/\).*/{ s//\1/; q; }
63187 s/.*/./; q'`
63188 ac_builddir=.
63190 if test "$ac_dir" != .; then
63191 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63192 # A "../" for each directory in $ac_dir_suffix.
63193 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63194 else
63195 ac_dir_suffix= ac_top_builddir=
63198 case $srcdir in
63199 .) # No --srcdir option. We are building in place.
63200 ac_srcdir=.
63201 if test -z "$ac_top_builddir"; then
63202 ac_top_srcdir=.
63203 else
63204 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63205 fi ;;
63206 [\\/]* | ?:[\\/]* ) # Absolute path.
63207 ac_srcdir=$srcdir$ac_dir_suffix;
63208 ac_top_srcdir=$srcdir ;;
63209 *) # Relative path.
63210 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63211 ac_top_srcdir=$ac_top_builddir$srcdir ;;
63212 esac
63213 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63214 # absolute.
63215 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63216 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63217 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63218 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63221 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
63222 echo "$as_me: executing $ac_dest commands" >&6;}
63223 case $ac_dest in
63224 default-1 )
63225 # Only add multilib support code if we just rebuilt the top-level
63226 # Makefile.
63227 case " $CONFIG_FILES " in
63228 *" Makefile "*)
63229 ac_file=Makefile . ${multi_basedir}/config-ml.in
63231 esac ;;
63232 default ) if test -n "$CONFIG_FILES"; then
63233 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
63234 # that multilib installs will end up installed in the correct place.
63235 # The testsuite needs it for multilib-aware ABI baseline files.
63236 # To work around this not being passed down from config-ml.in ->
63237 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
63238 # append it here. Only modify Makefiles that have just been created.
63240 # Also, get rid of this simulated-VPATH thing that automake does.
63241 cat > vpsed << \_EOF
63242 s!`test -f '$<' || echo '$(srcdir)/'`!!
63243 _EOF
63244 for i in $SUBDIRS; do
63245 case $CONFIG_FILES in
63246 *${i}/Makefile*)
63247 #echo "Adding MULTISUBDIR to $i/Makefile"
63248 sed -f vpsed $i/Makefile > tmp
63249 grep '^MULTISUBDIR =' Makefile >> tmp
63250 mv tmp $i/Makefile
63252 esac
63253 done
63254 rm vpsed
63256 (cd include && ${MAKE-make})
63258 esac
63259 done
63260 _ACEOF
63262 cat >>$CONFIG_STATUS <<\_ACEOF
63264 { (exit 0); exit 0; }
63265 _ACEOF
63266 chmod +x $CONFIG_STATUS
63267 ac_clean_files=$ac_clean_files_save
63270 # configure is writing to config.log, and then calls config.status.
63271 # config.status does its own redirection, appending to config.log.
63272 # Unfortunately, on DOS this fails, as config.log is still kept open
63273 # by configure, so config.status won't be able to write to it; its
63274 # output is simply discarded. So we exec the FD to /dev/null,
63275 # effectively closing config.log, so it can be properly (re)opened and
63276 # appended to by config.status. When coming back to configure, we
63277 # need to make the FD available again.
63278 if test "$no_create" != yes; then
63279 ac_cs_success=:
63280 ac_config_status_args=
63281 test "$silent" = yes &&
63282 ac_config_status_args="$ac_config_status_args --quiet"
63283 exec 5>/dev/null
63284 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
63285 exec 5>>config.log
63286 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
63287 # would make configure fail if this is the last instruction.
63288 $ac_cs_success || { (exit 1); exit 1; }